@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.
Files changed (43) hide show
  1. package/dist/cjs/models/Concept.d.ts +2 -0
  2. package/dist/cjs/models/Picture.d.ts +1 -0
  3. package/dist/cjs/resolvers/fragments/blog.js +1 -0
  4. package/dist/cjs/resolvers/fragments/chapter.js +1 -0
  5. package/dist/cjs/resolvers/fragments/marksheet.js +3 -0
  6. package/dist/cjs/resolvers/fragments/picture.js +1 -0
  7. package/dist/cjs/resolvers/fragments/user.js +1 -0
  8. package/dist/cjs/resolvers/mutation/restricted/marksheet.js +63 -0
  9. package/dist/cjs/resolvers/mutation/restricted/todo.d.ts +2 -2
  10. package/dist/cjs/resolvers/mutation/restricted/todo.js +1 -0
  11. package/dist/cjs/resolvers/query/restricted/marksheet.d.ts +1 -1
  12. package/dist/cjs/resolvers/query/restricted/marksheet.js +66 -0
  13. package/dist/cjs/resolvers/query/restricted/quesBook.d.ts +5 -1
  14. package/dist/cjs/resolvers/query/restricted/quesBook.js +31 -44
  15. package/dist/cjs/resolvers/query/restricted/question.js +21 -0
  16. package/dist/cjs/resolvers/query/restricted/replication.js +4 -1
  17. package/dist/cjs/resolvers/query/restricted/todos.js +2 -0
  18. package/dist/cjs/resolvers/query/restricted/video.js +5 -0
  19. package/dist/cjs/resolvers/query/sample.d.ts +1 -1
  20. package/dist/cjs/resolvers/query/sample.js +3 -0
  21. package/dist/cjs/resolvers/query/video.js +6 -0
  22. package/dist/mjs/models/Concept.d.ts +2 -0
  23. package/dist/mjs/models/Picture.d.ts +1 -0
  24. package/dist/mjs/resolvers/fragments/blog.js +1 -0
  25. package/dist/mjs/resolvers/fragments/chapter.js +1 -0
  26. package/dist/mjs/resolvers/fragments/marksheet.js +3 -0
  27. package/dist/mjs/resolvers/fragments/picture.js +1 -0
  28. package/dist/mjs/resolvers/fragments/user.js +1 -0
  29. package/dist/mjs/resolvers/mutation/restricted/marksheet.js +63 -0
  30. package/dist/mjs/resolvers/mutation/restricted/todo.d.ts +2 -2
  31. package/dist/mjs/resolvers/mutation/restricted/todo.js +1 -0
  32. package/dist/mjs/resolvers/query/restricted/marksheet.d.ts +1 -1
  33. package/dist/mjs/resolvers/query/restricted/marksheet.js +66 -0
  34. package/dist/mjs/resolvers/query/restricted/quesBook.d.ts +5 -1
  35. package/dist/mjs/resolvers/query/restricted/quesBook.js +31 -44
  36. package/dist/mjs/resolvers/query/restricted/question.js +21 -0
  37. package/dist/mjs/resolvers/query/restricted/replication.js +4 -1
  38. package/dist/mjs/resolvers/query/restricted/todos.js +2 -0
  39. package/dist/mjs/resolvers/query/restricted/video.js +5 -0
  40. package/dist/mjs/resolvers/query/sample.d.ts +1 -1
  41. package/dist/mjs/resolvers/query/sample.js +3 -0
  42. package/dist/mjs/resolvers/query/video.js +6 -0
  43. package/package.json +1 -1
@@ -99,6 +99,7 @@ export const MARKSHEET = gql `
99
99
  path
100
100
  path512
101
101
  path256
102
+ thumbhash
102
103
  }
103
104
  }
104
105
  comments {
@@ -151,6 +152,7 @@ export const MARKSHEET = gql `
151
152
  path
152
153
  path512
153
154
  path256
155
+ thumbhash
154
156
  index
155
157
  topicId
156
158
  }
@@ -182,6 +184,7 @@ export const MARKSHEET = gql `
182
184
  path
183
185
  path512
184
186
  path256
187
+ thumbhash
185
188
  topicId
186
189
  }
187
190
  difficulty
@@ -226,6 +229,7 @@ export const MARKSHEET = gql `
226
229
  path
227
230
  path512
228
231
  path256
232
+ thumbhash
229
233
  }
230
234
  }
231
235
  comments {
@@ -273,6 +277,7 @@ export const MARKSHEET = gql `
273
277
  path
274
278
  path512
275
279
  path256
280
+ thumbhash
276
281
  index
277
282
  topicId
278
283
  }
@@ -304,6 +309,7 @@ export const MARKSHEET = gql `
304
309
  path
305
310
  path512
306
311
  path256
312
+ thumbhash
307
313
  topicId
308
314
  }
