-
Notifications
You must be signed in to change notification settings - Fork 3
/
schema.graphql
1057 lines (971 loc) · 29.7 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 based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
mutation: Mutation
}
"An object with an ID"
interface Node {
"The id of the object."
id: ID!
"The Stage of an object"
stage: Stage!
}
type Aggregate {
count: Int!
}
"Asset system model"
type Asset implements Node {
"The time the document was created"
createdAt(
"Variation of DateTime field to return, allows value from base document, current localization, or combined by returning the newer value of both"
variation: SystemDateTimeFieldVariation! = COMBINED
): DateTime!
"Get the document in other stages"
documentInStages(
"Decides if the current stage should be included or not"
includeCurrent: Boolean! = false,
"Decides if the documents should match the parent documents locale or should use the fallback order defined in the tree"
inheritLocale: Boolean! = false,
"Potential stages that should be returned"
stages: [Stage!]! = [PUBLISHED, DRAFT]
): [Asset!]!
"The file name"
fileName: String!
"The file handle"
handle: String!
"The height of the file"
height: Float
"List of Asset versions"
history(
limit: Int! = 10,
skip: Int! = 0,
"This is optional and can be used to fetch the document version history for a specific stage instead of the current one"
stageOverride: Stage
): [Version!]!
"The unique identifier"
id: ID!
"System Locale field"
locale: Locale!
"Get the other localizations for this document"
localizations(
"Decides if the current locale should be included or not"
includeCurrent: Boolean! = false,
"Potential locales that should be returned"
locales: [Locale!]! = [en]
): [Asset!]!
"The mime type of the file"
mimeType: String
"The time the document was published. Null on documents in draft stage."
publishedAt(
"Variation of DateTime field to return, allows value from base document, current localization, or combined by returning the newer value of both"
variation: SystemDateTimeFieldVariation! = COMBINED
): DateTime
"The file size"
size: Float
"System stage field"
stage: Stage!
"The time the document was updated"
updatedAt(
"Variation of DateTime field to return, allows value from base document, current localization, or combined by returning the newer value of both"
variation: SystemDateTimeFieldVariation! = COMBINED
): DateTime!
"Get the url for the asset with provided transformations applied."
url(transformation: AssetTransformationInput): String!
"The file width"
width: Float
}
"A connection to a list of items."
type AssetConnection {
aggregate: Aggregate!
"A list of edges."
edges: [AssetEdge!]!
"Information to aid in pagination."
pageInfo: PageInfo!
}
"An edge in a connection."
type AssetEdge {
"A cursor for use in pagination."
cursor: String!
"The item at the end of the edge."
node: Asset!
}
type BatchPayload {
"The number of nodes that have been affected by the Batch operation."
count: Long!
}
"Representing a color value comprising of HEX, RGBA and css color values"
type Color {
css: String!
hex: Hex!
rgba: RGBA!
}
type DocumentVersion {
createdAt: DateTime!
data: Json
id: ID!
revision: Int!
stage: Stage!
}
"Representing a geolocation point with latitude and longitude"
type Location {
distance(from: LocationInput!): Float!
latitude: Float!
longitude: Float!
}
type Mutation {
"Create one asset"
createAsset(data: AssetCreateInput!): Asset @deprecated(reason : "Asset mutations will be overhauled soon")
"Delete one asset from _all_ existing stages. Returns deleted document."
deleteAsset(
"Document to delete"
where: AssetWhereUniqueInput!
): Asset
"Delete many Asset documents"
deleteManyAssets(
"Documents to delete"
where: AssetManyWhereInput
): BatchPayload! @deprecated(reason : "Please use the new paginated many mutation (deleteManyAssetsConnection)")
"Delete many Asset documents, return deleted documents"
deleteManyAssetsConnection(
after: ID,
before: ID,
first: Int,
last: Int,
skip: Int,
"Documents to delete"
where: AssetManyWhereInput
): AssetConnection!
"Publish one asset"
publishAsset(
"Optional localizations to publish"
locales: [Locale!],
"Whether to publish the base document"
publishBase: Boolean = true,
"Publishing target stage"
to: [Stage!]! = [PUBLISHED],
"Document to publish"
where: AssetWhereUniqueInput!,
"Whether to include the default locale when publishBase is set"
withDefaultLocale: Boolean = true
): Asset
"Publish many Asset documents"
publishManyAssets(
"Document localizations to publish"
locales: [Locale!],
"Whether to publish the base document"
publishBase: Boolean = true,
"Stages to publish documents to"
to: [Stage!]! = [PUBLISHED],
"Identifies documents in each stage to be published"
where: AssetManyWhereInput,
"Whether to include the default locale when publishBase is true"
withDefaultLocale: Boolean = true
): BatchPayload! @deprecated(reason : "Please use the new paginated many mutation (publishManyAssetsConnection)")
"Publish many Asset documents"
publishManyAssetsConnection(
after: ID,
before: ID,
first: Int,
"Stage to find matching documents in"
from: Stage = DRAFT,
last: Int,
"Document localizations to publish"
locales: [Locale!],
"Whether to publish the base document"
publishBase: Boolean = true,
skip: Int,
"Stages to publish documents to"
to: [Stage!]! = [PUBLISHED],
"Identifies documents in each stage to be published"
where: AssetManyWhereInput,
"Whether to include the default locale when publishBase is true"
withDefaultLocale: Boolean = true
): AssetConnection!
"Unpublish one asset from selected stages. Unpublish either the complete document with its relations, localizations and base data or specific localizations only."
unpublishAsset(
"Stages to unpublish document from"
from: [Stage!]! = [PUBLISHED],
"Optional locales to unpublish. Unpublishing the default locale will completely remove the document from the selected stages"
locales: [Locale!],
"Unpublish complete document including default localization and relations from stages. Can be disabled."
unpublishBase: Boolean = true,
"Document to unpublish"
where: AssetWhereUniqueInput!
): Asset
"Unpublish many Asset documents"
unpublishManyAssets(
"Stages to unpublish documents from"
from: [Stage!]! = [PUBLISHED],
"Locales to unpublish"
locales: [Locale!],
"Whether to unpublish the base document and default localization"
unpublishBase: Boolean = true,
"Identifies documents in each stage"
where: AssetManyWhereInput
): BatchPayload! @deprecated(reason : "Please use the new paginated many mutation (unpublishManyAssetsConnection)")
"Find many Asset documents that match criteria in specified stage and unpublish from target stages"
unpublishManyAssetsConnection(
after: ID,
before: ID,
first: Int,
"Stages to unpublish documents from"
from: [Stage!]! = [PUBLISHED],
last: Int,
"Locales to unpublish"
locales: [Locale!],
skip: Int,
"Stage to find matching documents in"
stage: Stage = DRAFT,
"Whether to unpublish the base document and default localization"
unpublishBase: Boolean = true,
"Identifies documents in draft stage"
where: AssetManyWhereInput
): AssetConnection!
"Update one asset"
updateAsset(data: AssetUpdateInput!, where: AssetWhereUniqueInput!): Asset
"Update many assets"
updateManyAssets(
"Updates to document content"
data: AssetUpdateManyInput!,
"Documents to apply update on"
where: AssetManyWhereInput
): BatchPayload! @deprecated(reason : "Please use the new paginated many mutation (updateManyAssetsConnection)")
"Update many Asset documents"
updateManyAssetsConnection(
after: ID,
before: ID,
"Updates to document content"
data: AssetUpdateManyInput!,
first: Int,
last: Int,
skip: Int,
"Documents to apply update on"
where: AssetManyWhereInput
): AssetConnection!
"Upsert one asset"
upsertAsset(upsert: AssetUpsertInput!, where: AssetWhereUniqueInput!): Asset
}
"Information about pagination in a connection."
type PageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"Number of items in the current page."
pageSize: Int
"When paginating backwards, the cursor to continue."
startCursor: String
}
type Query {
"Retrieve a single asset"
asset(
"""
Defines which locales should be returned.
Note that `Asset` will be affected directly by this argument, as well as any other related models with localized fields in the query's subtree.
The first locale matching the provided list will be returned, entries with non matching locales will be filtered out.
This argument may be overwritten by another locales definition in a relational child field, this will effectively use the overwritten argument for the affected query's subtree.
"""
locales: [Locale!]! = [en],
stage: Stage! = PUBLISHED,
where: AssetWhereUniqueInput!
): Asset
"Retrieve document version"
assetVersion(where: VersionWhereInput!): DocumentVersion
"Retrieve multiple assets"
assets(
after: String,
before: String,
first: Int,
last: Int,
"""
Defines which locales should be returned.
Note that `Asset` will be affected directly by this argument, as well as any other related models with localized fields in the query's subtree.
The first locale matching the provided list will be returned, entries with non matching locales will be filtered out.
This argument may be overwritten by another locales definition in a relational child field, this will effectively use the overwritten argument for the affected query's subtree.
"""
locales: [Locale!]! = [en],
orderBy: AssetOrderByInput,
skip: Int,
stage: Stage! = PUBLISHED,
where: AssetWhereInput
): [Asset!]!
"Retrieve multiple assets using the Relay connection interface"
assetsConnection(
after: String,
before: String,
first: Int,
last: Int,
"""
Defines which locales should be returned.
Note that `Asset` will be affected directly by this argument, as well as any other related models with localized fields in the query's subtree.
The first locale matching the provided list will be returned, entries with non matching locales will be filtered out.
This argument may be overwritten by another locales definition in a relational child field, this will effectively use the overwritten argument for the affected query's subtree.
"""
locales: [Locale!]! = [en],
orderBy: AssetOrderByInput,
skip: Int,
stage: Stage! = PUBLISHED,
where: AssetWhereInput
): AssetConnection!
"Fetches an object given its ID"
node(
"The ID of an object"
id: ID!,
"""
Defines which locales should be returned.
Note that `Node` is a model without localized fields and will not be affected directly by this argument, however the locales will be passed on to any relational fields in the query's subtree for filtering.
For related models with localized fields in the query's subtree, the first locale matching the provided list of locales will be returned, entries with non matching locales will be filtered out.
This argument may be overwritten by another locales definition in a relational child field, this will effectively use the overwritten argument for the affected query's subtree.
"""
locales: [Locale!]! = [en],
stage: Stage! = PUBLISHED
): Node
}
"Representing a RGBA color value: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#rgb()_and_rgba()"
type RGBA {
a: RGBATransparency!
b: RGBAHue!
g: RGBAHue!
r: RGBAHue!
}
"Custom type representing a rich text value comprising of raw rich text ast, html, markdown and text values"
type RichText {
"Returns HTMl representation"
html: String!
"Returns Markdown representation"
markdown: String!
"Returns AST representation"
raw: RichTextAST!
"Returns plain-text contents of RichText"
text: String!
}
type Version {
createdAt: DateTime!
id: ID!
revision: Int!
stage: Stage!
}
enum AssetOrderByInput {
createdAt_ASC
createdAt_DESC
fileName_ASC
fileName_DESC
handle_ASC
handle_DESC
height_ASC
height_DESC
id_ASC
id_DESC
mimeType_ASC
mimeType_DESC
publishedAt_ASC
publishedAt_DESC
size_ASC
size_DESC
updatedAt_ASC
updatedAt_DESC
width_ASC
width_DESC
}
enum DocumentFileTypes {
doc
docx
html
jpg
odp
ods
odt
pdf
png
ppt
pptx
svg
txt
webp
xls
xlsx
}
enum ImageFit {
"Resizes the image to fit within the specified parameters without distorting, cropping, or changing the aspect ratio."
clip
"Resizes the image to fit the specified parameters exactly by removing any parts of the image that don't fit within the boundaries."
crop
"Resizes the image to fit within the parameters, but as opposed to 'fit:clip' will not scale the image if the image is smaller than the output size."
max
"Resizes the image to fit the specified parameters exactly by scaling the image to the desired size. The aspect ratio of the image is not respected and the image can be distorted using this method."
scale
}
"Locale system enumeration"
enum Locale {
en
}
"Stage system enumeration"
enum Stage {
"The Draft is the default stage for all your content."
DRAFT
"The Published stage is where you can publish your content to."
PUBLISHED
}
enum SystemDateTimeFieldVariation {
BASE
COMBINED
LOCALIZATION
}
"System User Kind"
enum UserKind {
MEMBER
PAT
PUBLIC
WEBHOOK
}
enum _FilterKind {
AND
NOT
OR
contains
contains_all
contains_none
contains_some
ends_with
eq
eq_not
gt
gte
in
lt
lte
not_contains
not_ends_with
not_in
not_starts_with
relational_every
relational_none
relational_single
relational_some
search
starts_with
}
enum _MutationInputFieldKind {
enum
relation
richText
scalar
union
virtual
}
enum _MutationKind {
create
delete
deleteMany
publish
publishMany
unpublish
unpublishMany
update
updateMany
upsert
}
enum _OrderDirection {
asc
desc
}
enum _RelationInputCardinality {
many
one
}
enum _RelationInputKind {
create
update
}
enum _RelationKind {
regular
union
}
enum _SystemDateTimeFieldVariation {
base
combined
localization
}
input AssetCreateInput {
createdAt: DateTime
fileName: String!
handle: String!
height: Float
"Inline mutations for managing document localizations excluding the default locale"
localizations: AssetCreateLocalizationsInput
mimeType: String
size: Float
updatedAt: DateTime
width: Float
}
input AssetCreateLocalizationDataInput {
createdAt: DateTime
fileName: String!
handle: String!
height: Float
mimeType: String
size: Float
updatedAt: DateTime
width: Float
}
input AssetCreateLocalizationInput {
"Localization input"
data: AssetCreateLocalizationDataInput!
locale: Locale!
}
input AssetCreateLocalizationsInput {
"Create localizations for the newly-created document"
create: [AssetCreateLocalizationInput!]
}
"Identifies documents"
input AssetManyWhereInput {
"Logical AND on all given filters."
AND: [AssetWhereInput!]
"Logical NOT on all given filters combined by AND."
NOT: [AssetWhereInput!]
"Logical OR on all given filters."
OR: [AssetWhereInput!]
"Contains search across all appropriate fields."
_search: String
createdAt: DateTime
"All values greater than the given value."
createdAt_gt: DateTime
"All values greater than or equal the given value."
createdAt_gte: DateTime
"All values that are contained in given list."
createdAt_in: [DateTime!]
"All values less than the given value."
createdAt_lt: DateTime
"All values less than or equal the given value."
createdAt_lte: DateTime
"All values that are not equal to given value."
createdAt_not: DateTime
"All values that are not contained in given list."
createdAt_not_in: [DateTime!]
id: ID
"All values containing the given string."
id_contains: ID
"All values ending with the given string."
id_ends_with: ID
"All values that are contained in given list."
id_in: [ID!]
"All values that are not equal to given value."
id_not: ID
"All values not containing the given string."
id_not_contains: ID
"All values not ending with the given string"
id_not_ends_with: ID
"All values that are not contained in given list."
id_not_in: [ID!]
"All values not starting with the given string."
id_not_starts_with: ID
"All values starting with the given string."
id_starts_with: ID
publishedAt: DateTime
"All values greater than the given value."
publishedAt_gt: DateTime
"All values greater than or equal the given value."
publishedAt_gte: DateTime
"All values that are contained in given list."
publishedAt_in: [DateTime!]
"All values less than the given value."
publishedAt_lt: DateTime
"All values less than or equal the given value."
publishedAt_lte: DateTime
"All values that are not equal to given value."
publishedAt_not: DateTime
"All values that are not contained in given list."
publishedAt_not_in: [DateTime!]
updatedAt: DateTime
"All values greater than the given value."
updatedAt_gt: DateTime
"All values greater than or equal the given value."
updatedAt_gte: DateTime
"All values that are contained in given list."
updatedAt_in: [DateTime!]
"All values less than the given value."
updatedAt_lt: DateTime
"All values less than or equal the given value."
updatedAt_lte: DateTime
"All values that are not equal to given value."
updatedAt_not: DateTime
"All values that are not contained in given list."
updatedAt_not_in: [DateTime!]
}
"Transformations for Assets"
input AssetTransformationInput {
document: DocumentTransformationInput
image: ImageTransformationInput
"Pass true if you want to validate the passed transformation parameters"
validateOptions: Boolean = false
}
input AssetUpdateInput {
fileName: String
handle: String
height: Float
"Manage document localizations"
localizations: AssetUpdateLocalizationsInput
mimeType: String
size: Float
width: Float
}
input AssetUpdateLocalizationDataInput {
fileName: String
handle: String
height: Float
mimeType: String
size: Float
width: Float
}
input AssetUpdateLocalizationInput {
data: AssetUpdateLocalizationDataInput!
locale: Locale!
}
input AssetUpdateLocalizationsInput {
"Localizations to create"
create: [AssetCreateLocalizationInput!]
"Localizations to delete"
delete: [Locale!]
"Localizations to update"
update: [AssetUpdateLocalizationInput!]
upsert: [AssetUpsertLocalizationInput!]
}
input AssetUpdateManyInput {
fileName: String
height: Float
"Optional updates to localizations"
localizations: AssetUpdateManyLocalizationsInput
mimeType: String
size: Float
width: Float
}
input AssetUpdateManyLocalizationDataInput {
fileName: String
height: Float
mimeType: String
size: Float
width: Float
}
input AssetUpdateManyLocalizationInput {
data: AssetUpdateManyLocalizationDataInput!
locale: Locale!
}
input AssetUpdateManyLocalizationsInput {
"Localizations to update"
update: [AssetUpdateManyLocalizationInput!]
}
input AssetUpdateManyWithNestedWhereInput {
"Update many input"
data: AssetUpdateManyInput!
"Document search"
where: AssetWhereInput!
}
input AssetUpdateWithNestedWhereUniqueInput {
"Document to update"
data: AssetUpdateInput!
"Unique document search"
where: AssetWhereUniqueInput!
}
input AssetUpsertInput {
"Create document if it didn't exist"
create: AssetCreateInput!
"Update document if it exists"
update: AssetUpdateInput!
}
input AssetUpsertLocalizationInput {
create: AssetCreateLocalizationDataInput!
locale: Locale!
update: AssetUpdateLocalizationDataInput!
}
input AssetUpsertWithNestedWhereUniqueInput {
"Upsert data"
data: AssetUpsertInput!
"Unique document search"
where: AssetWhereUniqueInput!
}
"Identifies documents"
input AssetWhereInput {
"Logical AND on all given filters."
AND: [AssetWhereInput!]
"Logical NOT on all given filters combined by AND."
NOT: [AssetWhereInput!]
"Logical OR on all given filters."
OR: [AssetWhereInput!]
"Contains search across all appropriate fields."
_search: String
createdAt: DateTime
"All values greater than the given value."
createdAt_gt: DateTime
"All values greater than or equal the given value."
createdAt_gte: DateTime
"All values that are contained in given list."
createdAt_in: [DateTime!]
"All values less than the given value."
createdAt_lt: DateTime
"All values less than or equal the given value."
createdAt_lte: DateTime
"All values that are not equal to given value."
createdAt_not: DateTime
"All values that are not contained in given list."
createdAt_not_in: [DateTime!]
fileName: String
"All values containing the given string."
fileName_contains: String
"All values ending with the given string."
fileName_ends_with: String
"All values that are contained in given list."
fileName_in: [String!]
"All values that are not equal to given value."
fileName_not: String
"All values not containing the given string."
fileName_not_contains: String
"All values not ending with the given string"
fileName_not_ends_with: String
"All values that are not contained in given list."
fileName_not_in: [String!]
"All values not starting with the given string."
fileName_not_starts_with: String
"All values starting with the given string."
fileName_starts_with: String
handle: String
"All values containing the given string."
handle_contains: String
"All values ending with the given string."
handle_ends_with: String
"All values that are contained in given list."
handle_in: [String!]
"All values that are not equal to given value."
handle_not: String
"All values not containing the given string."
handle_not_contains: String
"All values not ending with the given string"
handle_not_ends_with: String
"All values that are not contained in given list."
handle_not_in: [String!]
"All values not starting with the given string."
handle_not_starts_with: String
"All values starting with the given string."
handle_starts_with: String
height: Float
"All values greater than the given value."
height_gt: Float
"All values greater than or equal the given value."
height_gte: Float
"All values that are contained in given list."
height_in: [Float!]
"All values less than the given value."
height_lt: Float
"All values less than or equal the given value."
height_lte: Float
"All values that are not equal to given value."
height_not: Float
"All values that are not contained in given list."
height_not_in: [Float!]
id: ID
"All values containing the given string."
id_contains: ID
"All values ending with the given string."
id_ends_with: ID
"All values that are contained in given list."
id_in: [ID!]
"All values that are not equal to given value."
id_not: ID
"All values not containing the given string."
id_not_contains: ID
"All values not ending with the given string"
id_not_ends_with: ID
"All values that are not contained in given list."
id_not_in: [ID!]
"All values not starting with the given string."
id_not_starts_with: ID
"All values starting with the given string."
id_starts_with: ID
mimeType: String
"All values containing the given string."
mimeType_contains: String
"All values ending with the given string."
mimeType_ends_with: String
"All values that are contained in given list."
mimeType_in: [String!]
"All values that are not equal to given value."
mimeType_not: String
"All values not containing the given string."
mimeType_not_contains: String
"All values not ending with the given string"
mimeType_not_ends_with: String
"All values that are not contained in given list."
mimeType_not_in: [String!]
"All values not starting with the given string."
mimeType_not_starts_with: String
"All values starting with the given string."
mimeType_starts_with: String
publishedAt: DateTime
"All values greater than the given value."
publishedAt_gt: DateTime
"All values greater than or equal the given value."
publishedAt_gte: DateTime
"All values that are contained in given list."
publishedAt_in: [DateTime!]
"All values less than the given value."
publishedAt_lt: DateTime
"All values less than or equal the given value."
publishedAt_lte: DateTime
"All values that are not equal to given value."
publishedAt_not: DateTime
"All values that are not contained in given list."
publishedAt_not_in: [DateTime!]
size: Float
"All values greater than the given value."
size_gt: Float
"All values greater than or equal the given value."
size_gte: Float
"All values that are contained in given list."
size_in: [Float!]
"All values less than the given value."
size_lt: Float
"All values less than or equal the given value."
size_lte: Float
"All values that are not equal to given value."
size_not: Float
"All values that are not contained in given list."
size_not_in: [Float!]
updatedAt: DateTime
"All values greater than the given value."
updatedAt_gt: DateTime
"All values greater than or equal the given value."
updatedAt_gte: DateTime
"All values that are contained in given list."
updatedAt_in: [DateTime!]
"All values less than the given value."
updatedAt_lt: DateTime
"All values less than or equal the given value."
updatedAt_lte: DateTime
"All values that are not equal to given value."
updatedAt_not: DateTime
"All values that are not contained in given list."
updatedAt_not_in: [DateTime!]
width: Float
"All values greater than the given value."
width_gt: Float
"All values greater than or equal the given value."
width_gte: Float
"All values that are contained in given list."
width_in: [Float!]
"All values less than the given value."
width_lt: Float
"All values less than or equal the given value."
width_lte: Float
"All values that are not equal to given value."
width_not: Float
"All values that are not contained in given list."
width_not_in: [Float!]
}
"References Asset record uniquely"
input AssetWhereUniqueInput {
id: ID
}
"Accepts either HEX or RGBA color value. At least one of hex or rgba value should be passed. If both are passed RGBA is used."
input ColorInput {
hex: Hex
rgba: RGBAInput
}
input ConnectPositionInput {
"Connect document after specified document"
after: ID
"Connect document before specified document"
before: ID
"Connect document at last position"
end: Boolean
"Connect document at first position"
start: Boolean
}
input DocumentOutputInput {
"""
Transforms a document into a desired file type.
See this matrix for format support:
PDF: jpg, odp, ods, odt, png, svg, txt, and webp
DOC: docx, html, jpg, odt, pdf, png, svg, txt, and webp
DOCX: doc, html, jpg, odt, pdf, png, svg, txt, and webp
ODT: doc, docx, html, jpg, pdf, png, svg, txt, and webp
XLS: jpg, pdf, ods, png, svg, xlsx, and webp
XLSX: jpg, pdf, ods, png, svg, xls, and webp
ODS: jpg, pdf, png, xls, svg, xlsx, and webp
PPT: jpg, odp, pdf, png, svg, pptx, and webp
PPTX: jpg, odp, pdf, png, svg, ppt, and webp
ODP: jpg, pdf, png, ppt, svg, pptx, and webp
BMP: jpg, odp, ods, odt, pdf, png, svg, and webp
GIF: jpg, odp, ods, odt, pdf, png, svg, and webp
JPG: jpg, odp, ods, odt, pdf, png, svg, and webp
PNG: jpg, odp, ods, odt, pdf, png, svg, and webp
WEBP: jpg, odp, ods, odt, pdf, png, svg, and webp
TIFF: jpg, odp, ods, odt, pdf, png, svg, and webp
AI: jpg, odp, ods, odt, pdf, png, svg, and webp
PSD: jpg, odp, ods, odt, pdf, png, svg, and webp
SVG: jpg, odp, ods, odt, pdf, png, and webp
HTML: jpg, odt, pdf, svg, txt, and webp
TXT: jpg, html, odt, pdf, svg, and webp
"""
format: DocumentFileTypes
}
"Transformations for Documents"
input DocumentTransformationInput {
"Changes the output for the file."
output: DocumentOutputInput
}
input ImageResizeInput {
"The default value for the fit parameter is fit:clip."
fit: ImageFit
"The height in pixels to resize the image to. The value must be an integer from 1 to 10000."
height: Int
"The width in pixels to resize the image to. The value must be an integer from 1 to 10000."
width: Int
}
"Transformations for Images"
input ImageTransformationInput {
"Resizes the image"
resize: ImageResizeInput