sls_adf 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.codeclimate.yml +3 -0
- data/.env.example +4 -0
- data/.gitignore +14 -0
- data/.hound.yml +2 -0
- data/.rspec +3 -0
- data/.rubocop.yml +18 -0
- data/.travis.yml +32 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +82 -0
- data/LICENSE +21 -0
- data/README.md +86 -0
- data/Rakefile +16 -0
- data/bin/console +22 -0
- data/bin/setup +9 -0
- data/lib/sls_adf/base.rb +18 -0
- data/lib/sls_adf/configuration.rb +24 -0
- data/lib/sls_adf/mutation.rb +80 -0
- data/lib/sls_adf/query.rb +54 -0
- data/lib/sls_adf/schema/schema.json +2664 -0
- data/lib/sls_adf/template/fragment.rb +68 -0
- data/lib/sls_adf/template/mutation.rb +53 -0
- data/lib/sls_adf/template/query.rb +82 -0
- data/lib/sls_adf/template.rb +6 -0
- data/lib/sls_adf/util/adapter.rb +89 -0
- data/lib/sls_adf/util/token.rb +84 -0
- data/lib/sls_adf/util.rb +13 -0
- data/lib/sls_adf/version.rb +5 -0
- data/lib/sls_adf.rb +27 -0
- data/sls_adf.gemspec +44 -0
- data/spec/coverage_helper.rb +4 -0
- data/spec/lib/base_spec.rb +66 -0
- data/spec/lib/configuration_spec.rb +40 -0
- data/spec/lib/mutation_spec.rb +81 -0
- data/spec/lib/query_spec.rb +61 -0
- data/spec/lib/sls_adf_spec.rb +5 -0
- data/spec/lib/util/adapter_spec.rb +96 -0
- data/spec/lib/util/token_spec.rb +95 -0
- data/spec/spec_helper.rb +20 -0
- data/spec/support/configuration_helper.rb +13 -0
- data/spec/support/token_helper.rb +24 -0
- metadata +211 -0
@@ -0,0 +1,2664 @@
|
|
1
|
+
{
|
2
|
+
"data": {
|
3
|
+
"__schema": {
|
4
|
+
"queryType": {
|
5
|
+
"name": "Query"
|
6
|
+
},
|
7
|
+
"mutationType": {
|
8
|
+
"name": "Mutation"
|
9
|
+
},
|
10
|
+
"subscriptionType": null,
|
11
|
+
"types": [
|
12
|
+
{
|
13
|
+
"kind": "OBJECT",
|
14
|
+
"name": "Query",
|
15
|
+
"description": "",
|
16
|
+
"fields": [
|
17
|
+
{
|
18
|
+
"name": "context",
|
19
|
+
"description": "Retrieve context information via Context ID which provided by SLS <br/>\nVarious Scenarios:\nLaunch App from <Subject Group> page\nOpen <Assignment> page (from Assignment Listing page)\nOpen <Task> page (from either Dashboard or Notification)\n\nContext will be expired in 10 seconds.\n\nErrors:\nToken is invalid\nContext does not exist\nContext has expired\n",
|
20
|
+
"args": [
|
21
|
+
{
|
22
|
+
"name": "uuid",
|
23
|
+
"description": "",
|
24
|
+
"type": {
|
25
|
+
"kind": "NON_NULL",
|
26
|
+
"name": null,
|
27
|
+
"ofType": {
|
28
|
+
"kind": "SCALAR",
|
29
|
+
"name": "UUID",
|
30
|
+
"ofType": null
|
31
|
+
}
|
32
|
+
},
|
33
|
+
"defaultValue": null
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"type": {
|
37
|
+
"kind": "OBJECT",
|
38
|
+
"name": "Context",
|
39
|
+
"ofType": null
|
40
|
+
},
|
41
|
+
"isDeprecated": false,
|
42
|
+
"deprecationReason": null
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"name": "user",
|
46
|
+
"description": "Retrieve user information via user ID.\n\nErrors:\nToken is invalid\nUser does not exist\n\nApp is not installed for this User\n",
|
47
|
+
"args": [
|
48
|
+
{
|
49
|
+
"name": "id",
|
50
|
+
"description": "",
|
51
|
+
"type": {
|
52
|
+
"kind": "NON_NULL",
|
53
|
+
"name": null,
|
54
|
+
"ofType": {
|
55
|
+
"kind": "SCALAR",
|
56
|
+
"name": "ID",
|
57
|
+
"ofType": null
|
58
|
+
}
|
59
|
+
},
|
60
|
+
"defaultValue": null
|
61
|
+
}
|
62
|
+
],
|
63
|
+
"type": {
|
64
|
+
"kind": "OBJECT",
|
65
|
+
"name": "User",
|
66
|
+
"ofType": null
|
67
|
+
},
|
68
|
+
"isDeprecated": false,
|
69
|
+
"deprecationReason": null
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"name": "subjectGroup",
|
73
|
+
"description": "Retrieve suject group information via subject group ID.\n\nErrors:\nToken is invalid\nSubject group does not exist\nApp is not installed for this subject group\n",
|
74
|
+
"args": [
|
75
|
+
{
|
76
|
+
"name": "uuid",
|
77
|
+
"description": "",
|
78
|
+
"type": {
|
79
|
+
"kind": "NON_NULL",
|
80
|
+
"name": null,
|
81
|
+
"ofType": {
|
82
|
+
"kind": "SCALAR",
|
83
|
+
"name": "UUID",
|
84
|
+
"ofType": null
|
85
|
+
}
|
86
|
+
},
|
87
|
+
"defaultValue": null
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"type": {
|
91
|
+
"kind": "OBJECT",
|
92
|
+
"name": "SubjectGroup",
|
93
|
+
"ofType": null
|
94
|
+
},
|
95
|
+
"isDeprecated": false,
|
96
|
+
"deprecationReason": null
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"name": "assignment",
|
100
|
+
"description": "",
|
101
|
+
"args": [
|
102
|
+
{
|
103
|
+
"name": "uuid",
|
104
|
+
"description": "",
|
105
|
+
"type": {
|
106
|
+
"kind": "NON_NULL",
|
107
|
+
"name": null,
|
108
|
+
"ofType": {
|
109
|
+
"kind": "SCALAR",
|
110
|
+
"name": "UUID",
|
111
|
+
"ofType": null
|
112
|
+
}
|
113
|
+
},
|
114
|
+
"defaultValue": null
|
115
|
+
}
|
116
|
+
],
|
117
|
+
"type": {
|
118
|
+
"kind": "OBJECT",
|
119
|
+
"name": "Assignment",
|
120
|
+
"ofType": null
|
121
|
+
},
|
122
|
+
"isDeprecated": false,
|
123
|
+
"deprecationReason": null
|
124
|
+
},
|
125
|
+
{
|
126
|
+
"name": "task",
|
127
|
+
"description": "",
|
128
|
+
"args": [
|
129
|
+
{
|
130
|
+
"name": "uuid",
|
131
|
+
"description": "",
|
132
|
+
"type": {
|
133
|
+
"kind": "NON_NULL",
|
134
|
+
"name": null,
|
135
|
+
"ofType": {
|
136
|
+
"kind": "SCALAR",
|
137
|
+
"name": "UUID",
|
138
|
+
"ofType": null
|
139
|
+
}
|
140
|
+
},
|
141
|
+
"defaultValue": null
|
142
|
+
}
|
143
|
+
],
|
144
|
+
"type": {
|
145
|
+
"kind": "OBJECT",
|
146
|
+
"name": "Task",
|
147
|
+
"ofType": null
|
148
|
+
},
|
149
|
+
"isDeprecated": false,
|
150
|
+
"deprecationReason": null
|
151
|
+
}
|
152
|
+
],
|
153
|
+
"inputFields": null,
|
154
|
+
"interfaces": [
|
155
|
+
|
156
|
+
],
|
157
|
+
"enumValues": null,
|
158
|
+
"possibleTypes": null
|
159
|
+
},
|
160
|
+
{
|
161
|
+
"kind": "SCALAR",
|
162
|
+
"name": "UUID",
|
163
|
+
"description": "Unique identifier",
|
164
|
+
"fields": null,
|
165
|
+
"inputFields": null,
|
166
|
+
"interfaces": null,
|
167
|
+
"enumValues": null,
|
168
|
+
"possibleTypes": null
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"kind": "SCALAR",
|
172
|
+
"name": "ID",
|
173
|
+
"description": "Built-in ID",
|
174
|
+
"fields": null,
|
175
|
+
"inputFields": null,
|
176
|
+
"interfaces": null,
|
177
|
+
"enumValues": null,
|
178
|
+
"possibleTypes": null
|
179
|
+
},
|
180
|
+
{
|
181
|
+
"kind": "OBJECT",
|
182
|
+
"name": "Mutation",
|
183
|
+
"description": "",
|
184
|
+
"fields": [
|
185
|
+
{
|
186
|
+
"name": "createAssignment",
|
187
|
+
"description": "If a resource been assigned to multiple Subject Groups, multiple assignments will be created in SLS.",
|
188
|
+
"args": [
|
189
|
+
{
|
190
|
+
"name": "input",
|
191
|
+
"description": "",
|
192
|
+
"type": {
|
193
|
+
"kind": "NON_NULL",
|
194
|
+
"name": null,
|
195
|
+
"ofType": {
|
196
|
+
"kind": "INPUT_OBJECT",
|
197
|
+
"name": "AssignmentInput",
|
198
|
+
"ofType": null
|
199
|
+
}
|
200
|
+
},
|
201
|
+
"defaultValue": null
|
202
|
+
}
|
203
|
+
],
|
204
|
+
"type": {
|
205
|
+
"kind": "OBJECT",
|
206
|
+
"name": "Assignment",
|
207
|
+
"ofType": null
|
208
|
+
},
|
209
|
+
"isDeprecated": false,
|
210
|
+
"deprecationReason": null
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"name": "updateAssignment",
|
214
|
+
"description": "Update assignment: Leave the fields to null if unchanged.",
|
215
|
+
"args": [
|
216
|
+
{
|
217
|
+
"name": "uuid",
|
218
|
+
"description": "",
|
219
|
+
"type": {
|
220
|
+
"kind": "NON_NULL",
|
221
|
+
"name": null,
|
222
|
+
"ofType": {
|
223
|
+
"kind": "SCALAR",
|
224
|
+
"name": "UUID",
|
225
|
+
"ofType": null
|
226
|
+
}
|
227
|
+
},
|
228
|
+
"defaultValue": null
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"name": "input",
|
232
|
+
"description": "",
|
233
|
+
"type": {
|
234
|
+
"kind": "NON_NULL",
|
235
|
+
"name": null,
|
236
|
+
"ofType": {
|
237
|
+
"kind": "INPUT_OBJECT",
|
238
|
+
"name": "AssignmentInput",
|
239
|
+
"ofType": null
|
240
|
+
}
|
241
|
+
},
|
242
|
+
"defaultValue": null
|
243
|
+
}
|
244
|
+
],
|
245
|
+
"type": {
|
246
|
+
"kind": "OBJECT",
|
247
|
+
"name": "Assignment",
|
248
|
+
"ofType": null
|
249
|
+
},
|
250
|
+
"isDeprecated": false,
|
251
|
+
"deprecationReason": null
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"name": "deleteAssignment",
|
255
|
+
"description": "Delete assignment: return the assignment UUID on success",
|
256
|
+
"args": [
|
257
|
+
{
|
258
|
+
"name": "uuid",
|
259
|
+
"description": "",
|
260
|
+
"type": {
|
261
|
+
"kind": "NON_NULL",
|
262
|
+
"name": null,
|
263
|
+
"ofType": {
|
264
|
+
"kind": "SCALAR",
|
265
|
+
"name": "UUID",
|
266
|
+
"ofType": null
|
267
|
+
}
|
268
|
+
},
|
269
|
+
"defaultValue": null
|
270
|
+
}
|
271
|
+
],
|
272
|
+
"type": {
|
273
|
+
"kind": "SCALAR",
|
274
|
+
"name": "UUID",
|
275
|
+
"ofType": null
|
276
|
+
},
|
277
|
+
"isDeprecated": false,
|
278
|
+
"deprecationReason": null
|
279
|
+
},
|
280
|
+
{
|
281
|
+
"name": "updateTask",
|
282
|
+
"description": "Update task status to reflect the task progress",
|
283
|
+
"args": [
|
284
|
+
{
|
285
|
+
"name": "uuid",
|
286
|
+
"description": "",
|
287
|
+
"type": {
|
288
|
+
"kind": "NON_NULL",
|
289
|
+
"name": null,
|
290
|
+
"ofType": {
|
291
|
+
"kind": "SCALAR",
|
292
|
+
"name": "UUID",
|
293
|
+
"ofType": null
|
294
|
+
}
|
295
|
+
},
|
296
|
+
"defaultValue": null
|
297
|
+
},
|
298
|
+
{
|
299
|
+
"name": "status",
|
300
|
+
"description": "",
|
301
|
+
"type": {
|
302
|
+
"kind": "NON_NULL",
|
303
|
+
"name": null,
|
304
|
+
"ofType": {
|
305
|
+
"kind": "ENUM",
|
306
|
+
"name": "TaskStatus",
|
307
|
+
"ofType": null
|
308
|
+
}
|
309
|
+
},
|
310
|
+
"defaultValue": null
|
311
|
+
}
|
312
|
+
],
|
313
|
+
"type": {
|
314
|
+
"kind": "OBJECT",
|
315
|
+
"name": "Task",
|
316
|
+
"ofType": null
|
317
|
+
},
|
318
|
+
"isDeprecated": false,
|
319
|
+
"deprecationReason": null
|
320
|
+
},
|
321
|
+
{
|
322
|
+
"name": "createNotification",
|
323
|
+
"description": "Create Notification",
|
324
|
+
"args": [
|
325
|
+
{
|
326
|
+
"name": "input",
|
327
|
+
"description": "",
|
328
|
+
"type": {
|
329
|
+
"kind": "NON_NULL",
|
330
|
+
"name": null,
|
331
|
+
"ofType": {
|
332
|
+
"kind": "INPUT_OBJECT",
|
333
|
+
"name": "NotificationInput",
|
334
|
+
"ofType": null
|
335
|
+
}
|
336
|
+
},
|
337
|
+
"defaultValue": null
|
338
|
+
}
|
339
|
+
],
|
340
|
+
"type": {
|
341
|
+
"kind": "OBJECT",
|
342
|
+
"name": "Notification",
|
343
|
+
"ofType": null
|
344
|
+
},
|
345
|
+
"isDeprecated": false,
|
346
|
+
"deprecationReason": null
|
347
|
+
}
|
348
|
+
],
|
349
|
+
"inputFields": null,
|
350
|
+
"interfaces": [
|
351
|
+
|
352
|
+
],
|
353
|
+
"enumValues": null,
|
354
|
+
"possibleTypes": null
|
355
|
+
},
|
356
|
+
{
|
357
|
+
"kind": "OBJECT",
|
358
|
+
"name": "Context",
|
359
|
+
"description": "Context information which consist of user information and event information",
|
360
|
+
"fields": [
|
361
|
+
{
|
362
|
+
"name": "user",
|
363
|
+
"description": "user information",
|
364
|
+
"args": [
|
365
|
+
|
366
|
+
],
|
367
|
+
"type": {
|
368
|
+
"kind": "NON_NULL",
|
369
|
+
"name": null,
|
370
|
+
"ofType": {
|
371
|
+
"kind": "OBJECT",
|
372
|
+
"name": "User",
|
373
|
+
"ofType": null
|
374
|
+
}
|
375
|
+
},
|
376
|
+
"isDeprecated": false,
|
377
|
+
"deprecationReason": null
|
378
|
+
},
|
379
|
+
{
|
380
|
+
"name": "event",
|
381
|
+
"description": "event information",
|
382
|
+
"args": [
|
383
|
+
|
384
|
+
],
|
385
|
+
"type": {
|
386
|
+
"kind": "NON_NULL",
|
387
|
+
"name": null,
|
388
|
+
"ofType": {
|
389
|
+
"kind": "OBJECT",
|
390
|
+
"name": "Event",
|
391
|
+
"ofType": null
|
392
|
+
}
|
393
|
+
},
|
394
|
+
"isDeprecated": false,
|
395
|
+
"deprecationReason": null
|
396
|
+
}
|
397
|
+
],
|
398
|
+
"inputFields": null,
|
399
|
+
"interfaces": [
|
400
|
+
|
401
|
+
],
|
402
|
+
"enumValues": null,
|
403
|
+
"possibleTypes": null
|
404
|
+
},
|
405
|
+
{
|
406
|
+
"kind": "OBJECT",
|
407
|
+
"name": "User",
|
408
|
+
"description": "User in the system, either Teacher or Student.",
|
409
|
+
"fields": [
|
410
|
+
{
|
411
|
+
"name": "id",
|
412
|
+
"description": "id of user, i.e., IAMS ID",
|
413
|
+
"args": [
|
414
|
+
|
415
|
+
],
|
416
|
+
"type": {
|
417
|
+
"kind": "NON_NULL",
|
418
|
+
"name": null,
|
419
|
+
"ofType": {
|
420
|
+
"kind": "SCALAR",
|
421
|
+
"name": "ID",
|
422
|
+
"ofType": null
|
423
|
+
}
|
424
|
+
},
|
425
|
+
"isDeprecated": false,
|
426
|
+
"deprecationReason": null
|
427
|
+
},
|
428
|
+
{
|
429
|
+
"name": "name",
|
430
|
+
"description": "user's name, short name for Student",
|
431
|
+
"args": [
|
432
|
+
|
433
|
+
],
|
434
|
+
"type": {
|
435
|
+
"kind": "NON_NULL",
|
436
|
+
"name": null,
|
437
|
+
"ofType": {
|
438
|
+
"kind": "SCALAR",
|
439
|
+
"name": "String",
|
440
|
+
"ofType": null
|
441
|
+
}
|
442
|
+
},
|
443
|
+
"isDeprecated": false,
|
444
|
+
"deprecationReason": null
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"name": "role",
|
448
|
+
"description": "role of user, either Teacher or Student",
|
449
|
+
"args": [
|
450
|
+
|
451
|
+
],
|
452
|
+
"type": {
|
453
|
+
"kind": "NON_NULL",
|
454
|
+
"name": null,
|
455
|
+
"ofType": {
|
456
|
+
"kind": "ENUM",
|
457
|
+
"name": "Role",
|
458
|
+
"ofType": null
|
459
|
+
}
|
460
|
+
},
|
461
|
+
"isDeprecated": false,
|
462
|
+
"deprecationReason": null
|
463
|
+
},
|
464
|
+
{
|
465
|
+
"name": "level",
|
466
|
+
"description": "level that student is in, e.g. Secondary 1. Null for teacher.",
|
467
|
+
"args": [
|
468
|
+
|
469
|
+
],
|
470
|
+
"type": {
|
471
|
+
"kind": "ENUM",
|
472
|
+
"name": "Level",
|
473
|
+
"ofType": null
|
474
|
+
},
|
475
|
+
"isDeprecated": false,
|
476
|
+
"deprecationReason": null
|
477
|
+
},
|
478
|
+
{
|
479
|
+
"name": "classSerialNo",
|
480
|
+
"description": "The index number of Student in his/her form class. Applicable to Student only",
|
481
|
+
"args": [
|
482
|
+
|
483
|
+
],
|
484
|
+
"type": {
|
485
|
+
"kind": "SCALAR",
|
486
|
+
"name": "Int",
|
487
|
+
"ofType": null
|
488
|
+
},
|
489
|
+
"isDeprecated": false,
|
490
|
+
"deprecationReason": null
|
491
|
+
},
|
492
|
+
{
|
493
|
+
"name": "subjectGroups",
|
494
|
+
"description": "ACTIVE subject groups that user is in. If App is not installed for a subject group,\nthis subject group will not be inlcuded.\n\nFor Teacher, it is the SubjectGroups that this teacher teaching\nFor Student, it is the SubjectGroups that this student belongs to",
|
495
|
+
"args": [
|
496
|
+
{
|
497
|
+
"name": "first",
|
498
|
+
"description": "",
|
499
|
+
"type": {
|
500
|
+
"kind": "SCALAR",
|
501
|
+
"name": "Int",
|
502
|
+
"ofType": null
|
503
|
+
},
|
504
|
+
"defaultValue": "20"
|
505
|
+
}
|
506
|
+
],
|
507
|
+
"type": {
|
508
|
+
"kind": "LIST",
|
509
|
+
"name": null,
|
510
|
+
"ofType": {
|
511
|
+
"kind": "NON_NULL",
|
512
|
+
"name": null,
|
513
|
+
"ofType": {
|
514
|
+
"kind": "OBJECT",
|
515
|
+
"name": "SubjectGroup",
|
516
|
+
"ofType": null
|
517
|
+
}
|
518
|
+
}
|
519
|
+
},
|
520
|
+
"isDeprecated": false,
|
521
|
+
"deprecationReason": null
|
522
|
+
}
|
523
|
+
],
|
524
|
+
"inputFields": null,
|
525
|
+
"interfaces": [
|
526
|
+
|
527
|
+
],
|
528
|
+
"enumValues": null,
|
529
|
+
"possibleTypes": null
|
530
|
+
},
|
531
|
+
{
|
532
|
+
"kind": "SCALAR",
|
533
|
+
"name": "String",
|
534
|
+
"description": "Built-in String",
|
535
|
+
"fields": null,
|
536
|
+
"inputFields": null,
|
537
|
+
"interfaces": null,
|
538
|
+
"enumValues": null,
|
539
|
+
"possibleTypes": null
|
540
|
+
},
|
541
|
+
{
|
542
|
+
"kind": "SCALAR",
|
543
|
+
"name": "Int",
|
544
|
+
"description": "Built-in Int",
|
545
|
+
"fields": null,
|
546
|
+
"inputFields": null,
|
547
|
+
"interfaces": null,
|
548
|
+
"enumValues": null,
|
549
|
+
"possibleTypes": null
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"kind": "OBJECT",
|
553
|
+
"name": "SubjectGroup",
|
554
|
+
"description": "A group consists of teachers and students that taking the same subject",
|
555
|
+
"fields": [
|
556
|
+
{
|
557
|
+
"name": "uuid",
|
558
|
+
"description": "UUID of group",
|
559
|
+
"args": [
|
560
|
+
|
561
|
+
],
|
562
|
+
"type": {
|
563
|
+
"kind": "NON_NULL",
|
564
|
+
"name": null,
|
565
|
+
"ofType": {
|
566
|
+
"kind": "SCALAR",
|
567
|
+
"name": "UUID",
|
568
|
+
"ofType": null
|
569
|
+
}
|
570
|
+
},
|
571
|
+
"isDeprecated": false,
|
572
|
+
"deprecationReason": null
|
573
|
+
},
|
574
|
+
{
|
575
|
+
"name": "code",
|
576
|
+
"description": "Code of group",
|
577
|
+
"args": [
|
578
|
+
|
579
|
+
],
|
580
|
+
"type": {
|
581
|
+
"kind": "NON_NULL",
|
582
|
+
"name": null,
|
583
|
+
"ofType": {
|
584
|
+
"kind": "SCALAR",
|
585
|
+
"name": "String",
|
586
|
+
"ofType": null
|
587
|
+
}
|
588
|
+
},
|
589
|
+
"isDeprecated": false,
|
590
|
+
"deprecationReason": null
|
591
|
+
},
|
592
|
+
{
|
593
|
+
"name": "subject",
|
594
|
+
"description": "Subject of group: <e.g. English Language>",
|
595
|
+
"args": [
|
596
|
+
|
597
|
+
],
|
598
|
+
"type": {
|
599
|
+
"kind": "NON_NULL",
|
600
|
+
"name": null,
|
601
|
+
"ofType": {
|
602
|
+
"kind": "SCALAR",
|
603
|
+
"name": "String",
|
604
|
+
"ofType": null
|
605
|
+
}
|
606
|
+
},
|
607
|
+
"isDeprecated": false,
|
608
|
+
"deprecationReason": null
|
609
|
+
},
|
610
|
+
{
|
611
|
+
"name": "level",
|
612
|
+
"description": "Level of Group: <e.g. Secondary 1>",
|
613
|
+
"args": [
|
614
|
+
|
615
|
+
],
|
616
|
+
"type": {
|
617
|
+
"kind": "NON_NULL",
|
618
|
+
"name": null,
|
619
|
+
"ofType": {
|
620
|
+
"kind": "ENUM",
|
621
|
+
"name": "Level",
|
622
|
+
"ofType": null
|
623
|
+
}
|
624
|
+
},
|
625
|
+
"isDeprecated": false,
|
626
|
+
"deprecationReason": null
|
627
|
+
},
|
628
|
+
{
|
629
|
+
"name": "teachers",
|
630
|
+
"description": "Teachers that teach this group",
|
631
|
+
"args": [
|
632
|
+
{
|
633
|
+
"name": "first",
|
634
|
+
"description": "",
|
635
|
+
"type": {
|
636
|
+
"kind": "SCALAR",
|
637
|
+
"name": "Int",
|
638
|
+
"ofType": null
|
639
|
+
},
|
640
|
+
"defaultValue": "0"
|
641
|
+
}
|
642
|
+
],
|
643
|
+
"type": {
|
644
|
+
"kind": "LIST",
|
645
|
+
"name": null,
|
646
|
+
"ofType": {
|
647
|
+
"kind": "OBJECT",
|
648
|
+
"name": "User",
|
649
|
+
"ofType": null
|
650
|
+
}
|
651
|
+
},
|
652
|
+
"isDeprecated": false,
|
653
|
+
"deprecationReason": null
|
654
|
+
},
|
655
|
+
{
|
656
|
+
"name": "students",
|
657
|
+
"description": "Students that belong to this group",
|
658
|
+
"args": [
|
659
|
+
{
|
660
|
+
"name": "first",
|
661
|
+
"description": "",
|
662
|
+
"type": {
|
663
|
+
"kind": "SCALAR",
|
664
|
+
"name": "Int",
|
665
|
+
"ofType": null
|
666
|
+
},
|
667
|
+
"defaultValue": "0"
|
668
|
+
},
|
669
|
+
{
|
670
|
+
"name": "sortField",
|
671
|
+
"description": "",
|
672
|
+
"type": {
|
673
|
+
"kind": "ENUM",
|
674
|
+
"name": "StudentSortBy",
|
675
|
+
"ofType": null
|
676
|
+
},
|
677
|
+
"defaultValue": null
|
678
|
+
}
|
679
|
+
],
|
680
|
+
"type": {
|
681
|
+
"kind": "LIST",
|
682
|
+
"name": null,
|
683
|
+
"ofType": {
|
684
|
+
"kind": "OBJECT",
|
685
|
+
"name": "User",
|
686
|
+
"ofType": null
|
687
|
+
}
|
688
|
+
},
|
689
|
+
"isDeprecated": false,
|
690
|
+
"deprecationReason": null
|
691
|
+
},
|
692
|
+
{
|
693
|
+
"name": "assignments",
|
694
|
+
"description": "assignments that been assigned to this group's students",
|
695
|
+
"args": [
|
696
|
+
{
|
697
|
+
"name": "first",
|
698
|
+
"description": "",
|
699
|
+
"type": {
|
700
|
+
"kind": "SCALAR",
|
701
|
+
"name": "Int",
|
702
|
+
"ofType": null
|
703
|
+
},
|
704
|
+
"defaultValue": "20"
|
705
|
+
}
|
706
|
+
],
|
707
|
+
"type": {
|
708
|
+
"kind": "LIST",
|
709
|
+
"name": null,
|
710
|
+
"ofType": {
|
711
|
+
"kind": "OBJECT",
|
712
|
+
"name": "Assignment",
|
713
|
+
"ofType": null
|
714
|
+
}
|
715
|
+
},
|
716
|
+
"isDeprecated": false,
|
717
|
+
"deprecationReason": null
|
718
|
+
}
|
719
|
+
],
|
720
|
+
"inputFields": null,
|
721
|
+
"interfaces": [
|
722
|
+
|
723
|
+
],
|
724
|
+
"enumValues": null,
|
725
|
+
"possibleTypes": null
|
726
|
+
},
|
727
|
+
{
|
728
|
+
"kind": "OBJECT",
|
729
|
+
"name": "Assignment",
|
730
|
+
"description": "",
|
731
|
+
"fields": [
|
732
|
+
{
|
733
|
+
"name": "uuid",
|
734
|
+
"description": "UUID for this assignment",
|
735
|
+
"args": [
|
736
|
+
|
737
|
+
],
|
738
|
+
"type": {
|
739
|
+
"kind": "NON_NULL",
|
740
|
+
"name": null,
|
741
|
+
"ofType": {
|
742
|
+
"kind": "SCALAR",
|
743
|
+
"name": "UUID",
|
744
|
+
"ofType": null
|
745
|
+
}
|
746
|
+
},
|
747
|
+
"isDeprecated": false,
|
748
|
+
"deprecationReason": null
|
749
|
+
},
|
750
|
+
{
|
751
|
+
"name": "title",
|
752
|
+
"description": "title",
|
753
|
+
"args": [
|
754
|
+
|
755
|
+
],
|
756
|
+
"type": {
|
757
|
+
"kind": "NON_NULL",
|
758
|
+
"name": null,
|
759
|
+
"ofType": {
|
760
|
+
"kind": "SCALAR",
|
761
|
+
"name": "String",
|
762
|
+
"ofType": null
|
763
|
+
}
|
764
|
+
},
|
765
|
+
"isDeprecated": false,
|
766
|
+
"deprecationReason": null
|
767
|
+
},
|
768
|
+
{
|
769
|
+
"name": "start",
|
770
|
+
"description": "start date and time, format: ISO_OFFSET_DATE_TIME, e.g.,2007-12-03T10:15:30+01:00",
|
771
|
+
"args": [
|
772
|
+
|
773
|
+
],
|
774
|
+
"type": {
|
775
|
+
"kind": "NON_NULL",
|
776
|
+
"name": null,
|
777
|
+
"ofType": {
|
778
|
+
"kind": "SCALAR",
|
779
|
+
"name": "DateTime",
|
780
|
+
"ofType": null
|
781
|
+
}
|
782
|
+
},
|
783
|
+
"isDeprecated": false,
|
784
|
+
"deprecationReason": null
|
785
|
+
},
|
786
|
+
{
|
787
|
+
"name": "end",
|
788
|
+
"description": "end date and time, format: ISO_OFFSET_DATE_TIME, e.g.,2007-12-03T10:15:30+01:00",
|
789
|
+
"args": [
|
790
|
+
|
791
|
+
],
|
792
|
+
"type": {
|
793
|
+
"kind": "SCALAR",
|
794
|
+
"name": "DateTime",
|
795
|
+
"ofType": null
|
796
|
+
},
|
797
|
+
"isDeprecated": false,
|
798
|
+
"deprecationReason": null
|
799
|
+
},
|
800
|
+
{
|
801
|
+
"name": "createdBy",
|
802
|
+
"description": "user who create this assignment",
|
803
|
+
"args": [
|
804
|
+
|
805
|
+
],
|
806
|
+
"type": {
|
807
|
+
"kind": "NON_NULL",
|
808
|
+
"name": null,
|
809
|
+
"ofType": {
|
810
|
+
"kind": "OBJECT",
|
811
|
+
"name": "User",
|
812
|
+
"ofType": null
|
813
|
+
}
|
814
|
+
},
|
815
|
+
"isDeprecated": false,
|
816
|
+
"deprecationReason": null
|
817
|
+
},
|
818
|
+
{
|
819
|
+
"name": "modifiedBy",
|
820
|
+
"description": "user who change this assignment",
|
821
|
+
"args": [
|
822
|
+
|
823
|
+
],
|
824
|
+
"type": {
|
825
|
+
"kind": "OBJECT",
|
826
|
+
"name": "User",
|
827
|
+
"ofType": null
|
828
|
+
},
|
829
|
+
"isDeprecated": false,
|
830
|
+
"deprecationReason": null
|
831
|
+
},
|
832
|
+
{
|
833
|
+
"name": "type",
|
834
|
+
"description": "Type of the assignment",
|
835
|
+
"args": [
|
836
|
+
|
837
|
+
],
|
838
|
+
"type": {
|
839
|
+
"kind": "NON_NULL",
|
840
|
+
"name": null,
|
841
|
+
"ofType": {
|
842
|
+
"kind": "ENUM",
|
843
|
+
"name": "AssignmentResourceType",
|
844
|
+
"ofType": null
|
845
|
+
}
|
846
|
+
},
|
847
|
+
"isDeprecated": false,
|
848
|
+
"deprecationReason": null
|
849
|
+
},
|
850
|
+
{
|
851
|
+
"name": "subjectGroup",
|
852
|
+
"description": "subject group that this resource been assigned to",
|
853
|
+
"args": [
|
854
|
+
|
855
|
+
],
|
856
|
+
"type": {
|
857
|
+
"kind": "NON_NULL",
|
858
|
+
"name": null,
|
859
|
+
"ofType": {
|
860
|
+
"kind": "OBJECT",
|
861
|
+
"name": "SubjectGroup",
|
862
|
+
"ofType": null
|
863
|
+
}
|
864
|
+
},
|
865
|
+
"isDeprecated": false,
|
866
|
+
"deprecationReason": null
|
867
|
+
},
|
868
|
+
{
|
869
|
+
"name": "tasks",
|
870
|
+
"description": "List of tasks been generated",
|
871
|
+
"args": [
|
872
|
+
{
|
873
|
+
"name": "first",
|
874
|
+
"description": "",
|
875
|
+
"type": {
|
876
|
+
"kind": "SCALAR",
|
877
|
+
"name": "Int",
|
878
|
+
"ofType": null
|
879
|
+
},
|
880
|
+
"defaultValue": "0"
|
881
|
+
}
|
882
|
+
],
|
883
|
+
"type": {
|
884
|
+
"kind": "NON_NULL",
|
885
|
+
"name": null,
|
886
|
+
"ofType": {
|
887
|
+
"kind": "LIST",
|
888
|
+
"name": null,
|
889
|
+
"ofType": {
|
890
|
+
"kind": "OBJECT",
|
891
|
+
"name": "Task",
|
892
|
+
"ofType": null
|
893
|
+
}
|
894
|
+
}
|
895
|
+
},
|
896
|
+
"isDeprecated": false,
|
897
|
+
"deprecationReason": null
|
898
|
+
}
|
899
|
+
],
|
900
|
+
"inputFields": null,
|
901
|
+
"interfaces": [
|
902
|
+
|
903
|
+
],
|
904
|
+
"enumValues": null,
|
905
|
+
"possibleTypes": null
|
906
|
+
},
|
907
|
+
{
|
908
|
+
"kind": "SCALAR",
|
909
|
+
"name": "DateTime",
|
910
|
+
"description": "Assignment start date, format: ISO_OFFSET_DATE_TIME, e.g.,2007-12-03T10:15:30+01:00",
|
911
|
+
"fields": null,
|
912
|
+
"inputFields": null,
|
913
|
+
"interfaces": null,
|
914
|
+
"enumValues": null,
|
915
|
+
"possibleTypes": null
|
916
|
+
},
|
917
|
+
{
|
918
|
+
"kind": "OBJECT",
|
919
|
+
"name": "Task",
|
920
|
+
"description": "A basic unit of work required for one student.",
|
921
|
+
"fields": [
|
922
|
+
{
|
923
|
+
"name": "uuid",
|
924
|
+
"description": "UUID for this task",
|
925
|
+
"args": [
|
926
|
+
|
927
|
+
],
|
928
|
+
"type": {
|
929
|
+
"kind": "NON_NULL",
|
930
|
+
"name": null,
|
931
|
+
"ofType": {
|
932
|
+
"kind": "SCALAR",
|
933
|
+
"name": "UUID",
|
934
|
+
"ofType": null
|
935
|
+
}
|
936
|
+
},
|
937
|
+
"isDeprecated": false,
|
938
|
+
"deprecationReason": null
|
939
|
+
},
|
940
|
+
{
|
941
|
+
"name": "title",
|
942
|
+
"description": "title",
|
943
|
+
"args": [
|
944
|
+
|
945
|
+
],
|
946
|
+
"type": {
|
947
|
+
"kind": "NON_NULL",
|
948
|
+
"name": null,
|
949
|
+
"ofType": {
|
950
|
+
"kind": "SCALAR",
|
951
|
+
"name": "String",
|
952
|
+
"ofType": null
|
953
|
+
}
|
954
|
+
},
|
955
|
+
"isDeprecated": false,
|
956
|
+
"deprecationReason": null
|
957
|
+
},
|
958
|
+
{
|
959
|
+
"name": "start",
|
960
|
+
"description": "start date and time",
|
961
|
+
"args": [
|
962
|
+
|
963
|
+
],
|
964
|
+
"type": {
|
965
|
+
"kind": "NON_NULL",
|
966
|
+
"name": null,
|
967
|
+
"ofType": {
|
968
|
+
"kind": "SCALAR",
|
969
|
+
"name": "DateTime",
|
970
|
+
"ofType": null
|
971
|
+
}
|
972
|
+
},
|
973
|
+
"isDeprecated": false,
|
974
|
+
"deprecationReason": null
|
975
|
+
},
|
976
|
+
{
|
977
|
+
"name": "end",
|
978
|
+
"description": "end date and time",
|
979
|
+
"args": [
|
980
|
+
|
981
|
+
],
|
982
|
+
"type": {
|
983
|
+
"kind": "SCALAR",
|
984
|
+
"name": "DateTime",
|
985
|
+
"ofType": null
|
986
|
+
},
|
987
|
+
"isDeprecated": false,
|
988
|
+
"deprecationReason": null
|
989
|
+
},
|
990
|
+
{
|
991
|
+
"name": "createdBy",
|
992
|
+
"description": "user who create this task",
|
993
|
+
"args": [
|
994
|
+
|
995
|
+
],
|
996
|
+
"type": {
|
997
|
+
"kind": "NON_NULL",
|
998
|
+
"name": null,
|
999
|
+
"ofType": {
|
1000
|
+
"kind": "OBJECT",
|
1001
|
+
"name": "User",
|
1002
|
+
"ofType": null
|
1003
|
+
}
|
1004
|
+
},
|
1005
|
+
"isDeprecated": false,
|
1006
|
+
"deprecationReason": null
|
1007
|
+
},
|
1008
|
+
{
|
1009
|
+
"name": "assignee",
|
1010
|
+
"description": "student who own this task",
|
1011
|
+
"args": [
|
1012
|
+
|
1013
|
+
],
|
1014
|
+
"type": {
|
1015
|
+
"kind": "NON_NULL",
|
1016
|
+
"name": null,
|
1017
|
+
"ofType": {
|
1018
|
+
"kind": "OBJECT",
|
1019
|
+
"name": "User",
|
1020
|
+
"ofType": null
|
1021
|
+
}
|
1022
|
+
},
|
1023
|
+
"isDeprecated": false,
|
1024
|
+
"deprecationReason": null
|
1025
|
+
},
|
1026
|
+
{
|
1027
|
+
"name": "subject",
|
1028
|
+
"description": "Subject Name",
|
1029
|
+
"args": [
|
1030
|
+
|
1031
|
+
],
|
1032
|
+
"type": {
|
1033
|
+
"kind": "NON_NULL",
|
1034
|
+
"name": null,
|
1035
|
+
"ofType": {
|
1036
|
+
"kind": "SCALAR",
|
1037
|
+
"name": "String",
|
1038
|
+
"ofType": null
|
1039
|
+
}
|
1040
|
+
},
|
1041
|
+
"isDeprecated": false,
|
1042
|
+
"deprecationReason": null
|
1043
|
+
},
|
1044
|
+
{
|
1045
|
+
"name": "status",
|
1046
|
+
"description": "Status of this task, default is NEW",
|
1047
|
+
"args": [
|
1048
|
+
|
1049
|
+
],
|
1050
|
+
"type": {
|
1051
|
+
"kind": "NON_NULL",
|
1052
|
+
"name": null,
|
1053
|
+
"ofType": {
|
1054
|
+
"kind": "ENUM",
|
1055
|
+
"name": "TaskStatus",
|
1056
|
+
"ofType": null
|
1057
|
+
}
|
1058
|
+
},
|
1059
|
+
"isDeprecated": false,
|
1060
|
+
"deprecationReason": null
|
1061
|
+
}
|
1062
|
+
],
|
1063
|
+
"inputFields": null,
|
1064
|
+
"interfaces": [
|
1065
|
+
|
1066
|
+
],
|
1067
|
+
"enumValues": null,
|
1068
|
+
"possibleTypes": null
|
1069
|
+
},
|
1070
|
+
{
|
1071
|
+
"kind": "OBJECT",
|
1072
|
+
"name": "Notification",
|
1073
|
+
"description": "",
|
1074
|
+
"fields": [
|
1075
|
+
{
|
1076
|
+
"name": "uuid",
|
1077
|
+
"description": "Notification uuid",
|
1078
|
+
"args": [
|
1079
|
+
|
1080
|
+
],
|
1081
|
+
"type": {
|
1082
|
+
"kind": "NON_NULL",
|
1083
|
+
"name": null,
|
1084
|
+
"ofType": {
|
1085
|
+
"kind": "SCALAR",
|
1086
|
+
"name": "UUID",
|
1087
|
+
"ofType": null
|
1088
|
+
}
|
1089
|
+
},
|
1090
|
+
"isDeprecated": false,
|
1091
|
+
"deprecationReason": null
|
1092
|
+
},
|
1093
|
+
{
|
1094
|
+
"name": "message",
|
1095
|
+
"description": "Notification message",
|
1096
|
+
"args": [
|
1097
|
+
|
1098
|
+
],
|
1099
|
+
"type": {
|
1100
|
+
"kind": "NON_NULL",
|
1101
|
+
"name": null,
|
1102
|
+
"ofType": {
|
1103
|
+
"kind": "SCALAR",
|
1104
|
+
"name": "String",
|
1105
|
+
"ofType": null
|
1106
|
+
}
|
1107
|
+
},
|
1108
|
+
"isDeprecated": false,
|
1109
|
+
"deprecationReason": null
|
1110
|
+
},
|
1111
|
+
{
|
1112
|
+
"name": "scope",
|
1113
|
+
"description": "Notification scope, i.e., this notification is targeted to a subject group, or a school",
|
1114
|
+
"args": [
|
1115
|
+
|
1116
|
+
],
|
1117
|
+
"type": {
|
1118
|
+
"kind": "NON_NULL",
|
1119
|
+
"name": null,
|
1120
|
+
"ofType": {
|
1121
|
+
"kind": "ENUM",
|
1122
|
+
"name": "NotificationScope",
|
1123
|
+
"ofType": null
|
1124
|
+
}
|
1125
|
+
},
|
1126
|
+
"isDeprecated": false,
|
1127
|
+
"deprecationReason": null
|
1128
|
+
},
|
1129
|
+
{
|
1130
|
+
"name": "scopeId",
|
1131
|
+
"description": "Scope id, if scope is SUBJECT_GROUP, the scope id is subject group uuid; if scope is SCHOOL, the scope id is school code",
|
1132
|
+
"args": [
|
1133
|
+
|
1134
|
+
],
|
1135
|
+
"type": {
|
1136
|
+
"kind": "NON_NULL",
|
1137
|
+
"name": null,
|
1138
|
+
"ofType": {
|
1139
|
+
"kind": "SCALAR",
|
1140
|
+
"name": "String",
|
1141
|
+
"ofType": null
|
1142
|
+
}
|
1143
|
+
},
|
1144
|
+
"isDeprecated": false,
|
1145
|
+
"deprecationReason": null
|
1146
|
+
},
|
1147
|
+
{
|
1148
|
+
"name": "eventType",
|
1149
|
+
"description": "AppContext event type, which will be set into the AppContext created when user clicks the notification\neventType must be camelCase alphanumeric",
|
1150
|
+
"args": [
|
1151
|
+
|
1152
|
+
],
|
1153
|
+
"type": {
|
1154
|
+
"kind": "SCALAR",
|
1155
|
+
"name": "String",
|
1156
|
+
"ofType": null
|
1157
|
+
},
|
1158
|
+
"isDeprecated": false,
|
1159
|
+
"deprecationReason": null
|
1160
|
+
},
|
1161
|
+
{
|
1162
|
+
"name": "eventTypeId",
|
1163
|
+
"description": "AppContext event type id, which will be set into the AppContext created when user clicks the notification",
|
1164
|
+
"args": [
|
1165
|
+
|
1166
|
+
],
|
1167
|
+
"type": {
|
1168
|
+
"kind": "SCALAR",
|
1169
|
+
"name": "UUID",
|
1170
|
+
"ofType": null
|
1171
|
+
},
|
1172
|
+
"isDeprecated": false,
|
1173
|
+
"deprecationReason": null
|
1174
|
+
},
|
1175
|
+
{
|
1176
|
+
"name": "recipient",
|
1177
|
+
"description": "List of uuid for the recipient",
|
1178
|
+
"args": [
|
1179
|
+
|
1180
|
+
],
|
1181
|
+
"type": {
|
1182
|
+
"kind": "NON_NULL",
|
1183
|
+
"name": null,
|
1184
|
+
"ofType": {
|
1185
|
+
"kind": "LIST",
|
1186
|
+
"name": null,
|
1187
|
+
"ofType": {
|
1188
|
+
"kind": "NON_NULL",
|
1189
|
+
"name": null,
|
1190
|
+
"ofType": {
|
1191
|
+
"kind": "SCALAR",
|
1192
|
+
"name": "ID"
|
1193
|
+
}
|
1194
|
+
}
|
1195
|
+
}
|
1196
|
+
},
|
1197
|
+
"isDeprecated": false,
|
1198
|
+
"deprecationReason": null
|
1199
|
+
}
|
1200
|
+
],
|
1201
|
+
"inputFields": null,
|
1202
|
+
"interfaces": [
|
1203
|
+
|
1204
|
+
],
|
1205
|
+
"enumValues": null,
|
1206
|
+
"possibleTypes": null
|
1207
|
+
},
|
1208
|
+
{
|
1209
|
+
"kind": "OBJECT",
|
1210
|
+
"name": "Event",
|
1211
|
+
"description": "Event information when App is launched.\nVarious Scenarios:\nLaunch App from <Subject Group> page\nOpen <Assignment> page (from Assignment Listing page)\nOpen <Task> page (from either Dashboard or Notification)",
|
1212
|
+
"fields": [
|
1213
|
+
{
|
1214
|
+
"name": "type",
|
1215
|
+
"description": "e.g. \"Launch_App\", \"Launch_Assignment\", \"Launch_Task\"",
|
1216
|
+
"args": [
|
1217
|
+
|
1218
|
+
],
|
1219
|
+
"type": {
|
1220
|
+
"kind": "NON_NULL",
|
1221
|
+
"name": null,
|
1222
|
+
"ofType": {
|
1223
|
+
"kind": "ENUM",
|
1224
|
+
"name": "EventType",
|
1225
|
+
"ofType": null
|
1226
|
+
}
|
1227
|
+
},
|
1228
|
+
"isDeprecated": false,
|
1229
|
+
"deprecationReason": null
|
1230
|
+
},
|
1231
|
+
{
|
1232
|
+
"name": "typeId",
|
1233
|
+
"description": "e.g. UUID of subjectGroup / Assignment / Task",
|
1234
|
+
"args": [
|
1235
|
+
|
1236
|
+
],
|
1237
|
+
"type": {
|
1238
|
+
"kind": "NON_NULL",
|
1239
|
+
"name": null,
|
1240
|
+
"ofType": {
|
1241
|
+
"kind": "SCALAR",
|
1242
|
+
"name": "UUID",
|
1243
|
+
"ofType": null
|
1244
|
+
}
|
1245
|
+
},
|
1246
|
+
"isDeprecated": false,
|
1247
|
+
"deprecationReason": null
|
1248
|
+
}
|
1249
|
+
],
|
1250
|
+
"inputFields": null,
|
1251
|
+
"interfaces": [
|
1252
|
+
|
1253
|
+
],
|
1254
|
+
"enumValues": null,
|
1255
|
+
"possibleTypes": null
|
1256
|
+
},
|
1257
|
+
{
|
1258
|
+
"kind": "INPUT_OBJECT",
|
1259
|
+
"name": "AssignmentInput",
|
1260
|
+
"description": "",
|
1261
|
+
"fields": null,
|
1262
|
+
"inputFields": [
|
1263
|
+
{
|
1264
|
+
"name": "title",
|
1265
|
+
"description": "title",
|
1266
|
+
"type": {
|
1267
|
+
"kind": "SCALAR",
|
1268
|
+
"name": "String",
|
1269
|
+
"ofType": null
|
1270
|
+
},
|
1271
|
+
"defaultValue": null
|
1272
|
+
},
|
1273
|
+
{
|
1274
|
+
"name": "start",
|
1275
|
+
"description": "Assignment start date, format: ISO_OFFSET_DATE_TIME, e.g.,2007-12-03T10:15:30+01:00",
|
1276
|
+
"type": {
|
1277
|
+
"kind": "SCALAR",
|
1278
|
+
"name": "DateTime",
|
1279
|
+
"ofType": null
|
1280
|
+
},
|
1281
|
+
"defaultValue": null
|
1282
|
+
},
|
1283
|
+
{
|
1284
|
+
"name": "end",
|
1285
|
+
"description": "Assignment end date, format: ISO_OFFSET_DATE_TIME, e.g.,2007-12-03T10:15:30+01:00",
|
1286
|
+
"type": {
|
1287
|
+
"kind": "SCALAR",
|
1288
|
+
"name": "DateTime",
|
1289
|
+
"ofType": null
|
1290
|
+
},
|
1291
|
+
"defaultValue": null
|
1292
|
+
},
|
1293
|
+
{
|
1294
|
+
"name": "createdBy",
|
1295
|
+
"description": "",
|
1296
|
+
"type": {
|
1297
|
+
"kind": "SCALAR",
|
1298
|
+
"name": "ID",
|
1299
|
+
"ofType": null
|
1300
|
+
},
|
1301
|
+
"defaultValue": null
|
1302
|
+
},
|
1303
|
+
{
|
1304
|
+
"name": "modifiedBy",
|
1305
|
+
"description": "",
|
1306
|
+
"type": {
|
1307
|
+
"kind": "SCALAR",
|
1308
|
+
"name": "ID",
|
1309
|
+
"ofType": null
|
1310
|
+
},
|
1311
|
+
"defaultValue": null
|
1312
|
+
},
|
1313
|
+
{
|
1314
|
+
"name": "type",
|
1315
|
+
"description": "",
|
1316
|
+
"type": {
|
1317
|
+
"kind": "ENUM",
|
1318
|
+
"name": "AssignmentResourceType",
|
1319
|
+
"ofType": null
|
1320
|
+
},
|
1321
|
+
"defaultValue": null
|
1322
|
+
},
|
1323
|
+
{
|
1324
|
+
"name": "assignees",
|
1325
|
+
"description": "",
|
1326
|
+
"type": {
|
1327
|
+
"kind": "LIST",
|
1328
|
+
"name": null,
|
1329
|
+
"ofType": {
|
1330
|
+
"kind": "SCALAR",
|
1331
|
+
"name": "ID",
|
1332
|
+
"ofType": null
|
1333
|
+
}
|
1334
|
+
},
|
1335
|
+
"defaultValue": null
|
1336
|
+
},
|
1337
|
+
{
|
1338
|
+
"name": "subjectGroupUuid",
|
1339
|
+
"description": "",
|
1340
|
+
"type": {
|
1341
|
+
"kind": "SCALAR",
|
1342
|
+
"name": "UUID",
|
1343
|
+
"ofType": null
|
1344
|
+
},
|
1345
|
+
"defaultValue": null
|
1346
|
+
}
|
1347
|
+
],
|
1348
|
+
"interfaces": null,
|
1349
|
+
"enumValues": null,
|
1350
|
+
"possibleTypes": null
|
1351
|
+
},
|
1352
|
+
{
|
1353
|
+
"kind": "INPUT_OBJECT",
|
1354
|
+
"name": "NotificationInput",
|
1355
|
+
"description": "",
|
1356
|
+
"fields": null,
|
1357
|
+
"inputFields": [
|
1358
|
+
{
|
1359
|
+
"name": "message",
|
1360
|
+
"description": "Notification message, max length: 300",
|
1361
|
+
"type": {
|
1362
|
+
"kind": "NON_NULL",
|
1363
|
+
"name": null,
|
1364
|
+
"ofType": {
|
1365
|
+
"kind": "SCALAR",
|
1366
|
+
"name": "String",
|
1367
|
+
"ofType": null
|
1368
|
+
}
|
1369
|
+
},
|
1370
|
+
"defaultValue": null
|
1371
|
+
},
|
1372
|
+
{
|
1373
|
+
"name": "scope",
|
1374
|
+
"description": "Notification scope, i.e., this notification is targeted to a subject group, or a school",
|
1375
|
+
"type": {
|
1376
|
+
"kind": "NON_NULL",
|
1377
|
+
"name": null,
|
1378
|
+
"ofType": {
|
1379
|
+
"kind": "ENUM",
|
1380
|
+
"name": "NotificationScope",
|
1381
|
+
"ofType": null
|
1382
|
+
}
|
1383
|
+
},
|
1384
|
+
"defaultValue": null
|
1385
|
+
},
|
1386
|
+
{
|
1387
|
+
"name": "scopeId",
|
1388
|
+
"description": "Scope id, if scope is SUBJECT_GROUP, the scope id is subject group uuid; if scope is SCHOOL, the scope id is school code",
|
1389
|
+
"type": {
|
1390
|
+
"kind": "NON_NULL",
|
1391
|
+
"name": null,
|
1392
|
+
"ofType": {
|
1393
|
+
"kind": "SCALAR",
|
1394
|
+
"name": "String",
|
1395
|
+
"ofType": null
|
1396
|
+
}
|
1397
|
+
},
|
1398
|
+
"defaultValue": null
|
1399
|
+
},
|
1400
|
+
{
|
1401
|
+
"name": "eventType",
|
1402
|
+
"description": "AppContext event type, which will be set into the AppContext created when user clicks the notification\neventType must be alphanumeric, max length: 50",
|
1403
|
+
"type": {
|
1404
|
+
"kind": "SCALAR",
|
1405
|
+
"name": "String",
|
1406
|
+
"ofType": null
|
1407
|
+
},
|
1408
|
+
"defaultValue": null
|
1409
|
+
},
|
1410
|
+
{
|
1411
|
+
"name": "eventTypeId",
|
1412
|
+
"description": "AppContext event type id, which will be set into the AppContext created when user clicks the notification",
|
1413
|
+
"type": {
|
1414
|
+
"kind": "SCALAR",
|
1415
|
+
"name": "UUID",
|
1416
|
+
"ofType": null
|
1417
|
+
},
|
1418
|
+
"defaultValue": null
|
1419
|
+
},
|
1420
|
+
{
|
1421
|
+
"name": "recipient",
|
1422
|
+
"description": "List of uuid for the recipient",
|
1423
|
+
"type": {
|
1424
|
+
"kind": "NON_NULL",
|
1425
|
+
"name": null,
|
1426
|
+
"ofType": {
|
1427
|
+
"kind": "LIST",
|
1428
|
+
"name": null,
|
1429
|
+
"ofType": {
|
1430
|
+
"kind": "NON_NULL",
|
1431
|
+
"name": null,
|
1432
|
+
"ofType": {
|
1433
|
+
"kind": "SCALAR",
|
1434
|
+
"name": "ID"
|
1435
|
+
}
|
1436
|
+
}
|
1437
|
+
}
|
1438
|
+
},
|
1439
|
+
"defaultValue": null
|
1440
|
+
}
|
1441
|
+
],
|
1442
|
+
"interfaces": null,
|
1443
|
+
"enumValues": null,
|
1444
|
+
"possibleTypes": null
|
1445
|
+
},
|
1446
|
+
{
|
1447
|
+
"kind": "ENUM",
|
1448
|
+
"name": "AssignmentResourceType",
|
1449
|
+
"description": "",
|
1450
|
+
"fields": null,
|
1451
|
+
"inputFields": null,
|
1452
|
+
"interfaces": null,
|
1453
|
+
"enumValues": [
|
1454
|
+
{
|
1455
|
+
"name": "LESSON",
|
1456
|
+
"description": "",
|
1457
|
+
"isDeprecated": false,
|
1458
|
+
"deprecationReason": null
|
1459
|
+
},
|
1460
|
+
{
|
1461
|
+
"name": "QUIZ",
|
1462
|
+
"description": "",
|
1463
|
+
"isDeprecated": false,
|
1464
|
+
"deprecationReason": null
|
1465
|
+
}
|
1466
|
+
],
|
1467
|
+
"possibleTypes": null
|
1468
|
+
},
|
1469
|
+
{
|
1470
|
+
"kind": "ENUM",
|
1471
|
+
"name": "TaskStatus",
|
1472
|
+
"description": "",
|
1473
|
+
"fields": null,
|
1474
|
+
"inputFields": null,
|
1475
|
+
"interfaces": null,
|
1476
|
+
"enumValues": [
|
1477
|
+
{
|
1478
|
+
"name": "NEW",
|
1479
|
+
"description": "New task",
|
1480
|
+
"isDeprecated": false,
|
1481
|
+
"deprecationReason": null
|
1482
|
+
},
|
1483
|
+
{
|
1484
|
+
"name": "IN_PROGRESS",
|
1485
|
+
"description": "Work in progress",
|
1486
|
+
"isDeprecated": false,
|
1487
|
+
"deprecationReason": null
|
1488
|
+
},
|
1489
|
+
{
|
1490
|
+
"name": "COMPLETED",
|
1491
|
+
"description": "Task is completed",
|
1492
|
+
"isDeprecated": false,
|
1493
|
+
"deprecationReason": null
|
1494
|
+
}
|
1495
|
+
],
|
1496
|
+
"possibleTypes": null
|
1497
|
+
},
|
1498
|
+
{
|
1499
|
+
"kind": "ENUM",
|
1500
|
+
"name": "NotificationScope",
|
1501
|
+
"description": "",
|
1502
|
+
"fields": null,
|
1503
|
+
"inputFields": null,
|
1504
|
+
"interfaces": null,
|
1505
|
+
"enumValues": [
|
1506
|
+
{
|
1507
|
+
"name": "SUBJECT_GROUP",
|
1508
|
+
"description": "",
|
1509
|
+
"isDeprecated": false,
|
1510
|
+
"deprecationReason": null
|
1511
|
+
},
|
1512
|
+
{
|
1513
|
+
"name": "SCHOOL",
|
1514
|
+
"description": "",
|
1515
|
+
"isDeprecated": false,
|
1516
|
+
"deprecationReason": null
|
1517
|
+
},
|
1518
|
+
{
|
1519
|
+
"name": "GLOBAL",
|
1520
|
+
"description": "",
|
1521
|
+
"isDeprecated": false,
|
1522
|
+
"deprecationReason": null
|
1523
|
+
}
|
1524
|
+
],
|
1525
|
+
"possibleTypes": null
|
1526
|
+
},
|
1527
|
+
{
|
1528
|
+
"kind": "ENUM",
|
1529
|
+
"name": "Role",
|
1530
|
+
"description": "",
|
1531
|
+
"fields": null,
|
1532
|
+
"inputFields": null,
|
1533
|
+
"interfaces": null,
|
1534
|
+
"enumValues": [
|
1535
|
+
{
|
1536
|
+
"name": "TEACHER",
|
1537
|
+
"description": "Teacher",
|
1538
|
+
"isDeprecated": false,
|
1539
|
+
"deprecationReason": null
|
1540
|
+
},
|
1541
|
+
{
|
1542
|
+
"name": "STUDENT",
|
1543
|
+
"description": "Student",
|
1544
|
+
"isDeprecated": false,
|
1545
|
+
"deprecationReason": null
|
1546
|
+
}
|
1547
|
+
],
|
1548
|
+
"possibleTypes": null
|
1549
|
+
},
|
1550
|
+
{
|
1551
|
+
"kind": "ENUM",
|
1552
|
+
"name": "Level",
|
1553
|
+
"description": "",
|
1554
|
+
"fields": null,
|
1555
|
+
"inputFields": null,
|
1556
|
+
"interfaces": null,
|
1557
|
+
"enumValues": [
|
1558
|
+
{
|
1559
|
+
"name": "PRIMARY_1",
|
1560
|
+
"description": "Primary 1",
|
1561
|
+
"isDeprecated": false,
|
1562
|
+
"deprecationReason": null
|
1563
|
+
},
|
1564
|
+
{
|
1565
|
+
"name": "PRIMARY_2",
|
1566
|
+
"description": "Primary 2",
|
1567
|
+
"isDeprecated": false,
|
1568
|
+
"deprecationReason": null
|
1569
|
+
},
|
1570
|
+
{
|
1571
|
+
"name": "PRIMARY_3",
|
1572
|
+
"description": "Primary 3",
|
1573
|
+
"isDeprecated": false,
|
1574
|
+
"deprecationReason": null
|
1575
|
+
},
|
1576
|
+
{
|
1577
|
+
"name": "PRIMARY_4",
|
1578
|
+
"description": "Primary 4",
|
1579
|
+
"isDeprecated": false,
|
1580
|
+
"deprecationReason": null
|
1581
|
+
},
|
1582
|
+
{
|
1583
|
+
"name": "PRIMARY_5",
|
1584
|
+
"description": "Primary 5",
|
1585
|
+
"isDeprecated": false,
|
1586
|
+
"deprecationReason": null
|
1587
|
+
},
|
1588
|
+
{
|
1589
|
+
"name": "PRIMARY_6",
|
1590
|
+
"description": "Primary 6",
|
1591
|
+
"isDeprecated": false,
|
1592
|
+
"deprecationReason": null
|
1593
|
+
},
|
1594
|
+
{
|
1595
|
+
"name": "SECONDARY_1",
|
1596
|
+
"description": "Secondary 1",
|
1597
|
+
"isDeprecated": false,
|
1598
|
+
"deprecationReason": null
|
1599
|
+
},
|
1600
|
+
{
|
1601
|
+
"name": "SECONDARY_2",
|
1602
|
+
"description": "Secondary 2",
|
1603
|
+
"isDeprecated": false,
|
1604
|
+
"deprecationReason": null
|
1605
|
+
},
|
1606
|
+
{
|
1607
|
+
"name": "SECONDARY_3",
|
1608
|
+
"description": "Secondary 3",
|
1609
|
+
"isDeprecated": false,
|
1610
|
+
"deprecationReason": null
|
1611
|
+
},
|
1612
|
+
{
|
1613
|
+
"name": "SECONDARY_4",
|
1614
|
+
"description": "Secondary 4",
|
1615
|
+
"isDeprecated": false,
|
1616
|
+
"deprecationReason": null
|
1617
|
+
},
|
1618
|
+
{
|
1619
|
+
"name": "SECONDARY_5",
|
1620
|
+
"description": "Secondary 5",
|
1621
|
+
"isDeprecated": false,
|
1622
|
+
"deprecationReason": null
|
1623
|
+
},
|
1624
|
+
{
|
1625
|
+
"name": "PRE_U_1",
|
1626
|
+
"description": "Pre-U 1",
|
1627
|
+
"isDeprecated": false,
|
1628
|
+
"deprecationReason": null
|
1629
|
+
},
|
1630
|
+
{
|
1631
|
+
"name": "PRE_U_2",
|
1632
|
+
"description": "Pre-U 2",
|
1633
|
+
"isDeprecated": false,
|
1634
|
+
"deprecationReason": null
|
1635
|
+
},
|
1636
|
+
{
|
1637
|
+
"name": "PRE_U_3",
|
1638
|
+
"description": "Pre-U 3",
|
1639
|
+
"isDeprecated": false,
|
1640
|
+
"deprecationReason": null
|
1641
|
+
}
|
1642
|
+
],
|
1643
|
+
"possibleTypes": null
|
1644
|
+
},
|
1645
|
+
{
|
1646
|
+
"kind": "ENUM",
|
1647
|
+
"name": "StudentSortBy",
|
1648
|
+
"description": "",
|
1649
|
+
"fields": null,
|
1650
|
+
"inputFields": null,
|
1651
|
+
"interfaces": null,
|
1652
|
+
"enumValues": [
|
1653
|
+
{
|
1654
|
+
"name": "CLASS_SERIAL_NO",
|
1655
|
+
"description": "sort students by class serial number",
|
1656
|
+
"isDeprecated": false,
|
1657
|
+
"deprecationReason": null
|
1658
|
+
},
|
1659
|
+
{
|
1660
|
+
"name": "NAME",
|
1661
|
+
"description": "sort students by name",
|
1662
|
+
"isDeprecated": false,
|
1663
|
+
"deprecationReason": null
|
1664
|
+
}
|
1665
|
+
],
|
1666
|
+
"possibleTypes": null
|
1667
|
+
},
|
1668
|
+
{
|
1669
|
+
"kind": "ENUM",
|
1670
|
+
"name": "EventType",
|
1671
|
+
"description": "",
|
1672
|
+
"fields": null,
|
1673
|
+
"inputFields": null,
|
1674
|
+
"interfaces": null,
|
1675
|
+
"enumValues": [
|
1676
|
+
{
|
1677
|
+
"name": "LAUNCH_APP",
|
1678
|
+
"description": "Launch Application.",
|
1679
|
+
"isDeprecated": false,
|
1680
|
+
"deprecationReason": null
|
1681
|
+
},
|
1682
|
+
{
|
1683
|
+
"name": "LAUNCH_ASSIGNMENT",
|
1684
|
+
"description": "Launch Assignment. E.g. Teacher open assignment",
|
1685
|
+
"isDeprecated": false,
|
1686
|
+
"deprecationReason": null
|
1687
|
+
},
|
1688
|
+
{
|
1689
|
+
"name": "LAUNCH_TASK",
|
1690
|
+
"description": "Launch Task. E.g. Student open task from Dashboard",
|
1691
|
+
"isDeprecated": false,
|
1692
|
+
"deprecationReason": null
|
1693
|
+
}
|
1694
|
+
],
|
1695
|
+
"possibleTypes": null
|
1696
|
+
},
|
1697
|
+
{
|
1698
|
+
"kind": "OBJECT",
|
1699
|
+
"name": "__Schema",
|
1700
|
+
"description": "A GraphQL Introspection defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, the entry points for query, mutation, and subscription operations.",
|
1701
|
+
"fields": [
|
1702
|
+
{
|
1703
|
+
"name": "types",
|
1704
|
+
"description": "A list of all types supported by this server.",
|
1705
|
+
"args": [
|
1706
|
+
|
1707
|
+
],
|
1708
|
+
"type": {
|
1709
|
+
"kind": "NON_NULL",
|
1710
|
+
"name": null,
|
1711
|
+
"ofType": {
|
1712
|
+
"kind": "LIST",
|
1713
|
+
"name": null,
|
1714
|
+
"ofType": {
|
1715
|
+
"kind": "NON_NULL",
|
1716
|
+
"name": null,
|
1717
|
+
"ofType": {
|
1718
|
+
"kind": "OBJECT",
|
1719
|
+
"name": "__Type"
|
1720
|
+
}
|
1721
|
+
}
|
1722
|
+
}
|
1723
|
+
},
|
1724
|
+
"isDeprecated": false,
|
1725
|
+
"deprecationReason": null
|
1726
|
+
},
|
1727
|
+
{
|
1728
|
+
"name": "queryType",
|
1729
|
+
"description": "The type that query operations will be rooted at.",
|
1730
|
+
"args": [
|
1731
|
+
|
1732
|
+
],
|
1733
|
+
"type": {
|
1734
|
+
"kind": "NON_NULL",
|
1735
|
+
"name": null,
|
1736
|
+
"ofType": {
|
1737
|
+
"kind": "OBJECT",
|
1738
|
+
"name": "__Type",
|
1739
|
+
"ofType": null
|
1740
|
+
}
|
1741
|
+
},
|
1742
|
+
"isDeprecated": false,
|
1743
|
+
"deprecationReason": null
|
1744
|
+
},
|
1745
|
+
{
|
1746
|
+
"name": "mutationType",
|
1747
|
+
"description": "If this server supports mutation, the type that mutation operations will be rooted at.",
|
1748
|
+
"args": [
|
1749
|
+
|
1750
|
+
],
|
1751
|
+
"type": {
|
1752
|
+
"kind": "OBJECT",
|
1753
|
+
"name": "__Type",
|
1754
|
+
"ofType": null
|
1755
|
+
},
|
1756
|
+
"isDeprecated": false,
|
1757
|
+
"deprecationReason": null
|
1758
|
+
},
|
1759
|
+
{
|
1760
|
+
"name": "directives",
|
1761
|
+
"description": "'A list of all directives supported by this server.",
|
1762
|
+
"args": [
|
1763
|
+
|
1764
|
+
],
|
1765
|
+
"type": {
|
1766
|
+
"kind": "NON_NULL",
|
1767
|
+
"name": null,
|
1768
|
+
"ofType": {
|
1769
|
+
"kind": "LIST",
|
1770
|
+
"name": null,
|
1771
|
+
"ofType": {
|
1772
|
+
"kind": "NON_NULL",
|
1773
|
+
"name": null,
|
1774
|
+
"ofType": {
|
1775
|
+
"kind": "OBJECT",
|
1776
|
+
"name": "__Directive"
|
1777
|
+
}
|
1778
|
+
}
|
1779
|
+
}
|
1780
|
+
},
|
1781
|
+
"isDeprecated": false,
|
1782
|
+
"deprecationReason": null
|
1783
|
+
},
|
1784
|
+
{
|
1785
|
+
"name": "subscriptionType",
|
1786
|
+
"description": "'If this server support subscription, the type that subscription operations will be rooted at.",
|
1787
|
+
"args": [
|
1788
|
+
|
1789
|
+
],
|
1790
|
+
"type": {
|
1791
|
+
"kind": "OBJECT",
|
1792
|
+
"name": "__Type",
|
1793
|
+
"ofType": null
|
1794
|
+
},
|
1795
|
+
"isDeprecated": false,
|
1796
|
+
"deprecationReason": null
|
1797
|
+
}
|
1798
|
+
],
|
1799
|
+
"inputFields": null,
|
1800
|
+
"interfaces": [
|
1801
|
+
|
1802
|
+
],
|
1803
|
+
"enumValues": null,
|
1804
|
+
"possibleTypes": null
|
1805
|
+
},
|
1806
|
+
{
|
1807
|
+
"kind": "OBJECT",
|
1808
|
+
"name": "__Type",
|
1809
|
+
"description": null,
|
1810
|
+
"fields": [
|
1811
|
+
{
|
1812
|
+
"name": "kind",
|
1813
|
+
"description": null,
|
1814
|
+
"args": [
|
1815
|
+
|
1816
|
+
],
|
1817
|
+
"type": {
|
1818
|
+
"kind": "NON_NULL",
|
1819
|
+
"name": null,
|
1820
|
+
"ofType": {
|
1821
|
+
"kind": "ENUM",
|
1822
|
+
"name": "__TypeKind",
|
1823
|
+
"ofType": null
|
1824
|
+
}
|
1825
|
+
},
|
1826
|
+
"isDeprecated": false,
|
1827
|
+
"deprecationReason": null
|
1828
|
+
},
|
1829
|
+
{
|
1830
|
+
"name": "name",
|
1831
|
+
"description": null,
|
1832
|
+
"args": [
|
1833
|
+
|
1834
|
+
],
|
1835
|
+
"type": {
|
1836
|
+
"kind": "SCALAR",
|
1837
|
+
"name": "String",
|
1838
|
+
"ofType": null
|
1839
|
+
},
|
1840
|
+
"isDeprecated": false,
|
1841
|
+
"deprecationReason": null
|
1842
|
+
},
|
1843
|
+
{
|
1844
|
+
"name": "description",
|
1845
|
+
"description": null,
|
1846
|
+
"args": [
|
1847
|
+
|
1848
|
+
],
|
1849
|
+
"type": {
|
1850
|
+
"kind": "SCALAR",
|
1851
|
+
"name": "String",
|
1852
|
+
"ofType": null
|
1853
|
+
},
|
1854
|
+
"isDeprecated": false,
|
1855
|
+
"deprecationReason": null
|
1856
|
+
},
|
1857
|
+
{
|
1858
|
+
"name": "fields",
|
1859
|
+
"description": null,
|
1860
|
+
"args": [
|
1861
|
+
{
|
1862
|
+
"name": "includeDeprecated",
|
1863
|
+
"description": null,
|
1864
|
+
"type": {
|
1865
|
+
"kind": "SCALAR",
|
1866
|
+
"name": "Boolean",
|
1867
|
+
"ofType": null
|
1868
|
+
},
|
1869
|
+
"defaultValue": "false"
|
1870
|
+
}
|
1871
|
+
],
|
1872
|
+
"type": {
|
1873
|
+
"kind": "LIST",
|
1874
|
+
"name": null,
|
1875
|
+
"ofType": {
|
1876
|
+
"kind": "NON_NULL",
|
1877
|
+
"name": null,
|
1878
|
+
"ofType": {
|
1879
|
+
"kind": "OBJECT",
|
1880
|
+
"name": "__Field",
|
1881
|
+
"ofType": null
|
1882
|
+
}
|
1883
|
+
}
|
1884
|
+
},
|
1885
|
+
"isDeprecated": false,
|
1886
|
+
"deprecationReason": null
|
1887
|
+
},
|
1888
|
+
{
|
1889
|
+
"name": "interfaces",
|
1890
|
+
"description": null,
|
1891
|
+
"args": [
|
1892
|
+
|
1893
|
+
],
|
1894
|
+
"type": {
|
1895
|
+
"kind": "LIST",
|
1896
|
+
"name": null,
|
1897
|
+
"ofType": {
|
1898
|
+
"kind": "NON_NULL",
|
1899
|
+
"name": null,
|
1900
|
+
"ofType": {
|
1901
|
+
"kind": "OBJECT",
|
1902
|
+
"name": "__Type",
|
1903
|
+
"ofType": null
|
1904
|
+
}
|
1905
|
+
}
|
1906
|
+
},
|
1907
|
+
"isDeprecated": false,
|
1908
|
+
"deprecationReason": null
|
1909
|
+
},
|
1910
|
+
{
|
1911
|
+
"name": "possibleTypes",
|
1912
|
+
"description": null,
|
1913
|
+
"args": [
|
1914
|
+
|
1915
|
+
],
|
1916
|
+
"type": {
|
1917
|
+
"kind": "LIST",
|
1918
|
+
"name": null,
|
1919
|
+
"ofType": {
|
1920
|
+
"kind": "NON_NULL",
|
1921
|
+
"name": null,
|
1922
|
+
"ofType": {
|
1923
|
+
"kind": "OBJECT",
|
1924
|
+
"name": "__Type",
|
1925
|
+
"ofType": null
|
1926
|
+
}
|
1927
|
+
}
|
1928
|
+
},
|
1929
|
+
"isDeprecated": false,
|
1930
|
+
"deprecationReason": null
|
1931
|
+
},
|
1932
|
+
{
|
1933
|
+
"name": "enumValues",
|
1934
|
+
"description": null,
|
1935
|
+
"args": [
|
1936
|
+
{
|
1937
|
+
"name": "includeDeprecated",
|
1938
|
+
"description": null,
|
1939
|
+
"type": {
|
1940
|
+
"kind": "SCALAR",
|
1941
|
+
"name": "Boolean",
|
1942
|
+
"ofType": null
|
1943
|
+
},
|
1944
|
+
"defaultValue": "false"
|
1945
|
+
}
|
1946
|
+
],
|
1947
|
+
"type": {
|
1948
|
+
"kind": "LIST",
|
1949
|
+
"name": null,
|
1950
|
+
"ofType": {
|
1951
|
+
"kind": "NON_NULL",
|
1952
|
+
"name": null,
|
1953
|
+
"ofType": {
|
1954
|
+
"kind": "OBJECT",
|
1955
|
+
"name": "__EnumValue",
|
1956
|
+
"ofType": null
|
1957
|
+
}
|
1958
|
+
}
|
1959
|
+
},
|
1960
|
+
"isDeprecated": false,
|
1961
|
+
"deprecationReason": null
|
1962
|
+
},
|
1963
|
+
{
|
1964
|
+
"name": "inputFields",
|
1965
|
+
"description": null,
|
1966
|
+
"args": [
|
1967
|
+
|
1968
|
+
],
|
1969
|
+
"type": {
|
1970
|
+
"kind": "LIST",
|
1971
|
+
"name": null,
|
1972
|
+
"ofType": {
|
1973
|
+
"kind": "NON_NULL",
|
1974
|
+
"name": null,
|
1975
|
+
"ofType": {
|
1976
|
+
"kind": "OBJECT",
|
1977
|
+
"name": "__InputValue",
|
1978
|
+
"ofType": null
|
1979
|
+
}
|
1980
|
+
}
|
1981
|
+
},
|
1982
|
+
"isDeprecated": false,
|
1983
|
+
"deprecationReason": null
|
1984
|
+
},
|
1985
|
+
{
|
1986
|
+
"name": "ofType",
|
1987
|
+
"description": null,
|
1988
|
+
"args": [
|
1989
|
+
|
1990
|
+
],
|
1991
|
+
"type": {
|
1992
|
+
"kind": "OBJECT",
|
1993
|
+
"name": "__Type",
|
1994
|
+
"ofType": null
|
1995
|
+
},
|
1996
|
+
"isDeprecated": false,
|
1997
|
+
"deprecationReason": null
|
1998
|
+
}
|
1999
|
+
],
|
2000
|
+
"inputFields": null,
|
2001
|
+
"interfaces": [
|
2002
|
+
|
2003
|
+
],
|
2004
|
+
"enumValues": null,
|
2005
|
+
"possibleTypes": null
|
2006
|
+
},
|
2007
|
+
{
|
2008
|
+
"kind": "ENUM",
|
2009
|
+
"name": "__TypeKind",
|
2010
|
+
"description": "An enum describing what kind of type a given __Type is",
|
2011
|
+
"fields": null,
|
2012
|
+
"inputFields": null,
|
2013
|
+
"interfaces": null,
|
2014
|
+
"enumValues": [
|
2015
|
+
{
|
2016
|
+
"name": "SCALAR",
|
2017
|
+
"description": "Indicates this type is a scalar.",
|
2018
|
+
"isDeprecated": false,
|
2019
|
+
"deprecationReason": null
|
2020
|
+
},
|
2021
|
+
{
|
2022
|
+
"name": "OBJECT",
|
2023
|
+
"description": "Indicates this type is an object. `fields` and `interfaces` are valid fields.",
|
2024
|
+
"isDeprecated": false,
|
2025
|
+
"deprecationReason": null
|
2026
|
+
},
|
2027
|
+
{
|
2028
|
+
"name": "INTERFACE",
|
2029
|
+
"description": "Indicates this type is an interface. `fields` and `possibleTypes` are valid fields.",
|
2030
|
+
"isDeprecated": false,
|
2031
|
+
"deprecationReason": null
|
2032
|
+
},
|
2033
|
+
{
|
2034
|
+
"name": "UNION",
|
2035
|
+
"description": "Indicates this type is a union. `possibleTypes` is a valid field.",
|
2036
|
+
"isDeprecated": false,
|
2037
|
+
"deprecationReason": null
|
2038
|
+
},
|
2039
|
+
{
|
2040
|
+
"name": "ENUM",
|
2041
|
+
"description": "Indicates this type is an enum. `enumValues` is a valid field.",
|
2042
|
+
"isDeprecated": false,
|
2043
|
+
"deprecationReason": null
|
2044
|
+
},
|
2045
|
+
{
|
2046
|
+
"name": "INPUT_OBJECT",
|
2047
|
+
"description": "Indicates this type is an input object. `inputFields` is a valid field.",
|
2048
|
+
"isDeprecated": false,
|
2049
|
+
"deprecationReason": null
|
2050
|
+
},
|
2051
|
+
{
|
2052
|
+
"name": "LIST",
|
2053
|
+
"description": "Indicates this type is a list. `ofType` is a valid field.",
|
2054
|
+
"isDeprecated": false,
|
2055
|
+
"deprecationReason": null
|
2056
|
+
},
|
2057
|
+
{
|
2058
|
+
"name": "NON_NULL",
|
2059
|
+
"description": "Indicates this type is a non-null. `ofType` is a valid field.",
|
2060
|
+
"isDeprecated": false,
|
2061
|
+
"deprecationReason": null
|
2062
|
+
}
|
2063
|
+
],
|
2064
|
+
"possibleTypes": null
|
2065
|
+
},
|
2066
|
+
{
|
2067
|
+
"kind": "OBJECT",
|
2068
|
+
"name": "__Field",
|
2069
|
+
"description": null,
|
2070
|
+
"fields": [
|
2071
|
+
{
|
2072
|
+
"name": "name",
|
2073
|
+
"description": null,
|
2074
|
+
"args": [
|
2075
|
+
|
2076
|
+
],
|
2077
|
+
"type": {
|
2078
|
+
"kind": "NON_NULL",
|
2079
|
+
"name": null,
|
2080
|
+
"ofType": {
|
2081
|
+
"kind": "SCALAR",
|
2082
|
+
"name": "String",
|
2083
|
+
"ofType": null
|
2084
|
+
}
|
2085
|
+
},
|
2086
|
+
"isDeprecated": false,
|
2087
|
+
"deprecationReason": null
|
2088
|
+
},
|
2089
|
+
{
|
2090
|
+
"name": "description",
|
2091
|
+
"description": null,
|
2092
|
+
"args": [
|
2093
|
+
|
2094
|
+
],
|
2095
|
+
"type": {
|
2096
|
+
"kind": "SCALAR",
|
2097
|
+
"name": "String",
|
2098
|
+
"ofType": null
|
2099
|
+
},
|
2100
|
+
"isDeprecated": false,
|
2101
|
+
"deprecationReason": null
|
2102
|
+
},
|
2103
|
+
{
|
2104
|
+
"name": "args",
|
2105
|
+
"description": null,
|
2106
|
+
"args": [
|
2107
|
+
|
2108
|
+
],
|
2109
|
+
"type": {
|
2110
|
+
"kind": "NON_NULL",
|
2111
|
+
"name": null,
|
2112
|
+
"ofType": {
|
2113
|
+
"kind": "LIST",
|
2114
|
+
"name": null,
|
2115
|
+
"ofType": {
|
2116
|
+
"kind": "NON_NULL",
|
2117
|
+
"name": null,
|
2118
|
+
"ofType": {
|
2119
|
+
"kind": "OBJECT",
|
2120
|
+
"name": "__InputValue"
|
2121
|
+
}
|
2122
|
+
}
|
2123
|
+
}
|
2124
|
+
},
|
2125
|
+
"isDeprecated": false,
|
2126
|
+
"deprecationReason": null
|
2127
|
+
},
|
2128
|
+
{
|
2129
|
+
"name": "type",
|
2130
|
+
"description": null,
|
2131
|
+
"args": [
|
2132
|
+
|
2133
|
+
],
|
2134
|
+
"type": {
|
2135
|
+
"kind": "NON_NULL",
|
2136
|
+
"name": null,
|
2137
|
+
"ofType": {
|
2138
|
+
"kind": "OBJECT",
|
2139
|
+
"name": "__Type",
|
2140
|
+
"ofType": null
|
2141
|
+
}
|
2142
|
+
},
|
2143
|
+
"isDeprecated": false,
|
2144
|
+
"deprecationReason": null
|
2145
|
+
},
|
2146
|
+
{
|
2147
|
+
"name": "isDeprecated",
|
2148
|
+
"description": null,
|
2149
|
+
"args": [
|
2150
|
+
|
2151
|
+
],
|
2152
|
+
"type": {
|
2153
|
+
"kind": "NON_NULL",
|
2154
|
+
"name": null,
|
2155
|
+
"ofType": {
|
2156
|
+
"kind": "SCALAR",
|
2157
|
+
"name": "Boolean",
|
2158
|
+
"ofType": null
|
2159
|
+
}
|
2160
|
+
},
|
2161
|
+
"isDeprecated": false,
|
2162
|
+
"deprecationReason": null
|
2163
|
+
},
|
2164
|
+
{
|
2165
|
+
"name": "deprecationReason",
|
2166
|
+
"description": null,
|
2167
|
+
"args": [
|
2168
|
+
|
2169
|
+
],
|
2170
|
+
"type": {
|
2171
|
+
"kind": "SCALAR",
|
2172
|
+
"name": "String",
|
2173
|
+
"ofType": null
|
2174
|
+
},
|
2175
|
+
"isDeprecated": false,
|
2176
|
+
"deprecationReason": null
|
2177
|
+
}
|
2178
|
+
],
|
2179
|
+
"inputFields": null,
|
2180
|
+
"interfaces": [
|
2181
|
+
|
2182
|
+
],
|
2183
|
+
"enumValues": null,
|
2184
|
+
"possibleTypes": null
|
2185
|
+
},
|
2186
|
+
{
|
2187
|
+
"kind": "OBJECT",
|
2188
|
+
"name": "__InputValue",
|
2189
|
+
"description": null,
|
2190
|
+
"fields": [
|
2191
|
+
{
|
2192
|
+
"name": "name",
|
2193
|
+
"description": null,
|
2194
|
+
"args": [
|
2195
|
+
|
2196
|
+
],
|
2197
|
+
"type": {
|
2198
|
+
"kind": "NON_NULL",
|
2199
|
+
"name": null,
|
2200
|
+
"ofType": {
|
2201
|
+
"kind": "SCALAR",
|
2202
|
+
"name": "String",
|
2203
|
+
"ofType": null
|
2204
|
+
}
|
2205
|
+
},
|
2206
|
+
"isDeprecated": false,
|
2207
|
+
"deprecationReason": null
|
2208
|
+
},
|
2209
|
+
{
|
2210
|
+
"name": "description",
|
2211
|
+
"description": null,
|
2212
|
+
"args": [
|
2213
|
+
|
2214
|
+
],
|
2215
|
+
"type": {
|
2216
|
+
"kind": "SCALAR",
|
2217
|
+
"name": "String",
|
2218
|
+
"ofType": null
|
2219
|
+
},
|
2220
|
+
"isDeprecated": false,
|
2221
|
+
"deprecationReason": null
|
2222
|
+
},
|
2223
|
+
{
|
2224
|
+
"name": "type",
|
2225
|
+
"description": null,
|
2226
|
+
"args": [
|
2227
|
+
|
2228
|
+
],
|
2229
|
+
"type": {
|
2230
|
+
"kind": "NON_NULL",
|
2231
|
+
"name": null,
|
2232
|
+
"ofType": {
|
2233
|
+
"kind": "OBJECT",
|
2234
|
+
"name": "__Type",
|
2235
|
+
"ofType": null
|
2236
|
+
}
|
2237
|
+
},
|
2238
|
+
"isDeprecated": false,
|
2239
|
+
"deprecationReason": null
|
2240
|
+
},
|
2241
|
+
{
|
2242
|
+
"name": "defaultValue",
|
2243
|
+
"description": null,
|
2244
|
+
"args": [
|
2245
|
+
|
2246
|
+
],
|
2247
|
+
"type": {
|
2248
|
+
"kind": "SCALAR",
|
2249
|
+
"name": "String",
|
2250
|
+
"ofType": null
|
2251
|
+
},
|
2252
|
+
"isDeprecated": false,
|
2253
|
+
"deprecationReason": null
|
2254
|
+
}
|
2255
|
+
],
|
2256
|
+
"inputFields": null,
|
2257
|
+
"interfaces": [
|
2258
|
+
|
2259
|
+
],
|
2260
|
+
"enumValues": null,
|
2261
|
+
"possibleTypes": null
|
2262
|
+
},
|
2263
|
+
{
|
2264
|
+
"kind": "SCALAR",
|
2265
|
+
"name": "Boolean",
|
2266
|
+
"description": "Built-in Boolean",
|
2267
|
+
"fields": null,
|
2268
|
+
"inputFields": null,
|
2269
|
+
"interfaces": null,
|
2270
|
+
"enumValues": null,
|
2271
|
+
"possibleTypes": null
|
2272
|
+
},
|
2273
|
+
{
|
2274
|
+
"kind": "OBJECT",
|
2275
|
+
"name": "__EnumValue",
|
2276
|
+
"description": null,
|
2277
|
+
"fields": [
|
2278
|
+
{
|
2279
|
+
"name": "name",
|
2280
|
+
"description": null,
|
2281
|
+
"args": [
|
2282
|
+
|
2283
|
+
],
|
2284
|
+
"type": {
|
2285
|
+
"kind": "NON_NULL",
|
2286
|
+
"name": null,
|
2287
|
+
"ofType": {
|
2288
|
+
"kind": "SCALAR",
|
2289
|
+
"name": "String",
|
2290
|
+
"ofType": null
|
2291
|
+
}
|
2292
|
+
},
|
2293
|
+
"isDeprecated": false,
|
2294
|
+
"deprecationReason": null
|
2295
|
+
},
|
2296
|
+
{
|
2297
|
+
"name": "description",
|
2298
|
+
"description": null,
|
2299
|
+
"args": [
|
2300
|
+
|
2301
|
+
],
|
2302
|
+
"type": {
|
2303
|
+
"kind": "SCALAR",
|
2304
|
+
"name": "String",
|
2305
|
+
"ofType": null
|
2306
|
+
},
|
2307
|
+
"isDeprecated": false,
|
2308
|
+
"deprecationReason": null
|
2309
|
+
},
|
2310
|
+
{
|
2311
|
+
"name": "isDeprecated",
|
2312
|
+
"description": null,
|
2313
|
+
"args": [
|
2314
|
+
|
2315
|
+
],
|
2316
|
+
"type": {
|
2317
|
+
"kind": "NON_NULL",
|
2318
|
+
"name": null,
|
2319
|
+
"ofType": {
|
2320
|
+
"kind": "SCALAR",
|
2321
|
+
"name": "Boolean",
|
2322
|
+
"ofType": null
|
2323
|
+
}
|
2324
|
+
},
|
2325
|
+
"isDeprecated": false,
|
2326
|
+
"deprecationReason": null
|
2327
|
+
},
|
2328
|
+
{
|
2329
|
+
"name": "deprecationReason",
|
2330
|
+
"description": null,
|
2331
|
+
"args": [
|
2332
|
+
|
2333
|
+
],
|
2334
|
+
"type": {
|
2335
|
+
"kind": "SCALAR",
|
2336
|
+
"name": "String",
|
2337
|
+
"ofType": null
|
2338
|
+
},
|
2339
|
+
"isDeprecated": false,
|
2340
|
+
"deprecationReason": null
|
2341
|
+
}
|
2342
|
+
],
|
2343
|
+
"inputFields": null,
|
2344
|
+
"interfaces": [
|
2345
|
+
|
2346
|
+
],
|
2347
|
+
"enumValues": null,
|
2348
|
+
"possibleTypes": null
|
2349
|
+
},
|
2350
|
+
{
|
2351
|
+
"kind": "OBJECT",
|
2352
|
+
"name": "__Directive",
|
2353
|
+
"description": null,
|
2354
|
+
"fields": [
|
2355
|
+
{
|
2356
|
+
"name": "name",
|
2357
|
+
"description": null,
|
2358
|
+
"args": [
|
2359
|
+
|
2360
|
+
],
|
2361
|
+
"type": {
|
2362
|
+
"kind": "SCALAR",
|
2363
|
+
"name": "String",
|
2364
|
+
"ofType": null
|
2365
|
+
},
|
2366
|
+
"isDeprecated": false,
|
2367
|
+
"deprecationReason": null
|
2368
|
+
},
|
2369
|
+
{
|
2370
|
+
"name": "description",
|
2371
|
+
"description": null,
|
2372
|
+
"args": [
|
2373
|
+
|
2374
|
+
],
|
2375
|
+
"type": {
|
2376
|
+
"kind": "SCALAR",
|
2377
|
+
"name": "String",
|
2378
|
+
"ofType": null
|
2379
|
+
},
|
2380
|
+
"isDeprecated": false,
|
2381
|
+
"deprecationReason": null
|
2382
|
+
},
|
2383
|
+
{
|
2384
|
+
"name": "locations",
|
2385
|
+
"description": null,
|
2386
|
+
"args": [
|
2387
|
+
|
2388
|
+
],
|
2389
|
+
"type": {
|
2390
|
+
"kind": "LIST",
|
2391
|
+
"name": null,
|
2392
|
+
"ofType": {
|
2393
|
+
"kind": "NON_NULL",
|
2394
|
+
"name": null,
|
2395
|
+
"ofType": {
|
2396
|
+
"kind": "ENUM",
|
2397
|
+
"name": "__DirectiveLocation",
|
2398
|
+
"ofType": null
|
2399
|
+
}
|
2400
|
+
}
|
2401
|
+
},
|
2402
|
+
"isDeprecated": false,
|
2403
|
+
"deprecationReason": null
|
2404
|
+
},
|
2405
|
+
{
|
2406
|
+
"name": "args",
|
2407
|
+
"description": null,
|
2408
|
+
"args": [
|
2409
|
+
|
2410
|
+
],
|
2411
|
+
"type": {
|
2412
|
+
"kind": "NON_NULL",
|
2413
|
+
"name": null,
|
2414
|
+
"ofType": {
|
2415
|
+
"kind": "LIST",
|
2416
|
+
"name": null,
|
2417
|
+
"ofType": {
|
2418
|
+
"kind": "NON_NULL",
|
2419
|
+
"name": null,
|
2420
|
+
"ofType": {
|
2421
|
+
"kind": "OBJECT",
|
2422
|
+
"name": "__InputValue"
|
2423
|
+
}
|
2424
|
+
}
|
2425
|
+
}
|
2426
|
+
},
|
2427
|
+
"isDeprecated": false,
|
2428
|
+
"deprecationReason": null
|
2429
|
+
},
|
2430
|
+
{
|
2431
|
+
"name": "onOperation",
|
2432
|
+
"description": null,
|
2433
|
+
"args": [
|
2434
|
+
|
2435
|
+
],
|
2436
|
+
"type": {
|
2437
|
+
"kind": "SCALAR",
|
2438
|
+
"name": "Boolean",
|
2439
|
+
"ofType": null
|
2440
|
+
},
|
2441
|
+
"isDeprecated": true,
|
2442
|
+
"deprecationReason": "Use `locations`."
|
2443
|
+
},
|
2444
|
+
{
|
2445
|
+
"name": "onFragment",
|
2446
|
+
"description": null,
|
2447
|
+
"args": [
|
2448
|
+
|
2449
|
+
],
|
2450
|
+
"type": {
|
2451
|
+
"kind": "SCALAR",
|
2452
|
+
"name": "Boolean",
|
2453
|
+
"ofType": null
|
2454
|
+
},
|
2455
|
+
"isDeprecated": true,
|
2456
|
+
"deprecationReason": "Use `locations`."
|
2457
|
+
},
|
2458
|
+
{
|
2459
|
+
"name": "onField",
|
2460
|
+
"description": null,
|
2461
|
+
"args": [
|
2462
|
+
|
2463
|
+
],
|
2464
|
+
"type": {
|
2465
|
+
"kind": "SCALAR",
|
2466
|
+
"name": "Boolean",
|
2467
|
+
"ofType": null
|
2468
|
+
},
|
2469
|
+
"isDeprecated": true,
|
2470
|
+
"deprecationReason": "Use `locations`."
|
2471
|
+
}
|
2472
|
+
],
|
2473
|
+
"inputFields": null,
|
2474
|
+
"interfaces": [
|
2475
|
+
|
2476
|
+
],
|
2477
|
+
"enumValues": null,
|
2478
|
+
"possibleTypes": null
|
2479
|
+
},
|
2480
|
+
{
|
2481
|
+
"kind": "ENUM",
|
2482
|
+
"name": "__DirectiveLocation",
|
2483
|
+
"description": "An enum describing valid locations where a directive can be placed",
|
2484
|
+
"fields": null,
|
2485
|
+
"inputFields": null,
|
2486
|
+
"interfaces": null,
|
2487
|
+
"enumValues": [
|
2488
|
+
{
|
2489
|
+
"name": "QUERY",
|
2490
|
+
"description": "Indicates the directive is valid on queries.",
|
2491
|
+
"isDeprecated": false,
|
2492
|
+
"deprecationReason": null
|
2493
|
+
},
|
2494
|
+
{
|
2495
|
+
"name": "MUTATION",
|
2496
|
+
"description": "Indicates the directive is valid on mutations.",
|
2497
|
+
"isDeprecated": false,
|
2498
|
+
"deprecationReason": null
|
2499
|
+
},
|
2500
|
+
{
|
2501
|
+
"name": "FIELD",
|
2502
|
+
"description": "Indicates the directive is valid on fields.",
|
2503
|
+
"isDeprecated": false,
|
2504
|
+
"deprecationReason": null
|
2505
|
+
},
|
2506
|
+
{
|
2507
|
+
"name": "FRAGMENT_DEFINITION",
|
2508
|
+
"description": "Indicates the directive is valid on fragment definitions.",
|
2509
|
+
"isDeprecated": false,
|
2510
|
+
"deprecationReason": null
|
2511
|
+
},
|
2512
|
+
{
|
2513
|
+
"name": "FRAGMENT_SPREAD",
|
2514
|
+
"description": "Indicates the directive is valid on fragment spreads.",
|
2515
|
+
"isDeprecated": false,
|
2516
|
+
"deprecationReason": null
|
2517
|
+
},
|
2518
|
+
{
|
2519
|
+
"name": "INLINE_FRAGMENT",
|
2520
|
+
"description": "Indicates the directive is valid on inline fragments.",
|
2521
|
+
"isDeprecated": false,
|
2522
|
+
"deprecationReason": null
|
2523
|
+
},
|
2524
|
+
{
|
2525
|
+
"name": "SCHEMA",
|
2526
|
+
"description": "Indicates the directive is valid on a schema IDL definition.",
|
2527
|
+
"isDeprecated": false,
|
2528
|
+
"deprecationReason": null
|
2529
|
+
},
|
2530
|
+
{
|
2531
|
+
"name": "SCALAR",
|
2532
|
+
"description": "Indicates the directive is valid on a scalar IDL definition.",
|
2533
|
+
"isDeprecated": false,
|
2534
|
+
"deprecationReason": null
|
2535
|
+
},
|
2536
|
+
{
|
2537
|
+
"name": "OBJECT",
|
2538
|
+
"description": "Indicates the directive is valid on an object IDL definition.",
|
2539
|
+
"isDeprecated": false,
|
2540
|
+
"deprecationReason": null
|
2541
|
+
},
|
2542
|
+
{
|
2543
|
+
"name": "FIELD_DEFINITION",
|
2544
|
+
"description": "Indicates the directive is valid on a field IDL definition.",
|
2545
|
+
"isDeprecated": false,
|
2546
|
+
"deprecationReason": null
|
2547
|
+
},
|
2548
|
+
{
|
2549
|
+
"name": "ARGUMENT_DEFINITION",
|
2550
|
+
"description": "Indicates the directive is valid on a field argument IDL definition.",
|
2551
|
+
"isDeprecated": false,
|
2552
|
+
"deprecationReason": null
|
2553
|
+
},
|
2554
|
+
{
|
2555
|
+
"name": "INTERFACE",
|
2556
|
+
"description": "Indicates the directive is valid on an interface IDL definition.",
|
2557
|
+
"isDeprecated": false,
|
2558
|
+
"deprecationReason": null
|
2559
|
+
},
|
2560
|
+
{
|
2561
|
+
"name": "UNION",
|
2562
|
+
"description": "Indicates the directive is valid on an union IDL definition.",
|
2563
|
+
"isDeprecated": false,
|
2564
|
+
"deprecationReason": null
|
2565
|
+
},
|
2566
|
+
{
|
2567
|
+
"name": "ENUM",
|
2568
|
+
"description": "Indicates the directive is valid on an enum IDL definition.",
|
2569
|
+
"isDeprecated": false,
|
2570
|
+
"deprecationReason": null
|
2571
|
+
},
|
2572
|
+
{
|
2573
|
+
"name": "INPUT_OBJECT",
|
2574
|
+
"description": "Indicates the directive is valid on an input object IDL definition.",
|
2575
|
+
"isDeprecated": false,
|
2576
|
+
"deprecationReason": null
|
2577
|
+
},
|
2578
|
+
{
|
2579
|
+
"name": "INPUT_FIELD_DEFINITION",
|
2580
|
+
"description": "Indicates the directive is valid on an input object field IDL definition.",
|
2581
|
+
"isDeprecated": false,
|
2582
|
+
"deprecationReason": null
|
2583
|
+
}
|
2584
|
+
],
|
2585
|
+
"possibleTypes": null
|
2586
|
+
}
|
2587
|
+
],
|
2588
|
+
"directives": [
|
2589
|
+
{
|
2590
|
+
"name": "include",
|
2591
|
+
"description": "Directs the executor to include this field or fragment only when the `if` argument is true",
|
2592
|
+
"locations": [
|
2593
|
+
"FIELD",
|
2594
|
+
"FRAGMENT_SPREAD",
|
2595
|
+
"INLINE_FRAGMENT"
|
2596
|
+
],
|
2597
|
+
"args": [
|
2598
|
+
{
|
2599
|
+
"name": "if",
|
2600
|
+
"description": "Included when true.",
|
2601
|
+
"type": {
|
2602
|
+
"kind": "NON_NULL",
|
2603
|
+
"name": null,
|
2604
|
+
"ofType": {
|
2605
|
+
"kind": "SCALAR",
|
2606
|
+
"name": "Boolean",
|
2607
|
+
"ofType": null
|
2608
|
+
}
|
2609
|
+
},
|
2610
|
+
"defaultValue": null
|
2611
|
+
}
|
2612
|
+
]
|
2613
|
+
},
|
2614
|
+
{
|
2615
|
+
"name": "skip",
|
2616
|
+
"description": "Directs the executor to skip this field or fragment when the `if`'argument is true.",
|
2617
|
+
"locations": [
|
2618
|
+
"FIELD",
|
2619
|
+
"FRAGMENT_SPREAD",
|
2620
|
+
"INLINE_FRAGMENT"
|
2621
|
+
],
|
2622
|
+
"args": [
|
2623
|
+
{
|
2624
|
+
"name": "if",
|
2625
|
+
"description": "Skipped when true.",
|
2626
|
+
"type": {
|
2627
|
+
"kind": "NON_NULL",
|
2628
|
+
"name": null,
|
2629
|
+
"ofType": {
|
2630
|
+
"kind": "SCALAR",
|
2631
|
+
"name": "Boolean",
|
2632
|
+
"ofType": null
|
2633
|
+
}
|
2634
|
+
},
|
2635
|
+
"defaultValue": null
|
2636
|
+
}
|
2637
|
+
]
|
2638
|
+
}
|
2639
|
+
]
|
2640
|
+
}
|
2641
|
+
},
|
2642
|
+
"errors": [
|
2643
|
+
{
|
2644
|
+
"message": "Exception while fetching data (/__schema/types[8]/fields[5]/args[1]/defaultValue) : Invalid input for Enum 'StudentSortBy'. Unknown value 'CLASS_SERIAL_NO'",
|
2645
|
+
"locations": [
|
2646
|
+
{
|
2647
|
+
"line": 58,
|
2648
|
+
"column": 5
|
2649
|
+
}
|
2650
|
+
],
|
2651
|
+
"path": [
|
2652
|
+
"__schema",
|
2653
|
+
"types",
|
2654
|
+
8,
|
2655
|
+
"fields",
|
2656
|
+
5,
|
2657
|
+
"args",
|
2658
|
+
1,
|
2659
|
+
"defaultValue"
|
2660
|
+
]
|
2661
|
+
}
|
2662
|
+
],
|
2663
|
+
"http_status": 200
|
2664
|
+
}
|