@quesmed/types-rn 2.1.22 → 2.1.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/models/Notification.d.ts +3 -3
- package/package.json +1 -1
- package/resolvers/fragments/marksheet.js +16 -0
- package/resolvers/mutation/restricted/notification.d.ts +1 -0
- package/resolvers/query/restricted/marksheet.js +144 -0
- package/resolvers/query/restricted/quesBook.js +5 -0
- package/resolvers/query/restricted/todos.js +21 -0
- package/resolvers/query/restricted/video.js +21 -0
- package/resolvers/query/sample.js +32 -0
- package/resolvers/query/video.js +32 -0
package/models/Notification.d.ts
CHANGED
|
@@ -9,12 +9,10 @@ export declare const enum ENotificationType {
|
|
|
9
9
|
}
|
|
10
10
|
export declare const enum ENotificationActionType {
|
|
11
11
|
REPLY = "REPLY",
|
|
12
|
-
UP_VOTE = "UP_VOTE",
|
|
13
|
-
DOWN_VOTE = "DOWN_VOTE",
|
|
14
12
|
LIKE = "LIKE",
|
|
15
13
|
DISLIKE = "DISLIKE",
|
|
16
14
|
FEATURE = "FEATURE",
|
|
17
|
-
|
|
15
|
+
INFORMATION = "INFORMATION",
|
|
18
16
|
REQUESTED = "REQUESTED",
|
|
19
17
|
ACCEPTED = "ACCEPTED"
|
|
20
18
|
}
|
|
@@ -28,6 +26,8 @@ export interface INotification {
|
|
|
28
26
|
fromUser?: IUser;
|
|
29
27
|
commentId: Id | null;
|
|
30
28
|
comment?: IQuestionComment;
|
|
29
|
+
fromUserCommentId: Id | null;
|
|
30
|
+
fromUserComment?: IQuestionComment;
|
|
31
31
|
conceptId: Id | null;
|
|
32
32
|
concept?: IConcept;
|
|
33
33
|
description: string;
|
package/package.json
CHANGED
|
@@ -74,6 +74,22 @@ exports.MARKSHEET_MARK_FIELDS = (0, client_1.gql) `
|
|
|
74
74
|
chapter {
|
|
75
75
|
id
|
|
76
76
|
explanation
|
|
77
|
+
pictures {
|
|
78
|
+
id
|
|
79
|
+
createdAt
|
|
80
|
+
updatedAt
|
|
81
|
+
name
|
|
82
|
+
caption
|
|
83
|
+
path
|
|
84
|
+
path512
|
|
85
|
+
path256
|
|
86
|
+
topicId
|
|
87
|
+
topic {
|
|
88
|
+
id
|
|
89
|
+
name
|
|
90
|
+
typeId
|
|
91
|
+
}
|
|
92
|
+
}
|
|
77
93
|
}
|
|
78
94
|
videos {
|
|
79
95
|
id
|
|
@@ -84,6 +84,22 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
84
84
|
chapter {
|
|
85
85
|
id
|
|
86
86
|
explanation
|
|
87
|
+
pictures {
|
|
88
|
+
id
|
|
89
|
+
createdAt
|
|
90
|
+
updatedAt
|
|
91
|
+
name
|
|
92
|
+
caption
|
|
93
|
+
path
|
|
94
|
+
path512
|
|
95
|
+
path256
|
|
96
|
+
topicId
|
|
97
|
+
topic {
|
|
98
|
+
id
|
|
99
|
+
name
|
|
100
|
+
typeId
|
|
101
|
+
}
|
|
102
|
+
}
|
|
87
103
|
}
|
|
88
104
|
videos {
|
|
89
105
|
id
|
|
@@ -185,6 +201,22 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
185
201
|
chapter {
|
|
186
202
|
id
|
|
187
203
|
explanation
|
|
204
|
+
pictures {
|
|
205
|
+
id
|
|
206
|
+
createdAt
|
|
207
|
+
updatedAt
|
|
208
|
+
name
|
|
209
|
+
caption
|
|
210
|
+
path
|
|
211
|
+
path512
|
|
212
|
+
path256
|
|
213
|
+
topicId
|
|
214
|
+
topic {
|
|
215
|
+
id
|
|
216
|
+
name
|
|
217
|
+
typeId
|
|
218
|
+
}
|
|
219
|
+
}
|
|
188
220
|
}
|
|
189
221
|
videos {
|
|
190
222
|
id
|
|
@@ -289,6 +321,22 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
289
321
|
chapter {
|
|
290
322
|
id
|
|
291
323
|
explanation
|
|
324
|
+
pictures {
|
|
325
|
+
id
|
|
326
|
+
createdAt
|
|
327
|
+
updatedAt
|
|
328
|
+
name
|
|
329
|
+
caption
|
|
330
|
+
path
|
|
331
|
+
path512
|
|
332
|
+
path256
|
|
333
|
+
topicId
|
|
334
|
+
topic {
|
|
335
|
+
id
|
|
336
|
+
name
|
|
337
|
+
typeId
|
|
338
|
+
}
|
|
339
|
+
}
|
|
292
340
|
}
|
|
293
341
|
videos {
|
|
294
342
|
id
|
|
@@ -390,6 +438,22 @@ exports.MARKSHEET = (0, client_1.gql) `
|
|
|
390
438
|
chapter {
|
|
391
439
|
id
|
|
392
440
|
explanation
|
|
441
|
+
pictures {
|
|
442
|
+
id
|
|
443
|
+
createdAt
|
|
444
|
+
updatedAt
|
|
445
|
+
name
|
|
446
|
+
caption
|
|
447
|
+
path
|
|
448
|
+
path512
|
|
449
|
+
path256
|
|
450
|
+
topicId
|
|
451
|
+
topic {
|
|
452
|
+
id
|
|
453
|
+
name
|
|
454
|
+
typeId
|
|
455
|
+
}
|
|
456
|
+
}
|
|
393
457
|
}
|
|
394
458
|
videos {
|
|
395
459
|
id
|
|
@@ -571,6 +635,22 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
571
635
|
chapter {
|
|
572
636
|
id
|
|
573
637
|
explanation
|
|
638
|
+
pictures {
|
|
639
|
+
id
|
|
640
|
+
createdAt
|
|
641
|
+
updatedAt
|
|
642
|
+
name
|
|
643
|
+
caption
|
|
644
|
+
path
|
|
645
|
+
path512
|
|
646
|
+
path256
|
|
647
|
+
topicId
|
|
648
|
+
topic {
|
|
649
|
+
id
|
|
650
|
+
name
|
|
651
|
+
typeId
|
|
652
|
+
}
|
|
653
|
+
}
|
|
574
654
|
}
|
|
575
655
|
videos {
|
|
576
656
|
id
|
|
@@ -674,6 +754,22 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
674
754
|
chapter {
|
|
675
755
|
id
|
|
676
756
|
explanation
|
|
757
|
+
pictures {
|
|
758
|
+
id
|
|
759
|
+
createdAt
|
|
760
|
+
updatedAt
|
|
761
|
+
name
|
|
762
|
+
caption
|
|
763
|
+
path
|
|
764
|
+
path512
|
|
765
|
+
path256
|
|
766
|
+
topicId
|
|
767
|
+
topic {
|
|
768
|
+
id
|
|
769
|
+
name
|
|
770
|
+
typeId
|
|
771
|
+
}
|
|
772
|
+
}
|
|
677
773
|
}
|
|
678
774
|
videos {
|
|
679
775
|
id
|
|
@@ -775,6 +871,22 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
775
871
|
chapter {
|
|
776
872
|
id
|
|
777
873
|
explanation
|
|
874
|
+
pictures {
|
|
875
|
+
id
|
|
876
|
+
createdAt
|
|
877
|
+
updatedAt
|
|
878
|
+
name
|
|
879
|
+
caption
|
|
880
|
+
path
|
|
881
|
+
path512
|
|
882
|
+
path256
|
|
883
|
+
topicId
|
|
884
|
+
topic {
|
|
885
|
+
id
|
|
886
|
+
name
|
|
887
|
+
typeId
|
|
888
|
+
}
|
|
889
|
+
}
|
|
778
890
|
}
|
|
779
891
|
videos {
|
|
780
892
|
id
|
|
@@ -879,6 +991,22 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
879
991
|
chapter {
|
|
880
992
|
id
|
|
881
993
|
explanation
|
|
994
|
+
pictures {
|
|
995
|
+
id
|
|
996
|
+
createdAt
|
|
997
|
+
updatedAt
|
|
998
|
+
name
|
|
999
|
+
caption
|
|
1000
|
+
path
|
|
1001
|
+
path512
|
|
1002
|
+
path256
|
|
1003
|
+
topicId
|
|
1004
|
+
topic {
|
|
1005
|
+
id
|
|
1006
|
+
name
|
|
1007
|
+
typeId
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
882
1010
|
}
|
|
883
1011
|
videos {
|
|
884
1012
|
id
|
|
@@ -980,6 +1108,22 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
|
|
|
980
1108
|
chapter {
|
|
981
1109
|
id
|
|
982
1110
|
explanation
|
|
1111
|
+
pictures {
|
|
1112
|
+
id
|
|
1113
|
+
createdAt
|
|
1114
|
+
updatedAt
|
|
1115
|
+
name
|
|
1116
|
+
caption
|
|
1117
|
+
path
|
|
1118
|
+
path512
|
|
1119
|
+
path256
|
|
1120
|
+
topicId
|
|
1121
|
+
topic {
|
|
1122
|
+
id
|
|
1123
|
+
name
|
|
1124
|
+
typeId
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
983
1127
|
}
|
|
984
1128
|
videos {
|
|
985
1129
|
id
|
|
@@ -39,23 +39,44 @@ exports.TODO = (0, client_1.gql) `
|
|
|
39
39
|
question
|
|
40
40
|
explanation
|
|
41
41
|
concept {
|
|
42
|
+
id
|
|
42
43
|
videos {
|
|
43
44
|
id
|
|
44
45
|
title
|
|
45
46
|
museId
|
|
46
47
|
thumbnail
|
|
47
48
|
concepts {
|
|
49
|
+
id
|
|
48
50
|
name
|
|
49
51
|
}
|
|
50
52
|
live
|
|
51
53
|
description
|
|
52
54
|
duration
|
|
53
55
|
}
|
|
56
|
+
chapter {
|
|
57
|
+
id
|
|
58
|
+
explanation
|
|
59
|
+
pictures {
|
|
60
|
+
id
|
|
61
|
+
createdAt
|
|
62
|
+
updatedAt
|
|
63
|
+
name
|
|
64
|
+
caption
|
|
65
|
+
path
|
|
66
|
+
path512
|
|
67
|
+
path256
|
|
68
|
+
}
|
|
69
|
+
}
|
|
54
70
|
}
|
|
55
71
|
pictures {
|
|
56
72
|
id
|
|
73
|
+
createdAt
|
|
74
|
+
updatedAt
|
|
75
|
+
name
|
|
57
76
|
caption
|
|
58
77
|
path
|
|
78
|
+
path512
|
|
79
|
+
path256
|
|
59
80
|
}
|
|
60
81
|
}
|
|
61
82
|
}
|
|
@@ -18,6 +18,17 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
18
18
|
chapter {
|
|
19
19
|
id
|
|
20
20
|
explanation
|
|
21
|
+
pictures {
|
|
22
|
+
id
|
|
23
|
+
createdAt
|
|
24
|
+
updatedAt
|
|
25
|
+
name
|
|
26
|
+
caption
|
|
27
|
+
path
|
|
28
|
+
path512
|
|
29
|
+
path256
|
|
30
|
+
topicId
|
|
31
|
+
}
|
|
21
32
|
}
|
|
22
33
|
}
|
|
23
34
|
osceStation {
|
|
@@ -149,6 +160,16 @@ exports.VIDEOS = (0, client_1.gql) `
|
|
|
149
160
|
chapter {
|
|
150
161
|
id
|
|
151
162
|
explanation
|
|
163
|
+
pictures {
|
|
164
|
+
id
|
|
165
|
+
createdAt
|
|
166
|
+
updatedAt
|
|
167
|
+
name
|
|
168
|
+
caption
|
|
169
|
+
path
|
|
170
|
+
path512
|
|
171
|
+
path256
|
|
172
|
+
}
|
|
152
173
|
}
|
|
153
174
|
}
|
|
154
175
|
}
|
|
@@ -45,6 +45,22 @@ exports.SAMPLE_MARKSHEET = (0, client_1.gql) `
|
|
|
45
45
|
chapter {
|
|
46
46
|
id
|
|
47
47
|
explanation
|
|
48
|
+
pictures {
|
|
49
|
+
id
|
|
50
|
+
createdAt
|
|
51
|
+
updatedAt
|
|
52
|
+
name
|
|
53
|
+
caption
|
|
54
|
+
path
|
|
55
|
+
path512
|
|
56
|
+
path256
|
|
57
|
+
topicId
|
|
58
|
+
topic {
|
|
59
|
+
id
|
|
60
|
+
name
|
|
61
|
+
typeId
|
|
62
|
+
}
|
|
63
|
+
}
|
|
48
64
|
}
|
|
49
65
|
}
|
|
50
66
|
question
|
|
@@ -92,6 +108,22 @@ exports.SAMPLE_TODO = (0, client_1.gql) `
|
|
|
92
108
|
chapter {
|
|
93
109
|
id
|
|
94
110
|
explanation
|
|
111
|
+
pictures {
|
|
112
|
+
id
|
|
113
|
+
createdAt
|
|
114
|
+
updatedAt
|
|
115
|
+
name
|
|
116
|
+
caption
|
|
117
|
+
path
|
|
118
|
+
path512
|
|
119
|
+
path256
|
|
120
|
+
topicId
|
|
121
|
+
topic {
|
|
122
|
+
id
|
|
123
|
+
name
|
|
124
|
+
typeId
|
|
125
|
+
}
|
|
126
|
+
}
|
|
95
127
|
}
|
|
96
128
|
}
|
|
97
129
|
}
|
package/resolvers/query/video.js
CHANGED
|
@@ -38,6 +38,22 @@ exports.SAMPLE_VIDEOS = (0, client_1.gql) `
|
|
|
38
38
|
chapter {
|
|
39
39
|
id
|
|
40
40
|
explanation
|
|
41
|
+
pictures {
|
|
42
|
+
id
|
|
43
|
+
createdAt
|
|
44
|
+
updatedAt
|
|
45
|
+
name
|
|
46
|
+
caption
|
|
47
|
+
path
|
|
48
|
+
path512
|
|
49
|
+
path256
|
|
50
|
+
topicId
|
|
51
|
+
topic {
|
|
52
|
+
id
|
|
53
|
+
name
|
|
54
|
+
typeId
|
|
55
|
+
}
|
|
56
|
+
}
|
|
41
57
|
}
|
|
42
58
|
}
|
|
43
59
|
}
|
|
@@ -58,6 +74,22 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
58
74
|
chapter {
|
|
59
75
|
id
|
|
60
76
|
explanation
|
|
77
|
+
pictures {
|
|
78
|
+
id
|
|
79
|
+
createdAt
|
|
80
|
+
updatedAt
|
|
81
|
+
name
|
|
82
|
+
caption
|
|
83
|
+
path
|
|
84
|
+
path512
|
|
85
|
+
path256
|
|
86
|
+
topicId
|
|
87
|
+
topic {
|
|
88
|
+
id
|
|
89
|
+
name
|
|
90
|
+
typeId
|
|
91
|
+
}
|
|
92
|
+
}
|
|
61
93
|
}
|
|
62
94
|
}
|
|
63
95
|
osceStation {
|