1
- ### Type definitions saved at 2021-05-21T17:02:49.951Z ###
1
+ ### Type definitions saved at 2021-09-25T11:33:25.217Z ###
2
2
3
3
type File implements Node @dontInfer {
4
4
sourceInstanceName : String !
@@ -96,43 +96,23 @@ type SitePage implements Node @dontInfer {
96
96
internalComponentName : String !
97
97
componentChunkName : String !
98
98
matchPath : String
99
+ pageContext : JSON
99
100
}
100
101
101
- type MarkdownHeading {
102
- id : String
103
- value : String
104
- depth : Int
105
- }
106
-
107
- enum MarkdownHeadingLevels {
108
- h1
109
- h2
110
- h3
111
- h4
112
- h5
113
- h6
114
- }
115
-
116
- enum MarkdownExcerptFormats {
117
- PLAIN
118
- HTML
119
- MARKDOWN
120
- }
121
-
122
- type MarkdownWordCount {
123
- paragraphs : Int
124
- sentences : Int
125
- words : Int
126
- }
127
-
128
- type MarkdownRemark implements Node @childOf (mimeTypes : ["text/markdown" , " text/x-markdown" ], types : ["contentfulTextLongPlainTextNode" , " contentfulTextLongMarkdownTextNode" , " contentfulTextLongLocalizedTextNode" ]) @derivedTypes @dontInfer {
129
- frontmatter : MarkdownRemarkFrontmatter
130
- excerpt : String
131
- rawMarkdownBody : String
102
+ type SitePlugin implements Node @dontInfer {
103
+ resolve : String
104
+ name : String
105
+ version : String
106
+ nodeAPIs : [String ]
107
+ browserAPIs : [String ]
108
+ ssrAPIs : [String ]
109
+ pluginFilepath : String
110
+ pluginOptions : JSON
111
+ packageJson : JSON
132
112
}
133
113
134
- type MarkdownRemarkFrontmatter {
135
- title : String
114
+ type SiteBuildMetadata implements Node @dontInfer {
115
+ buildTime : Date @dateformat
136
116
}
137
117
138
118
interface ContentfulEntry implements Node {
@@ -184,15 +164,16 @@ type ContentfulNumber implements ContentfulReference & ContentfulEntry & Node @d
184
164
contentful_id : String !
185
165
node_locale : String !
186
166
title : String
187
- decimal : Float
167
+ integerLocalized : Int
188
168
spaceId : String
189
169
createdAt : Date @dateformat
190
170
updatedAt : Date @dateformat
191
171
sys : ContentfulNumberSys
172
+ metadata : ContentfulNumberMetadata
173
+ decimal : Float
192
174
integer : Int
193
175
content_reference : [ContentfulContentReference ] @link (by : " id" , from : " content reference___NODE" ) @proxy (from : " content reference___NODE" )
194
176
decimalLocalized : Float
195
- integerLocalized : Int
196
177
}
197
178
198
179
type ContentfulNumberSys @derivedTypes {
@@ -211,22 +192,31 @@ type ContentfulNumberSysContentTypeSys {
211
192
id : String
212
193
}
213
194
195
+ type ContentfulNumberMetadata {
196
+ tags : [ContentfulTag ] @link (by : " id" , from : " tags___NODE" )
197
+ }
198
+
199
+ type ContentfulTag implements Node @dontInfer {
200
+ name : String !
201
+ contentful_id : String !
202
+ }
203
+
214
204
type ContentfulContentReference implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer {
215
205
contentful_id : String !
216
206
node_locale : String !
217
207
title : String
218
- manyLocalized : [ContentfulNumberContentfulTextUnion ] @link (by : " id" , from : " manyLocalized___NODE" )
208
+ one : ContentfulContentReferenceContentfulTextUnion @link (by : " id" , from : " one___NODE" )
209
+ content_reference : [ContentfulContentReference ] @link (by : " id" , from : " content reference___NODE" ) @proxy (from : " content reference___NODE" )
219
210
spaceId : String
220
211
createdAt : Date @dateformat
221
212
updatedAt : Date @dateformat
222
213
sys : ContentfulContentReferenceSys
223
214
oneLocalized : ContentfulNumber @link (by : " id" , from : " oneLocalized___NODE" )
224
- one : ContentfulContentReferenceContentfulTextUnion @link (by : " id" , from : " one___NODE" )
225
- content_reference : [ContentfulContentReference ] @link (by : " id" , from : " content reference___NODE" ) @proxy (from : " content reference___NODE" )
226
215
many : [ContentfulContentReferenceContentfulNumberContentfulTextUnion ] @link (by : " id" , from : " many___NODE" )
216
+ manyLocalized : [ContentfulNumberContentfulTextUnion ] @link (by : " id" , from : " manyLocalized___NODE" )
227
217
}
228
218
229
- union ContentfulNumberContentfulTextUnion = ContentfulNumber | ContentfulText
219
+ union ContentfulContentReferenceContentfulTextUnion = ContentfulContentReference | ContentfulText
230
220
231
221
type ContentfulContentReferenceSys @derivedTypes {
232
222
type : String
@@ -244,10 +234,10 @@ type ContentfulContentReferenceSysContentTypeSys {
244
234
id : String
245
235
}
246
236
247
- union ContentfulContentReferenceContentfulTextUnion = ContentfulContentReference | ContentfulText
248
-
249
237
union ContentfulContentReferenceContentfulNumberContentfulTextUnion = ContentfulContentReference | ContentfulNumber | ContentfulText
250
238
239
+ union ContentfulNumberContentfulTextUnion = ContentfulNumber | ContentfulText
240
+
251
241
type ContentfulText implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer {
252
242
contentful_id : String !
253
243
node_locale : String !
@@ -257,12 +247,12 @@ type ContentfulText implements ContentfulReference & ContentfulEntry & Node @der
257
247
createdAt : Date @dateformat
258
248
updatedAt : Date @dateformat
259
249
sys : ContentfulTextSys
260
- shortLocalized : String
261
250
longMarkdown : contentfulTextLongMarkdownTextNode @link (by : " id" , from : " longMarkdown___NODE" )
251
+ shortLocalized : String
262
252
longPlain : contentfulTextLongPlainTextNode @link (by : " id" , from : " longPlain___NODE" )
253
+ shortList : [String ]
263
254
short : String
264
255
content_reference : [ContentfulContentReference ] @link (by : " id" , from : " content reference___NODE" ) @proxy (from : " content reference___NODE" )
265
- shortList : [String ]
266
256
}
267
257
268
258
type contentfulTextLongLocalizedTextNode implements Node @derivedTypes @childOf (types : ["ContentfulText" ]) @dontInfer {
@@ -312,14 +302,14 @@ type ContentfulMediaReference implements ContentfulReference & ContentfulEntry &
312
302
contentful_id : String !
313
303
node_locale : String !
314
304
title : String
315
- manyLocalized : [ ContentfulAsset ] @link (by : " id" , from : " manyLocalized___NODE " )
305
+ one : ContentfulAsset @link (by : " id" , from : " one___NODE " )
316
306
spaceId : String
317
307
createdAt : Date @dateformat
318
308
updatedAt : Date @dateformat
319
309
sys : ContentfulMediaReferenceSys
320
- many : [ContentfulAsset ] @link (by : " id" , from : " many___NODE" )
321
310
oneLocalized : ContentfulAsset @link (by : " id" , from : " oneLocalized___NODE" )
322
- one : ContentfulAsset @link (by : " id" , from : " one___NODE" )
311
+ many : [ContentfulAsset ] @link (by : " id" , from : " many___NODE" )
312
+ manyLocalized : [ContentfulAsset ] @link (by : " id" , from : " manyLocalized___NODE" )
323
313
}
324
314
325
315
type ContentfulMediaReferenceSys @derivedTypes {
@@ -370,14 +360,14 @@ type ContentfulDate implements ContentfulReference & ContentfulEntry & Node @der
370
360
contentful_id : String !
371
361
node_locale : String !
372
362
title : String
373
- dateLocalized : Date @dateformat
363
+ dateTimeTimezone : Date @dateformat
374
364
spaceId : String
375
365
createdAt : Date @dateformat
376
366
updatedAt : Date @dateformat
377
367
sys : ContentfulDateSys
378
- dateTime : Date @dateformat
379
- dateTimeTimezone : Date @dateformat
380
368
date : Date @dateformat
369
+ dateLocalized : Date @dateformat
370
+ dateTime : Date @dateformat
381
371
}
382
372
383
373
type ContentfulDateSys @derivedTypes {
@@ -409,8 +399,8 @@ type ContentfulLocation implements ContentfulReference & ContentfulEntry & Node
409
399
}
410
400
411
401
type ContentfulLocationLocationLocalized {
412
- lat : Float
413
402
lon : Float
403
+ lat : Float
414
404
}
415
405
416
406
type ContentfulLocationSys @derivedTypes {
@@ -438,25 +428,39 @@ type ContentfulJson implements ContentfulReference & ContentfulEntry & Node @der
438
428
contentful_id : String !
439
429
node_locale : String !
440
430
title : String
441
- jsonLocalized : contentfulJsonJsonLocalizedJsonNode @link (by : " id" , from : " jsonLocalized___NODE " )
431
+ json : contentfulJsonJsonJsonNode @link (by : " id" , from : " json___NODE " )
442
432
spaceId : String
443
433
createdAt : Date @dateformat
444
434
updatedAt : Date @dateformat
445
435
sys : ContentfulJsonSys
446
- json : contentfulJsonJsonJsonNode @link (by : " id" , from : " json___NODE " )
436
+ jsonLocalized : contentfulJsonJsonLocalizedJsonNode @link (by : " id" , from : " jsonLocalized___NODE " )
447
437
}
448
438
449
- type contentfulJsonJsonLocalizedJsonNode implements Node @derivedTypes @childOf (types : ["ContentfulJson" ]) @dontInfer {
439
+ type contentfulJsonJsonJsonNode implements Node @derivedTypes @childOf (types : ["ContentfulJson" ]) @dontInfer {
450
440
age : Int
451
441
city : String
452
442
name : String
453
- sys : contentfulJsonJsonLocalizedJsonNodeSys
443
+ sys : contentfulJsonJsonJsonNodeSys
444
+ Actors : [contentfulJsonJsonJsonNodeActors ]
454
445
}
455
446
456
- type contentfulJsonJsonLocalizedJsonNodeSys {
447
+ type contentfulJsonJsonJsonNodeSys {
457
448
type : String
458
449
}
459
450
451
+ type contentfulJsonJsonJsonNodeActors {
452
+ age : Int
453
+ name : String
454
+ wife : String
455
+ photo : String
456
+ weight : Float
457
+ Born_At : String @proxy (from : " Born At" )
458
+ children : [String ]
459
+ Birthdate : String
460
+ hasChildren : Boolean
461
+ hasGreyHair : Boolean
462
+ }
463
+
460
464
type ContentfulJsonSys @derivedTypes {
461
465
type : String
462
466
revision : Int
@@ -473,50 +477,36 @@ type ContentfulJsonSysContentTypeSys {
473
477
id : String
474
478
}
475
479
476
- type contentfulJsonJsonJsonNode implements Node @derivedTypes @childOf (types : ["ContentfulJson" ]) @dontInfer {
477
- Actors : [contentfulJsonJsonJsonNodeActors ]
478
- sys : contentfulJsonJsonJsonNodeSys
480
+ type contentfulJsonJsonLocalizedJsonNode implements Node @derivedTypes @childOf (types : ["ContentfulJson" ]) @dontInfer {
479
481
name : String
480
482
age : Int
481
483
city : String
484
+ sys : contentfulJsonJsonLocalizedJsonNodeSys
482
485
}
483
486
484
- type contentfulJsonJsonJsonNodeActors {
485
- name : String
486
- age : Int
487
- Born_At : String @proxy (from : " Born At" )
488
- Birthdate : String
489
- photo : String
490
- wife : String
491
- weight : Float
492
- hasChildren : Boolean
493
- hasGreyHair : Boolean
494
- children : [String ]
495
- }
496
-
497
- type contentfulJsonJsonJsonNodeSys {
487
+ type contentfulJsonJsonLocalizedJsonNodeSys {
498
488
type : String
499
489
}
500
490
501
491
type ContentfulRichText implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer {
502
492
contentful_id : String !
503
493
node_locale : String !
504
494
title : String
505
- richTextValidated : ContentfulRichTextRichTextValidated
495
+ richText : ContentfulRichTextRichText
506
496
spaceId : String
507
497
createdAt : Date @dateformat
508
498
updatedAt : Date @dateformat
509
499
sys : ContentfulRichTextSys
500
+ richTextValidated : ContentfulRichTextRichTextValidated
510
501
richTextLocalized : ContentfulRichTextRichTextLocalized
511
- richText : ContentfulRichTextRichText
512
502
}
513
503
514
- type ContentfulRichTextRichTextValidated {
504
+ type ContentfulRichTextRichText {
515
505
raw : String
516
- references : [ContentfulAssetContentfulLocationContentfulNumberContentfulTextUnion ] @link (by : " id" , from : " references___NODE" )
506
+ references : [ContentfulAssetContentfulContentReferenceContentfulLocationContentfulTextUnion ] @link (by : " id" , from : " references___NODE" )
517
507
}
518
508
519
- union ContentfulAssetContentfulLocationContentfulNumberContentfulTextUnion = ContentfulAsset | ContentfulLocation | ContentfulNumber | ContentfulText
509
+ union ContentfulAssetContentfulContentReferenceContentfulLocationContentfulTextUnion = ContentfulAsset | ContentfulContentReference | ContentfulLocation | ContentfulText
520
510
521
511
type ContentfulRichTextSys @derivedTypes {
522
512
type : String
@@ -534,22 +524,59 @@ type ContentfulRichTextSysContentTypeSys {
534
524
id : String
535
525
}
536
526
537
- type ContentfulRichTextRichTextLocalized {
527
+ type ContentfulRichTextRichTextValidated {
538
528
raw : String
529
+ references : [ContentfulAssetContentfulLocationContentfulNumberContentfulTextUnion ] @link (by : " id" , from : " references___NODE" )
539
530
}
540
531
541
- type ContentfulRichTextRichText {
532
+ union ContentfulAssetContentfulLocationContentfulNumberContentfulTextUnion = ContentfulAsset | ContentfulLocation | ContentfulNumber | ContentfulText
533
+
534
+ type ContentfulRichTextRichTextLocalized {
542
535
raw : String
543
- references : [ContentfulAssetContentfulContentReferenceContentfulLocationContentfulTextUnion ] @link (by : " id" , from : " references___NODE" )
544
536
}
545
537
546
- union ContentfulAssetContentfulContentReferenceContentfulLocationContentfulTextUnion = ContentfulAsset | ContentfulContentReference | ContentfulLocation | ContentfulText
547
-
548
538
type ContentfulValidatedContentReference implements ContentfulReference & ContentfulEntry & Node @dontInfer {
549
539
contentful_id : String !
550
540
node_locale : String !
551
541
}
552
542
543
+ type MarkdownHeading {
544
+ id : String
545
+ value : String
546
+ depth : Int
547
+ }
548
+
549
+ enum MarkdownHeadingLevels {
550
+ h1
551
+ h2
552
+ h3
553
+ h4
554
+ h5
555
+ h6
556
+ }
557
+
558
+ enum MarkdownExcerptFormats {
559
+ PLAIN
560
+ HTML
561
+ MARKDOWN
562
+ }
563
+
564
+ type MarkdownWordCount {
565
+ paragraphs : Int
566
+ sentences : Int
567
+ words : Int
568
+ }
569
+
570
+ type MarkdownRemark implements Node @childOf (mimeTypes : ["text/markdown" , " text/x-markdown" ], types : ["contentfulTextLongPlainTextNode" , " contentfulTextLongMarkdownTextNode" , " contentfulTextLongLocalizedTextNode" ]) @derivedTypes @dontInfer {
571
+ frontmatter : MarkdownRemarkFrontmatter
572
+ excerpt : String
573
+ rawMarkdownBody : String
574
+ }
575
+
576
+ type MarkdownRemarkFrontmatter {
577
+ title : String
578
+ }
579
+
553
580
type ContentfulContentType implements Node @derivedTypes @dontInfer {
554
581
name : String
555
582
displayField : String
0 commit comments