-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.graphql
997 lines (845 loc) · 22.6 KB
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
type Activity implements Node {
# The ID of an object
id: ID!
user_id: ID!
date: String!
activity_link: String!
type: String!
type_desc: String
content: String!
}
# A connection to a list of items.
type ActivityConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [ActivityEdge]
}
# An edge in a connection.
type ActivityEdge {
# The item at the end of the edge
node: Activity
# A cursor for use in pagination
cursor: String!
}
# Authentication strategy object, provides a flexible structure for various auth methods
type AuthStrategy implements Node {
# The ID of an object
id: ID!
auth_id: ID!
email: String
method: String!
version: String!
}
# A connection to a list of items.
type AuthStrategyConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [AuthStrategyEdge]
}
# An edge in a connection.
type AuthStrategyEdge {
# The item at the end of the edge
node: AuthStrategy
# A cursor for use in pagination
cursor: String!
}
# Operation Completion Report
type CompletionObj {
code: String
msg: String
msg_id: String
processed: Int
modified: Int
}
# EXLskills course
type Course implements Node {
# The ID of an object
id: ID!
title: String!
headline: String!
description: String!
organization_ids: [ID]
primary_locale: String
logo_url: String!
cover_url: String!
is_published: Boolean!
is_organization_only: Boolean!
subscription_level: Int!
# Course units
units(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): CourseUnitConnection
topics: [String]
enrolled_count: Int!
view_count: Int!
info_md: String!
repo_url: String
verified_cert_cost: Float
skill_level: Int
est_minutes: Int
primary_topic: String
last_accessed_at: String
last_accessed_unit: String
last_accessed_section: String
last_accessed_card: String
delivery_methods: [String]
instructor_timekit: InstructorTimekit
weight: Float
}
# A connection to a list of items.
type CourseConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [CourseEdge]
}
# Course Delivery Schedule
type CourseDeliverySchedule implements Node {
# The ID of an object
id: ID!
_id: String
delivery_methods: [String]
delivery_structure: String
course_duration: EventDuration
course_notes: String
session_info: [ScheduledRunSessionInfoType]
scheduled_runs: [ScheduledRunType]
}
# An edge in a connection.
type CourseEdge {
# The item at the end of the edge
node: Course
# A cursor for use in pagination
cursor: String!
}
enum CourseItem {
course
unit
section
card
}
type CourseItemHighlight {
inTitle: [String]
inHeadline: [String]
inText: [String]
inCode: [String]
}
# Unit of an EXLskills course
type CourseUnit implements Node {
# The ID of an object
id: ID!
index: Int
title: String
headline: String
# Units sections
sections(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): UnitSectionConnection
sections_list: [UnitSection]
has_exam: Boolean
final_exam_weight_pct: Float
attempts_left: Int
unit_progress_state: Int
ema: Float
grade: Float
is_continue_exam: Boolean
exam_attempt_id: String
# The ID of an object
exam_session_id: ID!
last_attempted_at: String
attempts: Int
passed: Boolean
}
# A connection to a list of items.
type CourseUnitConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [CourseUnitEdge]
}
# An edge in a connection.
type CourseUnitEdge {
# The item at the end of the edge
node: CourseUnit
# A cursor for use in pagination
cursor: String!
}
enum CudAction {
CREATE
UPDATE
DELETE
}
input DateRange {
date_from: DateTime
date_to: DateTime
}
# 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
# EXLskills Digital Diploma Program
type DigitalDiploma implements Node {
# The ID of an object
id: ID!
title: String!
headline: String!
description: String!
organization_ids: [ID]
primary_locale: String
logo_url: String!
cover_url: String!
is_published: Boolean!
topics: [String]
info_md: String!
skill_level: Int
est_minutes: Int
is_project: Boolean
primary_topic: String
instructor_timekit: InstructorTimekit
plans: [DigitalDiplomaPlan]
}
# A connection to a list of items.
type DigitalDiplomaConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [DigitalDiplomaEdge]
}
# An edge in a connection.
type DigitalDiplomaEdge {
# The item at the end of the edge
node: DigitalDiploma
# A cursor for use in pagination
cursor: String!
}
type DigitalDiplomaPlan {
_id: String
title: String
headline: String
cost: Float
is_hidden: Boolean
closes_at: String
opens_at: String
is_shipping_required: Boolean
}
# Event Duration
type EventDuration {
months: Int
weeks: Int
days: Int
hours: Int
minutes: Int
}
type Exam implements Node {
# The ID of an object
id: ID!
creator_id: ID!
question_ids: [ID]
tags: [String]
random_order: Boolean!
question_count: Int!
time_limit: Int
use_ide_test_mode: Boolean!
est_time: Int
}
# ExamSession
type ExamSession implements Node {
# The ID of an object
id: ID!
exam_id: ID!
user_id: ID!
course_unit_id: ID!
question_ids: [ID]
question_interaction_ids: [ID]!
started_at: String
is_active: Boolean
submitted_at: String
time_limit_exceeded: Boolean
}
input FieldCud {
field: String
valueToAssign: String
valueToFind: String
cudAction: CudAction
}
input FilterValues {
filterValuesString: String
}
input GenerateCourseBadgeInput {
course_id: ID!
badge_type: String
clientMutationId: String
}
type GenerateCourseBadgePayload {
badge_uid: String
completionObj: CompletionObj
clientMutationId: String
}
input GetCurrentExamQuestionAnswerInput {
exam_session_id: ID!
question_id: ID!
clientMutationId: String
}
type GetCurrentExamQuestionAnswerPayload {
submitted_at: DateTime
response_data: String
completionObj: CompletionObj
clientMutationId: String
}
type InstructorTimekit {
intervals: [TimekitInterval]
}
# Item Price
type ItemPriceType {
amount: Float
}
# Application Lang
type Lang implements Node {
# The ID of an object
id: ID!
label: String
value: String
}
type ListDef implements Node {
# The ID of an object
id: ID!
type: String!
value: String!
}
type Mutation {
readNotification(input: ReadNotificationInput!): ReadNotificationPayload
startExam(input: StartExamInput!): StartExamPayload
submitExam(input: SubmitExamInput!): SubmitExamPayload
submitAnswer(input: SubmitAnswerInput!): SubmitAnswerPayload
getCurrentExamQuestionAnswer(input: GetCurrentExamQuestionAnswerInput!): GetCurrentExamQuestionAnswerPayload
setCardQuestionAnswer(input: SubmitAnswerInput!): SubmitAnswerPayload
setExamQuestionAnswer(input: SetExamQuestionAnswerInput!): SetExamQuestionAnswerPayload
updateUserProfile(input: UpdateUserProfileInput!): UpdateUserProfilePayload
updateUserUnitStatus(input: UpdateUserUnitStatusInput!): UpdateUserUnitStatusPayload
updateUserCourseRole(input: UpdateUserCourseRoleInput!): UpdateUserCourseRolePayload
setCardInteraction(input: SetCardInteractionInput!): SetCardInteractionPayload
generateCourseBadge(input: GenerateCourseBadgeInput!): GenerateCourseBadgePayload
}
# NextQuestion
type NextQuestion {
course_id: String
section_id: String
unit_id: String
}
# An object with an ID
interface Node {
# The id of the object.
id: ID!
}
type notificationPaging {
notifications(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): UserNotificationConnection
}
input OrderBy {
field: String
direction: OrderByDirection
}
enum OrderByDirection {
DESC
ASC
}
# Information about pagination in a connection.
type PageInfo {
# When paginating forwards, are there more items?
hasNextPage: Boolean!
# When paginating backwards, are there more items?
hasPreviousPage: Boolean!
# When paginating backwards, the cursor to continue.
startCursor: String
# When paginating forwards, the cursor to continue.
endCursor: String
}
type Query {
# Fetches an object given its ID
node(
# The ID of an object
id: ID!
): Node
getDigitalDiplomaById(digital_diploma_id: String): DigitalDiploma
getCourseById(course_id: String): Course
courseById(course_id: String): Course
# Course Unit
courseUnit(course_id: String, unit_id: String): CourseUnit
getCourseDeliverySchedule(course_id: String, delivery_method: String, date_on_or_after: DateTime): CourseDeliverySchedule
courseDeliverySchedule(course_id: String, delivery_method: String, date_on_or_after: DateTime): CourseDeliverySchedule
# SectionCard Entry
cardEntry(course_id: ID!, unit_id: ID!, section_id: ID!, card_id: ID!): SectionCard
# SectionCard Entry
getCard(course_id: ID!, unit_id: ID!, section_id: ID!, card_id: ID!): SectionCard
# Card Entry by question ID
getCardByQuestion(question_id: String!): SectionCard
topicFilter: [ListDef]
getUserActivityCountByDate(dateRange: DateRange, activityTypes: [String]): [UserActivity]
getUserProfile(user_id: String): User
userProfile(user_id: String): User
examToTake(unit_id: String, course_id: String): Exam
examSession(unit_id: String): [ExamSession]
# Activities
listActivities(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], activityTypes: [String], dateRange: DateRange, listDefVersion: Int, after: String, first: Int, before: String, last: Int): ActivityConnection
# all Cards in the Section
listCards(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): SectionCardConnection
# all Courses in the database
coursePaging(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): CourseConnection
# all Courses in the database
listCourses(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): CourseConnection
# Text Docs for Matching Course Items
listTextMatchingCourseItems(searchText: String!, course_id: String, unit_id: String, section_id: String, orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): TextDocCourseItemConnection
langType: [Lang]
# Instructors
listInstructors(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], instructorTopics: [String], after: String, first: Int, before: String, last: Int): UserConnection
# Notifications for the logged in user
notificationPaging: notificationPaging
# Question Entry
getQuestionHint(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): Question
# Question Entry
questionHint(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): Question
# all Sections in the Unit
listSections(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): UnitSectionConnection
# all Units in the course
unitPaging(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): CourseUnitConnection
# all Units in the course
listUnits(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): CourseUnitConnection
# all DigitalDiplomas in the database
listDigitalDiplomas(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): DigitalDiplomaConnection
# User exam status for Course
userCourseUnitExamStatusPaging(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): CourseUnitConnection
}
input QueryResolverArgs {
param: String
value: String
}
type Question implements Node {
# The ID of an object
id: ID!
tags: [String]!
points: Int
est_time_sec: Int
compl_level: Int
question_type: String!
question_text: String!
data: QuestionData!
question_answer: String
hint: String
hint_exists: Boolean
# The ID of an object
card_id: ID!
}
# Question data for several question types
type QuestionData implements Node {
# The ID of an object
id: ID!
tmpl_files: String
environment_key: String
use_advanced_features: Boolean
explanation: String
src_files: String
options: [QuestionMultipleData]
}
# Question data for the `multiple_choice_single` and `multiple_choice_many` question types
type QuestionMultipleData implements Node {
# The ID of an object
id: ID!
seq: Int!
explanation: String!
is_answer: Boolean!
text: String!
}
input ReadNotificationInput {
notif_id: String!
clientMutationId: String
}
type ReadNotificationPayload {
completionObj: CompletionObj
clientMutationId: String
}
# Scheduled Run Session Info
type ScheduledRunSessionInfoType implements Node {
# The ID of an object
id: ID!
session_seq: Int
headline: String
desc: String
session_notes: String
}
# Scheduled Run Session
type ScheduledRunSessionType implements Node {
# The ID of an object
id: ID!
session_seq: Int
session_start_date: DateTime
_id: String
session_run_notes: String
instructors: [SessionInstructorType]
session_duration: EventDuration
}
# Scheduled Run
type ScheduledRunType implements Node {
# The ID of an object
id: ID!
run_start_date: DateTime
_id: String
offered_at_price: ItemPriceType
run_sessions: [ScheduledRunSessionType]
seat_purchased: Boolean
}
# Card of an EXLskills section
type SectionCard implements Node {
# The ID of an object
id: ID!
index: Int
title: String
headline: String
content_id: ID
tags: [String]
question_ids: [ID]
ema: Float
was_viewed: Boolean
github_edit_url: String
content: VersionedContentRecord
question: Question
questions: [Question]
# The ID of an object
currentCourseId: ID!
# The ID of an object
currentUnitId: ID!
# The ID of an object
currentSectionId: ID!
updated_at: DateTime
}
# A connection to a list of items.
type SectionCardConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [SectionCardEdge]
}
# An edge in a connection.
type SectionCardEdge {
# The item at the end of the edge
node: SectionCard
# A cursor for use in pagination
cursor: String!
}
# Session Instructor
type SessionInstructorType implements Node {
# The ID of an object
id: ID!
_id: String
full_name: String
username: String
avatar_url: String
headline: String
biography: String
}
input SetCardInteractionInput {
course_id: ID!
unit_id: ID!
section_id: ID
card_id: ID!
interaction: String
clientMutationId: String
}
type SetCardInteractionPayload {
completionObj: CompletionObj
clientMutationId: String
}
input SetExamQuestionAnswerInput {
exam_session_id: ID!
question_id: ID!
response_data: String
clientMutationId: String
}
type SetExamQuestionAnswerPayload {
completionObj: CompletionObj
clientMutationId: String
}
input StartExamInput {
courseId: ID!
unitId: ID!
clientMutationId: String
}
type StartExamPayload {
exam_session_id: String
exam_time_limit: Float
exam_id: String
completionObj: CompletionObj
clientMutationId: String
}
input SubmitAnswerInput {
exam_attempt_id: ID
question_id: ID!
response_data: String
checkAnswer: Boolean
quiz: Boolean
is_quiz_start: Boolean
is_last_question: Boolean
clientMutationId: String
}
type SubmitAnswerPayload {
is_correct: Boolean
explain_text: String
grading_response: String
completionObj: CompletionObj
next_question: NextQuestion
clientMutationId: String
}
input SubmitExamInput {
exam_session_id: ID!
clientMutationId: String
}
type SubmitExamPayload {
final_grade_pct: Float
pass_mark_pct: Int
completionObj: CompletionObj
clientMutationId: String
}
# A connection to a list of items.
type TextDocCourseItemConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [TextDocCourseItemEdge]
}
# An edge in a connection.
type TextDocCourseItemEdge {
# The item at the end of the edge
node: TextDocMatchedCourseItem
# A cursor for use in pagination
cursor: String!
}
# EXLskills Text Doc for Matched Course Item
type TextDocMatchedCourseItem implements Node {
# The ID of an object
id: ID!
score: Float
itemType: CourseItem
title: String
headline: String
highlights: CourseItemHighlight
course_id: String
unit_id: String
section_id: String
card_id: String
}
type TimekitInterval {
credits: Float
duration_seconds: Int
project_id: String
}
# Section of an EXLskills unit
type UnitSection implements Node {
# The ID of an object
id: ID!
index: Int
title: String
headline: String
ema: Float
cards_list: [SectionCard]
# Section cards
cards(orderBy: [OrderBy], filterValues: FilterValues, resolverArgs: [QueryResolverArgs], after: String, first: Int, before: String, last: Int): SectionCardConnection
}
# A connection to a list of items.
type UnitSectionConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [UnitSectionEdge]
}
# An edge in a connection.
type UnitSectionEdge {
# The item at the end of the edge
node: UnitSection
# A cursor for use in pagination
cursor: String!
}
input UpdateUserCourseRoleInput {
user_id: ID!
course_id: ID!
cudContent: [FieldCud]!
clientMutationId: String
}
type UpdateUserCourseRolePayload {
completionObj: CompletionObj
clientMutationId: String
}
input UpdateUserProfileInput {
locale: String
profile: UserProfileInput
clientMutationId: String
}
type UpdateUserProfilePayload {
completionObj: CompletionObj
clientMutationId: String
}
input UpdateUserUnitStatusInput {
unit_id: String
course_id: String
clientMutationId: String
}
type UpdateUserUnitStatusPayload {
completionObj: CompletionObj
clientMutationId: String
}
# Application user
type User implements Node {
# The ID of an object
id: ID!
full_name: String
username: String
primary_email: String
pwd: String
secondary_emails: [String]
biography: String
is_demo: Boolean
is_instructor: Boolean
headline: String
has_completed_first_tutorial: Boolean
instructor_topics_en: [String]
instructor_topics_locale: [String]
locales: [String]
primary_locale: String!
subscription: UserSubscriptionConnection
avatar_url: String
twitter_username: String
linkedin_username: String
location_name: String
is_verified: Boolean
auth_strategies(after: String, first: Int, before: String, last: Int): AuthStrategyConnection
organization_roles(after: String, first: Int, before: String, last: Int): UserOrganizationRoleConnection
instructor_timekit: InstructorTimekit
course_roles(after: String, first: Int, before: String, last: Int): UserCourseRoleConnection
}
# Defines a user’s activity which are pre-calculated
type UserActivity {
# The ID of an object
id: ID!
date: String!
count: Int!
}
# A connection to a list of items.
type UserConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [UserEdge]
}
# Defines a users role in a course
type UserCourseRole implements Node {
# The ID of an object
id: ID!
course_id: ID!
role: [String]!
last_accessed_at: String
}
# A connection to a list of items.
type UserCourseRoleConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [UserCourseRoleEdge]
}
# An edge in a connection.
type UserCourseRoleEdge {
# The item at the end of the edge
node: UserCourseRole
# A cursor for use in pagination
cursor: String!
}
# An edge in a connection.
type UserEdge {
# The item at the end of the edge
node: User
# A cursor for use in pagination
cursor: String!
}
# User notifications
type UserNotification implements Node {
# The ID of an object
id: ID!
actor: String
notification_link: String!
def_id: String!
is_read: Boolean!
created_at: String!
updated_at: String!
content: String
}
# A connection to a list of items.
type UserNotificationConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [UserNotificationEdge]
}
# An edge in a connection.
type UserNotificationEdge {
# The item at the end of the edge
node: UserNotification
# A cursor for use in pagination
cursor: String!
}
# Defines a users role in an organization
type UserOrganizationRole implements Node {
# The ID of an object
id: ID!
organization_id: ID!
role: String!
}
# A connection to a list of items.
type UserOrganizationRoleConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [UserOrganizationRoleEdge]
}
# An edge in a connection.
type UserOrganizationRoleEdge {
# The item at the end of the edge
node: UserOrganizationRole
# A cursor for use in pagination
cursor: String!
}
# User profile field for update
input UserProfileInput {
id: ID
full_name: String
username: String
primary_email: String
biography: String
headline: String
locales: [String]
primary_locale: String
avatar_url: String
is_public: Boolean
linkedin_username: String
twitter_username: String
}
# The users subscription level. All users have this field -- they then vary by their level
type UserSubscription implements Node {
# The ID of an object
id: ID!
level: Int!
}
# A connection to a list of items.
type UserSubscriptionConnection {
# Information to aid in pagination.
pageInfo: PageInfo!
# A list of edges.
edges: [UserSubscriptionEdge]
}
# An edge in a connection.
type UserSubscriptionEdge {
# The item at the end of the edge
node: UserSubscription
# A cursor for use in pagination
cursor: String!
}
# Object that matches a version number with an actual piece of content
type VersionedContentRecord implements Node {
# The ID of an object
id: ID!
version: Int!
content: String!
}