309
315
  difficulty
@@ -351,6 +357,7 @@ export const MARKSHEET = gql `
351
357
  path
352
358
  path512
353
359
  path256
360
+ thumbhash
354
361
  }
355
362
  }
356
363
  comments {
@@ -403,6 +410,7 @@ export const MARKSHEET = gql `
403
410
  path
404
411
  path512
405
412
  path256
413
+ thumbhash
406
414
  index
407
415
  topicId
408
416
  }
@@ -434,6 +442,7 @@ export const MARKSHEET = gql `
434
442
  path
435
443
  path512
436
444
  path256
445
+ thumbhash
437
446
  topicId
438
447
  }
439
448
  difficulty
@@ -478,6 +487,7 @@ export const MARKSHEET = gql `
478
487
  path
479
488
  path512
480
489
  path256
490
+ thumbhash
481
491
  }
482
492
  }
483
493
  comments {
@@ -530,6 +540,7 @@ export const MARKSHEET = gql `
530
540
  path
531
541
  path512
532
542
  path256
543
+ thumbhash
533
544
  index
534
545
  topicId
535
546
  }
@@ -561,6 +572,7 @@ export const MARKSHEET = gql `
561
572
  path
562
573
  path512
563
574
  path256
575
+ thumbhash
564
576
  topicId
565
577
  }
566
578
  difficulty
@@ -637,6 +649,7 @@ export const MARKSHEET = gql `
637
649
  path
638
650
  path512
639
651
  path256
652
+ thumbhash
640
653
  }
641
654
  }
642
655
  comments {
@@ -689,6 +702,7 @@ export const MARKSHEET = gql `
689
702
  path
690
703
  path512
691
704
  path256
705
+ thumbhash
692
706
  index
693
707
  topicId
694
708
  }
@@ -720,6 +734,7 @@ export const MARKSHEET = gql `
720
734
  path
721
735
  path512
722
736
  path256
737
+ thumbhash
723
738
  topicId
724
739
  }
725
740
  difficulty
@@ -764,6 +779,7 @@ export const MARKSHEET = gql `
764
779
  path
765
780
  path512
766
781
  path256
782
+ thumbhash
767
783
  }
768
784
  }
769
785
  comments {
@@ -816,6 +832,7 @@ export const MARKSHEET = gql `
816
832
  path
817
833
  path512
818
834
  path256
835
+ thumbhash
819
836
  index
820
837
  topicId
821
838
  }
@@ -847,6 +864,7 @@ export const MARKSHEET = gql `
847
864
  path
848
865
  path512
849
866
  path256
867
+ thumbhash
850
868
  topicId
851
869
  }
852
870
  difficulty
@@ -891,6 +909,7 @@ export const MARKSHEET = gql `
891
909
  path
892
910
  path512
893
911
  path256
912
+ thumbhash
894
913
  }
895
914
  }
896
915
  comments {
@@ -943,6 +962,7 @@ export const MARKSHEET = gql `
943
962
  path
944
963
  path512
945
964
  path256
965
+ thumbhash
946
966
  index
947
967
  topicId
948
968
  }
@@ -974,6 +994,7 @@ export const MARKSHEET = gql `
974
994
  path
975
995
  path512
976
996
  path256
997
+ thumbhash
977
998
  topicId
978
999
  }
979
1000
  difficulty
@@ -1110,6 +1131,7 @@ export const FLAGGED_QUESTIONS = gql `
1110
1131
  path
1111
1132
  path512
1112
1133
  path256
1134
+ thumbhash
1113
1135
  }
1114
1136
  }
1115
1137
  comments {
@@ -1161,6 +1183,7 @@ export const FLAGGED_QUESTIONS = gql `
1161
1183
  path
1162
1184
  path512
1163
1185
  path256
1186
+ thumbhash
1164
1187
  index
1165
1188
  topicId
1166
1189
  }
@@ -1192,6 +1215,7 @@ export const FLAGGED_QUESTIONS = gql `
1192
1215
  path
1193
1216
  path512
1194
1217
  path256
1218
+ thumbhash
1195
1219
  topicId
1196
1220
  }
1197
1221
  }
@@ -1239,6 +1263,7 @@ export const FLAGGED_QUESTIONS = gql `
1239
1263
  path
1240
1264
  path512
1241
1265
  path256
1266
+ thumbhash
1242
1267
  }
1243
1268
  }
1244
1269
  comments {
@@ -1291,6 +1316,7 @@ export const FLAGGED_QUESTIONS = gql `
1291
1316
  path
