-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.gql
915 lines (812 loc) · 21.9 KB
/
schema.gql
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
"""Direct the client to resolve this field locally, either from the cache or local resolvers."""
directive @client(
"""
When true, the client will never use the cache for this value. See
https://www.apollographql.com/docs/react/essentials/local-state/#forcing-resolvers-with-clientalways-true
"""
always: Boolean
) on FIELD | FRAGMENT_DEFINITION | INLINE_FRAGMENT
"""
Export this locally resolved field as a variable to be used in the remainder of this query. See
https://www.apollographql.com/docs/react/essentials/local-state/#using-client-fields-as-variables
"""
directive @export(
"""The variable name to export this field as."""
as: String!
) on FIELD
"""
Specify a custom store key for this result. See
https://www.apollographql.com/docs/react/advanced/caching/#the-connection-directive
"""
directive @connection(
"""Specify the store key."""
key: String!
"""An array of query argument names to include in the generated custom store key."""
filter: [String!]
) on FIELD
"""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
"""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
"""The `Upload` scalar type represents a file upload."""
scalar Upload
type Pagination {
total: Int!
page: Int!
pageSize: Int!
pageCount: Int!
}
type ResponseCollectionMeta {
pagination: Pagination!
}
enum PublicationState {
LIVE
PREVIEW
}
input IDFilterInput {
and: [ID]
or: [ID]
not: IDFilterInput
eq: ID
eqi: ID
ne: ID
startsWith: ID
endsWith: ID
contains: ID
notContains: ID
containsi: ID
notContainsi: ID
gt: ID
gte: ID
lt: ID
lte: ID
null: Boolean
notNull: Boolean
in: [ID]
notIn: [ID]
between: [ID]
}
input BooleanFilterInput {
and: [Boolean]
or: [Boolean]
not: BooleanFilterInput
eq: Boolean
eqi: Boolean
ne: Boolean
startsWith: Boolean
endsWith: Boolean
contains: Boolean
notContains: Boolean
containsi: Boolean
notContainsi: Boolean
gt: Boolean
gte: Boolean
lt: Boolean
lte: Boolean
null: Boolean
notNull: Boolean
in: [Boolean]
notIn: [Boolean]
between: [Boolean]
}
input StringFilterInput {
and: [String]
or: [String]
not: StringFilterInput
eq: String
eqi: String
ne: String
startsWith: String
endsWith: String
contains: String
notContains: String
containsi: String
notContainsi: String
gt: String
gte: String
lt: String
lte: String
null: Boolean
notNull: Boolean
in: [String]
notIn: [String]
between: [String]
}
input IntFilterInput {
and: [Int]
or: [Int]
not: IntFilterInput
eq: Int
eqi: Int
ne: Int
startsWith: Int
endsWith: Int
contains: Int
notContains: Int
containsi: Int
notContainsi: Int
gt: Int
gte: Int
lt: Int
lte: Int
null: Boolean
notNull: Boolean
in: [Int]
notIn: [Int]
between: [Int]
}
input FloatFilterInput {
and: [Float]
or: [Float]
not: FloatFilterInput
eq: Float
eqi: Float
ne: Float
startsWith: Float
endsWith: Float
contains: Float
notContains: Float
containsi: Float
notContainsi: Float
gt: Float
gte: Float
lt: Float
lte: Float
null: Boolean
notNull: Boolean
in: [Float]
notIn: [Float]
between: [Float]
}
input DateTimeFilterInput {
and: [DateTime]
or: [DateTime]
not: DateTimeFilterInput
eq: DateTime
eqi: DateTime
ne: DateTime
startsWith: DateTime
endsWith: DateTime
contains: DateTime
notContains: DateTime
containsi: DateTime
notContainsi: DateTime
gt: DateTime
gte: DateTime
lt: DateTime
lte: DateTime
null: Boolean
notNull: Boolean
in: [DateTime]
notIn: [DateTime]
between: [DateTime]
}
input JSONFilterInput {
and: [JSON]
or: [JSON]
not: JSONFilterInput
eq: JSON
eqi: JSON
ne: JSON
startsWith: JSON
endsWith: JSON
contains: JSON
notContains: JSON
containsi: JSON
notContainsi: JSON
gt: JSON
gte: JSON
lt: JSON
lte: JSON
null: Boolean
notNull: Boolean
in: [JSON]
notIn: [JSON]
between: [JSON]
}
input ComponentPageMenuInput {
id: ID
socialLinks: [ComponentPageSocialLinksInput]
}
type ComponentPageMenu {
id: ID!
socialLinks(filters: ComponentPageSocialLinksFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): [ComponentPageSocialLinks!]!
}
input ComponentPageProposalsInput {
id: ID
title: String
content: String
}
type ComponentPageProposals {
id: ID!
title: String
content: String
}
input ComponentPageSectionAboutInput {
id: ID
title: String
description: String
media: ID
}
type ComponentPageSectionAbout {
id: ID!
title: String
description: String!
media: UploadFileEntityResponse
}
enum ENUM_COMPONENTPAGESOCIALLINKS_TITLE {
Facebook
LinkedIn
Twitter
Instagram
}
input ComponentPageSocialLinksFiltersInput {
url: StringFilterInput
title: StringFilterInput
and: [ComponentPageSocialLinksFiltersInput]
or: [ComponentPageSocialLinksFiltersInput]
not: ComponentPageSocialLinksFiltersInput
}
input ComponentPageSocialLinksInput {
id: ID
url: String
title: ENUM_COMPONENTPAGESOCIALLINKS_TITLE
}
type ComponentPageSocialLinks {
id: ID!
url: String!
title: ENUM_COMPONENTPAGESOCIALLINKS_TITLE!
}
enum ENUM_COMPONENTSHAREDMETASOCIAL_SOCIALNETWORK {
Facebook
Twitter
}
input ComponentSharedMetaSocialFiltersInput {
socialNetwork: StringFilterInput
title: StringFilterInput
description: StringFilterInput
and: [ComponentSharedMetaSocialFiltersInput]
or: [ComponentSharedMetaSocialFiltersInput]
not: ComponentSharedMetaSocialFiltersInput
}
type ComponentSharedMetaSocial {
id: ID!
socialNetwork: ENUM_COMPONENTSHAREDMETASOCIAL_SOCIALNETWORK!
title: String!
description: String!
image: UploadFileEntityResponse
}
type ComponentSharedSeo {
id: ID!
metaTitle: String!
metaDescription: String!
metaImage: UploadFileEntityResponse!
metaSocial(filters: ComponentSharedMetaSocialFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): [ComponentSharedMetaSocial!]!
keywords: String
metaRobots: String
structuredData: JSON
metaViewport: String
canonicalURL: String
}
input UploadFileFiltersInput {
id: IDFilterInput
name: StringFilterInput
alternativeText: StringFilterInput
caption: StringFilterInput
width: IntFilterInput
height: IntFilterInput
formats: JSONFilterInput
hash: StringFilterInput
ext: StringFilterInput
mime: StringFilterInput
size: FloatFilterInput
url: StringFilterInput
previewUrl: StringFilterInput
provider: StringFilterInput
provider_metadata: JSONFilterInput
folder: UploadFolderFiltersInput
folderPath: StringFilterInput
createdAt: DateTimeFilterInput
updatedAt: DateTimeFilterInput
and: [UploadFileFiltersInput]
or: [UploadFileFiltersInput]
not: UploadFileFiltersInput
}
input UploadFileInput {
name: String
alternativeText: String
caption: String
width: Int
height: Int
formats: JSON
hash: String
ext: String
mime: String
size: Float
url: String
previewUrl: String
provider: String
provider_metadata: JSON
folder: ID
folderPath: String
}
type UploadFile {
name: String!
alternativeText: String
caption: String
width: Int
height: Int
formats: JSON
hash: String!
ext: String
mime: String!
size: Float!
url: String!
previewUrl: String
provider: String!
provider_metadata: JSON
related: [GenericMorph]
createdAt: DateTime
updatedAt: DateTime
}
type UploadFileEntity {
id: ID
attributes: UploadFile
}
type UploadFileEntityResponse {
data: UploadFileEntity
}
type UploadFileEntityResponseCollection {
data: [UploadFileEntity!]!
meta: ResponseCollectionMeta!
}
type UploadFileRelationResponseCollection {
data: [UploadFileEntity!]!
}
input UploadFolderFiltersInput {
id: IDFilterInput
name: StringFilterInput
pathId: IntFilterInput
parent: UploadFolderFiltersInput
children: UploadFolderFiltersInput
files: UploadFileFiltersInput
path: StringFilterInput
createdAt: DateTimeFilterInput
updatedAt: DateTimeFilterInput
and: [UploadFolderFiltersInput]
or: [UploadFolderFiltersInput]
not: UploadFolderFiltersInput
}
input UploadFolderInput {
name: String
pathId: Int
parent: ID
children: [ID]
files: [ID]
path: String
}
type UploadFolder {
name: String!
pathId: Int!
parent: UploadFolderEntityResponse
children(filters: UploadFolderFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFolderRelationResponseCollection
files(filters: UploadFileFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFileRelationResponseCollection
path: String!
createdAt: DateTime
updatedAt: DateTime
}
type UploadFolderEntity {
id: ID
attributes: UploadFolder
}
type UploadFolderEntityResponse {
data: UploadFolderEntity
}
type UploadFolderEntityResponseCollection {
data: [UploadFolderEntity!]!
meta: ResponseCollectionMeta!
}
type UploadFolderRelationResponseCollection {
data: [UploadFolderEntity!]!
}
input I18NLocaleFiltersInput {
id: IDFilterInput
name: StringFilterInput
code: StringFilterInput
createdAt: DateTimeFilterInput
updatedAt: DateTimeFilterInput
and: [I18NLocaleFiltersInput]
or: [I18NLocaleFiltersInput]
not: I18NLocaleFiltersInput
}
type I18NLocale {
name: String
code: String
createdAt: DateTime
updatedAt: DateTime
}
type I18NLocaleEntity {
id: ID
attributes: I18NLocale
}
type I18NLocaleEntityResponse {
data: I18NLocaleEntity
}
type I18NLocaleEntityResponseCollection {
data: [I18NLocaleEntity!]!
meta: ResponseCollectionMeta!
}
input UsersPermissionsPermissionFiltersInput {
id: IDFilterInput
action: StringFilterInput
role: UsersPermissionsRoleFiltersInput
createdAt: DateTimeFilterInput
updatedAt: DateTimeFilterInput
and: [UsersPermissionsPermissionFiltersInput]
or: [UsersPermissionsPermissionFiltersInput]
not: UsersPermissionsPermissionFiltersInput
}
type UsersPermissionsPermission {
action: String!
role: UsersPermissionsRoleEntityResponse
createdAt: DateTime
updatedAt: DateTime
}
type UsersPermissionsPermissionEntity {
id: ID
attributes: UsersPermissionsPermission
}
type UsersPermissionsPermissionRelationResponseCollection {
data: [UsersPermissionsPermissionEntity!]!
}
input UsersPermissionsRoleFiltersInput {
id: IDFilterInput
name: StringFilterInput
description: StringFilterInput
type: StringFilterInput
permissions: UsersPermissionsPermissionFiltersInput
users: UsersPermissionsUserFiltersInput
createdAt: DateTimeFilterInput
updatedAt: DateTimeFilterInput
and: [UsersPermissionsRoleFiltersInput]
or: [UsersPermissionsRoleFiltersInput]
not: UsersPermissionsRoleFiltersInput
}
input UsersPermissionsRoleInput {
name: String
description: String
type: String
permissions: [ID]
users: [ID]
}
type UsersPermissionsRole {
name: String!
description: String
type: String
permissions(filters: UsersPermissionsPermissionFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UsersPermissionsPermissionRelationResponseCollection
users(filters: UsersPermissionsUserFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UsersPermissionsUserRelationResponseCollection
createdAt: DateTime
updatedAt: DateTime
}
type UsersPermissionsRoleEntity {
id: ID
attributes: UsersPermissionsRole
}
type UsersPermissionsRoleEntityResponse {
data: UsersPermissionsRoleEntity
}
type UsersPermissionsRoleEntityResponseCollection {
data: [UsersPermissionsRoleEntity!]!
meta: ResponseCollectionMeta!
}
input UsersPermissionsUserFiltersInput {
id: IDFilterInput
username: StringFilterInput
email: StringFilterInput
provider: StringFilterInput
password: StringFilterInput
resetPasswordToken: StringFilterInput
confirmationToken: StringFilterInput
confirmed: BooleanFilterInput
blocked: BooleanFilterInput
role: UsersPermissionsRoleFiltersInput
createdAt: DateTimeFilterInput
updatedAt: DateTimeFilterInput
and: [UsersPermissionsUserFiltersInput]
or: [UsersPermissionsUserFiltersInput]
not: UsersPermissionsUserFiltersInput
}
input UsersPermissionsUserInput {
username: String
email: String
provider: String
password: String
resetPasswordToken: String
confirmationToken: String
confirmed: Boolean
blocked: Boolean
role: ID
}
type UsersPermissionsUser {
username: String!
email: String!
provider: String
confirmed: Boolean
blocked: Boolean
role: UsersPermissionsRoleEntityResponse
createdAt: DateTime
updatedAt: DateTime
}
type UsersPermissionsUserEntity {
id: ID
attributes: UsersPermissionsUser
}
type UsersPermissionsUserEntityResponse {
data: UsersPermissionsUserEntity
}
type UsersPermissionsUserEntityResponseCollection {
data: [UsersPermissionsUserEntity!]!
meta: ResponseCollectionMeta!
}
type UsersPermissionsUserRelationResponseCollection {
data: [UsersPermissionsUserEntity!]!
}
input CategoryFiltersInput {
id: IDFilterInput
name: StringFilterInput
slug: StringFilterInput
posts: PostFiltersInput
createdAt: DateTimeFilterInput
updatedAt: DateTimeFilterInput
and: [CategoryFiltersInput]
or: [CategoryFiltersInput]
not: CategoryFiltersInput
}
input CategoryInput {
name: String
slug: String
posts: [ID]
}
type Category {
name: String!
slug: String!
posts(filters: PostFiltersInput, pagination: PaginationArg = {}, sort: [String] = [], publicationState: PublicationState = LIVE): PostRelationResponseCollection
createdAt: DateTime
updatedAt: DateTime
}
type CategoryEntity {
id: ID
attributes: Category
}
type CategoryEntityResponse {
data: CategoryEntity
}
type CategoryEntityResponseCollection {
data: [CategoryEntity!]!
meta: ResponseCollectionMeta!
}
type CategoryRelationResponseCollection {
data: [CategoryEntity!]!
}
input GaleryFiltersInput {
id: IDFilterInput
title: StringFilterInput
createdAt: DateTimeFilterInput
updatedAt: DateTimeFilterInput
publishedAt: DateTimeFilterInput
and: [GaleryFiltersInput]
or: [GaleryFiltersInput]
not: GaleryFiltersInput
}
input GaleryInput {
title: String
media: [ID]
publishedAt: DateTime
}
type Galery {
title: String!
media(filters: UploadFileFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFileRelationResponseCollection!
createdAt: DateTime
updatedAt: DateTime
publishedAt: DateTime
}
type GaleryEntity {
id: ID
attributes: Galery
}
type GaleryEntityResponse {
data: GaleryEntity
}
type GaleryEntityResponseCollection {
data: [GaleryEntity!]!
meta: ResponseCollectionMeta!
}
input HomePageInput {
menu: ComponentPageMenuInput
sectionAbout: ComponentPageSectionAboutInput
logo: ID
proposals: ComponentPageProposalsInput
publishedAt: DateTime
}
type HomePage {
menu: ComponentPageMenu
sectionAbout: ComponentPageSectionAbout
logo: UploadFileEntityResponse
proposals: ComponentPageProposals
createdAt: DateTime
updatedAt: DateTime
publishedAt: DateTime
}
type HomePageEntity {
id: ID
attributes: HomePage
}
type HomePageEntityResponse {
data: HomePageEntity
}
input PostFiltersInput {
id: IDFilterInput
title: StringFilterInput
slug: StringFilterInput
short_description: StringFilterInput
content: StringFilterInput
categories: CategoryFiltersInput
createdAt: DateTimeFilterInput
updatedAt: DateTimeFilterInput
publishedAt: DateTimeFilterInput
and: [PostFiltersInput]
or: [PostFiltersInput]
not: PostFiltersInput
}
input PostInput {
title: String
slug: String
short_description: String
content: String
cover: ID
categories: [ID]
publishedAt: DateTime
}
type Post {
title: String!
slug: String!
short_description: String!
content: String!
cover: UploadFileEntityResponse!
categories(filters: CategoryFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): CategoryRelationResponseCollection
createdAt: DateTime
updatedAt: DateTime
publishedAt: DateTime
}
type PostEntity {
id: ID
attributes: Post
}
type PostEntityResponse {
data: PostEntity
}
type PostEntityResponseCollection {
data: [PostEntity!]!
meta: ResponseCollectionMeta!
}
type PostRelationResponseCollection {
data: [PostEntity!]!
}
union GenericMorph = ComponentPageMenu | ComponentPageProposals | ComponentPageSectionAbout | ComponentPageSocialLinks | ComponentSharedMetaSocial | ComponentSharedSeo | UploadFile | UploadFolder | I18NLocale | UsersPermissionsPermission | UsersPermissionsRole | UsersPermissionsUser | Category | Galery | HomePage | Post
input FileInfoInput {
name: String
alternativeText: String
caption: String
}
type UsersPermissionsMe {
id: ID!
username: String!
email: String
confirmed: Boolean
blocked: Boolean
role: UsersPermissionsMeRole
}
type UsersPermissionsMeRole {
id: ID!
name: String!
description: String
type: String
}
input UsersPermissionsRegisterInput {
username: String!
email: String!
password: String!
}
input UsersPermissionsLoginInput {
identifier: String!
password: String!
provider: String! = "local"
}
type UsersPermissionsPasswordPayload {
ok: Boolean!
}
type UsersPermissionsLoginPayload {
jwt: String
user: UsersPermissionsMe!
}
type UsersPermissionsCreateRolePayload {
ok: Boolean!
}
type UsersPermissionsUpdateRolePayload {
ok: Boolean!
}
type UsersPermissionsDeleteRolePayload {
ok: Boolean!
}
input PaginationArg {
page: Int
pageSize: Int
start: Int
limit: Int
}
type Query {
uploadFile(id: ID): UploadFileEntityResponse
uploadFiles(filters: UploadFileFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFileEntityResponseCollection
uploadFolder(id: ID): UploadFolderEntityResponse
uploadFolders(filters: UploadFolderFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UploadFolderEntityResponseCollection
i18NLocale(id: ID): I18NLocaleEntityResponse
i18NLocales(filters: I18NLocaleFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): I18NLocaleEntityResponseCollection
usersPermissionsRole(id: ID): UsersPermissionsRoleEntityResponse
usersPermissionsRoles(filters: UsersPermissionsRoleFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UsersPermissionsRoleEntityResponseCollection
usersPermissionsUser(id: ID): UsersPermissionsUserEntityResponse
usersPermissionsUsers(filters: UsersPermissionsUserFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): UsersPermissionsUserEntityResponseCollection
category(id: ID): CategoryEntityResponse
categories(filters: CategoryFiltersInput, pagination: PaginationArg = {}, sort: [String] = []): CategoryEntityResponseCollection
galery(id: ID): GaleryEntityResponse
galeries(filters: GaleryFiltersInput, pagination: PaginationArg = {}, sort: [String] = [], publicationState: PublicationState = LIVE): GaleryEntityResponseCollection
homePage(publicationState: PublicationState = LIVE): HomePageEntityResponse
post(id: ID): PostEntityResponse
posts(filters: PostFiltersInput, pagination: PaginationArg = {}, sort: [String] = [], publicationState: PublicationState = LIVE): PostEntityResponseCollection
me: UsersPermissionsMe
}
type Mutation {
createUploadFile(data: UploadFileInput!): UploadFileEntityResponse
updateUploadFile(id: ID!, data: UploadFileInput!): UploadFileEntityResponse
deleteUploadFile(id: ID!): UploadFileEntityResponse
createUploadFolder(data: UploadFolderInput!): UploadFolderEntityResponse
updateUploadFolder(id: ID!, data: UploadFolderInput!): UploadFolderEntityResponse
deleteUploadFolder(id: ID!): UploadFolderEntityResponse
createCategory(data: CategoryInput!): CategoryEntityResponse
updateCategory(id: ID!, data: CategoryInput!): CategoryEntityResponse
deleteCategory(id: ID!): CategoryEntityResponse
createGalery(data: GaleryInput!): GaleryEntityResponse
updateGalery(id: ID!, data: GaleryInput!): GaleryEntityResponse
deleteGalery(id: ID!): GaleryEntityResponse
updateHomePage(data: HomePageInput!): HomePageEntityResponse
deleteHomePage: HomePageEntityResponse
createPost(data: PostInput!): PostEntityResponse
updatePost(id: ID!, data: PostInput!): PostEntityResponse
deletePost(id: ID!): PostEntityResponse
upload(refId: ID, ref: String, field: String, info: FileInfoInput, file: Upload!): UploadFileEntityResponse!
multipleUpload(refId: ID, ref: String, field: String, files: [Upload]!): [UploadFileEntityResponse]!
updateFileInfo(id: ID!, info: FileInfoInput): UploadFileEntityResponse!
removeFile(id: ID!): UploadFileEntityResponse
"""Create a new role"""
createUsersPermissionsRole(data: UsersPermissionsRoleInput!): UsersPermissionsCreateRolePayload
"""Update an existing role"""
updateUsersPermissionsRole(id: ID!, data: UsersPermissionsRoleInput!): UsersPermissionsUpdateRolePayload
"""Delete an existing role"""
deleteUsersPermissionsRole(id: ID!): UsersPermissionsDeleteRolePayload
"""Create a new user"""
createUsersPermissionsUser(data: UsersPermissionsUserInput!): UsersPermissionsUserEntityResponse!
"""Update an existing user"""
updateUsersPermissionsUser(id: ID!, data: UsersPermissionsUserInput!): UsersPermissionsUserEntityResponse!
"""Delete an existing user"""
deleteUsersPermissionsUser(id: ID!): UsersPermissionsUserEntityResponse!
login(input: UsersPermissionsLoginInput!): UsersPermissionsLoginPayload!
"""Register a user"""
register(input: UsersPermissionsRegisterInput!): UsersPermissionsLoginPayload!
"""Request a reset password token"""
forgotPassword(email: String!): UsersPermissionsPasswordPayload
"""Reset user password. Confirm with a code (resetToken from forgotPassword)"""
resetPassword(password: String!, passwordConfirmation: String!, code: String!): UsersPermissionsLoginPayload
"""Change user password. Confirm with the current password."""
changePassword(currentPassword: String!, password: String!, passwordConfirmation: String!): UsersPermissionsLoginPayload
"""Confirm an email users email address"""
emailConfirmation(confirmation: String!): UsersPermissionsLoginPayload
}