@quesmed/types 2.1.4 → 2.1.7

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.
@@ -7,7 +7,7 @@ export interface IOsceMarksheetMember {
7
7
  osceMarksheetId: Id;
8
8
  userId: Id | null;
9
9
  user: IUser | null;
10
- role: EOsceRoles | null;
10
+ role: EOsceRoles;
11
11
  }
12
12
  export interface IOsceMarksheetMark {
13
13
  id: Id;
@@ -34,7 +34,6 @@ exports.MARKSHEET_MARK_FIELDS = (0, client_1.gql) `
34
34
  }
35
35
  comments {
36
36
  id
37
- userId
38
37
  createdAt
39
38
  comment
40
39
  likes
@@ -47,7 +46,6 @@ exports.MARKSHEET_MARK_FIELDS = (0, client_1.gql) `
47
46
  questionId
48
47
  replies {
49
48
  id
50
- userId
51
49
  createdAt
52
50
  comment
53
51
  user {
@@ -12,7 +12,6 @@ exports.QUESTION_LIKE = (0, client_1.gql) `
12
12
  isLikedByMe
13
13
  comments {
14
14
  id
15
- userId
16
15
  createdAt
17
16
  comment
18
17
  likes
@@ -25,7 +24,6 @@ exports.QUESTION_LIKE = (0, client_1.gql) `
25
24
  questionId
26
25
  replies {
27
26
  id
28
- userId
29
27
  createdAt
30
28
  comment
31
29
  user {
@@ -55,7 +53,6 @@ exports.QUESTION_COMMENTS = (0, client_1.gql) `
55
53
  comment: $comment
56
54
  ) {
57
55
  id
58
- userId
59
56
  createdAt
60
57
  comment
61
58
  likes
@@ -68,7 +65,6 @@ exports.QUESTION_COMMENTS = (0, client_1.gql) `
68
65
  questionId
69
66
  replies {
70
67
  id
71
- userId
72
68
  createdAt
73
69
  comment
74
70
  user {
@@ -89,7 +85,6 @@ exports.QUESTION_COMMENT_LIKE = (0, client_1.gql) `
89
85
  restricted {
90
86
  questionCommentLike(commentId: $commentId, like: $like) {
91
87
  id
92
- userId
93
88
  createdAt
94
89
  comment
95
90
  likes
@@ -102,7 +97,6 @@ exports.QUESTION_COMMENT_LIKE = (0, client_1.gql) `
102
97
  questionId
103
98
  replies {
104
99
  id
105
- userId
106
100
  createdAt
107
101
  comment
108
102
  user {
@@ -123,7 +117,6 @@ exports.QUESTION_COMMENT_REMOVE = (0, client_1.gql) `
123
117
  restricted {
124
118
  questionCommentRemove(commentId: $commentId) {
125
119
  id
126
- userId
127
120
  createdAt
128
121
  comment
129
122
  likes
@@ -136,7 +129,6 @@ exports.QUESTION_COMMENT_REMOVE = (0, client_1.gql) `
136
129
  questionId
137
130
  replies {
138
131
  id
139
- userId
140
132
  createdAt
141
133
  comment
142
134
  user {
@@ -40,7 +40,6 @@ exports.MARKSHEET = (0, client_1.gql) `
40
40
  }
41
41
  comments {
42
42
  id
43
- userId
44
43
  createdAt
45
44
  comment
46
45
  likes
@@ -53,7 +52,6 @@ exports.MARKSHEET = (0, client_1.gql) `
53
52
  questionId
54
53
  replies {
55
54
  id
56
- userId
57
55
  createdAt
58
56
  comment
59
57
  user {
@@ -133,7 +131,6 @@ exports.MARKSHEET = (0, client_1.gql) `
133
131
  }
134
132
  comments {
135
133
  id
136
- userId
137
134
  createdAt
138
135
  comment
139
136
  likes
@@ -146,7 +143,6 @@ exports.MARKSHEET = (0, client_1.gql) `
146
143
  questionId
147
144
  replies {
148
145
  id
149
- userId
150
146
  createdAt
151
147
  comment
152
148
  user {
@@ -229,7 +225,6 @@ exports.MARKSHEET = (0, client_1.gql) `
229
225
  }
230
226
  comments {
231
227
  id
232
- userId
233
228
  createdAt
234
229
  comment
235
230
  likes
@@ -242,7 +237,6 @@ exports.MARKSHEET = (0, client_1.gql) `
242
237
  questionId
243
238
  replies {
244
239
  id
245
- userId
246
240
  createdAt
247
241
  comment
248
242
  user {
@@ -322,7 +316,6 @@ exports.MARKSHEET = (0, client_1.gql) `
322
316
  }
323
317
  comments {
324
318
  id
325
- userId
326
319
  createdAt
327
320
  comment
328
321
  likes
@@ -335,7 +328,6 @@ exports.MARKSHEET = (0, client_1.gql) `
335
328
  questionId
336
329
  replies {
337
330
  id
338
- userId
339
331
  createdAt
340
332
  comment
341
333
  user {
@@ -495,7 +487,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
495
487
  }
496
488
  comments {
497
489
  id
498
- userId
499
490
  createdAt
500
491
  comment
501
492
  likes
@@ -508,7 +499,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
508
499
  questionId
509
500
  replies {
510
501
  id
511
- userId
512
502
  createdAt
513
503
  comment
514
504
  user {
@@ -590,7 +580,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
590
580
  }
591
581
  comments {
592
582
  id
593
- userId
594
583
  createdAt
595
584
  comment
596
585
  likes
@@ -603,7 +592,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
603
592
  questionId
604
593
  replies {
605
594
  id
606
- userId
607
595
  createdAt
608
596
  comment
609
597
  user {
@@ -683,7 +671,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
683
671
  }
684
672
  comments {
685
673
  id
686
- userId
687
674
  createdAt
688
675
  comment
689
676
  likes
@@ -696,7 +683,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
696
683
  questionId
697
684
  replies {
698
685
  id
699
- userId
700
686
  createdAt
701
687
  comment
702
688
  user {
@@ -779,7 +765,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
779
765
  }
780
766
  comments {
781
767
  id
782
- userId
783
768
  createdAt
784
769
  comment
785
770
  likes
@@ -792,7 +777,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
792
777
  questionId
793
778
  replies {
794
779
  id
795
- userId
796
780
  createdAt
797
781
  comment
798
782
  user {
@@ -872,7 +856,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
872
856
  }
873
857
  comments {
874
858
  id
875
- userId
876
859
  createdAt
877
860
  comment
878
861
  likes
@@ -885,7 +868,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
885
868
  questionId
886
869
  replies {
887
870
  id
888
- userId
889
871
  createdAt
890
872
  comment
891
873
  user {
@@ -1,8 +1,11 @@
1
+ import { Id } from '../../../models';
1
2
  import { graphqlNormalize, RestrictedData } from '../../types';
2
3
  export interface IUniversityLeaderboardVar {
3
4
  limit: number;
4
5
  }
5
6
  export interface IUniversitiesRankSpeciality {
7
+ id: Id;
8
+ updatedAt: number | Date;
6
9
  name: string;
7
10
  speciality: string;
8
11
  rank: number;
@@ -7,7 +7,7 @@ export interface IOsceMarksheetMember {
7
7
  osceMarksheetId: Id;
8
8
  userId: Id | null;
9
9
  user: IUser | null;
10
- role: EOsceRoles | null;
10
+ role: EOsceRoles;
11
11
  }
12
12
  export interface IOsceMarksheetMark {
13
13
  id: Id;
@@ -31,7 +31,6 @@ export const MARKSHEET_MARK_FIELDS = gql `
31
31
  }
32
32
  comments {
33
33
  id
34
- userId
35
34
  createdAt
36
35
  comment
37
36
  likes
@@ -44,7 +43,6 @@ export const MARKSHEET_MARK_FIELDS = gql `
44
43
  questionId
45
44
  replies {
46
45
  id
47
- userId
48
46
  createdAt
49
47
  comment
50
48
  user {
@@ -9,7 +9,6 @@ export const QUESTION_LIKE = gql `
9
9
  isLikedByMe
10
10
  comments {
11
11
  id
12
- userId
13
12
  createdAt
14
13
  comment
15
14
  likes
@@ -22,7 +21,6 @@ export const QUESTION_LIKE = gql `
22
21
  questionId
23
22
  replies {
24
23
  id
25
- userId
26
24
  createdAt
27
25
  comment
28
26
  user {
@@ -52,7 +50,6 @@ export const QUESTION_COMMENTS = gql `
52
50
  comment: $comment
53
51
  ) {
54
52
  id
55
- userId
56
53
  createdAt
57
54
  comment
58
55
  likes
@@ -65,7 +62,6 @@ export const QUESTION_COMMENTS = gql `
65
62
  questionId
66
63
  replies {
67
64
  id
68
- userId
69
65
  createdAt
70
66
  comment
71
67
  user {
@@ -86,7 +82,6 @@ export const QUESTION_COMMENT_LIKE = gql `
86
82
  restricted {
87
83
  questionCommentLike(commentId: $commentId, like: $like) {
88
84
  id
89
- userId
90
85
  createdAt
91
86
  comment
92
87
  likes
@@ -99,7 +94,6 @@ export const QUESTION_COMMENT_LIKE = gql `
99
94
  questionId
100
95
  replies {
101
96
  id
102
- userId
103
97
  createdAt
104
98
  comment
105
99
  user {
@@ -120,7 +114,6 @@ export const QUESTION_COMMENT_REMOVE = gql `
120
114
  restricted {
121
115
  questionCommentRemove(commentId: $commentId) {
122
116
  id
123
- userId
124
117
  createdAt
125
118
  comment
126
119
  likes
@@ -133,7 +126,6 @@ export const QUESTION_COMMENT_REMOVE = gql `
133
126
  questionId
134
127
  replies {
135
128
  id
136
- userId
137
129
  createdAt
138
130
  comment
139
131
  user {
@@ -37,7 +37,6 @@ export const MARKSHEET = gql `
37
37
  }
38
38
  comments {
39
39
  id
40
- userId
41
40
  createdAt
42
41
  comment
43
42
  likes
@@ -50,7 +49,6 @@ export const MARKSHEET = gql `
50
49
  questionId
51
50
  replies {
52
51
  id
53
- userId
54
52
  createdAt
55
53
  comment
56
54
  user {
@@ -130,7 +128,6 @@ export const MARKSHEET = gql `
130
128
  }
131
129
  comments {
132
130
  id
133
- userId
134
131
  createdAt
135
132
  comment
136
133
  likes
@@ -143,7 +140,6 @@ export const MARKSHEET = gql `
143
140
  questionId
144
141
  replies {
145
142
  id
146
- userId
147
143
  createdAt
148
144
  comment
149
145
  user {
@@ -226,7 +222,6 @@ export const MARKSHEET = gql `
226
222
  }
227
223
  comments {
228
224
  id
229
- userId
230
225
  createdAt
231
226
  comment
232
227
  likes
@@ -239,7 +234,6 @@ export const MARKSHEET = gql `
239
234
  questionId
240
235
  replies {
241
236
  id
242
- userId
243
237
  createdAt
244
238
  comment
245
239
  user {
@@ -319,7 +313,6 @@ export const MARKSHEET = gql `
319
313
  }
320
314
  comments {
321
315
  id
322
- userId
323
316
  createdAt
324
317
  comment
325
318
  likes
@@ -332,7 +325,6 @@ export const MARKSHEET = gql `
332
325
  questionId
333
326
  replies {
334
327
  id
335
- userId
336
328
  createdAt
337
329
  comment
338
330
  user {
@@ -492,7 +484,6 @@ export const FLAGGED_QUESTIONS = gql `
492
484
  }
493
485
  comments {
494
486
  id
495
- userId
496
487
  createdAt
497
488
  comment
498
489
  likes
@@ -505,7 +496,6 @@ export const FLAGGED_QUESTIONS = gql `
505
496
  questionId
506
497
  replies {
507
498
  id
508
- userId
509
499
  createdAt
510
500
  comment
511
501
  user {
@@ -587,7 +577,6 @@ export const FLAGGED_QUESTIONS = gql `
587
577
  }
588
578
  comments {
589
579
  id
590
- userId
591
580
  createdAt
592
581
  comment
593
582
  likes
@@ -600,7 +589,6 @@ export const FLAGGED_QUESTIONS = gql `
600
589
  questionId
601
590
  replies {
602
591
  id
603
- userId
604
592
  createdAt
605
593
  comment
606
594
  user {
@@ -680,7 +668,6 @@ export const FLAGGED_QUESTIONS = gql `
680
668
  }
681
669
  comments {
682
670
  id
683
- userId
684
671
  createdAt
685
672
  comment
686
673
  likes
@@ -693,7 +680,6 @@ export const FLAGGED_QUESTIONS = gql `
693
680
  questionId
694
681
  replies {
695
682
  id
696
- userId
697
683
  createdAt
698
684
  comment
699
685
  user {
@@ -776,7 +762,6 @@ export const FLAGGED_QUESTIONS = gql `
776
762
  }
777
763
  comments {
778
764
  id
779
- userId
780
765
  createdAt
781
766
  comment
782
767
  likes
@@ -789,7 +774,6 @@ export const FLAGGED_QUESTIONS = gql `
789
774
  questionId
790
775
  replies {
791
776
  id
792
- userId
793
777
  createdAt
794
778
  comment
795
779
  user {
@@ -869,7 +853,6 @@ export const FLAGGED_QUESTIONS = gql `
869
853
  }
870
854
  comments {
871
855
  id
872
- userId
873
856
  createdAt
874
857
  comment
875
858
  likes
@@ -882,7 +865,6 @@ export const FLAGGED_QUESTIONS = gql `
882
865
  questionId
883
866
  replies {
884
867
  id
885
- userId
886
868
  createdAt
887
869
  comment
888
870
  user {
@@ -1,8 +1,11 @@
1
+ import { Id } from '../../../models';
1
2
  import { graphqlNormalize, RestrictedData } from '../../types';
2
3
  export interface IUniversityLeaderboardVar {
3
4
  limit: number;
4
5
  }
5
6
  export interface IUniversitiesRankSpeciality {
7
+ id: Id;
8
+ updatedAt: number | Date;
6
9
  name: string;
7
10
  speciality: string;
8
11
  rank: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.1.4",
3
+ "version": "2.1.7",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",