@quesmed/types 2.4.34 → 2.4.36

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.
@@ -132,6 +132,11 @@ exports.MARKSHEET = (0, client_1.gql) `
132
132
  concept {
133
133
  id
134
134
  name
135
+ topic {
136
+ id
137
+ name
138
+ typeId
139
+ }
135
140
  chapter {
136
141
  id
137
142
  explanation
@@ -146,17 +151,8 @@ exports.MARKSHEET = (0, client_1.gql) `
146
151
  path256
147
152
  index
148
153
  topicId
149
- topic {
150
- id
151
- name
152
- typeId
153
- }
154
154
  }
155
155
  }
156
- topic {
157
- id
158
- name
159
- }
160
156
  videos {
161
157
  id
162
158
  title
@@ -184,11 +180,6 @@ exports.MARKSHEET = (0, client_1.gql) `
184
180
  path512
185
181
  path256
186
182
  topicId
187
- topic {
188
- id
189
- name
190
- typeId
191
- }
192
183
  }
193
184
  difficulty
194
185
  psaSectionId
@@ -279,11 +270,6 @@ exports.MARKSHEET = (0, client_1.gql) `
279
270
  path256
280
271
  index
281
272
  topicId
282
- topic {
283
- id
284
- name
285
- typeId
286
- }
287
273
  }
288
274
  }
289
275
  videos {
@@ -313,11 +299,6 @@ exports.MARKSHEET = (0, client_1.gql) `
313
299
  path512
314
300
  path256
315
301
  topicId
316
- topic {
317
- id
318
- name
319
- typeId
320
- }
321
302
  }
322
303
  difficulty
323
304
  psaSectionId
@@ -397,6 +378,11 @@ exports.MARKSHEET = (0, client_1.gql) `
397
378
  concept {
398
379
  id
399
380
  name
381
+ topic {
382
+ id
383
+ name
384
+ typeId
385
+ }
400
386
  chapter {
401
387
  id
402
388
  explanation
@@ -411,11 +397,6 @@ exports.MARKSHEET = (0, client_1.gql) `
411
397
  path256
412
398
  index
413
399
  topicId
414
- topic {
415
- id
416
- name
417
- typeId
418
- }
419
400
  }
420
401
  }
421
402
  videos {
@@ -445,11 +426,6 @@ exports.MARKSHEET = (0, client_1.gql) `
445
426
  path512
446
427
  path256
447
428
  topicId
448
- topic {
449
- id
450
- name
451
- typeId
452
- }
453
429
  }
454
430
  difficulty
455
431
  psaSectionId
@@ -526,6 +502,11 @@ exports.MARKSHEET = (0, client_1.gql) `
526
502
  concept {
527
503
  id
528
504
  name
505
+ topic {
506
+ id
507
+ name
508
+ typeId
509
+ }
529
510
  chapter {
530
511
  id
531
512
  explanation
@@ -540,11 +521,6 @@ exports.MARKSHEET = (0, client_1.gql) `
540
521
  path256
541
522
  index
542
523
  topicId
543
- topic {
544
- id
545
- name
546
- typeId
547
- }
548
524
  }
549
525
  }