1292
1317
  path512
1293
1318
  path256
1319
+ thumbhash
1294
1320
  index
1295
1321
  topicId
1296
1322
  }
@@ -1322,6 +1348,7 @@ export const FLAGGED_QUESTIONS = gql `
1322
1348
  path
1323
1349
  path512
1324
1350
  path256
1351
+ thumbhash
1325
1352
  topicId
1326
1353
  }
1327
1354
  difficulty
@@ -1366,6 +1393,7 @@ export const FLAGGED_QUESTIONS = gql `
1366
1393
  path
1367
1394
  path512
1368
1395
  path256
1396
+ thumbhash
1369
1397
  }
1370
1398
  }
1371
1399
  comments {
@@ -1418,6 +1446,7 @@ export const FLAGGED_QUESTIONS = gql `
1418
1446
  path
1419
1447
  path512
1420
1448
  path256
1449
+ thumbhash
1421
1450
  index
1422
1451
  topicId
1423
1452
  }
@@ -1449,6 +1478,7 @@ export const FLAGGED_QUESTIONS = gql `
1449
1478
  path
1450
1479
  path512
1451
1480
  path256
1481
+ thumbhash
1452
1482
  topicId
1453
1483
  }
1454
1484
  difficulty
@@ -1496,6 +1526,7 @@ export const FLAGGED_QUESTIONS = gql `
1496
1526
  path
1497
1527
  path512
1498
1528
  path256
1529
+ thumbhash
1499
1530
  }
1500
1531
  }
1501
1532
  comments {
@@ -1548,6 +1579,7 @@ export const FLAGGED_QUESTIONS = gql `
1548
1579
  path
1549
1580
  path512
1550
1581
  path256
1582
+ thumbhash
1551
1583
  index
1552
1584
  topicId
1553
1585
  }
@@ -1579,6 +1611,7 @@ export const FLAGGED_QUESTIONS = gql `
1579
1611
  path
1580
1612
  path512
1581
1613
  path256
1614
+ thumbhash
1582
1615
  topicId
1583
1616
  }
1584
1617
  difficulty
@@ -1623,6 +1656,7 @@ export const FLAGGED_QUESTIONS = gql `
1623
1656
  path
1624
1657
  path512
1625
1658
  path256
1659
+ thumbhash
1626
1660
  }
1627
1661
  }
1628
1662
  comments {
@@ -1675,6 +1709,7 @@ export const FLAGGED_QUESTIONS = gql `
1675
1709
  path
1676
1710
  path512
1677
1711
  path256
1712
+ thumbhash
1678
1713
  index
1679
1714
  topicId
1680
1715
  }
@@ -1706,6 +1741,7 @@ export const FLAGGED_QUESTIONS = gql `
1706
1741
  path
1707
1742
  path512
1708
1743
  path256
1744
+ thumbhash
1709
1745
  topicId
1710
1746
  }
1711
1747
  difficulty
@@ -1782,6 +1818,7 @@ export const FLAGGED_QUESTIONS = gql `
1782
1818
  path
1783
1819
  path512
1784
1820
  path256
1821
+ thumbhash
1785
1822
  }
1786
1823
  }
1787
1824
  comments {
@@ -1834,6 +1871,7 @@ export const FLAGGED_QUESTIONS = gql `
1834
1871
  path
1835
1872
  path512
1836
1873
  path256
1874
+ thumbhash
1837
1875
  index
1838
1876
  topicId
1839
1877
  }
@@ -1865,6 +1903,7 @@ export const FLAGGED_QUESTIONS = gql `
1865
1903
  path
1866
1904
  path512
1867
1905
  path256
1906
+ thumbhash
1868
1907
  topicId
1869
1908
  }
1870
1909
  difficulty
@@ -1909,6 +1948,7 @@ export const FLAGGED_QUESTIONS = gql `
1909
1948
  path
1910
1949
  path512
1911
1950
  path256
1951
+ thumbhash
1912
1952
  }
1913
1953
  }
1914
1954
  comments {
@@ -1961,6 +2001,7 @@ export const FLAGGED_QUESTIONS = gql `
1961
2001
  path
1962
2002
  path512
1963
2003
  path256
2004
+ thumbhash
1964
2005
  index
1965
2006
  topicId
1966
2007
  }
@@ -1992,6 +2033,7 @@ export const FLAGGED_QUESTIONS = gql `
1992
2033
  path
1993
2034
  path512
1994
2035
  path256
2036
+ thumbhash
1995
2037
  topicId
1996
2038
  }
