@quesmed/types 2.5.113 → 2.6.0
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/dist/cjs/models/Concept.d.ts +2 -0
- package/dist/cjs/models/Picture.d.ts +1 -0
- package/dist/cjs/resolvers/fragments/blog.js +1 -0
- package/dist/cjs/resolvers/fragments/chapter.js +1 -0
- package/dist/cjs/resolvers/fragments/marksheet.js +3 -0
- package/dist/cjs/resolvers/fragments/picture.js +1 -0
- package/dist/cjs/resolvers/fragments/user.js +1 -0
- package/dist/cjs/resolvers/mutation/restricted/marksheet.js +63 -0
- package/dist/cjs/resolvers/mutation/restricted/todo.d.ts +2 -2
- package/dist/cjs/resolvers/mutation/restricted/todo.js +1 -0
- package/dist/cjs/resolvers/query/restricted/marksheet.d.ts +1 -1
- package/dist/cjs/resolvers/query/restricted/marksheet.js +66 -0
- package/dist/cjs/resolvers/query/restricted/quesBook.d.ts +5 -1
- package/dist/cjs/resolvers/query/restricted/quesBook.js +31 -44
- package/dist/cjs/resolvers/query/restricted/question.js +21 -0
- package/dist/cjs/resolvers/query/restricted/replication.js +4 -1
- package/dist/cjs/resolvers/query/restricted/todos.js +2 -0
- package/dist/cjs/resolvers/query/restricted/video.js +5 -0
- package/dist/cjs/resolvers/query/sample.d.ts +1 -1
- package/dist/cjs/resolvers/query/sample.js +3 -0
- package/dist/cjs/resolvers/query/video.js +6 -0
- package/dist/mjs/models/Concept.d.ts +2 -0
- package/dist/mjs/models/Picture.d.ts +1 -0
- package/dist/mjs/resolvers/fragments/blog.js +1 -0
- package/dist/mjs/resolvers/fragments/chapter.js +1 -0
- package/dist/mjs/resolvers/fragments/marksheet.js +3 -0
- package/dist/mjs/resolvers/fragments/picture.js +1 -0
- package/dist/mjs/resolvers/fragments/user.js +1 -0
- package/dist/mjs/resolvers/mutation/restricted/marksheet.js +63 -0
- package/dist/mjs/resolvers/mutation/restricted/todo.d.ts +2 -2
- package/dist/mjs/resolvers/mutation/restricted/todo.js +1 -0
- package/dist/mjs/resolvers/query/restricted/marksheet.d.ts +1 -1
- package/dist/mjs/resolvers/query/restricted/marksheet.js +66 -0
- package/dist/mjs/resolvers/query/restricted/quesBook.d.ts +5 -1
- package/dist/mjs/resolvers/query/restricted/quesBook.js +31 -44
- package/dist/mjs/resolvers/query/restricted/question.js +21 -0
- package/dist/mjs/resolvers/query/restricted/replication.js +4 -1
- package/dist/mjs/resolvers/query/restricted/todos.js +2 -0
- package/dist/mjs/resolvers/query/restricted/video.js +5 -0
- package/dist/mjs/resolvers/query/sample.d.ts +1 -1
- package/dist/mjs/resolvers/query/sample.js +3 -0
- package/dist/mjs/resolvers/query/video.js +6 -0
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ export const QUESTION = gql `
|
|
|
30
30
|
path
|
|
31
31
|
path512
|
|
32
32
|
path256
|
|
33
|
+
thumbhash
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
comments {
|
|
@@ -76,6 +77,7 @@ export const QUESTION = gql `
|
|
|
76
77
|
path
|
|
77
78
|
path512
|
|
78
79
|
path256
|
|
80
|
+
thumbhash
|
|
79
81
|
index
|
|
80
82
|
topicId
|
|
81
83
|
topic {
|
|
@@ -112,6 +114,7 @@ export const QUESTION = gql `
|
|
|
112
114
|
path
|
|
113
115
|
path512
|
|
114
116
|
path256
|
|
117
|
+
thumbhash
|
|
115
118
|
topicId
|
|
116
119
|
topic {
|
|
117
120
|
id
|
|
@@ -153,6 +156,7 @@ export const QUESTION = gql `
|
|
|
153
156
|
path
|
|
154
157
|
path512
|
|
155
158
|
path256
|
|
159
|
+
thumbhash
|
|
156
160
|
}
|
|
157
161
|
}
|
|
158
162
|
comments {
|
|
@@ -199,6 +203,7 @@ export const QUESTION = gql `
|
|
|
199
203
|
path
|
|
200
204
|
path512
|
|
201
205
|
path256
|
|
206
|
+
thumbhash
|
|
202
207
|
index
|
|
203
208
|
topicId
|
|
204
209
|
topic {
|
|
@@ -235,6 +240,7 @@ export const QUESTION = gql `
|
|
|
235
240
|
path
|
|
236
241
|
path512
|
|
237
242
|
path256
|
|
243
|
+
thumbhash
|
|
238
244
|
topicId
|
|
239
245
|
topic {
|
|
240
246
|
id
|
|
@@ -279,6 +285,7 @@ export const QUESTION = gql `
|
|
|
279
285
|
path
|
|
280
286
|
path512
|
|
281
287
|
path256
|
|
288
|
+
thumbhash
|
|
282
289
|
}
|
|
283
290
|
}
|
|
284
291
|
comments {
|
|
@@ -325,6 +332,7 @@ export const QUESTION = gql `
|
|
|
325
332
|
path
|
|
326
333
|
path512
|
|
327
334
|
path256
|
|
335
|
+
thumbhash
|
|
328
336
|
index
|
|
329
337
|
topicId
|
|
330
338
|
topic {
|
|
@@ -361,6 +369,7 @@ export const QUESTION = gql `
|
|
|
361
369
|
path
|
|
362
370
|
path512
|
|
363
371
|
path256
|
|
372
|
+
thumbhash
|
|
364
373
|
topicId
|
|
365
374
|
topic {
|
|
366
375
|
id
|
|
@@ -402,6 +411,7 @@ export const QUESTION = gql `
|
|
|
402
411
|
path
|
|
403
412
|
path512
|
|
404
413
|
path256
|
|
414
|
+
thumbhash
|
|
405
415
|
}
|
|
406
416
|
}
|
|
407
417
|
comments {
|
|
@@ -448,6 +458,7 @@ export const QUESTION = gql `
|
|
|
448
458
|
path
|
|
449
459
|
path512
|
|
450
460
|
path256
|
|
461
|
+
thumbhash
|
|
451
462
|
index
|
|
452
463
|
topicId
|
|
453
464
|
topic {
|
|
@@ -484,6 +495,7 @@ export const QUESTION = gql `
|
|
|
484
495
|
path
|
|
485
496
|
path512
|
|
486
497
|
path256
|
|
498
|
+
thumbhash
|
|
487
499
|
topicId
|
|
488
500
|
topic {
|
|
489
501
|
id
|
|
@@ -565,6 +577,7 @@ export const QUESTION = gql `
|
|
|
565
577
|
path
|
|
566
578
|
path512
|
|
567
579
|
path256
|
|
580
|
+
thumbhash
|
|
568
581
|
}
|
|
569
582
|
}
|
|
570
583
|
comments {
|
|
@@ -616,6 +629,7 @@ export const QUESTION = gql `
|
|
|
616
629
|
path
|
|
617
630
|
path512
|
|
618
631
|
path256
|
|
632
|
+
thumbhash
|
|
619
633
|
index
|
|
620
634
|
topicId
|
|
621
635
|
}
|
|
@@ -647,6 +661,7 @@ export const QUESTION = gql `
|
|
|
647
661
|
path
|
|
648
662
|
path512
|
|
649
663
|
path256
|
|
664
|
+
thumbhash
|
|
650
665
|
topicId
|
|
651
666
|
}
|
|
652
667
|
difficulty
|
|
@@ -691,6 +706,7 @@ export const QUESTION = gql `
|
|
|
691
706
|
path
|
|
692
707
|
path512
|
|
693
708
|
path256
|
|
709
|
+
thumbhash
|
|
694
710
|
}
|
|
695
711
|
}
|
|
696
712
|
comments {
|
|
@@ -742,6 +758,7 @@ export const QUESTION = gql `
|
|
|
742
758
|
path
|
|
743
759
|
path512
|
|
744
760
|
path256
|
|
761
|
+
thumbhash
|
|
745
762
|
index
|
|
746
763
|
topicId
|
|
747
764
|
}
|
|
@@ -773,6 +790,7 @@ export const QUESTION = gql `
|
|
|
773
790
|
path
|
|
774
791
|
path512
|
|
775
792
|
path256
|
|
793
|
+
thumbhash
|
|
776
794
|
topicId
|
|
777
795
|
}
|
|
778
796
|
difficulty
|
|
@@ -817,6 +835,7 @@ export const QUESTION = gql `
|
|
|
817
835
|
path
|
|
818
836
|
path512
|
|
819
837
|
path256
|
|
838
|
+
thumbhash
|
|
820
839
|
}
|
|
821
840
|
}
|
|
822
841
|
comments {
|
|
@@ -868,6 +887,7 @@ export const QUESTION = gql `
|
|
|
868
887
|
path
|
|
869
888
|
path512
|
|
870
889
|
path256
|
|
890
|
+
thumbhash
|
|
871
891
|
index
|
|
872
892
|
topicId
|
|
873
893
|
}
|
|
@@ -899,6 +919,7 @@ export const QUESTION = gql `
|
|
|
899
919
|
path
|
|
900
920
|
path512
|
|
901
921
|
path256
|
|
922
|
+
thumbhash
|
|
902
923
|
topicId
|
|
903
924
|
}
|
|
904
925
|
difficulty
|
|
@@ -68,6 +68,7 @@ const questionReplicationQuery = `query QuestionReplication($lastId: String!, $m
|
|
|
68
68
|
path
|
|
69
69
|
path512
|
|
70
70
|
path256
|
|
71
|
+
thumbhash
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
pictures {
|
|
@@ -85,8 +86,9 @@ const questionReplicationQuery = `query QuestionReplication($lastId: String!, $m
|
|
|
85
86
|
caption
|
|
86
87
|
path
|
|
87
88
|
path512
|
|
88
|
-
topicId
|
|
89
89
|
path256
|
|
90
|
+
thumbhash
|
|
91
|
+
topicId
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
94
|
difficulty
|
|
@@ -164,6 +166,7 @@ const osceStationReplicationQuery = `query OsceStationReplication($lastId: Strin
|
|
|
164
166
|
path
|
|
165
167
|
path512
|
|
166
168
|
path256
|
|
169
|
+
thumbhash
|
|
167
170
|
topicId
|
|
168
171
|
topic {
|
|
169
172
|
...TopicFields
|
|
@@ -29,6 +29,7 @@ export const VIDEO = gql `
|
|
|
29
29
|
path
|
|
30
30
|
path512
|
|
31
31
|
path256
|
|
32
|
+
thumbhash
|
|
32
33
|
index
|
|
33
34
|
topicId
|
|
34
35
|
}
|
|
@@ -68,6 +69,7 @@ export const VIDEO = gql `
|
|
|
68
69
|
path
|
|
69
70
|
path512
|
|
70
71
|
path256
|
|
72
|
+
thumbhash
|
|
71
73
|
topicId
|
|
72
74
|
topic {
|
|
73
75
|
id
|
|
@@ -84,6 +86,7 @@ export const VIDEO = gql `
|
|
|
84
86
|
path
|
|
85
87
|
path512
|
|
86
88
|
path256
|
|
89
|
+
thumbhash
|
|
87
90
|
topicId
|
|
88
91
|
topic {
|
|
89
92
|
id
|
|
@@ -100,6 +103,7 @@ export const VIDEO = gql `
|
|
|
100
103
|
path
|
|
101
104
|
path512
|
|
102
105
|
path256
|
|
106
|
+
thumbhash
|
|
103
107
|
topicId
|
|
104
108
|
topic {
|
|
105
109
|
id
|
|
@@ -116,6 +120,7 @@ export const VIDEO = gql `
|
|
|
116
120
|
path
|
|
117
121
|
path512
|
|
118
122
|
path256
|
|
123
|
+
thumbhash
|
|
119
124
|
topicId
|
|
120
125
|
topic {
|
|
121
126
|
id
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IMarksheet, IOsceMarksheet, ITodo } from '../../models';
|
|
2
|
-
import {
|
|
2
|
+
import { RootData, graphqlNormalize } from '../types';
|
|
3
3
|
export declare const SAMPLE_CONTENT: import("@apollo/client").DocumentNode;
|
|
4
4
|
export type ISampleContentVar = null;
|
|
5
5
|
interface ISampleContent {
|
|
@@ -56,6 +56,7 @@ export const SAMPLE_MARKSHEET = gql `
|
|
|
56
56
|
path
|
|
57
57
|
path512
|
|
58
58
|
path256
|
|
59
|
+
thumbhash
|
|
59
60
|
index
|
|
60
61
|
topicId
|
|
61
62
|
topic {
|
|
@@ -84,6 +85,7 @@ export const SAMPLE_MARKSHEET = gql `
|
|
|
84
85
|
path
|
|
85
86
|
path512
|
|
86
87
|
path256
|
|
88
|
+
thumbhash
|
|
87
89
|
}
|
|
88
90
|
}
|
|
89
91
|
}
|
|
@@ -120,6 +122,7 @@ export const SAMPLE_TODO = gql `
|
|
|
120
122
|
path
|
|
121
123
|
path512
|
|
122
124
|
path256
|
|
125
|
+
thumbhash
|
|
123
126
|
index
|
|
124
127
|
topicId
|
|
125
128
|
topic {
|
|
@@ -44,6 +44,7 @@ export const SAMPLE_VIDEOS = gql `
|
|
|
44
44
|
path
|
|
45
45
|
path512
|
|
46
46
|
path256
|
|
47
|
+
thumbhash
|
|
47
48
|
index
|
|
48
49
|
topicId
|
|
49
50
|
topic {
|
|
@@ -81,6 +82,7 @@ export const SAMPLE_VIDEO = gql `
|
|
|
81
82
|
path
|
|
82
83
|
path512
|
|
83
84
|
path256
|
|
85
|
+
thumbhash
|
|
84
86
|
index
|
|
85
87
|
topicId
|
|
86
88
|
topic {
|
|
@@ -118,6 +120,7 @@ export const SAMPLE_VIDEO = gql `
|
|
|
118
120
|
path
|
|
119
121
|
path512
|
|
120
122
|
path256
|
|
123
|
+
thumbhash
|
|
121
124
|
topicId
|
|
122
125
|
topic {
|
|
123
126
|
id
|
|
@@ -134,6 +137,7 @@ export const SAMPLE_VIDEO = gql `
|
|
|
134
137
|
path
|
|
135
138
|
path512
|
|
136
139
|
path256
|
|
140
|
+
thumbhash
|
|
137
141
|
topicId
|
|
138
142
|
topic {
|
|
139
143
|
id
|
|
@@ -150,6 +154,7 @@ export const SAMPLE_VIDEO = gql `
|
|
|
150
154
|
path
|
|
151
155
|
path512
|
|
152
156
|
path256
|
|
157
|
+
thumbhash
|
|
153
158
|
topicId
|
|
154
159
|
topic {
|
|
155
160
|
id
|
|
@@ -166,6 +171,7 @@ export const SAMPLE_VIDEO = gql `
|
|
|
166
171
|
path
|
|
167
172
|
path512
|
|
168
173
|
path256
|
|
174
|
+
thumbhash
|
|
169
175
|
topicId
|
|
170
176
|
topic {
|
|
171
177
|
id
|