550
526
  videos {
@@ -574,11 +550,6 @@ exports.MARKSHEET = (0, client_1.gql) `
574
550
  path512
575
551
  path256
576
552
  topicId
577
- topic {
578
- id
579
- name
580
- typeId
581
- }
582
553
  }
583
554
  difficulty
584
555
  psaSectionId
@@ -753,11 +724,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
753
724
  path256
754
725
  index
755
726
  topicId
756
- topic {
757
- id
758
- name
759
- typeId
760
- }
761
727
  }
762
728
  }
763
729
  videos {
@@ -787,11 +753,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
787
753
  path512
788
754
  path256
789
755
  topicId
790
- topic {
791
- id
792
- name
793
- typeId
794
- }
795
756
  }
796
757
  }
797
758
  mark {
@@ -871,6 +832,11 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
871
832
  concept {
872
833
  id
873
834
  name
835
+ topic {
836
+ id
837
+ name
838
+ typeId
839
+ }
874
840
  chapter {
875
841
  id
876
842
  explanation
@@ -885,11 +851,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
885
851
  path256
886
852
  index
887
853
  topicId
888
- topic {
889
- id
890
- name
891
- typeId
892
- }
893
854
  }
894
855
  }
895
856
  videos {
@@ -919,11 +880,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
919
880
  path512
920
881
  path256
921
882
  topicId
922
- topic {
923
- id
924
- name
925
- typeId
926
- }
927
883
  }
928
884
  difficulty
929
885
  psaSectionId
@@ -1000,6 +956,11 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1000
956
  concept {
1001
957
  id
1002
958
  name
959
+ topic {
960
+ id
961
+ name
962
+ typeId
963
+ }
1003
964
  chapter {
1004
965
  id
1005
966
  explanation
@@ -1014,11 +975,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1014
975
  path256
1015
976
  index
1016
977
  topicId
1017
- topic {
1018
- id
1019
- name
1020
- typeId
1021
- }
1022
978
  }
1023
979
  }
1024
980
  videos {
@@ -1048,11 +1004,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1048
1004
  path512
1049
1005
  path256
1050
1006
  topicId
1051
- topic {
1052
- id
1053
- name
1054
- typeId
1055
- }
1056
1007
  }
1057
1008
  difficulty
1058
1009
  psaSectionId
@@ -1132,6 +1083,11 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1132
1083
  concept {
1133
1084
  id
1134
1085
  name
1086
+ topic {
1087
+ id
1088
+ name
1089
+ typeId
1090
+ }
1135
1091
  chapter {
1136
1092
  id
1137
1093
  explanation
@@ -1146,11 +1102,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1146
1102
  path256
1147
1103
  index
1148
1104
  topicId
1149
- topic {
1150
- id
1151
- name
1152
- typeId
1153
- }
1154
1105
  }
1155
1106
  }
1156
1107
  videos {
@@ -1180,11 +1131,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1180
1131
  path512
1181
1132
  path256
1182
1133
  topicId
1183
- topic {
1184
- id
1185
- name
1186
- typeId
1187
- }
1188
1134
  }
1189
1135
  difficulty
1190
1136
  psaSectionId
@@ -1261,6 +1207,11 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1261
1207
  concept {
1262
1208
  id
1263
1209
  name
1210
+ topic {
1211
+ id
1212
+ name
1213
+ typeId
1214
+ }
1264
1215
  chapter {
1265
1216
  id
1266
1217
  explanation
@@ -1275,11 +1226,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1275
1226
  path256
1276
1227
  index
1277
1228
  topicId
1278
- topic {
1279
- id
1280
- name
1281
- typeId
1282
- }
1283
1229
  }
1284
1230
  }
1285
1231
  videos {
@@ -1309,11 +1255,6 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
1309
1255
  path512
1310
1256
  path256
1311
1257
  topicId
1312
- topic {
1313
- id
1314
- name
1315
- typeId
1316
- }
1317
1258
  }
1318
1259
  difficulty
1319
1260
  psaSectionId
@@ -1478,6 +1419,11 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1478
1419
  concept {
1479
1420
  id
1480
1421
  name
1422
+ topic {
1423
+ id
1424
+ name
1425
+ typeId
1426
+ }
1481
1427
  chapter {
1482
1428
  id
1483
1429
  explanation
@@ -1492,11 +1438,6 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1492
1438
  path256
1493
1439
  index
1494
1440
  topicId
1495
- topic {
1496
- id
1497
- name
1498
- typeId
1499
- }
1500
1441
  }
1501
1442
  }
1502
1443
  videos {
@@ -1526,11 +1467,6 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1526
1467
  path512
1527
1468
  path256
1528
1469
  topicId
1529
- topic {
1530
- id
1531
- name
1532
- typeId
1533
- }
1534
1470
  }
1535
1471
  difficulty
1536
1472
  psaSectionId
@@ -1607,6 +1543,11 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1607
1543
  concept {
1608
1544
  id
1609
1545
  name
1546
+ topic {
1547
+ id
1548
+ name
1549
+ typeId
1550
+ }
1610
1551
  chapter {
1611
1552
  id
1612
1553
  explanation
@@ -1621,11 +1562,6 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1621
1562
  path256
1622
1563
  index
1623
1564
  topicId
1624
- topic {
1625
- id
1626
- name
1627
- typeId
1628
- }
1629
1565
  }
1630
1566
  }
1631
1567
  videos {
@@ -1655,11 +1591,6 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1655
1591
  path512
1656
1592
  path256
1657
1593
  topicId
1658
- topic {
1659
- id
1660
- name
1661
- typeId
1662
- }
1663
1594
  }
1664
1595
  difficulty
1665
1596
  psaSectionId
@@ -1739,6 +1670,11 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1739
1670
  concept {
1740
1671
  id
1741
1672
  name
1673
+ topic {
1674
+ id
1675
+ name
1676
+ typeId
1677
+ }
1742
1678
  chapter {
1743
1679
  id
1744
1680
  explanation
@@ -1753,11 +1689,6 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1753
1689
  path256
1754
1690
  index
1755
1691
  topicId
1756
- topic {
1757
- id
1758
- name
1759
- typeId
1760
- }
1761
1692
  }
1762
1693
  }
1763
1694
  videos {
@@ -1787,11 +1718,6 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1787
1718
  path512
1788
1719
  path256
1789
1720
  topicId
1790
- topic {
1791
- id
1792
- name
1793
- typeId
1794
- }
1795
1721
  }
1796
1722
  difficulty
1797
1723
  psaSectionId
@@ -1868,6 +1794,11 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1868
1794
  concept {
1869
1795
  id
1870
1796
  name
1797
+ topic {
1798
+ id
1799
+ name
1800
+ typeId
1801
+ }
1871
1802
  chapter {
1872
1803
  id
1873
1804
  explanation
@@ -1882,11 +1813,6 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1882
1813
  path256
1883
1814
  index
1884
1815
  topicId
1885
- topic {
1886
- id
1887
- name
1888
- typeId
1889
- }
1890
1816
  }
1891
1817
  }
1892
1818
  videos {
@@ -1916,11 +1842,6 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1916
1842
  path512
1917
1843
  path256
1918
1844
  topicId
1919
- topic {
1920
- id
1921
- name
1922
- typeId
1923
- }
1924
1845
  }
1925
1846
  difficulty
1926
1847
  psaSectionId
@@ -40,6 +40,11 @@ exports.TODO = (0, client_1.gql) `
40
40
  explanation
41
41
  concept {
42
42
  id
43
+ topic {
44
+ id
45
+ name
46
+ typeId
47
+ }
43
48
  videos {
44
49
  id
45
50
  title
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.lightgalleryOsceResolve = void 0;
4
- const lightgalleryRegex = /\[lightgallery([0-9]{0,})\]/;
4
+ const lightgalleryRegex = /\[lightgallery([0-9]{0,})\]/g;
5
5
  function isOsceMarksheet(data) {
6
6
  return 'osceStationId' in data;
7
7
  }
@@ -2,7 +2,8 @@ export declare enum EDifficultyType {
2
2
  ALL = 0,
3
3
  CORE = 1,
4
4
  CHALLENGING = 2,
5
- DIFFICULT = 3
5
+ DIFFICULT = 3,
6
+ QUICK_FIRE = 4
6
7
  }
7
8
  export interface IDifficultyType {
8
9
  id: EDifficultyType;
@@ -4,4 +4,5 @@ export var EDifficultyType;
4
4
  EDifficultyType[EDifficultyType["CORE"] = 1] = "CORE";
5
5
  EDifficultyType[EDifficultyType["CHALLENGING"] = 2] = "CHALLENGING";
6
6
  EDifficultyType[EDifficultyType["DIFFICULT"] = 3] = "DIFFICULT";
7
+ EDifficultyType[EDifficultyType["QUICK_FIRE"] = 4] = "QUICK_FIRE";
7
8
  })(EDifficultyType || (EDifficultyType = {}));
@@ -26,6 +26,7 @@ export interface IUserMockTest {
26
26
  id: Id;
27
27
  title: string;
28
28
  passingMark: number;
29
+ typeId: EMockTestType | null;
29
30
  correct: number;
30
31
  incorrect: number;
31
32
  totalQuestions: number;
@@ -15,6 +15,12 @@ export declare enum EClassYearGroup {
15
15
  PRECLINICAL = 0,
16
16
  CLINICAL = 1
17
17
  }
18
+ export declare enum EUserConceptStatus {
19
+ UNREAD = 0,
20
+ COMPLETED = 1,
21
+ UN_IMPORTANT = 2,
22
+ IMPORTANT = 3
23
+ }
18
24
  export declare const classYearGroup: {
19
25
  [key: string]: EClassYearGroup;
20
26
  };
@@ -166,3 +172,13 @@ export interface IUserQuestionsFirstAttempt {
166
172
  questionId: Id;
167
173
  answer: boolean;
168
174
  }
175
+ export interface IUserConceptStatus {
176
+ id: Id;
177
+ createdAt: number | Date;
178
+ updatedAt: number | Date;
179
+ conceptId: Id;
180
+ userId: Id;
181
+ status: EUserConceptStatus;
182
+ user: IUser;
183
+ concept: IConcept;
184
+ }
@@ -12,6 +12,13 @@ export var EClassYearGroup;
12
12
  EClassYearGroup[EClassYearGroup["PRECLINICAL"] = 0] = "PRECLINICAL";
13
13
  EClassYearGroup[EClassYearGroup["CLINICAL"] = 1] = "CLINICAL";
14
14
  })(EClassYearGroup || (EClassYearGroup = {}));
15
+ export var EUserConceptStatus;
16
+ (function (EUserConceptStatus) {
17
+ EUserConceptStatus[EUserConceptStatus["UNREAD"] = 0] = "UNREAD";
18
+ EUserConceptStatus[EUserConceptStatus["COMPLETED"] = 1] = "COMPLETED";
19
+ EUserConceptStatus[EUserConceptStatus["UN_IMPORTANT"] = 2] = "UN_IMPORTANT";
20
+ EUserConceptStatus[EUserConceptStatus["IMPORTANT"] = 3] = "IMPORTANT";
21
+ })(EUserConceptStatus || (EUserConceptStatus = {}));
15
22
  export const classYearGroup = {
16
23
  'Year 1': EClassYearGroup.PRECLINICAL,
17
24
  'Year 2': EClassYearGroup.PRECLINICAL,