1997
2039
  difficulty
@@ -2036,6 +2078,7 @@ export const FLAGGED_QUESTIONS = gql `
2036
2078
  path
2037
2079
  path512
2038
2080
  path256
2081
+ thumbhash
2039
2082
  }
2040
2083
  }
2041
2084
  comments {
@@ -2088,6 +2131,7 @@ export const FLAGGED_QUESTIONS = gql `
2088
2131
  path
2089
2132
  path512
2090
2133
  path256
2134
+ thumbhash
2091
2135
  index
2092
2136
  topicId
2093
2137
  }
@@ -2119,6 +2163,7 @@ export const FLAGGED_QUESTIONS = gql `
2119
2163
  path
2120
2164
  path512
2121
2165
  path256
2166
+ thumbhash
2122
2167
  topicId
2123
2168
  }
2124
2169
  difficulty
@@ -2229,6 +2274,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2229
2274
  path
2230
2275
  path512
2231
2276
  path256
2277
+ thumbhash
2232
2278
  }
2233
2279
  }
2234
2280
  comments {
@@ -2281,6 +2327,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2281
2327
  path
2282
2328
  path512
2283
2329
  path256
2330
+ thumbhash
2284
2331
  index
2285
2332
  topicId
2286
2333
  }
@@ -2312,6 +2359,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2312
2359
  path
2313
2360
  path512
2314
2361
  path256
2362
+ thumbhash
2315
2363
  topicId
2316
2364
  }
2317
2365
  difficulty
@@ -2356,6 +2404,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2356
2404
  path
2357
2405
  path512
2358
2406
  path256
2407
+ thumbhash
2359
2408
  }
2360
2409
  }
2361
2410
  comments {
@@ -2408,6 +2457,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2408
2457
  path
2409
2458
  path512
2410
2459
  path256
2460
+ thumbhash
2411
2461
  index
2412
2462
  topicId
2413
2463
  }
@@ -2439,6 +2489,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2439
2489
  path
2440
2490
  path512
2441
2491
  path256
2492
+ thumbhash
2442
2493
  topicId
2443
2494
  }
2444
2495
  difficulty
@@ -2486,6 +2537,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2486
2537
  path
2487
2538
  path512
2488
2539
  path256
2540
+ thumbhash
2489
2541
  }
2490
2542
  }
2491
2543
  comments {
@@ -2538,6 +2590,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2538
2590
  path
2539
2591
  path512
2540
2592
  path256
2593
+ thumbhash
2541
2594
  index
2542
2595
  topicId
2543
2596
  }
@@ -2569,6 +2622,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2569
2622
  path
2570
2623
  path512
2571
2624
  path256
2625
+ thumbhash
2572
2626
  topicId
2573
2627
  }
2574
2628
  difficulty
@@ -2613,6 +2667,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2613
2667
  path
2614
2668
  path512
2615
2669
  path256
2670
+ thumbhash
2616
2671
  }
2617
2672
  }
2618
2673
  comments {
@@ -2665,6 +2720,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2665
2720
  path
2666
2721
  path512
2667
2722
  path256
2723
+ thumbhash
2668
2724
  index
2669
2725
  topicId
2670
2726
  }
@@ -2696,6 +2752,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2696
2752
  path
2697
2753
  path512
2698
2754
  path256
2755
+ thumbhash
2699
2756
  topicId
2700
2757
  }
2701
2758
  difficulty
@@ -2772,6 +2829,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2772
2829
  path
2773
2830
  path512
2774
2831
  path256
2832
+ thumbhash
2775
2833
  }
2776
2834
  }
2777
2835
  comments {
@@ -2824,6 +2882,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2824
2882
  path
2825
2883
  path512
2826
2884
  path256
2885
+ thumbhash
2827
2886
  index
2828
2887
  topicId
2829
2888
  }
@@ -2855,6 +2914,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2855
2914
  path
2856
2915
  path512
2857
2916
  path256
2917
+ thumbhash
2858
2918
  topicId
2859
2919
  }
2860
2920
  difficulty
@@ -2899,6 +2959,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2899
2959
  path
2900
2960
  path512
2901
2961
  path256
2962
+ thumbhash
2902
2963
  }
2903
2964
  }
2904
2965
  comments {
@@ -2951,6 +3012,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2951
3012
  path
2952
3013
  path512
2953
3014
  path256
3015
+ thumbhash
2954
3016
  index
2955
3017
  topicId
2956
3018
  }
@@ -2982,6 +3044,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
2982
3044
  path
2983
3045
  path512
2984
3046
  path256
3047
+ thumbhash
2985
3048
  topicId
2986
3049
  }
2987
3050
  difficulty
@@ -3026,6 +3089,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
3026
3089
  path
3027
3090
  path512
3028
3091
  path256
3092
+ thumbhash
3029
3093
  }
3030
3094
  }
3031
3095
  comments {
@@ -3078,6 +3142,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
3078
3142
  path
3079
3143
  path512
3080
3144
  path256
3145
+ thumbhash
3081
3146
  index
3082
3147
  topicId
3083
3148
  }
@@ -3109,6 +3174,7 @@ export const FLAGGED_QUESTIONS_MARKSHEET = gql `
3109
3174
  path
