-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstrapi.graphql
1016 lines (886 loc) Β· 24.7 KB
/
strapi.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
"""Exposes a URL that specifies the behaviour of this scalar."""
directive @specifiedBy(
"""The URL that specifies the behaviour of this scalar."""
url: String!
) on SCALAR
type About {
blocks: [AboutBlocksDynamicZone]
createdAt: DateTime
locale: String
localizations(publicationState: PublicationState = LIVE): AboutRelationResponseCollection
publishedAt: DateTime
title: String!
updatedAt: DateTime
}
union AboutBlocksDynamicZone = ComponentUiQuote | ComponentUiSlider | ComponentPlaceholderRichText | ComponentPlaceholderMultiMedia | Error
scalar AboutBlocksDynamicZoneInput
type AboutEntity {
attributes: About
id: ID
}
type AboutEntityResponse {
data: AboutEntity
}
input AboutInput {
blocks: [AboutBlocksDynamicZoneInput!]
publishedAt: DateTime
title: String
}
type AboutRelationResponseCollection {
data: [AboutEntity!]!
}
input BooleanFilterInput {
and: [Boolean]
between: [Boolean]
contains: Boolean
containsi: Boolean
endsWith: Boolean
eq: Boolean
eqi: Boolean
gt: Boolean
gte: Boolean
in: [Boolean]
lt: Boolean
lte: Boolean
ne: Boolean
not: BooleanFilterInput
notContains: Boolean
notContainsi: Boolean
notIn: [Boolean]
notNull: Boolean
null: Boolean
or: [Boolean]
startsWith: Boolean
}
type ComponentKennPageSelectedProjectDetails {
body: String!
callOfAction(filters: ComponentUiButtonFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): [ComponentUiButton]
heading: String!
id: ID!
type: ENUM_COMPONENTKENNPAGESELECTEDPROJECTDETAILS_TYPE!
}
type ComponentPlaceholderMultiMedia {
id: ID!
media(filters: UploadFileFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFileRelationResponseCollection
}
type ComponentPlaceholderRichText {
id: ID!
richText: String
}
type ComponentSharedSeo {
description: String!
id: ID!
image: UploadFileEntityResponse
title: String!
}
input ComponentSharedSeoInput {
description: String
id: ID
image: ID
title: String
}
type ComponentUiButton {
external: Boolean!
href: String
id: ID!
text: String
}
input ComponentUiButtonFiltersInput {
and: [ComponentUiButtonFiltersInput]
external: BooleanFilterInput
href: StringFilterInput
not: ComponentUiButtonFiltersInput
or: [ComponentUiButtonFiltersInput]
text: StringFilterInput
}
input ComponentUiButtonInput {
external: Boolean
href: String
id: ID
text: String
}
type ComponentUiQuote {
body: String
id: ID!
title: String
}
type ComponentUiSlider {
id: ID!
images(filters: UploadFileFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFileRelationResponseCollection
}
"""
A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the
`date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO
8601 standard for representation of dates and times using the Gregorian calendar.
"""
scalar DateTime
input DateTimeFilterInput {
and: [DateTime]
between: [DateTime]
contains: DateTime
containsi: DateTime
endsWith: DateTime
eq: DateTime
eqi: DateTime
gt: DateTime
gte: DateTime
in: [DateTime]
lt: DateTime
lte: DateTime
ne: DateTime
not: DateTimeFilterInput
notContains: DateTime
notContainsi: DateTime
notIn: [DateTime]
notNull: Boolean
null: Boolean
or: [DateTime]
startsWith: DateTime
}
enum ENUM_COMPONENTKENNPAGESELECTEDPROJECTDETAILS_TYPE {
MERN_Stack
User_Experience_in_mind
Modern_UI
Good_Code_Quality
Storybooks
Robust_DevOps
}
enum ENUM_GETINCONTACT_FRONTENDDISPLAY {
linkedin
github
freelancer
email
phone
other
}
type Error {
code: String!
message: String
}
input FileInfoInput {
alternativeText: String
caption: String
name: String
}
input FloatFilterInput {
and: [Float]
between: [Float]
contains: Float
containsi: Float
endsWith: Float
eq: Float
eqi: Float
gt: Float
gte: Float
in: [Float]
lt: Float
lte: Float
ne: Float
not: FloatFilterInput
notContains: Float
notContainsi: Float
notIn: [Float]
notNull: Boolean
null: Boolean
or: [Float]
startsWith: Float
}
union GenericMorph = ComponentKennPageSelectedProjectDetails | ComponentPlaceholderMultiMedia | ComponentPlaceholderRichText | ComponentSharedSeo | ComponentUiButton | ComponentUiQuote | ComponentUiSlider | UploadFile | UploadFolder | I18NLocale | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsUser | About | GetInContact | Global | HeroSection | MypocketDisplay | Project | Skill
type GetInContact {
createdAt: DateTime
frontendDisplay: ENUM_GETINCONTACT_FRONTENDDISPLAY!
frontendDisplayPicture: UploadFileEntityResponse
links(filters: ComponentUiButtonFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): [ComponentUiButton]
locale: String
localizations(publicationState: PublicationState = LIVE): GetInContactRelationResponseCollection
message: String!
publishedAt: DateTime
updatedAt: DateTime
}
type GetInContactEntity {
attributes: GetInContact
id: ID
}
type GetInContactEntityResponse {
data: GetInContactEntity
}
input GetInContactInput {
frontendDisplay: ENUM_GETINCONTACT_FRONTENDDISPLAY
frontendDisplayPicture: ID
links: [ComponentUiButtonInput]
message: String
publishedAt: DateTime
}
type GetInContactRelationResponseCollection {
data: [GetInContactEntity!]!
}
type Global {
createdAt: DateTime
defaultSeo: ComponentSharedSeo
favicon: UploadFileEntityResponse
locale: String
localizations: GlobalRelationResponseCollection
siteAbout: String!
siteName: String!
updatedAt: DateTime
}
type GlobalEntity {
attributes: Global
id: ID
}
type GlobalEntityResponse {
data: GlobalEntity
}
input GlobalInput {
defaultSeo: ComponentSharedSeoInput
favicon: ID
siteAbout: String
siteName: String
}
type GlobalRelationResponseCollection {
data: [GlobalEntity!]!
}
type HeroSection {
aboutMe: String!
callToAction(filters: ComponentUiButtonFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): [ComponentUiButton]
createdAt: DateTime
h1: String!
h2: String!
locale: String
localizations: HeroSectionRelationResponseCollection
picture: UploadFileEntityResponse!
updatedAt: DateTime
}
type HeroSectionEntity {
attributes: HeroSection
id: ID
}
type HeroSectionEntityResponse {
data: HeroSectionEntity
}
input HeroSectionInput {
aboutMe: String
callToAction: [ComponentUiButtonInput]
h1: String
h2: String
picture: ID
}
type HeroSectionRelationResponseCollection {
data: [HeroSectionEntity!]!
}
type I18NLocale {
code: String
createdAt: DateTime
name: String
updatedAt: DateTime
}
"""A string used to identify an i18n locale"""
scalar I18NLocaleCode
type I18NLocaleEntity {
attributes: I18NLocale
id: ID
}
type I18NLocaleEntityResponse {
data: I18NLocaleEntity
}
type I18NLocaleEntityResponseCollection {
data: [I18NLocaleEntity!]!
meta: ResponseCollectionMeta!
}
input I18NLocaleFiltersInput {
and: [I18NLocaleFiltersInput]
code: StringFilterInput
createdAt: DateTimeFilterInput
id: IDFilterInput
name: StringFilterInput
not: I18NLocaleFiltersInput
or: [I18NLocaleFiltersInput]
updatedAt: DateTimeFilterInput
}
input IDFilterInput {
and: [ID]
between: [ID]
contains: ID
containsi: ID
endsWith: ID
eq: ID
eqi: ID
gt: ID
gte: ID
in: [ID]
lt: ID
lte: ID
ne: ID
not: IDFilterInput
notContains: ID
notContainsi: ID
notIn: [ID]
notNull: Boolean
null: Boolean
or: [ID]
startsWith: ID
}
input IntFilterInput {
and: [Int]
between: [Int]
contains: Int
containsi: Int
endsWith: Int
eq: Int
eqi: Int
gt: Int
gte: Int
in: [Int]
lt: Int
lte: Int
ne: Int
not: IntFilterInput
notContains: Int
notContainsi: Int
notIn: [Int]
notNull: Boolean
null: Boolean
or: [Int]
startsWith: Int
}
"""
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
input JSONFilterInput {
and: [JSON]
between: [JSON]
contains: JSON
containsi: JSON
endsWith: JSON
eq: JSON
eqi: JSON
gt: JSON
gte: JSON
in: [JSON]
lt: JSON
lte: JSON
ne: JSON
not: JSONFilterInput
notContains: JSON
notContainsi: JSON
notIn: [JSON]
notNull: Boolean
null: Boolean
or: [JSON]
startsWith: JSON
}
type Mutation {
"""Change user password. Confirm with the current password."""
changePassword(currentPassword: String!, password: String!, passwordConfirmation: String!): UsersPermissionsLoginPayload
createAboutLocalization(data: AboutInput, id: ID, locale: I18NLocaleCode): AboutEntityResponse
createGetInContactLocalization(data: GetInContactInput, id: ID, locale: I18NLocaleCode): GetInContactEntityResponse
createGlobalLocalization(data: GlobalInput, id: ID, locale: I18NLocaleCode): GlobalEntityResponse
createHeroSectionLocalization(data: HeroSectionInput, id: ID, locale: I18NLocaleCode): HeroSectionEntityResponse
createMypocketDisplayLocalization(data: MypocketDisplayInput, id: ID, locale: I18NLocaleCode): MypocketDisplayEntityResponse
createProject(data: ProjectInput!, locale: I18NLocaleCode): ProjectEntityResponse
createProjectLocalization(data: ProjectInput, id: ID, locale: I18NLocaleCode): ProjectEntityResponse
createSkill(data: SkillInput!): SkillEntityResponse
createUploadFile(data: UploadFileInput!): UploadFileEntityResponse
createUploadFolder(data: UploadFolderInput!): UploadFolderEntityResponse
"""Create a new role"""
createUsersPermissionsRole(data: UsersPermissionsRoleInput!): UsersPermissionsCreateRolePayload
"""Create a new user"""
createUsersPermissionsUser(data: UsersPermissionsUserInput!): UsersPermissionsUserEntityResponse!
deleteAbout(locale: I18NLocaleCode): AboutEntityResponse
deleteGetInContact(locale: I18NLocaleCode): GetInContactEntityResponse
deleteGlobal(locale: I18NLocaleCode): GlobalEntityResponse
deleteHeroSection(locale: I18NLocaleCode): HeroSectionEntityResponse
deleteMypocketDisplay(locale: I18NLocaleCode): MypocketDisplayEntityResponse
deleteProject(id: ID!, locale: I18NLocaleCode): ProjectEntityResponse
deleteSkill(id: ID!): SkillEntityResponse
deleteUploadFile(id: ID!): UploadFileEntityResponse
deleteUploadFolder(id: ID!): UploadFolderEntityResponse
"""Delete an existing role"""
deleteUsersPermissionsRole(id: ID!): UsersPermissionsDeleteRolePayload
"""Delete an existing user"""
deleteUsersPermissionsUser(id: ID!): UsersPermissionsUserEntityResponse!
"""Confirm an email users email address"""
emailConfirmation(confirmation: String!): UsersPermissionsLoginPayload
"""Request a reset password token"""
forgotPassword(email: String!): UsersPermissionsPasswordPayload
login(input: UsersPermissionsLoginInput!): UsersPermissionsLoginPayload!
multipleUpload(field: String, files: [Upload]!, ref: String, refId: ID): [UploadFileEntityResponse]!
"""Register a user"""
register(input: UsersPermissionsRegisterInput!): UsersPermissionsLoginPayload!
removeFile(id: ID!): UploadFileEntityResponse
"""
Reset user password. Confirm with a code (resetToken from forgotPassword)
"""
resetPassword(code: String!, password: String!, passwordConfirmation: String!): UsersPermissionsLoginPayload
updateAbout(data: AboutInput!, locale: I18NLocaleCode): AboutEntityResponse
updateFileInfo(id: ID!, info: FileInfoInput): UploadFileEntityResponse!
updateGetInContact(data: GetInContactInput!, locale: I18NLocaleCode): GetInContactEntityResponse
updateGlobal(data: GlobalInput!, locale: I18NLocaleCode): GlobalEntityResponse
updateHeroSection(data: HeroSectionInput!, locale: I18NLocaleCode): HeroSectionEntityResponse
updateMypocketDisplay(data: MypocketDisplayInput!, locale: I18NLocaleCode): MypocketDisplayEntityResponse
updateProject(data: ProjectInput!, id: ID!, locale: I18NLocaleCode): ProjectEntityResponse
updateSkill(data: SkillInput!, id: ID!): SkillEntityResponse
updateUploadFile(data: UploadFileInput!, id: ID!): UploadFileEntityResponse
updateUploadFolder(data: UploadFolderInput!, id: ID!): UploadFolderEntityResponse
"""Update an existing role"""
updateUsersPermissionsRole(data: UsersPermissionsRoleInput!, id: ID!): UsersPermissionsUpdateRolePayload
"""Update an existing user"""
updateUsersPermissionsUser(data: UsersPermissionsUserInput!, id: ID!): UsersPermissionsUserEntityResponse!
upload(field: String, file: Upload!, info: FileInfoInput, ref: String, refId: ID): UploadFileEntityResponse!
}
type MypocketDisplay {
content: [MypocketDisplayContentDynamicZone]!
createdAt: DateTime
locale: String
localizations(publicationState: PublicationState = LIVE): MypocketDisplayRelationResponseCollection
publishedAt: DateTime
updatedAt: DateTime
}
union MypocketDisplayContentDynamicZone = ComponentKennPageSelectedProjectDetails | Error
scalar MypocketDisplayContentDynamicZoneInput
type MypocketDisplayEntity {
attributes: MypocketDisplay
id: ID
}
type MypocketDisplayEntityResponse {
data: MypocketDisplayEntity
}
input MypocketDisplayInput {
content: [MypocketDisplayContentDynamicZoneInput!]
publishedAt: DateTime
}
type MypocketDisplayRelationResponseCollection {
data: [MypocketDisplayEntity!]!
}
type Pagination {
page: Int!
pageCount: Int!
pageSize: Int!
total: Int!
}
input PaginationArg {
limit: Int
page: Int
pageSize: Int
start: Int
}
type Project {
content: String!
createdAt: DateTime
displayPicture: UploadFileEntityResponse
github: ComponentUiButton
live: ComponentUiButton
locale: String
localizations(filters: ProjectFiltersInput, pagination: PaginationArg = {}, publicationState: PublicationState = LIVE, sort: [String] = []): ProjectRelationResponseCollection
publishedAt: DateTime
skills(filters: SkillFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): SkillRelationResponseCollection
summary: String
title: String!
updatedAt: DateTime
}
type ProjectEntity {
attributes: Project
id: ID
}
type ProjectEntityResponse {
data: ProjectEntity
}
type ProjectEntityResponseCollection {
data: [ProjectEntity!]!
meta: ResponseCollectionMeta!
}
input ProjectFiltersInput {
and: [ProjectFiltersInput]
content: StringFilterInput
createdAt: DateTimeFilterInput
github: ComponentUiButtonFiltersInput
id: IDFilterInput
live: ComponentUiButtonFiltersInput
locale: StringFilterInput
localizations: ProjectFiltersInput
not: ProjectFiltersInput
or: [ProjectFiltersInput]
publishedAt: DateTimeFilterInput
skills: SkillFiltersInput
summary: StringFilterInput
title: StringFilterInput
updatedAt: DateTimeFilterInput
}
input ProjectInput {
content: String
displayPicture: ID
github: ComponentUiButtonInput
live: ComponentUiButtonInput
publishedAt: DateTime
skills: [ID]
summary: String
title: String
}
type ProjectRelationResponseCollection {
data: [ProjectEntity!]!
}
enum PublicationState {
LIVE
PREVIEW
}
type Query {
about(locale: I18NLocaleCode, publicationState: PublicationState = LIVE): AboutEntityResponse
getInContact(locale: I18NLocaleCode, publicationState: PublicationState = LIVE): GetInContactEntityResponse
global(locale: I18NLocaleCode): GlobalEntityResponse
heroSection(locale: I18NLocaleCode): HeroSectionEntityResponse
i18NLocale(id: ID): I18NLocaleEntityResponse
i18NLocales(filters: I18NLocaleFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): I18NLocaleEntityResponseCollection
me: UsersPermissionsMe
mypocketDisplay(locale: I18NLocaleCode, publicationState: PublicationState = LIVE): MypocketDisplayEntityResponse
project(id: ID, locale: I18NLocaleCode): ProjectEntityResponse
projects(filters: ProjectFiltersInput, locale: I18NLocaleCode, pagination: PaginationArg = {}, publicationState: PublicationState = LIVE, sort: [String] = []): ProjectEntityResponseCollection
skill(id: ID): SkillEntityResponse
skills(filters: SkillFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): SkillEntityResponseCollection
uploadFile(id: ID): UploadFileEntityResponse
uploadFiles(filters: UploadFileFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFileEntityResponseCollection
uploadFolder(id: ID): UploadFolderEntityResponse
uploadFolders(filters: UploadFolderFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFolderEntityResponseCollection
usersPermissionsRole(id: ID): UsersPermissionsRoleEntityResponse
usersPermissionsRoles(filters: UsersPermissionsRoleFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UsersPermissionsRoleEntityResponseCollection
usersPermissionsUser(id: ID): UsersPermissionsUserEntityResponse
usersPermissionsUsers(filters: UsersPermissionsUserFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UsersPermissionsUserEntityResponseCollection
}
type ResponseCollectionMeta {
pagination: Pagination!
}
type Skill {
createdAt: DateTime
name: String!
projects(filters: ProjectFiltersInput, pagination: PaginationArg = {}, publicationState: PublicationState = LIVE, sort: [String] = []): ProjectRelationResponseCollection
updatedAt: DateTime
}
type SkillEntity {
attributes: Skill
id: ID
}
type SkillEntityResponse {
data: SkillEntity
}
type SkillEntityResponseCollection {
data: [SkillEntity!]!
meta: ResponseCollectionMeta!
}
input SkillFiltersInput {
and: [SkillFiltersInput]
createdAt: DateTimeFilterInput
id: IDFilterInput
name: StringFilterInput
not: SkillFiltersInput
or: [SkillFiltersInput]
projects: ProjectFiltersInput
updatedAt: DateTimeFilterInput
}
input SkillInput {
name: String
projects: [ID]
}
type SkillRelationResponseCollection {
data: [SkillEntity!]!
}
input StringFilterInput {
and: [String]
between: [String]
contains: String
containsi: String
endsWith: String
eq: String
eqi: String
gt: String
gte: String
in: [String]
lt: String
lte: String
ne: String
not: StringFilterInput
notContains: String
notContainsi: String
notIn: [String]
notNull: Boolean
null: Boolean
or: [String]
startsWith: String
}
"""The `Upload` scalar type represents a file upload."""
scalar Upload
type UploadFile {
alternativeText: String
caption: String
createdAt: DateTime
ext: String
formats: JSON
hash: String!
height: Int
mime: String!
name: String!
previewUrl: String
provider: String!
provider_metadata: JSON
related: [GenericMorph]
size: Float!
updatedAt: DateTime
url: String!
width: Int
}
type UploadFileEntity {
attributes: UploadFile
id: ID
}
type UploadFileEntityResponse {
data: UploadFileEntity
}
type UploadFileEntityResponseCollection {
data: [UploadFileEntity!]!
meta: ResponseCollectionMeta!
}
input UploadFileFiltersInput {
alternativeText: StringFilterInput
and: [UploadFileFiltersInput]
caption: StringFilterInput
createdAt: DateTimeFilterInput
ext: StringFilterInput
folder: UploadFolderFiltersInput
folderPath: StringFilterInput
formats: JSONFilterInput
hash: StringFilterInput
height: IntFilterInput
id: IDFilterInput
mime: StringFilterInput
name: StringFilterInput
not: UploadFileFiltersInput
or: [UploadFileFiltersInput]
previewUrl: StringFilterInput
provider: StringFilterInput
provider_metadata: JSONFilterInput
size: FloatFilterInput
updatedAt: DateTimeFilterInput
url: StringFilterInput
width: IntFilterInput
}
input UploadFileInput {
alternativeText: String
caption: String
ext: String
folder: ID
folderPath: String
formats: JSON
hash: String
height: Int
mime: String
name: String
previewUrl: String
provider: String
provider_metadata: JSON
size: Float
url: String
width: Int
}
type UploadFileRelationResponseCollection {
data: [UploadFileEntity!]!
}
type UploadFolder {
children(filters: UploadFolderFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFolderRelationResponseCollection
createdAt: DateTime
files(filters: UploadFileFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFileRelationResponseCollection
name: String!
parent: UploadFolderEntityResponse
path: String!
pathId: Int!
updatedAt: DateTime
}
type UploadFolderEntity {
attributes: UploadFolder
id: ID
}
type UploadFolderEntityResponse {
data: UploadFolderEntity
}
type UploadFolderEntityResponseCollection {
data: [UploadFolderEntity!]!
meta: ResponseCollectionMeta!
}
input UploadFolderFiltersInput {
and: [UploadFolderFiltersInput]
children: UploadFolderFiltersInput
createdAt: DateTimeFilterInput
files: UploadFileFiltersInput
id: IDFilterInput
name: StringFilterInput
not: UploadFolderFiltersInput
or: [UploadFolderFiltersInput]
parent: UploadFolderFiltersInput
path: StringFilterInput
pathId: IntFilterInput
updatedAt: DateTimeFilterInput
}
input UploadFolderInput {
children: [ID]
files: [ID]
name: String
parent: ID
path: String
pathId: Int
}
type UploadFolderRelationResponseCollection {
data: [UploadFolderEntity!]!
}
type UsersPermissionsCreateRolePayload {
ok: Boolean!
}
type UsersPermissionsDeleteRolePayload {
ok: Boolean!
}
input UsersPermissionsLoginInput {
identifier: String!
password: String!
provider: String! = "local"
}
type UsersPermissionsLoginPayload {
jwt: String
user: UsersPermissionsMe!
}
type UsersPermissionsMe {
blocked: Boolean
confirmed: Boolean
email: String
id: ID!
role: UsersPermissionsMeRole
username: String!
}
type UsersPermissionsMeRole {
description: String
id: ID!
name: String!
type: String
}
type UsersPermissionsPasswordPayload {
ok: Boolean!
}
type UsersPermissionsPermission {
action: String!
createdAt: DateTime
role: UsersPermissionsRoleEntityResponse
updatedAt: DateTime
}
type UsersPermissionsPermissionEntity {
attributes: UsersPermissionsPermission
id: ID
}
input UsersPermissionsPermissionFiltersInput {
action: StringFilterInput
and: [UsersPermissionsPermissionFiltersInput]
createdAt: DateTimeFilterInput
id: IDFilterInput
not: UsersPermissionsPermissionFiltersInput
or: [UsersPermissionsPermissionFiltersInput]
role: UsersPermissionsRoleFiltersInput
updatedAt: DateTimeFilterInput
}
type UsersPermissionsPermissionRelationResponseCollection {
data: [UsersPermissionsPermissionEntity!]!
}
input UsersPermissionsRegisterInput {
email: String!
password: String!
username: String!
}
type UsersPermissionsRole {
createdAt: DateTime
description: String
name: String!
permissions(filters: UsersPermissionsPermissionFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UsersPermissionsPermissionRelationResponseCollection
type: String
updatedAt: DateTime
users(filters: UsersPermissionsUserFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UsersPermissionsUserRelationResponseCollection
}
type UsersPermissionsRoleEntity {
attributes: UsersPermissionsRole
id: ID
}
type UsersPermissionsRoleEntityResponse {
data: UsersPermissionsRoleEntity
}
type UsersPermissionsRoleEntityResponseCollection {
data: [UsersPermissionsRoleEntity!]!
meta: ResponseCollectionMeta!
}
input UsersPermissionsRoleFiltersInput {
and: [UsersPermissionsRoleFiltersInput]
createdAt: DateTimeFilterInput
description: StringFilterInput
id: IDFilterInput
name: StringFilterInput
not: UsersPermissionsRoleFiltersInput
or: [UsersPermissionsRoleFiltersInput]
permissions: UsersPermissionsPermissionFiltersInput
type: StringFilterInput
updatedAt: DateTimeFilterInput
users: UsersPermissionsUserFiltersInput
}
input UsersPermissionsRoleInput {
description: String
name: String
permissions: [ID]
type: String
users: [ID]
}
type UsersPermissionsUpdateRolePayload {
ok: Boolean!
}
type UsersPermissionsUser {
blocked: Boolean
confirmed: Boolean
createdAt: DateTime
email: String!
provider: String
role: UsersPermissionsRoleEntityResponse
updatedAt: DateTime
username: String!
}
type UsersPermissionsUserEntity {
attributes: UsersPermissionsUser
id: ID
}
type UsersPermissionsUserEntityResponse {
data: UsersPermissionsUserEntity
}
type UsersPermissionsUserEntityResponseCollection {
data: [UsersPermissionsUserEntity!]!
meta: ResponseCollectionMeta!
}
input UsersPermissionsUserFiltersInput {
and: [UsersPermissionsUserFiltersInput]
blocked: BooleanFilterInput
confirmationToken: StringFilterInput
confirmed: BooleanFilterInput
createdAt: DateTimeFilterInput
email: StringFilterInput
id: IDFilterInput
not: UsersPermissionsUserFiltersInput
or: [UsersPermissionsUserFiltersInput]
password: StringFilterInput
provider: StringFilterInput
resetPasswordToken: StringFilterInput
role: UsersPermissionsRoleFiltersInput
updatedAt: DateTimeFilterInput
username: StringFilterInput
}