-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
2638 lines (2409 loc) · 87.3 KB
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# This file was generated. Do not edit manually.
schema {
query: Query
}
"Define parent-child relations between types. This is used to add `child*` and `children*` convenience fields like `childImageSharp`."
directive @childOf(
"A list of mime-types this type is a child of. Usually these are the mime-types handled by a transformer plugin."
mimeTypes: [String!]! = [],
"A list of types this type is a child of. Usually these are the types handled by a transformer plugin."
types: [String!]! = ["File"]
) on OBJECT
"Add date formatting options."
directive @dateformat(difference: String, formatString: String, fromNow: Boolean, locale: String) on FIELD_DEFINITION
"Do not infer field types from field values."
directive @dontInfer on OBJECT
"Link to File node by relative path."
directive @fileByRelativePath(from: String) on FIELD_DEFINITION
"Infer field types from field values."
directive @infer on OBJECT
"Link to node by foreign-key relation."
directive @link(by: String! = "id", from: String, on: String) on FIELD_DEFINITION
"Define the mime-types handled by this type."
directive @mimeTypes(
"The mime-types handled by this type."
types: [String!]! = []
) on OBJECT
"""
DEPRECATED: Use interface inheritance instead, i.e. "interface Foo implements Node".
Adds root query fields for an interface. All implementing types must also implement the Node interface.
"""
directive @nodeInterface on INTERFACE
"Proxy resolver from another field."
directive @proxy(from: String!, fromNode: Boolean! = false) on FIELD_DEFINITION
"Node Interface"
interface Node {
children: [Node!]!
id: ID!
internal: Internal!
parent: Node
}
type Directory implements Node {
absolutePath: String!
accessTime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
atime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
atimeMs: Float!
base: String!
birthTime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
birthtime: Date @deprecated(reason: "Use `birthTime` instead")
birthtimeMs: Float @deprecated(reason: "Use `birthTime` instead")
changeTime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
children: [Node!]!
ctime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
ctimeMs: Float!
dev: Int!
dir: String!
ext: String!
extension: String!
gid: Int!
id: ID!
ino: Float!
internal: Internal!
mode: Int!
modifiedTime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
mtime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
mtimeMs: Float!
name: String!
nlink: Int!
parent: Node
prettySize: String!
rdev: Int!
relativeDirectory: String!
relativePath: String!
root: String!
size: Int!
sourceInstanceName: String!
uid: Int!
}
type DirectoryConnection {
distinct(field: DirectoryFieldSelector!): [String!]!
edges: [DirectoryEdge!]!
group(field: DirectoryFieldSelector!, limit: Int, skip: Int): [DirectoryGroupConnection!]!
max(field: DirectoryFieldSelector!): Float
min(field: DirectoryFieldSelector!): Float
nodes: [Directory!]!
pageInfo: PageInfo!
sum(field: DirectoryFieldSelector!): Float
totalCount: Int!
}
type DirectoryEdge {
next: Directory
node: Directory!
previous: Directory
}
type DirectoryGroupConnection {
distinct(field: DirectoryFieldSelector!): [String!]!
edges: [DirectoryEdge!]!
field: String!
fieldValue: String
group(field: DirectoryFieldSelector!, limit: Int, skip: Int): [DirectoryGroupConnection!]!
max(field: DirectoryFieldSelector!): Float
min(field: DirectoryFieldSelector!): Float
nodes: [Directory!]!
pageInfo: PageInfo!
sum(field: DirectoryFieldSelector!): Float
totalCount: Int!
}
type File implements Node {
absolutePath: String!
accessTime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
atime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
atimeMs: Float!
base: String!
birthTime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
birthtime: Date @deprecated(reason: "Use `birthTime` instead")
birthtimeMs: Float @deprecated(reason: "Use `birthTime` instead")
blksize: Int
blocks: Int
changeTime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
"Returns the first child node of type ImageSharp or null if there are no children of given type on this node"
childImageSharp: ImageSharp
"Returns the first child node of type MarkdownRemark or null if there are no children of given type on this node"
childMarkdownRemark: MarkdownRemark
"Returns the first child node of type PartnersJson or null if there are no children of given type on this node"
childPartnersJson: PartnersJson
children: [Node!]!
"Returns all children nodes filtered by type ImageSharp"
childrenImageSharp: [ImageSharp]
"Returns all children nodes filtered by type MarkdownRemark"
childrenMarkdownRemark: [MarkdownRemark]
"Returns all children nodes filtered by type PartnersJson"
childrenPartnersJson: [PartnersJson]
ctime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
ctimeMs: Float!
dev: Int!
dir: String!
ext: String!
extension: String!
gid: Int!
id: ID!
ino: Float!
internal: Internal!
mode: Int!
modifiedTime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
mtime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date!
mtimeMs: Float!
name: String!
nlink: Int!
parent: Node
prettySize: String!
"Copy file to static directory and return public url to it"
publicURL: String
rdev: Int!
relativeDirectory: String!
relativePath: String!
root: String!
size: Int!
sourceInstanceName: String!
uid: Int!
}
type FileConnection {
distinct(field: FileFieldSelector!): [String!]!
edges: [FileEdge!]!
group(field: FileFieldSelector!, limit: Int, skip: Int): [FileGroupConnection!]!
max(field: FileFieldSelector!): Float
min(field: FileFieldSelector!): Float
nodes: [File!]!
pageInfo: PageInfo!
sum(field: FileFieldSelector!): Float
totalCount: Int!
}
type FileEdge {
next: File
node: File!
previous: File
}
type FileGroupConnection {
distinct(field: FileFieldSelector!): [String!]!
edges: [FileEdge!]!
field: String!
fieldValue: String
group(field: FileFieldSelector!, limit: Int, skip: Int): [FileGroupConnection!]!
max(field: FileFieldSelector!): Float
min(field: FileFieldSelector!): Float
nodes: [File!]!
pageInfo: PageInfo!
sum(field: FileFieldSelector!): Float
totalCount: Int!
}
type Frontmatter {
audio: [MarkdownRemarkFrontmatterAudio]
author: String
awards: [String]
background: File
city: String
collaborators: [String]
collection_id: String
cost: String
country: String
date(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date
deposited_archive: [MarkdownRemarkFrontmatterDeposited_archive]
description: String
documents: [MarkdownRemarkFrontmatterDocuments]
end(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date
featuredImg: File
featuredImgAlt: String
featuredImgUrl: String
funders: [String]
geo_lat: Float
geo_lon: Float
github_repo: [MarkdownRemarkFrontmatterGithub_repo]
grant_amount: String
grant_number: String
images: [MarkdownRemarkFrontmatterImages]
institution: String
last_modified_at(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date
location: String
news: [MarkdownRemarkFrontmatterNews]
partners: [String]
project_website: String
publications: [String]
role: String
section: String
slug: String
start(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date
status: String
subtitle: String
tag: [String]
tags: [String]
title: String!
type: String
vimeo: [Int]
year: String
zenodo_doi: String
}
type ImageSharp implements Node {
children: [Node!]!
fixed(background: String = "rgba(0,0,0,1)", base64Width: Int, cropFocus: ImageCropFocus = ATTENTION, duotone: DuotoneGradient, fit: ImageFit = COVER, grayscale: Boolean = false, height: Int, jpegProgressive: Boolean = true, jpegQuality: Int, pngCompressionSpeed: Int = 4, pngQuality: Int, quality: Int, rotate: Int = 0, toFormat: ImageFormat = AUTO, toFormatBase64: ImageFormat = AUTO, traceSVG: Potrace, trim: Float = 0.0, webpQuality: Int, width: Int): ImageSharpFixed
fluid(
background: String = "rgba(0,0,0,1)",
base64Width: Int,
cropFocus: ImageCropFocus = ATTENTION,
duotone: DuotoneGradient,
fit: ImageFit = COVER,
grayscale: Boolean = false,
jpegProgressive: Boolean = true,
jpegQuality: Int,
maxHeight: Int,
maxWidth: Int,
pngCompressionSpeed: Int = 4,
pngQuality: Int,
quality: Int,
rotate: Int = 0,
sizes: String = "",
"A list of image widths to be generated. Example: [ 200, 340, 520, 890 ]"
srcSetBreakpoints: [Int] = [],
toFormat: ImageFormat = AUTO,
toFormatBase64: ImageFormat = AUTO,
traceSVG: Potrace,
trim: Float = 0.0,
webpQuality: Int
): ImageSharpFluid
gatsbyImageData(
"""
If set along with width or height, this will set the value of the other dimension to match the provided aspect ratio, cropping the image if needed.
If neither width or height is provided, height will be set based on the intrinsic width of the source image.
"""
aspectRatio: Float,
"Options to pass to sharp when generating AVIF images."
avifOptions: AVIFOptions,
"Background color applied to the wrapper. Also passed to sharp to use as a background when \"letterboxing\" an image to another aspect ratio."
backgroundColor: String,
"Options for the low-resolution placeholder image. Set placeholder to \"BLURRED\" to use this"
blurredOptions: BlurredOptions,
"""
Specifies the image widths to generate. For FIXED and CONSTRAINED images it is better to allow these to be determined automatically,
based on the image size. For FULL_WIDTH images this can be used to override the default, which is [750, 1080, 1366, 1920].
It will never generate any images larger than the source.
"""
breakpoints: [Int],
"""
The image formats to generate. Valid values are "AUTO" (meaning the same format as the source image), "JPG", "PNG", "WEBP" and "AVIF".
The default value is [AUTO, WEBP], and you should rarely need to change this. Take care if you specify JPG or PNG when you do
not know the formats of the source images, as this could lead to unwanted results such as converting JPEGs to PNGs. Specifying
both PNG and JPG is not supported and will be ignored.
"""
formats: [ImageFormat],
"""
The display height of the generated image for layout = FIXED, and the maximum display height of the largest image for layout = CONSTRAINED.
The image will be cropped if the aspect ratio does not match the source image. If omitted, it is calculated from the supplied width,
matching the aspect ratio of the source image.
"""
height: Int,
"Options to pass to sharp when generating JPG images."
jpgOptions: JPGOptions,
"""
The layout for the image.
FIXED: A static image sized, that does not resize according to the screen width
FULL_WIDTH: The image resizes to fit its container. Pass a "sizes" option if it isn't going to be the full width of the screen.
CONSTRAINED: Resizes to fit its container, up to a maximum width, at which point it will remain fixed in size.
"""
layout: ImageLayout = CONSTRAINED,
"""
A list of image pixel densities to generate. It will never generate images larger than the source, and will always include a 1x image.
Default is [ 1, 2 ] for FIXED images, meaning 1x and 2x and [0.25, 0.5, 1, 2] for CONSTRAINED. In this case, an image with a constrained layout
and width = 400 would generate images at 100, 200, 400 and 800px wide. Ignored for FULL_WIDTH images, which use breakpoints instead
"""
outputPixelDensities: [Float],
"""
Format of generated placeholder image, displayed while the main image loads.
BLURRED: a blurred, low resolution image, encoded as a base64 data URI
DOMINANT_COLOR: a solid color, calculated from the dominant color of the image (default).
TRACED_SVG: deprecated. Will use DOMINANT_COLOR.
NONE: no placeholder. Set "background" to use a fixed background color.
"""
placeholder: ImagePlaceholder,
"Options to pass to sharp when generating PNG images."
pngOptions: PNGOptions,
"The default quality. This is overridden by any format-specific options"
quality: Int,
"""
The "sizes" property, passed to the img tag. This describes the display size of the image.
This does not affect the generated images, but is used by the browser to decide which images to download.
You should usually leave this blank, and a suitable value will be calculated. The exception is if a FULL_WIDTH image
does not actually span the full width of the screen, in which case you should pass the correct size here.
"""
sizes: String,
"Options for traced placeholder SVGs. You also should set placeholder to \"TRACED_SVG\"."
tracedSVGOptions: Potrace,
"Options to pass to sharp to control cropping and other image manipulations."
transformOptions: TransformOptions,
"Options to pass to sharp when generating WebP images."
webpOptions: WebPOptions,
"""
The display width of the generated image for layout = FIXED, and the maximum display width of the largest image for layout = CONSTRAINED.
Ignored if layout = FLUID.
"""
width: Int
): GatsbyImageData!
id: ID!
internal: Internal!
original: ImageSharpOriginal
parent: Node
resize(background: String = "rgba(0,0,0,1)", base64: Boolean = false, cropFocus: ImageCropFocus = ATTENTION, duotone: DuotoneGradient, fit: ImageFit = COVER, grayscale: Boolean = false, height: Int, jpegProgressive: Boolean = true, jpegQuality: Int, pngCompressionLevel: Int = 9, pngCompressionSpeed: Int = 4, pngQuality: Int, quality: Int, rotate: Int = 0, toFormat: ImageFormat = AUTO, traceSVG: Potrace, trim: Float = 0.0, webpQuality: Int, width: Int): ImageSharpResize
}
type ImageSharpConnection {
distinct(field: ImageSharpFieldSelector!): [String!]!
edges: [ImageSharpEdge!]!
group(field: ImageSharpFieldSelector!, limit: Int, skip: Int): [ImageSharpGroupConnection!]!
max(field: ImageSharpFieldSelector!): Float
min(field: ImageSharpFieldSelector!): Float
nodes: [ImageSharp!]!
pageInfo: PageInfo!
sum(field: ImageSharpFieldSelector!): Float
totalCount: Int!
}
type ImageSharpEdge {
next: ImageSharp
node: ImageSharp!
previous: ImageSharp
}
type ImageSharpFixed {
aspectRatio: Float
base64: String
height: Float!
originalName: String
src: String!
srcSet: String!
srcSetWebp: String
srcWebp: String
tracedSVG: String
width: Float!
}
type ImageSharpFluid {
aspectRatio: Float!
base64: String
originalImg: String
originalName: String
presentationHeight: Int!
presentationWidth: Int!
sizes: String!
src: String!
srcSet: String!
srcSetWebp: String
srcWebp: String
tracedSVG: String
}
type ImageSharpGroupConnection {
distinct(field: ImageSharpFieldSelector!): [String!]!
edges: [ImageSharpEdge!]!
field: String!
fieldValue: String
group(field: ImageSharpFieldSelector!, limit: Int, skip: Int): [ImageSharpGroupConnection!]!
max(field: ImageSharpFieldSelector!): Float
min(field: ImageSharpFieldSelector!): Float
nodes: [ImageSharp!]!
pageInfo: PageInfo!
sum(field: ImageSharpFieldSelector!): Float
totalCount: Int!
}
type ImageSharpOriginal {
height: Float
src: String
width: Float
}
type ImageSharpResize {
aspectRatio: Float
height: Int
originalName: String
src: String
tracedSVG: String
width: Int
}
type Internal {
content: String
contentDigest: String!
contentFilePath: String
description: String
fieldOwners: [String]
ignoreType: Boolean
mediaType: String
owner: String!
type: String!
}
type MarkdownHeading {
depth: Int
id: String
value: String
}
type MarkdownRemark implements Node {
children: [Node!]!
excerpt(format: MarkdownExcerptFormats = PLAIN, pruneLength: Int = 140, truncate: Boolean = false): String
excerptAst(pruneLength: Int = 140, truncate: Boolean = false): JSON
featuredImg: File
fields: MarkdownRemarkFields
fileAbsolutePath: String
frontmatter: Frontmatter
headings(depth: MarkdownHeadingLevels): [MarkdownHeading]
html: String
htmlAst: JSON
id: ID!
internal: Internal!
parent: Node
rawMarkdownBody: String
tableOfContents(absolute: Boolean = false, heading: String, maxDepth: Int, pathToSlugField: String = ""): String
timeToRead: Int
wordCount: MarkdownWordCount
}
type MarkdownRemarkConnection {
distinct(field: MarkdownRemarkFieldSelector!): [String!]!
edges: [MarkdownRemarkEdge!]!
group(field: MarkdownRemarkFieldSelector!, limit: Int, skip: Int): [MarkdownRemarkGroupConnection!]!
max(field: MarkdownRemarkFieldSelector!): Float
min(field: MarkdownRemarkFieldSelector!): Float
nodes: [MarkdownRemark!]!
pageInfo: PageInfo!
sum(field: MarkdownRemarkFieldSelector!): Float
totalCount: Int!
}
type MarkdownRemarkEdge {
next: MarkdownRemark
node: MarkdownRemark!
previous: MarkdownRemark
}
type MarkdownRemarkFields {
collection: String
}
type MarkdownRemarkFrontmatterAudio {
author: String
location: String
project: String
title: String
type: String
}
type MarkdownRemarkFrontmatterDeposited_archive {
doi: String
holder: String
title: String
url: String
}
type MarkdownRemarkFrontmatterDocuments {
author: String
location: String
title: String
type: String
url: String
}
type MarkdownRemarkFrontmatterGithub_repo {
doi: String
license: String
name: String
sketchfab: String
title: String
url: String
}
type MarkdownRemarkFrontmatterImages {
caption: String
image: File
}
type MarkdownRemarkFrontmatterNews {
medium: String
title: String
url: String
}
type MarkdownRemarkGroupConnection {
distinct(field: MarkdownRemarkFieldSelector!): [String!]!
edges: [MarkdownRemarkEdge!]!
field: String!
fieldValue: String
group(field: MarkdownRemarkFieldSelector!, limit: Int, skip: Int): [MarkdownRemarkGroupConnection!]!
max(field: MarkdownRemarkFieldSelector!): Float
min(field: MarkdownRemarkFieldSelector!): Float
nodes: [MarkdownRemark!]!
pageInfo: PageInfo!
sum(field: MarkdownRemarkFieldSelector!): Float
totalCount: Int!
}
type MarkdownWordCount {
paragraphs: Int
sentences: Int
words: Int
}
type Mdx implements Node {
children: [Node!]!
excerpt(pruneLength: Int = 140): String
id: ID!
internal: Internal!
parent: Node
tableOfContents(maxDepth: Int): JSON
}
type MdxConnection {
distinct(field: MdxFieldSelector!): [String!]!
edges: [MdxEdge!]!
group(field: MdxFieldSelector!, limit: Int, skip: Int): [MdxGroupConnection!]!
max(field: MdxFieldSelector!): Float
min(field: MdxFieldSelector!): Float
nodes: [Mdx!]!
pageInfo: PageInfo!
sum(field: MdxFieldSelector!): Float
totalCount: Int!
}
type MdxEdge {
next: Mdx
node: Mdx!
previous: Mdx
}
type MdxGroupConnection {
distinct(field: MdxFieldSelector!): [String!]!
edges: [MdxEdge!]!
field: String!
fieldValue: String
group(field: MdxFieldSelector!, limit: Int, skip: Int): [MdxGroupConnection!]!
max(field: MdxFieldSelector!): Float
min(field: MdxFieldSelector!): Float
nodes: [Mdx!]!
pageInfo: PageInfo!
sum(field: MdxFieldSelector!): Float
totalCount: Int!
}
type PageInfo {
currentPage: Int!
hasNextPage: Boolean!
hasPreviousPage: Boolean!
itemCount: Int!
pageCount: Int!
perPage: Int
totalCount: Int!
}
type PartnersJson implements Node {
children: [Node!]!
id: ID!
internal: Internal!
logo: File
name: String
parent: Node
}
type PartnersJsonConnection {
distinct(field: PartnersJsonFieldSelector!): [String!]!
edges: [PartnersJsonEdge!]!
group(field: PartnersJsonFieldSelector!, limit: Int, skip: Int): [PartnersJsonGroupConnection!]!
max(field: PartnersJsonFieldSelector!): Float
min(field: PartnersJsonFieldSelector!): Float
nodes: [PartnersJson!]!
pageInfo: PageInfo!
sum(field: PartnersJsonFieldSelector!): Float
totalCount: Int!
}
type PartnersJsonEdge {
next: PartnersJson
node: PartnersJson!
previous: PartnersJson
}
type PartnersJsonGroupConnection {
distinct(field: PartnersJsonFieldSelector!): [String!]!
edges: [PartnersJsonEdge!]!
field: String!
fieldValue: String
group(field: PartnersJsonFieldSelector!, limit: Int, skip: Int): [PartnersJsonGroupConnection!]!
max(field: PartnersJsonFieldSelector!): Float
min(field: PartnersJsonFieldSelector!): Float
nodes: [PartnersJson!]!
pageInfo: PageInfo!
sum(field: PartnersJsonFieldSelector!): Float
totalCount: Int!
}
type Query {
allDirectory(filter: DirectoryFilterInput, limit: Int, skip: Int, sort: [DirectorySortInput]): DirectoryConnection!
allFile(filter: FileFilterInput, limit: Int, skip: Int, sort: [FileSortInput]): FileConnection!
allImageSharp(filter: ImageSharpFilterInput, limit: Int, skip: Int, sort: [ImageSharpSortInput]): ImageSharpConnection!
allMarkdownRemark(filter: MarkdownRemarkFilterInput, limit: Int, skip: Int, sort: [MarkdownRemarkSortInput]): MarkdownRemarkConnection!
allMdx(filter: MdxFilterInput, limit: Int, skip: Int, sort: [MdxSortInput]): MdxConnection!
allPartnersJson(filter: PartnersJsonFilterInput, limit: Int, skip: Int, sort: [PartnersJsonSortInput]): PartnersJsonConnection!
allSite(filter: SiteFilterInput, limit: Int, skip: Int, sort: [SiteSortInput]): SiteConnection!
allSiteBuildMetadata(filter: SiteBuildMetadataFilterInput, limit: Int, skip: Int, sort: [SiteBuildMetadataSortInput]): SiteBuildMetadataConnection!
allSiteFunction(filter: SiteFunctionFilterInput, limit: Int, skip: Int, sort: [SiteFunctionSortInput]): SiteFunctionConnection!
allSitePage(filter: SitePageFilterInput, limit: Int, skip: Int, sort: [SitePageSortInput]): SitePageConnection!
allSitePlugin(filter: SitePluginFilterInput, limit: Int, skip: Int, sort: [SitePluginSortInput]): SitePluginConnection!
directory(absolutePath: StringQueryOperatorInput, accessTime: DateQueryOperatorInput, atime: DateQueryOperatorInput, atimeMs: FloatQueryOperatorInput, base: StringQueryOperatorInput, birthTime: DateQueryOperatorInput, birthtime: DateQueryOperatorInput, birthtimeMs: FloatQueryOperatorInput, changeTime: DateQueryOperatorInput, children: NodeFilterListInput, ctime: DateQueryOperatorInput, ctimeMs: FloatQueryOperatorInput, dev: IntQueryOperatorInput, dir: StringQueryOperatorInput, ext: StringQueryOperatorInput, extension: StringQueryOperatorInput, gid: IntQueryOperatorInput, id: StringQueryOperatorInput, ino: FloatQueryOperatorInput, internal: InternalFilterInput, mode: IntQueryOperatorInput, modifiedTime: DateQueryOperatorInput, mtime: DateQueryOperatorInput, mtimeMs: FloatQueryOperatorInput, name: StringQueryOperatorInput, nlink: IntQueryOperatorInput, parent: NodeFilterInput, prettySize: StringQueryOperatorInput, rdev: IntQueryOperatorInput, relativeDirectory: StringQueryOperatorInput, relativePath: StringQueryOperatorInput, root: StringQueryOperatorInput, size: IntQueryOperatorInput, sourceInstanceName: StringQueryOperatorInput, uid: IntQueryOperatorInput): Directory
file(absolutePath: StringQueryOperatorInput, accessTime: DateQueryOperatorInput, atime: DateQueryOperatorInput, atimeMs: FloatQueryOperatorInput, base: StringQueryOperatorInput, birthTime: DateQueryOperatorInput, birthtime: DateQueryOperatorInput, birthtimeMs: FloatQueryOperatorInput, blksize: IntQueryOperatorInput, blocks: IntQueryOperatorInput, changeTime: DateQueryOperatorInput, childImageSharp: ImageSharpFilterInput, childMarkdownRemark: MarkdownRemarkFilterInput, childPartnersJson: PartnersJsonFilterInput, children: NodeFilterListInput, childrenImageSharp: ImageSharpFilterListInput, childrenMarkdownRemark: MarkdownRemarkFilterListInput, childrenPartnersJson: PartnersJsonFilterListInput, ctime: DateQueryOperatorInput, ctimeMs: FloatQueryOperatorInput, dev: IntQueryOperatorInput, dir: StringQueryOperatorInput, ext: StringQueryOperatorInput, extension: StringQueryOperatorInput, gid: IntQueryOperatorInput, id: StringQueryOperatorInput, ino: FloatQueryOperatorInput, internal: InternalFilterInput, mode: IntQueryOperatorInput, modifiedTime: DateQueryOperatorInput, mtime: DateQueryOperatorInput, mtimeMs: FloatQueryOperatorInput, name: StringQueryOperatorInput, nlink: IntQueryOperatorInput, parent: NodeFilterInput, prettySize: StringQueryOperatorInput, publicURL: StringQueryOperatorInput, rdev: IntQueryOperatorInput, relativeDirectory: StringQueryOperatorInput, relativePath: StringQueryOperatorInput, root: StringQueryOperatorInput, size: IntQueryOperatorInput, sourceInstanceName: StringQueryOperatorInput, uid: IntQueryOperatorInput): File
imageSharp(children: NodeFilterListInput, fixed: ImageSharpFixedFilterInput, fluid: ImageSharpFluidFilterInput, gatsbyImageData: GatsbyImageDataQueryOperatorInput, id: StringQueryOperatorInput, internal: InternalFilterInput, original: ImageSharpOriginalFilterInput, parent: NodeFilterInput, resize: ImageSharpResizeFilterInput): ImageSharp
markdownRemark(children: NodeFilterListInput, excerpt: StringQueryOperatorInput, excerptAst: JSONQueryOperatorInput, featuredImg: FileFilterInput, fields: MarkdownRemarkFieldsFilterInput, fileAbsolutePath: StringQueryOperatorInput, frontmatter: FrontmatterFilterInput, headings: MarkdownHeadingFilterListInput, html: StringQueryOperatorInput, htmlAst: JSONQueryOperatorInput, id: StringQueryOperatorInput, internal: InternalFilterInput, parent: NodeFilterInput, rawMarkdownBody: StringQueryOperatorInput, tableOfContents: StringQueryOperatorInput, timeToRead: IntQueryOperatorInput, wordCount: MarkdownWordCountFilterInput): MarkdownRemark
mdx(children: NodeFilterListInput, excerpt: StringQueryOperatorInput, id: StringQueryOperatorInput, internal: InternalFilterInput, parent: NodeFilterInput, tableOfContents: JSONQueryOperatorInput): Mdx
partnersJson(children: NodeFilterListInput, id: StringQueryOperatorInput, internal: InternalFilterInput, logo: FileFilterInput, name: StringQueryOperatorInput, parent: NodeFilterInput): PartnersJson
site(buildTime: DateQueryOperatorInput, children: NodeFilterListInput, graphqlTypegen: BooleanQueryOperatorInput, host: StringQueryOperatorInput, id: StringQueryOperatorInput, internal: InternalFilterInput, jsxRuntime: StringQueryOperatorInput, parent: NodeFilterInput, pathPrefix: StringQueryOperatorInput, polyfill: BooleanQueryOperatorInput, port: IntQueryOperatorInput, siteMetadata: SiteSiteMetadataFilterInput, trailingSlash: StringQueryOperatorInput): Site
siteBuildMetadata(buildTime: DateQueryOperatorInput, children: NodeFilterListInput, id: StringQueryOperatorInput, internal: InternalFilterInput, parent: NodeFilterInput): SiteBuildMetadata
siteFunction(absoluteCompiledFilePath: StringQueryOperatorInput, children: NodeFilterListInput, functionRoute: StringQueryOperatorInput, id: StringQueryOperatorInput, internal: InternalFilterInput, matchPath: StringQueryOperatorInput, originalAbsoluteFilePath: StringQueryOperatorInput, originalRelativeFilePath: StringQueryOperatorInput, parent: NodeFilterInput, pluginName: StringQueryOperatorInput, relativeCompiledFilePath: StringQueryOperatorInput): SiteFunction
sitePage(children: NodeFilterListInput, component: StringQueryOperatorInput, componentChunkName: StringQueryOperatorInput, id: StringQueryOperatorInput, internal: InternalFilterInput, internalComponentName: StringQueryOperatorInput, matchPath: StringQueryOperatorInput, pageContext: JSONQueryOperatorInput, parent: NodeFilterInput, path: StringQueryOperatorInput, pluginCreator: SitePluginFilterInput): SitePage
sitePlugin(browserAPIs: StringQueryOperatorInput, children: NodeFilterListInput, id: StringQueryOperatorInput, internal: InternalFilterInput, name: StringQueryOperatorInput, nodeAPIs: StringQueryOperatorInput, packageJson: JSONQueryOperatorInput, parent: NodeFilterInput, pluginFilepath: StringQueryOperatorInput, pluginOptions: JSONQueryOperatorInput, resolve: StringQueryOperatorInput, ssrAPIs: StringQueryOperatorInput, version: StringQueryOperatorInput): SitePlugin
}
type Site implements Node {
buildTime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date
children: [Node!]!
graphqlTypegen: Boolean
host: String
id: ID!
internal: Internal!
jsxRuntime: String
parent: Node
pathPrefix: String
polyfill: Boolean
port: Int
siteMetadata: SiteSiteMetadata
trailingSlash: String
}
type SiteBuildMetadata implements Node {
buildTime(
"Returns the difference between this date and the current time. Defaults to \"milliseconds\" but you can also pass in as the measurement \"years\", \"months\", \"weeks\", \"days\", \"hours\", \"minutes\", and \"seconds\"."
difference: String,
"Format the date using Moment.js' date tokens, e.g. `date(formatString: \"YYYY MMMM DD\")`. See https://momentjs.com/docs/#/displaying/format/ for documentation for different tokens."
formatString: String,
"Returns a string generated with Moment.js' `fromNow` function"
fromNow: Boolean,
"Configures the locale Moment.js will use to format the date."
locale: String
): Date
children: [Node!]!
id: ID!
internal: Internal!
parent: Node
}
type SiteBuildMetadataConnection {
distinct(field: SiteBuildMetadataFieldSelector!): [String!]!
edges: [SiteBuildMetadataEdge!]!
group(field: SiteBuildMetadataFieldSelector!, limit: Int, skip: Int): [SiteBuildMetadataGroupConnection!]!
max(field: SiteBuildMetadataFieldSelector!): Float
min(field: SiteBuildMetadataFieldSelector!): Float
nodes: [SiteBuildMetadata!]!
pageInfo: PageInfo!
sum(field: SiteBuildMetadataFieldSelector!): Float
totalCount: Int!
}
type SiteBuildMetadataEdge {
next: SiteBuildMetadata
node: SiteBuildMetadata!
previous: SiteBuildMetadata
}
type SiteBuildMetadataGroupConnection {
distinct(field: SiteBuildMetadataFieldSelector!): [String!]!
edges: [SiteBuildMetadataEdge!]!
field: String!
fieldValue: String
group(field: SiteBuildMetadataFieldSelector!, limit: Int, skip: Int): [SiteBuildMetadataGroupConnection!]!
max(field: SiteBuildMetadataFieldSelector!): Float
min(field: SiteBuildMetadataFieldSelector!): Float
nodes: [SiteBuildMetadata!]!
pageInfo: PageInfo!
sum(field: SiteBuildMetadataFieldSelector!): Float
totalCount: Int!
}
type SiteConnection {
distinct(field: SiteFieldSelector!): [String!]!
edges: [SiteEdge!]!
group(field: SiteFieldSelector!, limit: Int, skip: Int): [SiteGroupConnection!]!
max(field: SiteFieldSelector!): Float
min(field: SiteFieldSelector!): Float
nodes: [Site!]!
pageInfo: PageInfo!
sum(field: SiteFieldSelector!): Float
totalCount: Int!
}
type SiteEdge {
next: Site
node: Site!
previous: Site
}
type SiteFunction implements Node {
absoluteCompiledFilePath: String!
children: [Node!]!
functionRoute: String!
id: ID!
internal: Internal!
matchPath: String
originalAbsoluteFilePath: String!
originalRelativeFilePath: String!
parent: Node
pluginName: String!
relativeCompiledFilePath: String!
}
type SiteFunctionConnection {
distinct(field: SiteFunctionFieldSelector!): [String!]!
edges: [SiteFunctionEdge!]!
group(field: SiteFunctionFieldSelector!, limit: Int, skip: Int): [SiteFunctionGroupConnection!]!
max(field: SiteFunctionFieldSelector!): Float
min(field: SiteFunctionFieldSelector!): Float
nodes: [SiteFunction!]!
pageInfo: PageInfo!
sum(field: SiteFunctionFieldSelector!): Float
totalCount: Int!
}
type SiteFunctionEdge {
next: SiteFunction
node: SiteFunction!
previous: SiteFunction
}
type SiteFunctionGroupConnection {
distinct(field: SiteFunctionFieldSelector!): [String!]!
edges: [SiteFunctionEdge!]!
field: String!
fieldValue: String
group(field: SiteFunctionFieldSelector!, limit: Int, skip: Int): [SiteFunctionGroupConnection!]!
max(field: SiteFunctionFieldSelector!): Float
min(field: SiteFunctionFieldSelector!): Float
nodes: [SiteFunction!]!
pageInfo: PageInfo!
sum(field: SiteFunctionFieldSelector!): Float
totalCount: Int!
}
type SiteGroupConnection {
distinct(field: SiteFieldSelector!): [String!]!
edges: [SiteEdge!]!
field: String!
fieldValue: String
group(field: SiteFieldSelector!, limit: Int, skip: Int): [SiteGroupConnection!]!
max(field: SiteFieldSelector!): Float
min(field: SiteFieldSelector!): Float