3110
3175
  path512
3111
3176
  path256
3177
+ thumbhash
3112
3178
  topicId
3113
3179
  }
3114
3180
  difficulty
@@ -1,4 +1,4 @@
1
- import { EOsceType, EPaceType, ETopicType, IOsceStation, ITopic } from '../../../models';
1
+ import { EOsceType, EPaceType, ETopicType, IConcept, IOsceStation, ITopic } from '../../../models';
2
2
  import { RestrictedData, graphqlNormalize } from '../../types';
3
3
  export type IQuesBookVar = {
4
4
  /**TODO: make it mandatory once frontend changes are completed */
@@ -15,5 +15,9 @@ export type IOsceBookVar = {
15
15
  };
16
16
  export type IOsceBookData = RestrictedData<(graphqlNormalize & IOsceStation)[], 'osceBook'>;
17
17
  export declare const OSCE_KNOWLEDGE_VIDEO_LIBRARY: import("@apollo/client").DocumentNode;
18
+ export type IPaceBookVar = {
19
+ typeId?: EPaceType[];
20
+ };
21
+ export type IPaceBookData = RestrictedData<(graphqlNormalize & IConcept)[], 'paceBook'>;
18
22
  export declare const PACE_KNOWLEDGE_LIBRARY: import("@apollo/client").DocumentNode;
19
23
  export declare const PACE_VIDEO_LIBRARY: import("@apollo/client").DocumentNode;
@@ -36,6 +36,7 @@ export const QBANK_KNOWLEDGE_VIDEO_LIBRARY = gql `
36
36
  path
37
37
  path512
38
38
  path256
39
+ thumbhash
39
40
  index
40
41
  }
41
42
  }
@@ -94,6 +95,7 @@ export const PUBLIC_QBANK_KNOWLEDGE_LIBRARY = gql `
94
95
  path
95
96
  path512
96
97
  path256
98
+ thumbhash
97
99
  index
98
100
  }
99
101
  }
@@ -129,59 +131,44 @@ export const OSCE_KNOWLEDGE_VIDEO_LIBRARY = gql `
129
131
  }
130
132
  `;
131
133
  export const PACE_KNOWLEDGE_LIBRARY = gql `
132
- query PaceKnowledgeLibrary($typeId: [Int], $videosOnly: Boolean) {
134
+ query PaceKnowledgeLibrary($typeId: [Int]) {
133
135
  restricted {
134
- quesBook(typeId: $typeId, videosOnly: $videosOnly) {
136
+ paceBook(typeId: $typeId) {
135
137
  id
136
138
  name
137
- typeId
138
139
  demo
139
- unreadConcepts
140
- completedConcepts
141
- revisingConcepts
142
- urgentConcepts
143
- unwatchedVideos
144
- completedVideos
145
- revisingVideos
146
- urgentVideos
147
- concepts {
140
+ status
141
+ typeId
142
+ chapter {
148
143
  id
149
- name
150
- demo
151
- status
152
- totalCards
153
- totalQuestions
154
- chapter {
144
+ typeId
145
+ explanation
146
+ pictures {
155
147
  id
156
- typeId
157
- explanation
158
- pictures {
159
- id
160
- createdAt
161
- updatedAt
162
- name
163
- caption
164
- path
165
- path512
166
- path256
167
- index
168
- }
148
+ createdAt
149
+ updatedAt
150
+ name
151
+ caption
152
+ path
153
+ path512
154
+ path256
155
+ index
169
156
  }
170
- topicId
171
- videos {
157
+ }
158
+ topicId
159
+ videos {
160
+ id
161
+ status
162
+ title
163
+ museId
164
+ thumbnail
165
+ concepts {
172
166
  id
173
- status
174
- title
175
- museId
176
- thumbnail
177
- concepts {
178
- id
179
- name
180
- }
181
- live
182
- description
183
- duration
167
+ name
184
168
  }
169
+ live
170
+ description
171
+ duration
185
172
  }
186
173
  }
187
174
  }