1
- ### Type definitions saved at 2021-06-10T13:26:49.703Z ###
1
+ ### Type definitions saved at 2021-06-10T16:02:04.333Z ###
2
2
3
3
type File implements Node @dontInfer {
4
4
sourceInstanceName : String !
@@ -125,7 +125,7 @@ type MarkdownWordCount {
125
125
words : Int
126
126
}
127
127
128
- type MarkdownRemark implements Node @childOf (mimeTypes : ["text/markdown" , " text/x-markdown" ], types : ["ContentfulNodeTypeText " ]) @derivedTypes @dontInfer {
128
+ type MarkdownRemark implements Node @childOf (mimeTypes : ["text/markdown" , " text/x-markdown" ], types : ["ContentfulText " ]) @dontInfer {
129
129
frontmatter : MarkdownRemarkFrontmatter
130
130
excerpt : String
131
131
rawMarkdownBody : String
@@ -135,12 +135,12 @@ type MarkdownRemarkFrontmatter {
135
135
title : String
136
136
}
137
137
138
- interface ContentfulInternalReference implements Node {
138
+ interface ContentfulReference implements Node {
139
139
id : ID !
140
- sys : ContentfulInternalSys
140
+ sys : ContentfulSys
141
141
}
142
142
143
- type ContentfulInternalSys {
143
+ type ContentfulSys {
144
144
type : String !
145
145
id : String !
146
146
spaceId : String !
@@ -152,151 +152,161 @@ type ContentfulInternalSys {
152
152
locale : String !
153
153
}
154
154
155
- type ContentfulContentType implements Node @derivedTypes @ dontInfer {
155
+ type ContentfulContentType implements Node @dontInfer {
156
156
name : String !
157
157
displayField : String !
158
158
description : String !
159
- sys : ContentfulContentTypeSys
160
- }
161
-
162
- type ContentfulContentTypeSys {
163
- type : String
164
- id : String
165
- locale : String
166
- spaceId : String
167
- environmentId : String
168
- firstPublishedAt : Date @dateformat
169
- publishedAt : Date @dateformat
170
- publishedVersion : Int
171
159
}
172
160
173
161
interface ContentfulEntry implements Node {
174
162
id : ID !
175
- sys : ContentfulInternalSys
163
+ sys : ContentfulSys
176
164
}
177
165
178
- type ContentfulAsset implements ContentfulInternalReference & Node @dontInfer {
179
- file : ContentfulAssetFile
166
+ type ContentfulAsset implements ContentfulReference & Node @dontInfer {
167
+ sys : ContentfulSys
180
168
title : String
181
169
description : String
182
- sys : ContentfulInternalSys
170
+ contentType : String
171
+ fileName : String
172
+ url : String
173
+ size : Int
174
+ width : Int
175
+ height : Int
183
176
}
184
177
185
- type ContentfulAssetFile {
186
- url : String
187
- details : ContentfulAssetFileDetails
188
- fileName : String
189
- contentType : String
178
+ type ContentfulRichTextAssets {
179
+ block : [ContentfulAsset ]!
180
+ hyperlink : [ContentfulAsset ]!
190
181
}
191
182
192
- type ContentfulAssetFileDetails {
193
- size : Int
194
- image : ContentfulAssetFileDetailsImage
183
+ type ContentfulRichTextEntries {
184
+ inline : [ContentfulEntry ]!
185
+ block : [ContentfulEntry ]!
186
+ hyperlink : [ContentfulEntry ]!
195
187
}
196
188
197
- type ContentfulAssetFileDetailsImage {
198
- width : Int
199
- height : Int
189
+ type ContentfulRichTextLinks {
190
+ assets : ContentfulRichTextAssets
191
+ entries : ContentfulRichTextEntries
200
192
}
201
193
202
- type ContentfulNodeTypeRichText @dontInfer {
203
- raw : JSON
204
- references : [ ContentfulInternalReference ]
194
+ type ContentfulRichText @dontInfer {
195
+ json : JSON
196
+ links : ContentfulRichTextLinks
205
197
}
206
198
207
- type ContentfulNodeTypeLocation @dontInfer {
199
+ type ContentfulLocation @dontInfer {
208
200
lat : Float !
209
201
lon : Float !
210
202
}
211
203
212
- type ContentfulNodeTypeText implements Node @dontInfer {
204
+ type ContentfulText implements Node @dontInfer {
213
205
raw : String !
214
206
}
215
207
216
- type ContentfulNumber implements ContentfulInternalReference & ContentfulEntry & Node @dontInfer {
217
- sys : ContentfulInternalSys
208
+ type ContentfulContentTypeNumber implements ContentfulReference & ContentfulEntry & Node @dontInfer {
209
+ sys : ContentfulSys
218
210
title : String
219
211
integer : Int
220
212
integerLocalized : Int
221
213
decimal : Float
222
214
decimalLocalized : Float
223
215
}
224
216
225
- type ContentfulText implements ContentfulInternalReference & ContentfulEntry & Node @dontInfer {
226
- sys : ContentfulInternalSys
217
+ type ContentfulContentTypeText implements ContentfulReference & ContentfulEntry & Node @dontInfer {
218
+ sys : ContentfulSys
227
219
title : String
228
220
short : String
229
221
shortLocalized : String
230
222
shortList : [String ]
231
223
shortListLocalized : [String ]
232
- longPlain : ContentfulNodeTypeText @link (by : " id" , from : " longPlain___NODE" )
233
- longMarkdown : ContentfulNodeTypeText @link (by : " id" , from : " longMarkdown___NODE" )
234
- longLocalized : ContentfulNodeTypeText @link (by : " id" , from : " longLocalized___NODE" )
224
+ longPlain : ContentfulText @link (by : " id" , from : " longPlain___NODE" )
225
+ longMarkdown : ContentfulText @link (by : " id" , from : " longMarkdown___NODE" )
226
+ longLocalized : ContentfulText @link (by : " id" , from : " longLocalized___NODE" )
235
227
}
236
228
237
- type ContentfulMediaReference implements ContentfulInternalReference & ContentfulEntry & Node @dontInfer {
238
- sys : ContentfulInternalSys
229
+ type ContentfulContentTypeMediaReference implements ContentfulReference & ContentfulEntry & Node @dontInfer {
230
+ sys : ContentfulSys
239
231
title : String
240
232
one : ContentfulAsset @link (by : " id" , from : " one___NODE" )
241
233
oneLocalized : ContentfulAsset @link (by : " id" , from : " oneLocalized___NODE" )
242
234
many : [ContentfulAsset ] @link (by : " id" , from : " many___NODE" )
243
235
manyLocalized : [ContentfulAsset ] @link (by : " id" , from : " manyLocalized___NODE" )
244
236
}
245
237
246
- type ContentfulBoolean implements ContentfulInternalReference & ContentfulEntry & Node @dontInfer {
247
- sys : ContentfulInternalSys
238
+ type ContentfulContentTypeBoolean implements ContentfulReference & ContentfulEntry & Node @dontInfer {
239
+ sys : ContentfulSys
248
240
title : String
249
241
boolean : Boolean
250
242
booleanLocalized : Boolean
251
243
}
252
244
253
- type ContentfulDate implements ContentfulInternalReference & ContentfulEntry & Node @dontInfer {
254
- sys : ContentfulInternalSys
245
+ type ContentfulContentTypeDate implements ContentfulReference & ContentfulEntry & Node @dontInfer {
246
+ sys : ContentfulSys
255
247
title : String
256
248
date : Date @dateformat
257
249
dateTime : Date @dateformat
258
250
dateTimeTimezone : Date @dateformat
259
251
dateLocalized : Date @dateformat
260
252
}
261
253
262
- type ContentfulLocation implements ContentfulInternalReference & ContentfulEntry & Node @dontInfer {
263
- sys : ContentfulInternalSys
254
+ type ContentfulContentTypeLocation implements ContentfulReference & ContentfulEntry & Node @dontInfer {
255
+ sys : ContentfulSys
264
256
title : String
265
- location : ContentfulNodeTypeLocation
266
- locationLocalized : ContentfulNodeTypeLocation
257
+ location : ContentfulLocation
258
+ locationLocalized : ContentfulLocation
267
259
}
268
260
269
- type ContentfulJson implements ContentfulInternalReference & ContentfulEntry & Node @dontInfer {
270
- sys : ContentfulInternalSys
261
+ type ContentfulContentTypeJson implements ContentfulReference & ContentfulEntry & Node @dontInfer {
262
+ sys : ContentfulSys
271
263
title : String
272
264
json : JSON
273
265
jsonLocalized : JSON
274
266
}
275
267
276
- type ContentfulRichText implements ContentfulInternalReference & ContentfulEntry & Node @dontInfer {
277
- sys : ContentfulInternalSys
268
+ type ContentfulContentTypeRichText implements ContentfulReference & ContentfulEntry & Node @dontInfer {
269
+ sys : ContentfulSys
278
270
title : String
279
- richText : ContentfulNodeTypeRichText
280
- richTextLocalized : ContentfulNodeTypeRichText
281
- richTextValidated : ContentfulNodeTypeRichText
271
+ richText : ContentfulRichText
272
+ richTextLocalized : ContentfulRichText
273
+ richTextValidated : ContentfulRichText
282
274
}
283
275
284
- type ContentfulContentReference implements ContentfulInternalReference & ContentfulEntry & Node @dontInfer {
285
- sys : ContentfulInternalSys
276
+ type ContentfulContentTypeContentReference implements ContentfulReference & ContentfulEntry & Node @dontInfer {
277
+ sys : ContentfulSys
286
278
title : String
287
279
one : ContentfulEntry @link (by : " id" , from : " one___NODE" )
288
280
oneLocalized : ContentfulEntry @link (by : " id" , from : " oneLocalized___NODE" )
289
281
many : [ContentfulEntry ] @link (by : " id" , from : " many___NODE" )
290
282
manyLocalized : [ContentfulEntry ] @link (by : " id" , from : " manyLocalized___NODE" )
291
283
}
292
284
293
- type ContentfulValidatedContentReference implements ContentfulInternalReference & ContentfulEntry & Node @dontInfer {
294
- sys : ContentfulInternalSys
285
+ type ContentfulContentTypeValidatedContentReference implements ContentfulReference & ContentfulEntry & Node @dontInfer {
286
+ sys : ContentfulSys
295
287
title : String
296
288
oneItemSingleType : ContentfulEntry @link (by : " id" , from : " oneItemSingleType___NODE" )
297
289
oneItemManyTypes : ContentfulEntry @link (by : " id" , from : " oneItemManyTypes___NODE" )
298
290
oneItemAllTypes : ContentfulEntry @link (by : " id" , from : " oneItemAllTypes___NODE" )
299
291
multipleItemsSingleType : [ContentfulEntry ] @link (by : " id" , from : " multipleItemsSingleType___NODE" )
300
292
multipleItemsManyTypes : [ContentfulEntry ] @link (by : " id" , from : " multipleItemsManyTypes___NODE" )
301
293
multipleItemsAllTypes : [ContentfulEntry ] @link (by : " id" , from : " multipleItemsAllTypes___NODE" )
294
+ }
295
+
296
+ type ContentfulContentTypeContentType implements Node @dontInfer {
297
+ name : String
298
+ displayField : String
299
+ description : String
300
+ sys : ContentfulContentTypeContentTypeSys
301
+ }
302
+
303
+ type ContentfulContentTypeContentTypeSys {
304
+ type : String
305
+ id : String
306
+ locale : String
307
+ spaceId : String
308
+ environmentId : String
309
+ firstPublishedAt : Date @dateformat
310
+ publishedAt : Date @dateformat
311
+ publishedVersion : Int
302
312
}
0 commit comments