-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.graphql
3422 lines (3083 loc) · 107 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
"""Add date formatting options."""
directive @dateformat(formatString: String, locale: String, fromNow: Boolean, difference: String) on FIELD_DEFINITION
"""Link to node by foreign-key relation."""
directive @link(by: String! = "id", from: String, on: String) on FIELD_DEFINITION
"""Link to File node by relative path."""
directive @fileByRelativePath(from: String) on FIELD_DEFINITION
"""Proxy resolver from another field."""
directive @proxy(from: String!, fromNode: Boolean! = false) on FIELD_DEFINITION
"""Infer field types from field values."""
directive @infer on OBJECT
"""Do not infer field types from field values."""
directive @dontInfer on OBJECT
"""Define the mime-types handled by this type."""
directive @mimeTypes(
"""The mime-types handled by this type."""
types: [String!]! = []
) on OBJECT
"""
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!]! = []
) 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
type File implements Node {
sourceInstanceName: String!
absolutePath: String!
relativePath: String!
extension: String!
size: Int!
prettySize: String!
modifiedTime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
accessTime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
changeTime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
birthTime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
root: String!
dir: String!
base: String!
ext: String!
name: String!
relativeDirectory: String!
dev: Int!
mode: Int!
nlink: Int!
uid: Int!
gid: Int!
rdev: Int!
ino: Float!
atimeMs: Float!
mtimeMs: Float!
ctimeMs: Float!
atime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
mtime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
ctime(
"""
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
"""
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
"""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
url: String
"""Copy file to static directory and return public url to it"""
publicURL: String
"""Returns all children nodes filtered by type ImageSharp"""
childrenImageSharp: [ImageSharp]
"""
Returns the first child node of type ImageSharp or null if there are no children of given type on this node
"""
childImageSharp: ImageSharp
id: ID!
parent: Node
children: [Node!]!
internal: Internal!
}
"""Node Interface"""
interface Node {
id: ID!
parent: Node
children: [Node!]!
internal: Internal!
}
type Internal {
content: String
contentDigest: String!
description: String
fieldOwners: [String]
ignoreType: Boolean
mediaType: String
owner: String!
type: String!
contentFilePath: String
}
"""
A date string, such as 2007-12-03, compliant with the ISO 8601 standard for representation of dates and times using the Gregorian calendar.
"""
scalar Date
type Directory implements Node {
sourceInstanceName: String!
absolutePath: String!
relativePath: String!
extension: String!
size: Int!
prettySize: String!
modifiedTime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
accessTime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
changeTime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
birthTime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
root: String!
dir: String!
base: String!
ext: String!
name: String!
relativeDirectory: String!
dev: Int!
mode: Int!
nlink: Int!
uid: Int!
gid: Int!
rdev: Int!
ino: Float!
atimeMs: Float!
mtimeMs: Float!
ctimeMs: Float!
atime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
mtime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date!
ctime(
"""
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
"""
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
"""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")
id: ID!
parent: Node
children: [Node!]!
internal: Internal!
}
type Site implements Node {
buildTime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date
siteMetadata: SiteSiteMetadata
port: Int
host: String
polyfill: Boolean
pathPrefix: String
jsxRuntime: String
trailingSlash: String
graphqlTypegen: Boolean
id: ID!
parent: Node
children: [Node!]!
internal: Internal!
}
type SiteSiteMetadata {
title: String
description: String
author: String
image: String
}
type SiteFunction implements Node {
functionRoute: String!
pluginName: String!
originalAbsoluteFilePath: String!
originalRelativeFilePath: String!
relativeCompiledFilePath: String!
absoluteCompiledFilePath: String!
matchPath: String
id: ID!
parent: Node
children: [Node!]!
internal: Internal!
}
type SitePage implements Node {
path: String!
component: String!
internalComponentName: String!
componentChunkName: String!
matchPath: String
pageContext: JSON
pluginCreator: SitePlugin
id: ID!
parent: Node
children: [Node!]!
internal: Internal!
}
"""
The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf).
"""
scalar JSON
type SitePlugin implements Node {
resolve: String
name: String
version: String
nodeAPIs: [String]
browserAPIs: [String]
ssrAPIs: [String]
pluginFilepath: String
pluginOptions: JSON
packageJson: JSON
id: ID!
parent: Node
children: [Node!]!
internal: Internal!
}
type SiteBuildMetadata implements Node {
buildTime(
"""
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
"""
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
"""Configures the locale Moment.js will use to format the date."""
locale: String
): Date
id: ID!
parent: Node
children: [Node!]!
internal: Internal!
}
enum GatsbyImageFormat {
NO_CHANGE
AUTO
JPG
PNG
WEBP
AVIF
}
enum GatsbyImageLayout {
FIXED
FULL_WIDTH
CONSTRAINED
}
enum GatsbyImagePlaceholder {
DOMINANT_COLOR
TRACED_SVG
BLURRED
NONE
}
enum ImageFormat {
NO_CHANGE
AUTO
JPG
PNG
WEBP
AVIF
}
enum ImageFit {
COVER
CONTAIN
FILL
INSIDE
OUTSIDE
}
enum ImageLayout {
FIXED
FULL_WIDTH
CONSTRAINED
}
enum ImageCropFocus {
CENTER
NORTH
NORTHEAST
EAST
SOUTHEAST
SOUTH
SOUTHWEST
WEST
NORTHWEST
ENTROPY
ATTENTION
}
input DuotoneGradient {
highlight: String!
shadow: String!
opacity: Int
}
enum PotraceTurnPolicy {
TURNPOLICY_BLACK
TURNPOLICY_WHITE
TURNPOLICY_LEFT
TURNPOLICY_RIGHT
TURNPOLICY_MINORITY
TURNPOLICY_MAJORITY
}
input Potrace {
turnPolicy: PotraceTurnPolicy
turdSize: Float
alphaMax: Float
optCurve: Boolean
optTolerance: Float
threshold: Int
blackOnWhite: Boolean
color: String
background: String
}
type ImageSharp implements Node {
fixed(width: Int, height: Int, base64Width: Int, jpegProgressive: Boolean = true, pngCompressionSpeed: Int = 4, grayscale: Boolean = false, duotone: DuotoneGradient, traceSVG: Potrace, quality: Int, jpegQuality: Int, pngQuality: Int, webpQuality: Int, toFormat: ImageFormat = AUTO, toFormatBase64: ImageFormat = AUTO, cropFocus: ImageCropFocus = ATTENTION, fit: ImageFit = COVER, background: String = "rgba(0,0,0,1)", rotate: Int = 0, trim: Float = 0): ImageSharpFixed
fluid(
maxWidth: Int
maxHeight: Int
base64Width: Int
grayscale: Boolean = false
jpegProgressive: Boolean = true
pngCompressionSpeed: Int = 4
duotone: DuotoneGradient
traceSVG: Potrace
quality: Int
jpegQuality: Int
pngQuality: Int
webpQuality: Int
toFormat: ImageFormat = AUTO
toFormatBase64: ImageFormat = AUTO
cropFocus: ImageCropFocus = ATTENTION
fit: ImageFit = COVER
background: String = "rgba(0,0,0,1)"
rotate: Int = 0
trim: Float = 0
sizes: String = ""
"""
A list of image widths to be generated. Example: [ 200, 340, 520, 890 ]
"""
srcSetBreakpoints: [Int] = []
): ImageSharpFluid
gatsbyImageData(
"""
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
"""
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
"""
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
"""
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
"""
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 for the low-resolution placeholder image. Set placeholder to "BLURRED" to use this
"""
blurredOptions: BlurredOptions
"""
Options for traced placeholder SVGs. You also should set placeholder to "TRACED_SVG".
"""
tracedSVGOptions: Potrace
"""
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]
"""
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]
"""
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 "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
"""The default quality. This is overridden by any format-specific options"""
quality: Int
"""Options to pass to sharp when generating JPG images."""
jpgOptions: JPGOptions
"""Options to pass to sharp when generating PNG images."""
pngOptions: PNGOptions
"""Options to pass to sharp when generating WebP images."""
webpOptions: WebPOptions
"""Options to pass to sharp when generating AVIF images."""
avifOptions: AVIFOptions
"""
Options to pass to sharp to control cropping and other image manipulations.
"""
transformOptions: TransformOptions
"""
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
): GatsbyImageData!
original: ImageSharpOriginal
resize(width: Int, height: Int, quality: Int, jpegQuality: Int, pngQuality: Int, webpQuality: Int, jpegProgressive: Boolean = true, pngCompressionLevel: Int = 9, pngCompressionSpeed: Int = 4, grayscale: Boolean = false, duotone: DuotoneGradient, base64: Boolean = false, traceSVG: Potrace, toFormat: ImageFormat = AUTO, cropFocus: ImageCropFocus = ATTENTION, fit: ImageFit = COVER, background: String = "rgba(0,0,0,1)", rotate: Int = 0, trim: Float = 0): ImageSharpResize
id: ID!
parent: Node
children: [Node!]!
internal: Internal!
}
type ImageSharpFixed {
base64: String
tracedSVG: String
aspectRatio: Float
width: Float!
height: Float!
src: String!
srcSet: String!
srcWebp: String
srcSetWebp: String
originalName: String
}
type ImageSharpFluid {
base64: String
tracedSVG: String
aspectRatio: Float!
src: String!
srcSet: String!
srcWebp: String
srcSetWebp: String
sizes: String!
originalImg: String
originalName: String
presentationWidth: Int!
presentationHeight: Int!
}
scalar GatsbyImageData
enum ImagePlaceholder {
DOMINANT_COLOR
TRACED_SVG
BLURRED
NONE
}
input BlurredOptions {
"""Width of the generated low-res preview. Default is 20px"""
width: Int
"""
Force the output format for the low-res preview. Default is to use the same format as the input. You should rarely need to change this
"""
toFormat: ImageFormat
}
input JPGOptions {
quality: Int
progressive: Boolean = true
}
input PNGOptions {
quality: Int
compressionSpeed: Int = 4
}
input WebPOptions {
quality: Int
}
input AVIFOptions {
quality: Int
lossless: Boolean
speed: Int
}
input TransformOptions {
grayscale: Boolean = false
duotone: DuotoneGradient
rotate: Int = 0
trim: Float = 0
cropFocus: ImageCropFocus = ATTENTION
fit: ImageFit = COVER
}
type ImageSharpOriginal {
width: Float
height: Float
src: String
}
type ImageSharpResize {
src: String
tracedSVG: String
width: Int
height: Int
aspectRatio: Float
originalName: String
}
type Query {
allStrapiTrail(filter: STRAPI_TRAILFilterInput, sort: [STRAPI_TRAILSortInput], skip: Int, limit: Int): STRAPI_TRAILConnection!
strapiTrail(id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput, title: StringQueryOperatorInput, createdAt: DateQueryOperatorInput, updatedAt: DateQueryOperatorInput, publishedAt: DateQueryOperatorInput, content: STRAPI_TRAILContentFilterListInput, criterion: StringQueryOperatorInput, trail_type: StringQueryOperatorInput, slug: StringQueryOperatorInput, cover_image: STRAPI__MEDIAFilterInput, photos: STRAPI__MEDIAFilterListInput, bus: STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_BUSFilterInput, car: STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_CARFilterInput, train: STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_TRAINFilterInput, coords: STRAPI__COMPONENT_COORDS_COORDSFilterInput, strapi_id: IntQueryOperatorInput): STRAPI_TRAIL
file(sourceInstanceName: StringQueryOperatorInput, absolutePath: StringQueryOperatorInput, relativePath: StringQueryOperatorInput, extension: StringQueryOperatorInput, size: IntQueryOperatorInput, prettySize: StringQueryOperatorInput, modifiedTime: DateQueryOperatorInput, accessTime: DateQueryOperatorInput, changeTime: DateQueryOperatorInput, birthTime: DateQueryOperatorInput, root: StringQueryOperatorInput, dir: StringQueryOperatorInput, base: StringQueryOperatorInput, ext: StringQueryOperatorInput, name: StringQueryOperatorInput, relativeDirectory: StringQueryOperatorInput, dev: IntQueryOperatorInput, mode: IntQueryOperatorInput, nlink: IntQueryOperatorInput, uid: IntQueryOperatorInput, gid: IntQueryOperatorInput, rdev: IntQueryOperatorInput, ino: FloatQueryOperatorInput, atimeMs: FloatQueryOperatorInput, mtimeMs: FloatQueryOperatorInput, ctimeMs: FloatQueryOperatorInput, atime: DateQueryOperatorInput, mtime: DateQueryOperatorInput, ctime: DateQueryOperatorInput, birthtime: DateQueryOperatorInput, birthtimeMs: FloatQueryOperatorInput, blksize: IntQueryOperatorInput, blocks: IntQueryOperatorInput, url: StringQueryOperatorInput, publicURL: StringQueryOperatorInput, childrenImageSharp: ImageSharpFilterListInput, childImageSharp: ImageSharpFilterInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): File
allFile(filter: FileFilterInput, sort: [FileSortInput], skip: Int, limit: Int): FileConnection!
directory(sourceInstanceName: StringQueryOperatorInput, absolutePath: StringQueryOperatorInput, relativePath: StringQueryOperatorInput, extension: StringQueryOperatorInput, size: IntQueryOperatorInput, prettySize: StringQueryOperatorInput, modifiedTime: DateQueryOperatorInput, accessTime: DateQueryOperatorInput, changeTime: DateQueryOperatorInput, birthTime: DateQueryOperatorInput, root: StringQueryOperatorInput, dir: StringQueryOperatorInput, base: StringQueryOperatorInput, ext: StringQueryOperatorInput, name: StringQueryOperatorInput, relativeDirectory: StringQueryOperatorInput, dev: IntQueryOperatorInput, mode: IntQueryOperatorInput, nlink: IntQueryOperatorInput, uid: IntQueryOperatorInput, gid: IntQueryOperatorInput, rdev: IntQueryOperatorInput, ino: FloatQueryOperatorInput, atimeMs: FloatQueryOperatorInput, mtimeMs: FloatQueryOperatorInput, ctimeMs: FloatQueryOperatorInput, atime: DateQueryOperatorInput, mtime: DateQueryOperatorInput, ctime: DateQueryOperatorInput, birthtime: DateQueryOperatorInput, birthtimeMs: FloatQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): Directory
allDirectory(filter: DirectoryFilterInput, sort: [DirectorySortInput], skip: Int, limit: Int): DirectoryConnection!
site(buildTime: DateQueryOperatorInput, siteMetadata: SiteSiteMetadataFilterInput, port: IntQueryOperatorInput, host: StringQueryOperatorInput, polyfill: BooleanQueryOperatorInput, pathPrefix: StringQueryOperatorInput, jsxRuntime: StringQueryOperatorInput, trailingSlash: StringQueryOperatorInput, graphqlTypegen: BooleanQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): Site
allSite(filter: SiteFilterInput, sort: [SiteSortInput], skip: Int, limit: Int): SiteConnection!
siteFunction(functionRoute: StringQueryOperatorInput, pluginName: StringQueryOperatorInput, originalAbsoluteFilePath: StringQueryOperatorInput, originalRelativeFilePath: StringQueryOperatorInput, relativeCompiledFilePath: StringQueryOperatorInput, absoluteCompiledFilePath: StringQueryOperatorInput, matchPath: StringQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): SiteFunction
allSiteFunction(filter: SiteFunctionFilterInput, sort: [SiteFunctionSortInput], skip: Int, limit: Int): SiteFunctionConnection!
sitePage(path: StringQueryOperatorInput, component: StringQueryOperatorInput, internalComponentName: StringQueryOperatorInput, componentChunkName: StringQueryOperatorInput, matchPath: StringQueryOperatorInput, pageContext: JSONQueryOperatorInput, pluginCreator: SitePluginFilterInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): SitePage
allSitePage(filter: SitePageFilterInput, sort: [SitePageSortInput], skip: Int, limit: Int): SitePageConnection!
sitePlugin(resolve: StringQueryOperatorInput, name: StringQueryOperatorInput, version: StringQueryOperatorInput, nodeAPIs: StringQueryOperatorInput, browserAPIs: StringQueryOperatorInput, ssrAPIs: StringQueryOperatorInput, pluginFilepath: StringQueryOperatorInput, pluginOptions: JSONQueryOperatorInput, packageJson: JSONQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): SitePlugin
allSitePlugin(filter: SitePluginFilterInput, sort: [SitePluginSortInput], skip: Int, limit: Int): SitePluginConnection!
siteBuildMetadata(buildTime: DateQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): SiteBuildMetadata
allSiteBuildMetadata(filter: SiteBuildMetadataFilterInput, sort: [SiteBuildMetadataSortInput], skip: Int, limit: Int): SiteBuildMetadataConnection!
imageSharp(fixed: ImageSharpFixedFilterInput, fluid: ImageSharpFluidFilterInput, gatsbyImageData: GatsbyImageDataQueryOperatorInput, original: ImageSharpOriginalFilterInput, resize: ImageSharpResizeFilterInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): ImageSharp
allImageSharp(filter: ImageSharpFilterInput, sort: [ImageSharpSortInput], skip: Int, limit: Int): ImageSharpConnection!
carAvailibility(parking1: StringQueryOperatorInput, parking2: StringQueryOperatorInput, parking3: StringQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): CarAvailibility
allCarAvailibility(filter: CarAvailibilityFilterInput, sort: [CarAvailibilitySortInput], skip: Int, limit: Int): CarAvailibilityConnection!
busAvailibility(stop1: StringQueryOperatorInput, stop2: StringQueryOperatorInput, stop3: StringQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): BusAvailibility
allBusAvailibility(filter: BusAvailibilityFilterInput, sort: [BusAvailibilitySortInput], skip: Int, limit: Int): BusAvailibilityConnection!
trainAvailibility(station1: StringQueryOperatorInput, station2: StringQueryOperatorInput, station3: StringQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): TrainAvailibility
allTrainAvailibility(filter: TrainAvailibilityFilterInput, sort: [TrainAvailibilitySortInput], skip: Int, limit: Int): TrainAvailibilityConnection!
coords(lat1: FloatQueryOperatorInput, lng1: FloatQueryOperatorInput, lat2: FloatQueryOperatorInput, lng2: FloatQueryOperatorInput, lat3: FloatQueryOperatorInput, lng3: FloatQueryOperatorInput, lat4: FloatQueryOperatorInput, lng4: FloatQueryOperatorInput, lat5: FloatQueryOperatorInput, lng5: FloatQueryOperatorInput, lat6: FloatQueryOperatorInput, lng6: FloatQueryOperatorInput, lat7: FloatQueryOperatorInput, lng7: FloatQueryOperatorInput, lat8: FloatQueryOperatorInput, lng8: FloatQueryOperatorInput, lat9: FloatQueryOperatorInput, lng9: FloatQueryOperatorInput, lat10: FloatQueryOperatorInput, lng10: FloatQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): Coords
allCoords(filter: CoordsFilterInput, sort: [CoordsSortInput], skip: Int, limit: Int): CoordsConnection!
uploadFile(name: StringQueryOperatorInput, alternativeText: StringQueryOperatorInput, caption: StringQueryOperatorInput, width: IntQueryOperatorInput, height: IntQueryOperatorInput, formats: JSONQueryOperatorInput, hash: StringQueryOperatorInput, ext: StringQueryOperatorInput, mime: StringQueryOperatorInput, size: FloatQueryOperatorInput, url: StringQueryOperatorInput, id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput): UploadFile
allUploadFile(filter: UploadFileFilterInput, sort: [UploadFileSortInput], skip: Int, limit: Int): UploadFileConnection!
strapiMedia(id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput, name: StringQueryOperatorInput, width: IntQueryOperatorInput, height: IntQueryOperatorInput, formats: STRAPI__MEDIAFormatsFilterInput, hash: StringQueryOperatorInput, ext: StringQueryOperatorInput, mime: StringQueryOperatorInput, size: FloatQueryOperatorInput, url: StringQueryOperatorInput, createdAt: DateQueryOperatorInput, updatedAt: DateQueryOperatorInput, localFile: FileFilterInput, strapi_id: IntQueryOperatorInput): STRAPI__MEDIA
allStrapiMedia(filter: STRAPI__MEDIAFilterInput, sort: [STRAPI__MEDIASortInput], skip: Int, limit: Int): STRAPI__MEDIAConnection!
strapiComponentCoordsCoords(id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput, lat1: IntQueryOperatorInput, lat2: IntQueryOperatorInput, lat3: IntQueryOperatorInput, lat4: IntQueryOperatorInput, lat5: IntQueryOperatorInput, lat6: IntQueryOperatorInput, lat7: IntQueryOperatorInput, lat8: IntQueryOperatorInput, lat9: IntQueryOperatorInput, lat10: IntQueryOperatorInput, lng1: IntQueryOperatorInput, lng2: IntQueryOperatorInput, lng3: IntQueryOperatorInput, lng4: IntQueryOperatorInput, lng5: IntQueryOperatorInput, lng6: IntQueryOperatorInput, lng7: IntQueryOperatorInput, lng8: IntQueryOperatorInput, lng9: IntQueryOperatorInput, lng10: IntQueryOperatorInput, strapi_id: IntQueryOperatorInput): STRAPI__COMPONENT_COORDS_COORDS
allStrapiComponentCoordsCoords(filter: STRAPI__COMPONENT_COORDS_COORDSFilterInput, sort: [STRAPI__COMPONENT_COORDS_COORDSSortInput], skip: Int, limit: Int): STRAPI__COMPONENT_COORDS_COORDSConnection!
strapiComponentAvailabilityAvailabilityTrain(id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput, station1: StringQueryOperatorInput, station2: StringQueryOperatorInput, station3: StringQueryOperatorInput, strapi_id: IntQueryOperatorInput): STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_TRAIN
allStrapiComponentAvailabilityAvailabilityTrain(filter: STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_TRAINFilterInput, sort: [STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_TRAINSortInput], skip: Int, limit: Int): STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_TRAINConnection!
strapiComponentAvailabilityAvailabilityCar(id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput, parking1: StringQueryOperatorInput, parking2: StringQueryOperatorInput, parking3: StringQueryOperatorInput, strapi_id: IntQueryOperatorInput): STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_CAR
allStrapiComponentAvailabilityAvailabilityCar(filter: STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_CARFilterInput, sort: [STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_CARSortInput], skip: Int, limit: Int): STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_CARConnection!
strapiComponentAvailabilityAvailabilityBus(id: StringQueryOperatorInput, parent: NodeFilterInput, children: NodeFilterListInput, internal: InternalFilterInput, stop1: StringQueryOperatorInput, stop2: StringQueryOperatorInput, stop3: StringQueryOperatorInput, strapi_id: IntQueryOperatorInput): STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_BUS
allStrapiComponentAvailabilityAvailabilityBus(filter: STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_BUSFilterInput, sort: [STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_BUSSortInput], skip: Int, limit: Int): STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_BUSConnection!
}
type STRAPI_TRAILConnection {
totalCount: Int!
edges: [STRAPI_TRAILEdge!]!
nodes: [STRAPI_TRAIL!]!
pageInfo: PageInfo!
distinct(field: STRAPI_TRAILFieldSelector!): [String!]!
max(field: STRAPI_TRAILFieldSelector!): Float
min(field: STRAPI_TRAILFieldSelector!): Float
sum(field: STRAPI_TRAILFieldSelector!): Float
group(skip: Int, limit: Int, field: STRAPI_TRAILFieldSelector!): [STRAPI_TRAILGroupConnection!]!
}
type STRAPI_TRAILEdge {
next: STRAPI_TRAIL
node: STRAPI_TRAIL!
previous: STRAPI_TRAIL
}
type PageInfo {
currentPage: Int!
hasPreviousPage: Boolean!
hasNextPage: Boolean!
itemCount: Int!
pageCount: Int!
perPage: Int
totalCount: Int!
}
input STRAPI_TRAILFieldSelector {
id: FieldSelectorEnum
parent: NodeFieldSelector
children: NodeFieldSelector
internal: InternalFieldSelector
title: FieldSelectorEnum
createdAt: FieldSelectorEnum
updatedAt: FieldSelectorEnum
publishedAt: FieldSelectorEnum
content: STRAPI_TRAILContentFieldSelector
criterion: FieldSelectorEnum
trail_type: FieldSelectorEnum
slug: FieldSelectorEnum
cover_image: STRAPI__MEDIAFieldSelector
photos: STRAPI__MEDIAFieldSelector
bus: STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_BUSFieldSelector
car: STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_CARFieldSelector
train: STRAPI__COMPONENT_AVAILABILITY_AVAILABILITY_TRAINFieldSelector
coords: STRAPI__COMPONENT_COORDS_COORDSFieldSelector
strapi_id: FieldSelectorEnum
}
enum FieldSelectorEnum {
SELECT
}
input NodeFieldSelector {
id: FieldSelectorEnum
parent: NodeFieldSelector
children: NodeFieldSelector
internal: InternalFieldSelector
}
input InternalFieldSelector {
content: FieldSelectorEnum
contentDigest: FieldSelectorEnum
description: FieldSelectorEnum
fieldOwners: FieldSelectorEnum
ignoreType: FieldSelectorEnum
mediaType: FieldSelectorEnum
owner: FieldSelectorEnum
type: FieldSelectorEnum
contentFilePath: FieldSelectorEnum
}
input STRAPI_TRAILContentFieldSelector {
type: FieldSelectorEnum
children: STRAPI_TRAILContentChildrenFieldSelector
}
input STRAPI_TRAILContentChildrenFieldSelector {
type: FieldSelectorEnum
text: FieldSelectorEnum
}
input STRAPI__MEDIAFieldSelector {
id: FieldSelectorEnum
parent: NodeFieldSelector
children: NodeFieldSelector
internal: InternalFieldSelector
name: FieldSelectorEnum
width: FieldSelectorEnum
height: FieldSelectorEnum
formats: STRAPI__MEDIAFormatsFieldSelector
hash: FieldSelectorEnum
ext: FieldSelectorEnum
mime: FieldSelectorEnum
size: FieldSelectorEnum
url: FieldSelectorEnum
createdAt: FieldSelectorEnum
updatedAt: FieldSelectorEnum
localFile: FileFieldSelector
strapi_id: FieldSelectorEnum
}
input STRAPI__MEDIAFormatsFieldSelector {
thumbnail: STRAPI__MEDIAFormatsThumbnailFieldSelector
small: STRAPI__MEDIAFormatsSmallFieldSelector
large: STRAPI__MEDIAFormatsLargeFieldSelector
medium: STRAPI__MEDIAFormatsMediumFieldSelector
}
input STRAPI__MEDIAFormatsThumbnailFieldSelector {
name: FieldSelectorEnum
hash: FieldSelectorEnum
ext: FieldSelectorEnum
mime: FieldSelectorEnum
width: FieldSelectorEnum
height: FieldSelectorEnum
size: FieldSelectorEnum
url: FieldSelectorEnum
provider_metadata: STRAPI__MEDIAFormatsThumbnailProvider_metadataFieldSelector
}
input STRAPI__MEDIAFormatsThumbnailProvider_metadataFieldSelector {
public_id: FieldSelectorEnum
resource_type: FieldSelectorEnum
}
input STRAPI__MEDIAFormatsSmallFieldSelector {
name: FieldSelectorEnum
hash: FieldSelectorEnum
ext: FieldSelectorEnum
mime: FieldSelectorEnum
width: FieldSelectorEnum
height: FieldSelectorEnum
size: FieldSelectorEnum
url: FieldSelectorEnum
provider_metadata: STRAPI__MEDIAFormatsSmallProvider_metadataFieldSelector
}
input STRAPI__MEDIAFormatsSmallProvider_metadataFieldSelector {
public_id: FieldSelectorEnum
resource_type: FieldSelectorEnum
}
input STRAPI__MEDIAFormatsLargeFieldSelector {
name: FieldSelectorEnum