@quesmed/types 2.4.33 → 2.4.35
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/Difficulty.d.ts +2 -1
- package/dist/cjs/models/Difficulty.js +1 -0
- package/dist/cjs/models/MockTest.d.ts +14 -2
- package/dist/cjs/models/MockTest.js +10 -0
- package/dist/cjs/resolvers/mutation/restricted/marksheet.js +60 -120
- package/dist/cjs/resolvers/query/restricted/marksheet.js +55 -134
- package/dist/cjs/resolvers/query/restricted/mockTests.d.ts +2 -2
- package/dist/cjs/resolvers/query/restricted/todos.js +5 -0
- package/dist/cjs/utils/lightgallery.js +1 -1
- package/dist/mjs/models/Difficulty.d.ts +2 -1
- package/dist/mjs/models/Difficulty.js +1 -0
- package/dist/mjs/models/MockTest.d.ts +14 -2
- package/dist/mjs/models/MockTest.js +9 -1
- package/dist/mjs/resolvers/mutation/restricted/marksheet.js +60 -120
- package/dist/mjs/resolvers/query/restricted/marksheet.js +55 -134
- package/dist/mjs/resolvers/query/restricted/mockTests.d.ts +2 -2
- package/dist/mjs/resolvers/query/restricted/todos.js +5 -0
- package/dist/mjs/utils/lightgallery.js +1 -1
- package/package.json +1 -1
|
@@ -7,4 +7,5 @@ var EDifficultyType;
|
|
|
7
7
|
EDifficultyType[EDifficultyType["CORE"] = 1] = "CORE";
|
|
8
8
|
EDifficultyType[EDifficultyType["CHALLENGING"] = 2] = "CHALLENGING";
|
|
9
9
|
EDifficultyType[EDifficultyType["DIFFICULT"] = 3] = "DIFFICULT";
|
|
10
|
+
EDifficultyType[EDifficultyType["QUICK_FIRE"] = 4] = "QUICK_FIRE";
|
|
10
11
|
})(EDifficultyType = exports.EDifficultyType || (exports.EDifficultyType = {}));
|
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
import { IQuestion } from './Question';
|
|
2
|
-
import { ETopicType } from './Topic';
|
|
3
2
|
import { Id } from './Type';
|
|
3
|
+
export declare enum EMockTestType {
|
|
4
|
+
ALL = 0,
|
|
5
|
+
FINALS = 1,
|
|
6
|
+
PSA = 2,
|
|
7
|
+
MISCELLANEOUS = 3,
|
|
8
|
+
UNIVERSITY_SPECIFIC = 4,
|
|
9
|
+
ANATOMY_SPOTTER = 5
|
|
10
|
+
}
|
|
11
|
+
export interface IMockTestType {
|
|
12
|
+
id: EMockTestType;
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
4
15
|
export interface IMockTest {
|
|
5
16
|
id: Id;
|
|
6
17
|
createdAt: number | Date;
|
|
7
18
|
title: string;
|
|
8
19
|
topicIds: number[];
|
|
9
|
-
typeId:
|
|
20
|
+
typeId: EMockTestType | null;
|
|
10
21
|
passingMark: number;
|
|
11
22
|
public: boolean;
|
|
12
23
|
questions: IQuestion[];
|
|
@@ -15,6 +26,7 @@ export interface IUserMockTest {
|
|
|
15
26
|
id: Id;
|
|
16
27
|
title: string;
|
|
17
28
|
passingMark: number;
|
|
29
|
+
typeId: EMockTestType | null;
|
|
18
30
|
correct: number;
|
|
19
31
|
incorrect: number;
|
|
20
32
|
totalQuestions: number;
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EMockTestType = void 0;
|
|
4
|
+
var EMockTestType;
|
|
5
|
+
(function (EMockTestType) {
|
|
6
|
+
EMockTestType[EMockTestType["ALL"] = 0] = "ALL";
|
|
7
|
+
EMockTestType[EMockTestType["FINALS"] = 1] = "FINALS";
|
|
8
|
+
EMockTestType[EMockTestType["PSA"] = 2] = "PSA";
|
|
9
|
+
EMockTestType[EMockTestType["MISCELLANEOUS"] = 3] = "MISCELLANEOUS";
|
|
10
|
+
EMockTestType[EMockTestType["UNIVERSITY_SPECIFIC"] = 4] = "UNIVERSITY_SPECIFIC";
|
|
11
|
+
EMockTestType[EMockTestType["ANATOMY_SPOTTER"] = 5] = "ANATOMY_SPOTTER";
|
|
12
|
+
})(EMockTestType = exports.EMockTestType || (exports.EMockTestType = {}));
|
|
@@ -125,6 +125,11 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
125
125
|
concept {
|
|
126
126
|
id
|
|
127
127
|
name
|
|
128
|
+
topic {
|
|
129
|
+
id
|
|
130
|
+
name
|
|
131
|
+
typeId
|
|
132
|
+
}
|
|
128
133
|
chapter {
|
|
129
134
|
id
|
|
130
135
|
explanation
|
|
@@ -139,11 +144,6 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
139
144
|
path256
|
|
140
145
|
index
|
|
141
146
|
topicId
|
|
142
|
-
topic {
|
|
143
|
-
id
|
|
144
|
-
name
|
|
145
|
-
typeId
|
|
146
|
-
}
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
videos {
|
|
@@ -173,11 +173,6 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
173
173
|
path512
|
|
174
174
|
path256
|
|
175
175
|
topicId
|
|
176
|
-
topic {
|
|
177
|
-
id
|
|
178
|
-
name
|
|
179
|
-
typeId
|
|
180
|
-
}
|
|
181
176
|
}
|
|
182
177
|
difficulty
|
|
183
178
|
psaSectionId
|
|
@@ -254,6 +249,11 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
254
249
|
concept {
|
|
255
250
|
id
|
|
256
251
|
name
|
|
252
|
+
topic {
|
|
253
|
+
id
|
|
254
|
+
name
|
|
255
|
+
typeId
|
|
256
|
+
}
|
|
257
257
|
chapter {
|
|
258
258
|
id
|
|
259
259
|
explanation
|
|
@@ -268,11 +268,6 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
268
268
|
path256
|
|
269
269
|
index
|
|
270
270
|
topicId
|
|
271
|
-
topic {
|
|
272
|
-
id
|
|
273
|
-
name
|
|
274
|
-
typeId
|
|
275
|
-
}
|
|
276
271
|
}
|
|
277
272
|
}
|
|
278
273
|
videos {
|
|
@@ -302,11 +297,6 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
302
297
|
path512
|
|
303
298
|
path256
|
|
304
299
|
topicId
|
|
305
|
-
topic {
|
|
306
|
-
id
|
|
307
|
-
name
|
|
308
|
-
typeId
|
|
309
|
-
}
|
|
310
300
|
}
|
|
311
301
|
difficulty
|
|
312
302
|
psaSectionId
|
|
@@ -386,6 +376,11 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
386
376
|
concept {
|
|
387
377
|
id
|
|
388
378
|
name
|
|
379
|
+
topic {
|
|
380
|
+
id
|
|
381
|
+
name
|
|
382
|
+
typeId
|
|
383
|
+
}
|
|
389
384
|
chapter {
|
|
390
385
|
id
|
|
391
386
|
explanation
|
|
@@ -400,11 +395,6 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
400
395
|
path256
|
|
401
396
|
index
|
|
402
397
|
topicId
|
|
403
|
-
topic {
|
|
404
|
-
id
|
|
405
|
-
name
|
|
406
|
-
typeId
|
|
407
|
-
}
|
|
408
398
|
}
|
|
409
399
|
}
|
|
410
400
|
videos {
|
|
@@ -434,11 +424,6 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
434
424
|
path512
|
|
435
425
|
path256
|
|
436
426
|
topicId
|
|
437
|
-
topic {
|
|
438
|
-
id
|
|
439
|
-
name
|
|
440
|
-
typeId
|
|
441
|
-
}
|
|
442
427
|
}
|
|
443
428
|
difficulty
|
|
444
429
|
psaSectionId
|
|
@@ -515,6 +500,11 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
515
500
|
concept {
|
|
516
501
|
id
|
|
517
502
|
name
|
|
503
|
+
topic {
|
|
504
|
+
id
|
|
505
|
+
name
|
|
506
|
+
typeId
|
|
507
|
+
}
|
|
518
508
|
chapter {
|
|
519
509
|
id
|
|
520
510
|
explanation
|
|
@@ -529,11 +519,6 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
529
519
|
path256
|
|
530
520
|
index
|
|
531
521
|
topicId
|
|
532
|
-
topic {
|
|
533
|
-
id
|
|
534
|
-
name
|
|
535
|
-
typeId
|
|
536
|
-
}
|
|
537
522
|
}
|
|
538
523
|
}
|
|
539
524
|
videos {
|
|
@@ -563,11 +548,6 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
|
563
548
|
path512
|
|
564
549
|
path256
|
|
565
550
|
topicId
|
|
566
|
-
topic {
|
|
567
|
-
id
|
|
568
|
-
name
|
|
569
|
-
typeId
|
|
570
|
-
}
|
|
571
551
|
}
|
|
572
552
|
difficulty
|
|
573
553
|
psaSectionId
|
|
@@ -739,6 +719,11 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
739
719
|
concept {
|
|
740
720
|
id
|
|
741
721
|
name
|
|
722
|
+
topic {
|
|
723
|
+
id
|
|
724
|
+
name
|
|
725
|
+
typeId
|
|
726
|
+
}
|
|
742
727
|
chapter {
|
|
743
728
|
id
|
|
744
729
|
explanation
|
|
@@ -753,11 +738,6 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
753
738
|
path256
|
|
754
739
|
index
|
|
755
740
|
topicId
|
|
756
|
-
topic {
|
|
757
|
-
id
|
|
758
|
-
name
|
|
759
|
-
typeId
|
|
760
|
-
}
|
|
761
741
|
}
|
|
762
742
|
}
|
|
763
743
|
videos {
|
|
@@ -787,11 +767,6 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
787
767
|
path512
|
|
788
768
|
path256
|
|
789
769
|
topicId
|
|
790
|
-
topic {
|
|
791
|
-
id
|
|
792
|
-
name
|
|
793
|
-
typeId
|
|
794
|
-
}
|
|
795
770
|
}
|
|
796
771
|
difficulty
|
|
797
772
|
psaSectionId
|
|
@@ -868,6 +843,11 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
868
843
|
concept {
|
|
869
844
|
id
|
|
870
845
|
name
|
|
846
|
+
topic {
|
|
847
|
+
id
|
|
848
|
+
name
|
|
849
|
+
typeId
|
|
850
|
+
}
|
|
871
851
|
chapter {
|
|
872
852
|
id
|
|
873
853
|
explanation
|
|
@@ -882,11 +862,6 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
882
862
|
path256
|
|
883
863
|
index
|
|
884
864
|
topicId
|
|
885
|
-
topic {
|
|
886
|
-
id
|
|
887
|
-
name
|
|
888
|
-
typeId
|
|
889
|
-
}
|
|
890
865
|
}
|
|
891
866
|
}
|
|
892
867
|
videos {
|
|
@@ -916,11 +891,6 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
916
891
|
path512
|
|
917
892
|
path256
|
|
918
893
|
topicId
|
|
919
|
-
topic {
|
|
920
|
-
id
|
|
921
|
-
name
|
|
922
|
-
typeId
|
|
923
|
-
}
|
|
924
894
|
}
|
|
925
895
|
difficulty
|
|
926
896
|
psaSectionId
|
|
@@ -1000,6 +970,11 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1000
970
|
concept {
|
|
1001
971
|
id
|
|
1002
972
|
name
|
|
973
|
+
topic {
|
|
974
|
+
id
|
|
975
|
+
name
|
|
976
|
+
typeId
|
|
977
|
+
}
|
|
1003
978
|
chapter {
|
|
1004
979
|
id
|
|
1005
980
|
explanation
|
|
@@ -1014,11 +989,6 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1014
989
|
path256
|
|
1015
990
|
index
|
|
1016
991
|
topicId
|
|
1017
|
-
topic {
|
|
1018
|
-
id
|
|
1019
|
-
name
|
|
1020
|
-
typeId
|
|
1021
|
-
}
|
|
1022
992
|
}
|
|
1023
993
|
}
|
|
1024
994
|
videos {
|
|
@@ -1048,11 +1018,6 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1048
1018
|
path512
|
|
1049
1019
|
path256
|
|
1050
1020
|
topicId
|
|
1051
|
-
topic {
|
|
1052
|
-
id
|
|
1053
|
-
name
|
|
1054
|
-
typeId
|
|
1055
|
-
}
|
|
1056
1021
|
}
|
|
1057
1022
|
difficulty
|
|
1058
1023
|
psaSectionId
|
|
@@ -1129,6 +1094,11 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1129
1094
|
concept {
|
|
1130
1095
|
id
|
|
1131
1096
|
name
|
|
1097
|
+
topic {
|
|
1098
|
+
id
|
|
1099
|
+
name
|
|
1100
|
+
typeId
|
|
1101
|
+
}
|
|
1132
1102
|
chapter {
|
|
1133
1103
|
id
|
|
1134
1104
|
explanation
|
|
@@ -1143,11 +1113,6 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1143
1113
|
path256
|
|
1144
1114
|
index
|
|
1145
1115
|
topicId
|
|
1146
|
-
topic {
|
|
1147
|
-
id
|
|
1148
|
-
name
|
|
1149
|
-
typeId
|
|
1150
|
-
}
|
|
1151
1116
|
}
|
|
1152
1117
|
}
|
|
1153
1118
|
videos {
|
|
@@ -1177,11 +1142,6 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1177
1142
|
path512
|
|
1178
1143
|
path256
|
|
1179
1144
|
topicId
|
|
1180
|
-
topic {
|
|
1181
|
-
id
|
|
1182
|
-
name
|
|
1183
|
-
typeId
|
|
1184
|
-
}
|
|
1185
1145
|
}
|
|
1186
1146
|
difficulty
|
|
1187
1147
|
psaSectionId
|
|
@@ -1358,6 +1318,11 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1358
1318
|
concept {
|
|
1359
1319
|
id
|
|
1360
1320
|
name
|
|
1321
|
+
topic {
|
|
1322
|
+
id
|
|
1323
|
+
name
|
|
1324
|
+
typeId
|
|
1325
|
+
}
|
|
1361
1326
|
chapter {
|
|
1362
1327
|
id
|
|
1363
1328
|
explanation
|
|
@@ -1372,11 +1337,6 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1372
1337
|
path256
|
|
1373
1338
|
index
|
|
1374
1339
|
topicId
|
|
1375
|
-
topic {
|
|
1376
|
-
id
|
|
1377
|
-
name
|
|
1378
|
-
typeId
|
|
1379
|
-
}
|
|
1380
1340
|
}
|
|
1381
1341
|
}
|
|
1382
1342
|
videos {
|
|
@@ -1406,11 +1366,6 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1406
1366
|
path512
|
|
1407
1367
|
path256
|
|
1408
1368
|
topicId
|
|
1409
|
-
topic {
|
|
1410
|
-
id
|
|
1411
|
-
name
|
|
1412
|
-
typeId
|
|
1413
|
-
}
|
|
1414
1369
|
}
|
|
1415
1370
|
difficulty
|
|
1416
1371
|
psaSectionId
|
|
@@ -1487,6 +1442,11 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1487
1442
|
concept {
|
|
1488
1443
|
id
|
|
1489
1444
|
name
|
|
1445
|
+
topic {
|
|
1446
|
+
id
|
|
1447
|
+
name
|
|
1448
|
+
typeId
|
|
1449
|
+
}
|
|
1490
1450
|
chapter {
|
|
1491
1451
|
id
|
|
1492
1452
|
explanation
|
|
@@ -1501,11 +1461,6 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1501
1461
|
path256
|
|
1502
1462
|
index
|
|
1503
1463
|
topicId
|
|
1504
|
-
topic {
|
|
1505
|
-
id
|
|
1506
|
-
name
|
|
1507
|
-
typeId
|
|
1508
|
-
}
|
|
1509
1464
|
}
|
|
1510
1465
|
}
|
|
1511
1466
|
videos {
|
|
@@ -1535,11 +1490,6 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1535
1490
|
path512
|
|
1536
1491
|
path256
|
|
1537
1492
|
topicId
|
|
1538
|
-
topic {
|
|
1539
|
-
id
|
|
1540
|
-
name
|
|
1541
|
-
typeId
|
|
1542
|
-
}
|
|
1543
1493
|
}
|
|
1544
1494
|
difficulty
|
|
1545
1495
|
psaSectionId
|
|
@@ -1619,6 +1569,11 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1619
1569
|
concept {
|
|
1620
1570
|
id
|
|
1621
1571
|
name
|
|
1572
|
+
topic {
|
|
1573
|
+
id
|
|
1574
|
+
name
|
|
1575
|
+
typeId
|
|
1576
|
+
}
|
|
1622
1577
|
chapter {
|
|
1623
1578
|
id
|
|
1624
1579
|
explanation
|
|
@@ -1633,11 +1588,6 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1633
1588
|
path256
|
|
1634
1589
|
index
|
|
1635
1590
|
topicId
|
|
1636
|
-
topic {
|
|
1637
|
-
id
|
|
1638
|
-
name
|
|
1639
|
-
typeId
|
|
1640
|
-
}
|
|
1641
1591
|
}
|
|
1642
1592
|
}
|
|
1643
1593
|
videos {
|
|
@@ -1667,11 +1617,6 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1667
1617
|
path512
|
|
1668
1618
|
path256
|
|
1669
1619
|
topicId
|
|
1670
|
-
topic {
|
|
1671
|
-
id
|
|
1672
|
-
name
|
|
1673
|
-
typeId
|
|
1674
|
-
}
|
|
1675
1620
|
}
|
|
1676
1621
|
difficulty
|
|
1677
1622
|
psaSectionId
|
|
@@ -1748,6 +1693,11 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1748
1693
|
concept {
|
|
1749
1694
|
id
|
|
1750
1695
|
name
|
|
1696
|
+
topic {
|
|
1697
|
+
id
|
|
1698
|
+
name
|
|
1699
|
+
typeId
|
|
1700
|
+
}
|
|
1751
1701
|
chapter {
|
|
1752
1702
|
id
|
|
1753
1703
|
explanation
|
|
@@ -1762,11 +1712,6 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1762
1712
|
path256
|
|
1763
1713
|
index
|
|
1764
1714
|
topicId
|
|
1765
|
-
topic {
|
|
1766
|
-
id
|
|
1767
|
-
name
|
|
1768
|
-
typeId
|
|
1769
|
-
}
|
|
1770
1715
|
}
|
|
1771
1716
|
}
|
|
1772
1717
|
videos {
|
|
@@ -1796,11 +1741,6 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
1796
1741
|
path512
|
|
1797
1742
|
path256
|
|
1798
1743
|
topicId
|
|
1799
|
-
topic {
|
|
1800
|
-
id
|
|
1801
|
-
name
|
|
1802
|
-
typeId
|
|
1803
|
-
}
|
|
1804
1744
|
}
|
|
1805
1745
|
difficulty
|
|
1806
1746
|
psaSectionId
|