@quesmed/types-rn 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/models/Concept.d.ts +2 -0
- package/models/Picture.d.ts +1 -0
- package/package.json +1 -1
- package/resolvers/fragments/blog.js +1 -0
- package/resolvers/fragments/chapter.js +1 -0
- package/resolvers/fragments/marksheet.js +3 -0
- package/resolvers/fragments/picture.js +1 -0
- package/resolvers/fragments/user.js +1 -0
- package/resolvers/mutation/restricted/marksheet.js +63 -0
- package/resolvers/mutation/restricted/todo.d.ts +2 -2
- package/resolvers/mutation/restricted/todo.js +1 -0
- package/resolvers/query/restricted/marksheet.d.ts +1 -1
- package/resolvers/query/restricted/marksheet.js +66 -0
- package/resolvers/query/restricted/quesBook.d.ts +5 -1
- package/resolvers/query/restricted/quesBook.js +31 -44
- package/resolvers/query/restricted/question.js +21 -0
- package/resolvers/query/restricted/replication.js +4 -1
- package/resolvers/query/restricted/todos.js +2 -0
- package/resolvers/query/restricted/video.js +5 -0
- package/resolvers/query/sample.d.ts +1 -1
- package/resolvers/query/sample.js +3 -0
- package/resolvers/query/video.js +6 -0
|
@@ -33,6 +33,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
33
33
|
path
|
|
34
34
|
path512
|
|
35
35
|
path256
|
|
36
|
+
thumbhash
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
comments {
|
|
@@ -79,6 +80,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
79
80
|
path
|
|
80
81
|
path512
|
|
81
82
|
path256
|
|
83
|
+
thumbhash
|
|
82
84
|
index
|
|
83
85
|
topicId
|
|
84
86
|
topic {
|
|
@@ -115,6 +117,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
115
117
|
path
|
|
116
118
|
path512
|
|
117
119
|
path256
|
|
120
|
+
thumbhash
|
|
118
121
|
topicId
|
|
119
122
|
topic {
|
|
120
123
|
id
|
|
@@ -156,6 +159,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
156
159
|
path
|
|
157
160
|
path512
|
|
158
161
|
path256
|
|
162
|
+
thumbhash
|
|
159
163
|
}
|
|
160
164
|
}
|
|
161
165
|
comments {
|
|
@@ -202,6 +206,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
202
206
|
path
|
|
203
207
|
path512
|
|
204
208
|
path256
|
|
209
|
+
thumbhash
|
|
205
210
|
index
|
|
206
211
|
topicId
|
|
207
212
|
topic {
|
|
@@ -238,6 +243,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
238
243
|
path
|
|
239
244
|
path512
|
|
240
245
|
path256
|
|
246
|
+
thumbhash
|
|
241
247
|
topicId
|
|
242
248
|
topic {
|
|
243
249
|
id
|
|
@@ -282,6 +288,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
282
288
|
path
|
|
283
289
|
path512
|
|
284
290
|
path256
|
|
291
|
+
thumbhash
|
|
285
292
|
}
|
|
286
293
|
}
|
|
287
294
|
comments {
|
|
@@ -328,6 +335,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
328
335
|
path
|
|
329
336
|
path512
|
|
330
337
|
path256
|
|
338
|
+
thumbhash
|
|
331
339
|
index
|
|
332
340
|
topicId
|
|
333
341
|
topic {
|
|
@@ -364,6 +372,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
364
372
|
path
|
|
365
373
|
path512
|
|
366
374
|
path256
|
|
375
|
+
thumbhash
|
|
367
376
|
topicId
|
|
368
377
|
topic {
|
|
369
378
|
id
|
|
@@ -405,6 +414,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
405
414
|
path
|
|
406
415
|
path512
|
|
407
416
|
path256
|
|
417
|
+
thumbhash
|
|
408
418
|
}
|
|
409
419
|
}
|
|
410
420
|
comments {
|
|
@@ -451,6 +461,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
451
461
|
path
|
|
452
462
|
path512
|
|
453
463
|
path256
|
|
464
|
+
thumbhash
|
|
454
465
|
index
|
|
455
466
|
topicId
|
|
456
467
|
topic {
|
|
@@ -487,6 +498,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
487
498
|
path
|
|
488
499
|
path512
|
|
489
500
|
path256
|
|
501
|
+
thumbhash
|
|
490
502
|
topicId
|
|
491
503
|
topic {
|
|
492
504
|
id
|
|
@@ -568,6 +580,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
568
580
|
path
|
|
569
581
|
path512
|
|
570
582
|
path256
|
|
583
|
+
thumbhash
|
|
571
584
|
}
|
|
572
585
|
}
|
|
573
586
|
comments {
|
|
@@ -619,6 +632,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
619
632
|
path
|
|
620
633
|
path512
|
|
621
634
|
path256
|
|
635
|
+
thumbhash
|
|
622
636
|
index
|
|
623
637
|
topicId
|
|
624
638
|
}
|
|
@@ -650,6 +664,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
650
664
|
path
|
|
651
665
|
path512
|
|
652
666
|
path256
|
|
667
|
+
thumbhash
|
|
653
668
|
topicId
|
|
654
669
|
}
|
|
655
670
|
difficulty
|
|
@@ -694,6 +709,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
694
709
|
path
|
|
695
710
|
path512
|
|
696
711
|
path256
|
|
712
|
+
thumbhash
|
|
697
713
|
}
|
|
698
714
|
}
|
|
699
715
|
comments {
|
|
@@ -745,6 +761,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
745
761
|
path
|
|
746
762
|
path512
|
|
747
763
|
path256
|
|
764
|
+
thumbhash
|
|
748
765
|
index
|
|
749
766
|
topicId
|
|
750
767
|
}
|
|
@@ -776,6 +793,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
776
793
|
path
|
|
777
794
|
path512
|
|
778
795
|
path256
|
|
796
|
+
thumbhash
|
|
779
797
|
topicId
|
|
780
798
|
}
|
|
781
799
|
difficulty
|
|
@@ -820,6 +838,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
820
838
|
path
|
|
821
839
|
path512
|
|
822
840
|
path256
|
|
841
|
+
thumbhash
|
|
823
842
|
}
|
|
824
843
|
}
|
|
825
844
|
comments {
|
|
@@ -871,6 +890,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
871
890
|
path
|
|
872
891
|
path512
|
|
873
892
|
path256
|
|
893
|
+
thumbhash
|
|
874
894
|
index
|
|
875
895
|
topicId
|
|
876
896
|
}
|
|
@@ -902,6 +922,7 @@ exports.QUESTION = (0, client_1.gql) `
|
|
|
902
922
|
path
|
|
903
923
|
path512
|
|
904
924
|
path256
|
|
925
|
+
thumbhash
|
|
905
926
|
topicId
|
|
906
927
|
}
|
|
907
928
|
difficulty
|
|
@@ -72,6 +72,7 @@ const questionReplicationQuery = `query QuestionReplication($lastId: String!, $m
|
|
|
72
72
|
path
|
|
73
73
|
path512
|
|
74
74
|
path256
|
|
75
|
+
thumbhash
|
|
75
76
|
}
|
|
76
77
|
}
|
|
77
78
|
pictures {
|
|
@@ -89,8 +90,9 @@ const questionReplicationQuery = `query QuestionReplication($lastId: String!, $m
|
|
|
89
90
|
caption
|
|
90
91
|
path
|
|
91
92
|
path512
|
|
92
|
-
topicId
|
|
93
93
|
path256
|
|
94
|
+
thumbhash
|
|
95
|
+
topicId
|
|
94
96
|
}
|
|
95
97
|
}
|
|
96
98
|
difficulty
|
|
@@ -169,6 +171,7 @@ const osceStationReplicationQuery = `query OsceStationReplication($lastId: Strin
|
|
|
169
171
|
path
|
|
170
172
|
path512
|
|
171
173
|
path256
|
|
174
|
+
thumbhash
|
|
172
175
|
topicId
|
|
173
176
|
topic {
|
|
174
177
|
...TopicFields
|
|
@@ -32,6 +32,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
32
32
|
path
|
|
33
33
|
path512
|
|
34
34
|
path256
|
|
35
|
+
thumbhash
|
|
35
36
|
index
|
|
36
37
|
topicId
|
|
37
38
|
}
|
|
@@ -71,6 +72,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
71
72
|
path
|
|
72
73
|
path512
|
|
73
74
|
path256
|
|
75
|
+
thumbhash
|
|
74
76
|
topicId
|
|
75
77
|
topic {
|
|
76
78
|
id
|
|
@@ -87,6 +89,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
87
89
|
path
|
|
88
90
|
path512
|
|
89
91
|
path256
|
|
92
|
+
thumbhash
|
|
90
93
|
topicId
|
|
91
94
|
topic {
|
|
92
95
|
id
|
|
@@ -103,6 +106,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
103
106
|
path
|
|
104
107
|
path512
|
|
105
108
|
path256
|
|
109
|
+
thumbhash
|
|
106
110
|
topicId
|
|
107
111
|
topic {
|
|
108
112
|
id
|
|
@@ -119,6 +123,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
119
123
|
path
|
|
120
124
|
path512
|
|
121
125
|
path256
|
|
126
|
+
thumbhash
|
|
122
127
|
topicId
|
|
123
128
|
topic {
|
|
124
129
|
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 {
|
|
@@ -59,6 +59,7 @@ exports.SAMPLE_MARKSHEET = (0, client_1.gql) `
|
|
|
59
59
|
path
|
|
60
60
|
path512
|
|
61
61
|
path256
|
|
62
|
+
thumbhash
|
|
62
63
|
index
|
|
63
64
|
topicId
|
|
64
65
|
topic {
|
|
@@ -87,6 +88,7 @@ exports.SAMPLE_MARKSHEET = (0, client_1.gql) `
|
|
|
87
88
|
path
|
|
88
89
|
path512
|
|
89
90
|
path256
|
|
91
|
+
thumbhash
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
94
|
}
|
|
@@ -123,6 +125,7 @@ exports.SAMPLE_TODO = (0, client_1.gql) `
|
|
|
123
125
|
path
|
|
124
126
|
path512
|
|
125
127
|
path256
|
|
128
|
+
thumbhash
|
|
126
129
|
index
|
|
127
130
|
topicId
|
|
128
131
|
topic {
|
package/resolvers/query/video.js
CHANGED
|
@@ -47,6 +47,7 @@ exports.SAMPLE_VIDEOS = (0, client_1.gql) `
|
|
|
47
47
|
path
|
|
48
48
|
path512
|
|
49
49
|
path256
|
|
50
|
+
thumbhash
|
|
50
51
|
index
|
|
51
52
|
topicId
|
|
52
53
|
topic {
|
|
@@ -84,6 +85,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
84
85
|
path
|
|
85
86
|
path512
|
|
86
87
|
path256
|
|
88
|
+
thumbhash
|
|
87
89
|
index
|
|
88
90
|
topicId
|
|
89
91
|
topic {
|
|
@@ -121,6 +123,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
121
123
|
path
|
|
122
124
|
path512
|
|
123
125
|
path256
|
|
126
|
+
thumbhash
|
|
124
127
|
topicId
|
|
125
128
|
topic {
|
|
126
129
|
id
|
|
@@ -137,6 +140,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
137
140
|
path
|
|
138
141
|
path512
|
|
139
142
|
path256
|
|
143
|
+
thumbhash
|
|
140
144
|
topicId
|
|
141
145
|
topic {
|
|
142
146
|
id
|
|
@@ -153,6 +157,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
153
157
|
path
|
|
154
158
|
path512
|
|
155
159
|
path256
|
|
160
|
+
thumbhash
|
|
156
161
|
topicId
|
|
157
162
|
topic {
|
|
158
163
|
id
|
|
@@ -169,6 +174,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
169
174
|
path
|
|
170
175
|
path512
|
|
171
176
|
path256
|
|
177
|
+
thumbhash
|
|
172
178
|
topicId
|
|
173
179
|
topic {
|
|
174
180
|
id
|