forked from ivandoric/directus-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
remote-schema.graphql
617 lines (563 loc) · 19.5 KB
/
remote-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
# This file was generated based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
mutation: Mutation
}
type Mutation {
create_session_item(data: create_session_input!): session
create_session_items(data: [create_session_input!], filter: session_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [session]
delete_session_item(id: ID!): delete_one
delete_session_items(ids: [ID]!): delete_many
update_session_item(data: update_session_input!, id: ID!): session
update_session_items(data: update_session_input!, filter: session_filter, ids: [ID]!, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [session]
}
type Query {
categories(filter: categories_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [categories]
categories_aggregated(filter: categories_filter, groupBy: [String], limit: Int, search: String, sort: [String]): [categories_aggregated]
categories_by_id(id: ID!): categories
posts(filter: posts_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [posts]
posts_aggregated(filter: posts_filter, groupBy: [String], limit: Int, search: String, sort: [String]): [posts_aggregated]
posts_by_id(id: ID!): posts
product_colors(filter: product_colors_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [product_colors]
product_colors_aggregated(filter: product_colors_filter, groupBy: [String], limit: Int, search: String, sort: [String]): [product_colors_aggregated]
product_colors_by_id(id: ID!): product_colors
product_sizes(filter: product_sizes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [product_sizes]
product_sizes_aggregated(filter: product_sizes_filter, groupBy: [String], limit: Int, search: String, sort: [String]): [product_sizes_aggregated]
product_sizes_by_id(id: ID!): product_sizes
products(filter: products_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [products]
products_aggregated(filter: products_filter, groupBy: [String], limit: Int, search: String, sort: [String]): [products_aggregated]
products_by_id(id: ID!): products
products_categories(filter: products_categories_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [products_categories]
products_categories_aggregated(filter: products_categories_filter, groupBy: [String], limit: Int, search: String, sort: [String]): [products_categories_aggregated]
products_categories_by_id(id: ID!): products_categories
products_product_colors(filter: products_product_colors_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [products_product_colors]
products_product_colors_aggregated(filter: products_product_colors_filter, groupBy: [String], limit: Int, search: String, sort: [String]): [products_product_colors_aggregated]
products_product_colors_by_id(id: ID!): products_product_colors
products_product_sizes(filter: products_product_sizes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [products_product_sizes]
products_product_sizes_aggregated(filter: products_product_sizes_filter, groupBy: [String], limit: Int, search: String, sort: [String]): [products_product_sizes_aggregated]
products_product_sizes_by_id(id: ID!): products_product_sizes
session(filter: session_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [session]
session_aggregated(filter: session_filter, groupBy: [String], limit: Int, search: String, sort: [String]): [session_aggregated]
session_by_id(id: ID!): session
}
type categories {
category_name: String
date_created: Date
date_created_func: datetime_functions
date_updated: Date
date_updated_func: datetime_functions
id: ID
products(filter: products_categories_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [products_categories]
slug: String
sort: Int
status: String!
user_created: String
user_updated: String
}
type categories_aggregated {
avg: categories_aggregated_fields
avgDistinct: categories_aggregated_fields
count: categories_aggregated_fields
countDistinct: categories_aggregated_fields
group: JSON
max: categories_aggregated_fields
min: categories_aggregated_fields
sum: categories_aggregated_fields
sumDistinct: categories_aggregated_fields
}
type categories_aggregated_fields {
id: Float
sort: Float
}
type datetime_functions {
day: Int
hour: Int
minute: Int
month: Int
second: Int
week: Int
weekday: Int
year: Int
}
type delete_many {
ids: [ID]!
}
type delete_one {
id: ID!
}
type directus_files {
charset: String
description: String
duration: Int
embed: String
filename_disk: String
filename_download: String!
filesize: Int
folder: String
height: Int
id: ID
location: String
metadata: JSON
modified_by: String
modified_on: Date!
modified_on_func: datetime_functions
storage: String!
tags: JSON
title: String
type: String
uploaded_by: String
uploaded_on: Date!
uploaded_on_func: datetime_functions
width: Int
}
type posts {
body: String
date_created: Date
date_created_func: datetime_functions
date_updated: Date
date_updated_func: datetime_functions
featured_image(filter: directus_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): directus_files
id: ID
slug: String
sort: Int
status: String!
title: String
user_created: String
user_updated: String
}
type posts_aggregated {
avg: posts_aggregated_fields
avgDistinct: posts_aggregated_fields
count: posts_aggregated_fields
countDistinct: posts_aggregated_fields
group: JSON
max: posts_aggregated_fields
min: posts_aggregated_fields
sum: posts_aggregated_fields
sumDistinct: posts_aggregated_fields
}
type posts_aggregated_fields {
id: Float
sort: Float
}
type product_colors {
color_name: String
color_value: String
date_created: Date
date_created_func: datetime_functions
date_updated: Date
date_updated_func: datetime_functions
id: ID
sort: Int
status: String!
user_created: String
user_updated: String
}
type product_colors_aggregated {
avg: product_colors_aggregated_fields
avgDistinct: product_colors_aggregated_fields
count: product_colors_aggregated_fields
countDistinct: product_colors_aggregated_fields
group: JSON
max: product_colors_aggregated_fields
min: product_colors_aggregated_fields
sum: product_colors_aggregated_fields
sumDistinct: product_colors_aggregated_fields
}
type product_colors_aggregated_fields {
id: Float
sort: Float
}
type product_sizes {
date_created: Date
date_created_func: datetime_functions
date_updated: Date
date_updated_func: datetime_functions
id: ID
long_title: String
short_title: String
sort: Int
status: String!
user_created: String
user_updated: String
}
type product_sizes_aggregated {
avg: product_sizes_aggregated_fields
avgDistinct: product_sizes_aggregated_fields
count: product_sizes_aggregated_fields
countDistinct: product_sizes_aggregated_fields
group: JSON
max: product_sizes_aggregated_fields
min: product_sizes_aggregated_fields
sum: product_sizes_aggregated_fields
sumDistinct: product_sizes_aggregated_fields
}
type product_sizes_aggregated_fields {
id: Float
sort: Float
}
type products {
available_colors(filter: products_product_colors_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [products_product_colors]
available_sizes(filter: products_product_sizes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [products_product_sizes]
category(filter: products_categories_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): [products_categories]
date_created: Date
date_created_func: datetime_functions
date_updated: Date
date_updated_func: datetime_functions
id: ID
price: String
product_description: String
product_image(filter: directus_files_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): directus_files
product_name: String
show_colors: Boolean
show_sizes: Boolean
slug: String
sort: Int
status: String!
user_created: String
user_updated: String
}
type products_aggregated {
avg: products_aggregated_fields
avgDistinct: products_aggregated_fields
count: products_aggregated_fields
countDistinct: products_aggregated_fields
group: JSON
max: products_aggregated_fields
min: products_aggregated_fields
sum: products_aggregated_fields
sumDistinct: products_aggregated_fields
}
type products_aggregated_fields {
id: Float
sort: Float
}
type products_categories {
categories_id(filter: categories_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): categories
id: ID
products_id(filter: products_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): products
}
type products_categories_aggregated {
avg: products_categories_aggregated_fields
avgDistinct: products_categories_aggregated_fields
count: products_categories_aggregated_fields
countDistinct: products_categories_aggregated_fields
group: JSON
max: products_categories_aggregated_fields
min: products_categories_aggregated_fields
sum: products_categories_aggregated_fields
sumDistinct: products_categories_aggregated_fields
}
type products_categories_aggregated_fields {
categories_id: Float
id: Float
products_id: Float
}
type products_product_colors {
id: ID
product_colors_id(filter: product_colors_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): product_colors
products_id(filter: products_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): products
}
type products_product_colors_aggregated {
avg: products_product_colors_aggregated_fields
avgDistinct: products_product_colors_aggregated_fields
count: products_product_colors_aggregated_fields
countDistinct: products_product_colors_aggregated_fields
group: JSON
max: products_product_colors_aggregated_fields
min: products_product_colors_aggregated_fields
sum: products_product_colors_aggregated_fields
sumDistinct: products_product_colors_aggregated_fields
}
type products_product_colors_aggregated_fields {
id: Float
product_colors_id: Float
products_id: Float
}
type products_product_sizes {
id: ID
product_sizes_id(filter: product_sizes_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): product_sizes
products_id(filter: products_filter, limit: Int, offset: Int, page: Int, search: String, sort: [String]): products
}
type products_product_sizes_aggregated {
avg: products_product_sizes_aggregated_fields
avgDistinct: products_product_sizes_aggregated_fields
count: products_product_sizes_aggregated_fields
countDistinct: products_product_sizes_aggregated_fields
group: JSON
max: products_product_sizes_aggregated_fields
min: products_product_sizes_aggregated_fields
sum: products_product_sizes_aggregated_fields
sumDistinct: products_product_sizes_aggregated_fields
}
type products_product_sizes_aggregated_fields {
id: Float
product_sizes_id: Float
products_id: Float
}
type session {
date_created: Date
date_created_func: datetime_functions
date_updated: Date
date_updated_func: datetime_functions
id: ID
sort: Int
status: String!
temp_order: JSON
user_created: String
user_updated: String
}
type session_aggregated {
avg: session_aggregated_fields
avgDistinct: session_aggregated_fields
count: session_aggregated_fields
countDistinct: session_aggregated_fields
group: JSON
max: session_aggregated_fields
min: session_aggregated_fields
sum: session_aggregated_fields
sumDistinct: session_aggregated_fields
}
type session_aggregated_fields {
sort: Float
}
"ISO8601 Date values"
scalar Date
"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 boolean_filter_operators {
_eq: Boolean
_neq: Boolean
_nnull: Boolean
_null: Boolean
}
input categories_filter {
_and: [categories_filter]
_or: [categories_filter]
category_name: string_filter_operators
date_created: date_filter_operators
date_created_func: datetime_function_filter_operators
date_updated: date_filter_operators
date_updated_func: datetime_function_filter_operators
id: number_filter_operators
products: products_categories_filter
slug: string_filter_operators
sort: number_filter_operators
status: string_filter_operators
user_created: string_filter_operators
user_updated: string_filter_operators
}
input create_session_input {
date_created: Date
date_created_func: datetime_functionsInput
date_updated: Date
date_updated_func: datetime_functionsInput
id: ID
sort: Int
status: String!
temp_order: JSON
user_created: String
user_updated: String
}
input date_filter_operators {
_eq: String
_gt: String
_gte: String
_lt: String
_lte: String
_neq: String
_nnull: Boolean
_null: Boolean
}
input datetime_function_filter_operators {
day: number_filter_operators
hour: number_filter_operators
minute: number_filter_operators
month: number_filter_operators
second: number_filter_operators
week: number_filter_operators
weekday: number_filter_operators
year: number_filter_operators
}
input datetime_functionsInput {
day: Int
hour: Int
minute: Int
month: Int
second: Int
week: Int
weekday: Int
year: Int
}
input directus_files_filter {
_and: [directus_files_filter]
_or: [directus_files_filter]
charset: string_filter_operators
description: string_filter_operators
duration: number_filter_operators
embed: string_filter_operators
filename_disk: string_filter_operators
filename_download: string_filter_operators
filesize: number_filter_operators
folder: string_filter_operators
height: number_filter_operators
id: string_filter_operators
location: string_filter_operators
metadata: string_filter_operators
modified_by: string_filter_operators
modified_on: date_filter_operators
modified_on_func: datetime_function_filter_operators
storage: string_filter_operators
tags: string_filter_operators
title: string_filter_operators
type: string_filter_operators
uploaded_by: string_filter_operators
uploaded_on: date_filter_operators
uploaded_on_func: datetime_function_filter_operators
width: number_filter_operators
}
input number_filter_operators {
_eq: Float
_gt: Float
_gte: Float
_in: [Float]
_lt: Float
_lte: Float
_neq: Float
_nin: [Float]
_nnull: Boolean
_null: Boolean
}
input posts_filter {
_and: [posts_filter]
_or: [posts_filter]
body: string_filter_operators
date_created: date_filter_operators
date_created_func: datetime_function_filter_operators
date_updated: date_filter_operators
date_updated_func: datetime_function_filter_operators
featured_image: directus_files_filter
id: number_filter_operators
slug: string_filter_operators
sort: number_filter_operators
status: string_filter_operators
title: string_filter_operators
user_created: string_filter_operators
user_updated: string_filter_operators
}
input product_colors_filter {
_and: [product_colors_filter]
_or: [product_colors_filter]
color_name: string_filter_operators
color_value: string_filter_operators
date_created: date_filter_operators
date_created_func: datetime_function_filter_operators
date_updated: date_filter_operators
date_updated_func: datetime_function_filter_operators
id: number_filter_operators
sort: number_filter_operators
status: string_filter_operators
user_created: string_filter_operators
user_updated: string_filter_operators
}
input product_sizes_filter {
_and: [product_sizes_filter]
_or: [product_sizes_filter]
date_created: date_filter_operators
date_created_func: datetime_function_filter_operators
date_updated: date_filter_operators
date_updated_func: datetime_function_filter_operators
id: number_filter_operators
long_title: string_filter_operators
short_title: string_filter_operators
sort: number_filter_operators
status: string_filter_operators
user_created: string_filter_operators
user_updated: string_filter_operators
}
input products_categories_filter {
_and: [products_categories_filter]
_or: [products_categories_filter]
categories_id: categories_filter
id: number_filter_operators
products_id: products_filter
}
input products_filter {
_and: [products_filter]
_or: [products_filter]
available_colors: products_product_colors_filter
available_sizes: products_product_sizes_filter
category: products_categories_filter
date_created: date_filter_operators
date_created_func: datetime_function_filter_operators
date_updated: date_filter_operators
date_updated_func: datetime_function_filter_operators
id: number_filter_operators
price: string_filter_operators
product_description: string_filter_operators
product_image: directus_files_filter
product_name: string_filter_operators
show_colors: boolean_filter_operators
show_sizes: boolean_filter_operators
slug: string_filter_operators
sort: number_filter_operators
status: string_filter_operators
user_created: string_filter_operators
user_updated: string_filter_operators
}
input products_product_colors_filter {
_and: [products_product_colors_filter]
_or: [products_product_colors_filter]
id: number_filter_operators
product_colors_id: product_colors_filter
products_id: products_filter
}
input products_product_sizes_filter {
_and: [products_product_sizes_filter]
_or: [products_product_sizes_filter]
id: number_filter_operators
product_sizes_id: product_sizes_filter
products_id: products_filter
}
input session_filter {
_and: [session_filter]
_or: [session_filter]
date_created: date_filter_operators
date_created_func: datetime_function_filter_operators
date_updated: date_filter_operators
date_updated_func: datetime_function_filter_operators
id: string_filter_operators
sort: number_filter_operators
status: string_filter_operators
temp_order: string_filter_operators
user_created: string_filter_operators
user_updated: string_filter_operators
}
input string_filter_operators {
_contains: String
_empty: Boolean
_ends_with: String
_eq: String
_in: [String]
_ncontains: String
_nempty: Boolean
_nends_with: String
_neq: String
_nin: [String]
_nnull: Boolean
_nstarts_with: String
_null: Boolean
_starts_with: String
}
input update_session_input {
date_created: Date
date_created_func: datetime_functionsInput
date_updated: Date
date_updated_func: datetime_functionsInput
id: ID
sort: Int
status: String
temp_order: JSON
user_created: String
user_updated: String
}