@quesmed/types 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.
@@ -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
- WARNING = "WARNING",
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;
@@ -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
@@ -3,6 +3,7 @@ import { graphqlNormalize, RestrictedData } from '../../types';
3
3
  export interface IAddNotificationInput {
4
4
  fromUserId: Id | null;
5
5
  userId: Id | null;
6
+ fromUserCommentId: Id | null;
6
7
  commentId: Id | null;
7
8
  conceptId: Id | null;
8
9
  description: string;
@@ -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
@@ -18,8 +18,13 @@ exports.QUES_BOOK = (0, client_1.gql) `
18
18
  explanation
19
19
  pictures {
20
20
  id
21
+ createdAt
22
+ updatedAt
23
+ name
21
24
  caption
22
25
  path
26
+ path512
27
+ path256
23
28
  }
24
29
  }
25
30
  topicId
@@ -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
  }
@@ -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 {
@@ -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
- WARNING = "WARNING",
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;
@@ -71,6 +71,22 @@ export const MARKSHEET_MARK_FIELDS = gql `
71
71
  chapter {
72
72
  id
73
73
  explanation
74
+ pictures {
75
+ id
76
+ createdAt
77
+ updatedAt
78
+ name
79
+ caption
80
+ path
81
+ path512
82
+ path256
83
+ topicId
84
+ topic {
85
+ id
86
+ name
87
+ typeId
88
+ }
89
+ }
74
90
  }
75
91
  videos {
76
92
  id
@@ -3,6 +3,7 @@ import { graphqlNormalize, RestrictedData } from '../../types';
3
3
  export interface IAddNotificationInput {
4
4
  fromUserId: Id | null;
5
5
  userId: Id | null;
6
+ fromUserCommentId: Id | null;
6
7
  commentId: Id | null;
7
8
  conceptId: Id | null;
8
9
  description: string;
@@ -81,6 +81,22 @@ export const MARKSHEET = gql `
81
81
  chapter {
82
82
  id
83
83
  explanation
84
+ pictures {
85
+ id
86
+ createdAt
87
+ updatedAt
88
+ name
89
+ caption
90
+ path
91
+ path512
92
+ path256
93
+ topicId
94
+ topic {
95
+ id
96
+ name
97
+ typeId
98
+ }
99
+ }
84
100
  }
85
101
  videos {
86
102
  id
@@ -182,6 +198,22 @@ export const MARKSHEET = gql `
182
198
  chapter {
183
199
  id
184
200
  explanation
201
+ pictures {
202
+ id
203
+ createdAt
204
+ updatedAt
205
+ name
206
+ caption
207
+ path
208
+ path512
209
+ path256
210
+ topicId
211
+ topic {
212
+ id
213
+ name
214
+ typeId
215
+ }
216
+ }
185
217
  }
186
218
  videos {
187
219
  id
@@ -286,6 +318,22 @@ export const MARKSHEET = gql `
286
318
  chapter {
287
319
  id
288
320
  explanation
321
+ pictures {
322
+ id
323
+ createdAt
324
+ updatedAt
325
+ name
326
+ caption
327
+ path
328
+ path512
329
+ path256
330
+ topicId
331
+ topic {
332
+ id
333
+ name
334
+ typeId
335
+ }
336
+ }
289
337
  }
290
338
  videos {
291
339
  id
@@ -387,6 +435,22 @@ export const MARKSHEET = gql `
387
435
  chapter {
388
436
  id
389
437
  explanation
438
+ pictures {
439
+ id
440
+ createdAt
441
+ updatedAt
442
+ name
443
+ caption
444
+ path
445
+ path512
446
+ path256
447
+ topicId
448
+ topic {
449
+ id
450
+ name
451
+ typeId
452
+ }
453
+ }
390
454
  }
391
455
  videos {
392
456
  id
@@ -568,6 +632,22 @@ export const FLAGGED_QUESTIONS = gql `
568
632
  chapter {
569
633
  id
570
634
  explanation
635
+ pictures {
636
+ id
637
+ createdAt
638
+ updatedAt
639
+ name
640
+ caption
641
+ path
642
+ path512
643
+ path256
644
+ topicId
645
+ topic {
646
+ id
647
+ name
648
+ typeId
649
+ }
650
+ }
571
651
  }
572
652
  videos {
573
653
  id
@@ -671,6 +751,22 @@ export const FLAGGED_QUESTIONS = gql `
671
751
  chapter {
672
752
  id
673
753
  explanation
754
+ pictures {
755
+ id
756
+ createdAt
757
+ updatedAt
758
+ name
759
+ caption
760
+ path
761
+ path512
762
+ path256
763
+ topicId
764
+ topic {
765
+ id
766
+ name
767
+ typeId
768
+ }
769
+ }
674
770
  }
675
771
  videos {
676
772
  id
@@ -772,6 +868,22 @@ export const FLAGGED_QUESTIONS = gql `
772
868
  chapter {
773
869
  id
774
870
  explanation
871
+ pictures {
872
+ id
873
+ createdAt
874
+ updatedAt
875
+ name
876
+ caption
877
+ path
878
+ path512
879
+ path256
880
+ topicId
881
+ topic {
882
+ id
883
+ name
884
+ typeId
885
+ }
886
+ }
775
887
  }
776
888
  videos {
777
889
  id
@@ -876,6 +988,22 @@ export const FLAGGED_QUESTIONS = gql `
876
988
  chapter {
877
989
  id
878
990
  explanation
991
+ pictures {
992
+ id
993
+ createdAt
994
+ updatedAt
995
+ name
996
+ caption
997
+ path
998
+ path512
999
+ path256
1000
+ topicId
1001
+ topic {
1002
+ id
1003
+ name
1004
+ typeId
1005
+ }
1006
+ }
879
1007
  }
880
1008
  videos {
881
1009
  id
@@ -977,6 +1105,22 @@ export const FLAGGED_QUESTIONS = gql `
977
1105
  chapter {
978
1106
  id
979
1107
  explanation
1108
+ pictures {
1109
+ id
1110
+ createdAt
1111
+ updatedAt
1112
+ name
1113
+ caption
1114
+ path
1115
+ path512
1116
+ path256
1117
+ topicId
1118
+ topic {
1119
+ id
1120
+ name
1121
+ typeId
1122
+ }
1123
+ }
980
1124
  }
981
1125
  videos {
982
1126
  id
@@ -15,8 +15,13 @@ export const QUES_BOOK = gql `
15
15
  explanation
16
16
  pictures {
17
17
  id
18
+ createdAt
19
+ updatedAt
20
+ name
18
21
  caption
19
22
  path
23
+ path512
24
+ path256
20
25
  }
21
26
  }
22
27
  topicId
@@ -36,23 +36,44 @@ export const TODO = gql `
36
36
  question
37
37
  explanation
38
38
  concept {
39
+ id
39
40
  videos {
40
41
  id
41
42
  title
42
43
  museId
43
44
  thumbnail
44
45
  concepts {
46
+ id
45
47
  name
46
48
  }
47
49
  live
48
50
  description
49
51
  duration
50
52
  }
53
+ chapter {
54
+ id
55
+ explanation
56
+ pictures {
57
+ id
58
+ createdAt
59
+ updatedAt
60
+ name
61
+ caption
62
+ path
63
+ path512
64
+ path256
65
+ }
66
+ }
51
67
  }
52
68
  pictures {
53
69
  id
70
+ createdAt
71
+ updatedAt
72
+ name
54
73
  caption
55
74
  path
75
+ path512
76
+ path256
56
77
  }
57
78
  }
58
79
  }
@@ -15,6 +15,17 @@ export const VIDEO = gql `
15
15
  chapter {
16
16
  id
17
17
  explanation
18
+ pictures {
19
+ id
20
+ createdAt
21
+ updatedAt
22
+ name
23
+ caption
24
+ path
25
+ path512
26
+ path256
27
+ topicId
28
+ }
18
29
  }
19
30
  }
20
31
  osceStation {
@@ -146,6 +157,16 @@ export const VIDEOS = gql `
146
157
  chapter {
147
158
  id
148
159
  explanation
160
+ pictures {
161
+ id
162
+ createdAt
163
+ updatedAt
164
+ name
165
+ caption
166
+ path
167
+ path512
168
+ path256
169
+ }
149
170
  }
150
171
  }
151
172
  }
@@ -42,6 +42,22 @@ export const SAMPLE_MARKSHEET = gql `
42
42
  chapter {
43
43
  id
44
44
  explanation
45
+ pictures {
46
+ id
47
+ createdAt
48
+ updatedAt
49
+ name
50
+ caption
51
+ path
52
+ path512
53
+ path256
54
+ topicId
55
+ topic {
56
+ id
57
+ name
58
+ typeId
59
+ }
60
+ }
45
61
  }
46
62
  }
47
63
  question
@@ -89,6 +105,22 @@ export const SAMPLE_TODO = gql `
89
105
  chapter {
90
106
  id
91
107
  explanation
108
+ pictures {
109
+ id
110
+ createdAt
111
+ updatedAt
112
+ name
113
+ caption
114
+ path
115
+ path512
116
+ path256
117
+ topicId
118
+ topic {
119
+ id
120
+ name
121
+ typeId
122
+ }
123
+ }
92
124
  }
93
125
  }
94
126
  }
@@ -35,6 +35,22 @@ export const SAMPLE_VIDEOS = gql `
35
35
  chapter {
36
36
  id
37
37
  explanation
38
+ pictures {
39
+ id
40
+ createdAt
41
+ updatedAt
42
+ name
43
+ caption
44
+ path
45
+ path512
46
+ path256
47
+ topicId
48
+ topic {
49
+ id
50
+ name
51
+ typeId
52
+ }
53
+ }
38
54
  }
39
55
  }
40
56
  }
@@ -55,6 +71,22 @@ export const SAMPLE_VIDEO = gql `
55
71
  chapter {
56
72
  id
57
73
  explanation
74
+ pictures {
75
+ id
76
+ createdAt
77
+ updatedAt
78
+ name
79
+ caption
80
+ path
81
+ path512
82
+ path256
83
+ topicId
84
+ topic {
85
+ id
86
+ name
87
+ typeId
88
+ }
89
+ }
58
90
  }
59
91
  }
60
92
  osceStation {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.1.22",
3
+ "version": "2.1.25",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",