@quesmed/types 2.5.37 → 2.5.39

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.
@@ -587,6 +587,1365 @@ export const BUILD_QUESTION_MARKSHEET = gql `
587
587
  }
588
588
  }
589
589
  }
590
+ ... on QuestionEMQ {
591
+ conceptId
592
+ difficulty
593
+ dislikes
594
+ explanation
595
+ id
596
+ isLikedByMe
597
+ likes
598
+ question
599
+ totalVotes
600
+ typeId
601
+ highlights {
602
+ start
603
+ end
604
+ text
605
+ part
606
+ tag
607
+ color
608
+ }
609
+ choices {
610
+ id
611
+ explanation
612
+ name
613
+ label
614
+ answer
615
+ votes
616
+ picture {
617
+ id
618
+ createdAt
619
+ updatedAt
620
+ name
621
+ caption
622
+ path
623
+ path512
624
+ path256
625
+ }
626
+ }
627
+ comments {
628
+ id
629
+ createdAt
630
+ comment
631
+ parentId
632
+ likes
633
+ user {
634
+ id
635
+ displayName
636
+ }
637
+ dislikes
638
+ isLikedByMe
639
+ questionId
640
+ replies {
641
+ id
642
+ createdAt
643
+ comment
644
+ parentId
645
+ user {
646
+ id
647
+ displayName
648
+ }
649
+ likes
650
+ dislikes
651
+ isLikedByMe
652
+ questionId
653
+ }
654
+ }
655
+ concept {
656
+ id
657
+ name
658
+ status
659
+ topic {
660
+ id
661
+ name
662
+ typeId
663
+ }
664
+ chapter {
665
+ id
666
+ explanation
667
+ pictures {
668
+ id
669
+ createdAt
670
+ updatedAt
671
+ name
672
+ caption
673
+ path
674
+ path512
675
+ path256
676
+ index
677
+ topicId
678
+ }
679
+ }
680
+ videos {
681
+ id
682
+ status
683
+ title
684
+ museId
685
+ startTime
686
+ endTime
687
+ thumbnail
688
+ concepts {
689
+ id
690
+ name
691
+ }
692
+ live
693
+ description
694
+ duration
695
+ }
696
+ }
697
+ pictures {
698
+ id
699
+ createdAt
700
+ updatedAt
701
+ name
702
+ index
703
+ caption
704
+ path
705
+ path512
706
+ path256
707
+ topicId
708
+ }
709
+ difficulty
710
+ psaSectionId
711
+ likes
712
+ dislikes
713
+ isLikedByMe
714
+ emqAnswer: answer
715
+ }
716
+ ... on QuestionRanking {
717
+ conceptId
718
+ difficulty
719
+ dislikes
720
+ explanation
721
+ id
722
+ isLikedByMe
723
+ likes
724
+ question
725
+ totalVotes
726
+ typeId
727
+ highlights {
728
+ start
729
+ end
730
+ text
731
+ part
732
+ tag
733
+ color
734
+ }
735
+ choices {
736
+ id
737
+ explanation
738
+ name
739
+ label
740
+ answer
741
+ votes
742
+ picture {
743
+ id
744
+ createdAt
745
+ updatedAt
746
+ name
747
+ caption
748
+ path
749
+ path512
750
+ path256
751
+ }
752
+ }
753
+ comments {
754
+ id
755
+ createdAt
756
+ comment
757
+ parentId
758
+ likes
759
+ user {
760
+ id
761
+ displayName
762
+ }
763
+ dislikes
764
+ isLikedByMe
765
+ questionId
766
+ replies {
767
+ id
768
+ createdAt
769
+ comment
770
+ parentId
771
+ user {
772
+ id
773
+ displayName
774
+ }
775
+ likes
776
+ dislikes
777
+ isLikedByMe
778
+ questionId
779
+ }
780
+ }
781
+ concept {
782
+ id
783
+ name
784
+ status
785
+ topic {
786
+ id
787
+ name
788
+ typeId
789
+ }
790
+ chapter {
791
+ id
792
+ explanation
793
+ pictures {
794
+ id
795
+ createdAt
796
+ updatedAt
797
+ name
798
+ caption
799
+ path
800
+ path512
801
+ path256
802
+ index
803
+ topicId
804
+ }
805
+ }
806
+ videos {
807
+ id
808
+ status
809
+ title
810
+ museId
811
+ startTime
812
+ endTime
813
+ thumbnail
814
+ concepts {
815
+ id
816
+ name
817
+ }
818
+ live
819
+ description
820
+ duration
821
+ }
822
+ }
823
+ pictures {
824
+ id
825
+ createdAt
826
+ updatedAt
827
+ name
828
+ index
829
+ caption
830
+ path
831
+ path512
832
+ path256
833
+ topicId
834
+ }
835
+ difficulty
836
+ psaSectionId
837
+ likes
838
+ dislikes
839
+ isLikedByMe
840
+ rankingAnswer: answer
841
+ }
842
+ ... on QuestionSelect3 {
843
+ conceptId
844
+ difficulty
845
+ dislikes
846
+ explanation
847
+ id
848
+ isLikedByMe
849
+ likes
850
+ question
851
+ totalVotes
852
+ typeId
853
+ highlights {
854
+ start
855
+ end
856
+ text
857
+ part
858
+ tag
859
+ color
860
+ }
861
+ choices {
862
+ id
863
+ explanation
864
+ name
865
+ label
866
+ answer
867
+ votes
868
+ picture {
869
+ id
870
+ createdAt
871
+ updatedAt
872
+ name
873
+ caption
874
+ path
875
+ path512
876
+ path256
877
+ }
878
+ }
879
+ comments {
880
+ id
881
+ createdAt
882
+ comment
883
+ parentId
884
+ likes
885
+ user {
886
+ id
887
+ displayName
888
+ }
889
+ dislikes
890
+ isLikedByMe
891
+ questionId
892
+ replies {
893
+ id
894
+ createdAt
895
+ comment
896
+ parentId
897
+ user {
898
+ id
899
+ displayName
900
+ }
901
+ likes
902
+ dislikes
903
+ isLikedByMe
904
+ questionId
905
+ }
906
+ }
907
+ concept {
908
+ id
909
+ name
910
+ status
911
+ topic {
912
+ id
913
+ name
914
+ typeId
915
+ }
916
+ chapter {
917
+ id
918
+ explanation
919
+ pictures {
920
+ id
921
+ createdAt
922
+ updatedAt
923
+ name
924
+ caption
925
+ path
926
+ path512
927
+ path256
928
+ index
929
+ topicId
930
+ }
931
+ }
932
+ videos {
933
+ id
934
+ status
935
+ title
936
+ museId
937
+ startTime
938
+ endTime
939
+ thumbnail
940
+ concepts {
941
+ id
942
+ name
943
+ }
944
+ live
945
+ description
946
+ duration
947
+ }
948
+ }
949
+ pictures {
950
+ id
951
+ createdAt
952
+ updatedAt
953
+ name
954
+ index
955
+ caption
956
+ path
957
+ path512
958
+ path256
959
+ topicId
960
+ }
961
+ difficulty
962
+ psaSectionId
963
+ likes
964
+ dislikes
965
+ isLikedByMe
966
+ select3Answer: answer
967
+ }
968
+ }
969
+ }
970
+ mockTestId
971
+ correct
972
+ incorrect
973
+ totalQuestions
974
+ isTestMarksheet
975
+ }
976
+ }
977
+ }
978
+ `;
979
+ export const BUILD_MARKSHEET = gql `
980
+ mutation BuildMarksheet($input: BuildMarksheetInput!) {
981
+ restricted {
982
+ buildMarksheet(input: $input) {
983
+ id
984
+ createdAt
985
+ startedAt
986
+ endedAt
987
+ agoraId
988
+ sessionId
989
+ topicIds
990
+ completed
991
+ topicIds
992
+ topicNames
993
+ mockTestId
994
+ totalQuestions
995
+ solo
996
+ state
997
+ currentMarkId
998
+ topicConceptData
999
+ builderConfig {
1000
+ difficulty
1001
+ isTest
1002
+ numberOfQuestions
1003
+ secondsPerQuestion
1004
+ unseen
1005
+ seenCorrect
1006
+ seenIncorrect
1007
+ }
1008
+ preBuildData {
1009
+ buildRef
1010
+ seenCorrect
1011
+ seenIncorrect
1012
+ unseen
1013
+ }
1014
+ topicNames
1015
+ source
1016
+ user {
1017
+ displayName
1018
+ id
1019
+ }
1020
+ activeUsers {
1021
+ id
1022
+ displayName
1023
+ }
1024
+ users {
1025
+ id
1026
+ displayName
1027
+ }
1028
+ marks {
1029
+ id
1030
+ flagged
1031
+ index
1032
+ questionChoiceId
1033
+ marksheetId
1034
+ timeTaken
1035
+ striked
1036
+ isAnswered
1037
+ mark
1038
+ question {
1039
+ ... on QuestionSBA {
1040
+ conceptId
1041
+ difficulty
1042
+ dislikes
1043
+ explanation
1044
+ id
1045
+ isLikedByMe
1046
+ likes
1047
+ question
1048
+ totalVotes
1049
+ typeId
1050
+ highlights {
1051
+ start
1052
+ end
1053
+ text
1054
+ part
1055
+ tag
1056
+ color
1057
+ }
1058
+ choices {
1059
+ id
1060
+ explanation
1061
+ name
1062
+ label
1063
+ answer
1064
+ votes
1065
+ picture {
1066
+ id
1067
+ createdAt
1068
+ updatedAt
1069
+ name
1070
+ caption
1071
+ path
1072
+ path512
1073
+ path256
1074
+ }
1075
+ }
1076
+ comments {
1077
+ id
1078
+ createdAt
1079
+ comment
1080
+ parentId
1081
+ likes
1082
+ user {
1083
+ id
1084
+ displayName
1085
+ }
1086
+ dislikes
1087
+ isLikedByMe
1088
+ questionId
1089
+ replies {
1090
+ id
1091
+ createdAt
1092
+ comment
1093
+ parentId
1094
+ user {
1095
+ id
1096
+ displayName
1097
+ }
1098
+ likes
1099
+ dislikes
1100
+ isLikedByMe
1101
+ questionId
1102
+ }
1103
+ }
1104
+ concept {
1105
+ id
1106
+ name
1107
+ status
1108
+ topic {
1109
+ id
1110
+ name
1111
+ typeId
1112
+ }
1113
+ chapter {
1114
+ id
1115
+ explanation
1116
+ pictures {
1117
+ id
1118
+ createdAt
1119
+ updatedAt
1120
+ name
1121
+ caption
1122
+ path
1123
+ path512
1124
+ path256
1125
+ index
1126
+ topicId
1127
+ }
1128
+ }
1129
+ videos {
1130
+ id
1131
+ status
1132
+ title
1133
+ museId
1134
+ startTime
1135
+ endTime
1136
+ thumbnail
1137
+ concepts {
1138
+ id
1139
+ name
1140
+ }
1141
+ live
1142
+ description
1143
+ duration
1144
+ }
1145
+ }
1146
+ pictures {
1147
+ id
1148
+ createdAt
1149
+ updatedAt
1150
+ name
1151
+ caption
1152
+ path
1153
+ index
1154
+ path512
1155
+ path256
1156
+ topicId
1157
+ }
1158
+ difficulty
1159
+ psaSectionId
1160
+ likes
1161
+ dislikes
1162
+ isLikedByMe
1163
+ sbaAnswer: answer
1164
+ }
1165
+ ... on QuestionQA {
1166
+ conceptId
1167
+ difficulty
1168
+ dislikes
1169
+ explanation
1170
+ id
1171
+ isLikedByMe
1172
+ likes
1173
+ question
1174
+ totalVotes
1175
+ typeId
1176
+ highlights {
1177
+ start
1178
+ end
1179
+ text
1180
+ part
1181
+ tag
1182
+ color
1183
+ }
1184
+ choices {
1185
+ id
1186
+ explanation
1187
+ name
1188
+ label
1189
+ answer
1190
+ votes
1191
+ picture {
1192
+ id
1193
+ createdAt
1194
+ updatedAt
1195
+ name
1196
+ caption
1197
+ path
1198
+ path512
1199
+ path256
1200
+ }
1201
+ }
1202
+ comments {
1203
+ id
1204
+ createdAt
1205
+ comment
1206
+ parentId
1207
+ likes
1208
+ user {
1209
+ id
1210
+ displayName
1211
+ }
1212
+ dislikes
1213
+ isLikedByMe
1214
+ questionId
1215
+ replies {
1216
+ id
1217
+ createdAt
1218
+ comment
1219
+ parentId
1220
+ user {
1221
+ id
1222
+ displayName
1223
+ }
1224
+ likes
1225
+ dislikes
1226
+ isLikedByMe
1227
+ questionId
1228
+ }
1229
+ }
1230
+ concept {
1231
+ id
1232
+ name
1233
+ status
1234
+ topic {
1235
+ id
1236
+ name
1237
+ typeId
1238
+ }
1239
+ chapter {
1240
+ id
1241
+ explanation
1242
+ pictures {
1243
+ id
1244
+ createdAt
1245
+ updatedAt
1246
+ name
1247
+ caption
1248
+ path
1249
+ path512
1250
+ path256
1251
+ index
1252
+ topicId
1253
+ }
1254
+ }
1255
+ videos {
1256
+ id
1257
+ status
1258
+ title
1259
+ museId
1260
+ startTime
1261
+ endTime
1262
+ thumbnail
1263
+ concepts {
1264
+ id
1265
+ name
1266
+ }
1267
+ live
1268
+ description
1269
+ duration
1270
+ }
1271
+ }
1272
+ pictures {
1273
+ id
1274
+ createdAt
1275
+ updatedAt
1276
+ name
1277
+ caption
1278
+ index
1279
+ path
1280
+ path512
1281
+ path256
1282
+ topicId
1283
+ }
1284
+ difficulty
1285
+ psaSectionId
1286
+ likes
1287
+ dislikes
1288
+ isLikedByMe
1289
+ qaAnswer: answer {
1290
+ dose
1291
+ units
1292
+ }
1293
+ }
1294
+ ... on QuestionMultiA {
1295
+ conceptId
1296
+ difficulty
1297
+ dislikes
1298
+ explanation
1299
+ id
1300
+ isLikedByMe
1301
+ likes
1302
+ question
1303
+ totalVotes
1304
+ typeId
1305
+ highlights {
1306
+ start
1307
+ end
1308
+ text
1309
+ part
1310
+ tag
1311
+ color
1312
+ }
1313
+ choices {
1314
+ id
1315
+ explanation
1316
+ name
1317
+ label
1318
+ answer
1319
+ votes
1320
+ picture {
1321
+ id
1322
+ createdAt
1323
+ updatedAt
1324
+ name
1325
+ caption
1326
+ path
1327
+ path512
1328
+ path256
1329
+ }
1330
+ }
1331
+ comments {
1332
+ id
1333
+ createdAt
1334
+ comment
1335
+ parentId
1336
+ likes
1337
+ user {
1338
+ id
1339
+ displayName
1340
+ }
1341
+ dislikes
1342
+ isLikedByMe
1343
+ questionId
1344
+ replies {
1345
+ id
1346
+ createdAt
1347
+ comment
1348
+ parentId
1349
+ user {
1350
+ id
1351
+ displayName
1352
+ }
1353
+ likes
1354
+ dislikes
1355
+ isLikedByMe
1356
+ questionId
1357
+ }
1358
+ }
1359
+ concept {
1360
+ id
1361
+ name
1362
+ status
1363
+ topic {
1364
+ id
1365
+ name
1366
+ typeId
1367
+ }
1368
+ chapter {
1369
+ id
1370
+ explanation
1371
+ pictures {
1372
+ id
1373
+ createdAt
1374
+ updatedAt
1375
+ name
1376
+ caption
1377
+ path
1378
+ path512
1379
+ path256
1380
+ index
1381
+ topicId
1382
+ }
1383
+ }
1384
+ videos {
1385
+ id
1386
+ status
1387
+ title
1388
+ museId
1389
+ startTime
1390
+ endTime
1391
+ thumbnail
1392
+ concepts {
1393
+ id
1394
+ name
1395
+ }
1396
+ live
1397
+ description
1398
+ duration
1399
+ }
1400
+ }
1401
+ pictures {
1402
+ id
1403
+ createdAt
1404
+ updatedAt
1405
+ name
1406
+ index
1407
+ caption
1408
+ path
1409
+ path512
1410
+ path256
1411
+ topicId
1412
+ }
1413
+ difficulty
1414
+ psaSectionId
1415
+ likes
1416
+ dislikes
1417
+ isLikedByMe
1418
+ multiAnswer: answer
1419
+ }
1420
+ ... on QuestionPrescription {
1421
+ conceptId
1422
+ difficulty
1423
+ dislikes
1424
+ explanation
1425
+ id
1426
+ isLikedByMe
1427
+ likes
1428
+ question
1429
+ totalVotes
1430
+ typeId
1431
+ highlights {
1432
+ start
1433
+ end
1434
+ text
1435
+ part
1436
+ tag
1437
+ color
1438
+ }
1439
+ choices {
1440
+ id
1441
+ explanation
1442
+ name
1443
+ label
1444
+ answer
1445
+ votes
1446
+ picture {
1447
+ id
1448
+ createdAt
1449
+ updatedAt
1450
+ name
1451
+ caption
1452
+ path
1453
+ path512
1454
+ path256
1455
+ }
1456
+ }
1457
+ comments {
1458
+ id
1459
+ createdAt
1460
+ comment
1461
+ parentId
1462
+ likes
1463
+ user {
1464
+ id
1465
+ displayName
1466
+ }
1467
+ dislikes
1468
+ isLikedByMe
1469
+ questionId
1470
+ replies {
1471
+ id
1472
+ createdAt
1473
+ comment
1474
+ parentId
1475
+ user {
1476
+ id
1477
+ displayName
1478
+ }
1479
+ likes
1480
+ dislikes
1481
+ isLikedByMe
1482
+ questionId
1483
+ }
1484
+ }
1485
+ concept {
1486
+ id
1487
+ name
1488
+ status
1489
+ topic {
1490
+ id
1491
+ name
1492
+ typeId
1493
+ }
1494
+ chapter {
1495
+ id
1496
+ explanation
1497
+ pictures {
1498
+ id
1499
+ createdAt
1500
+ updatedAt
1501
+ name
1502
+ caption
1503
+ path
1504
+ path512
1505
+ path256
1506
+ index
1507
+ topicId
1508
+ }
1509
+ }
1510
+ videos {
1511
+ id
1512
+ status
1513
+ title
1514
+ museId
1515
+ startTime
1516
+ endTime
1517
+ thumbnail
1518
+ concepts {
1519
+ id
1520
+ name
1521
+ }
1522
+ live
1523
+ description
1524
+ duration
1525
+ }
1526
+ }
1527
+ pictures {
1528
+ id
1529
+ createdAt
1530
+ updatedAt
1531
+ name
1532
+ index
1533
+ caption
1534
+ path
1535
+ path512
1536
+ path256
1537
+ topicId
1538
+ }
1539
+ difficulty
1540
+ psaSectionId
1541
+ likes
1542
+ dislikes
1543
+ isLikedByMe
1544
+ prescribeAnswer: answer {
1545
+ dose {
1546
+ value
1547
+ display
1548
+ }
1549
+ drug {
1550
+ value
1551
+ display
1552
+ }
1553
+ route {
1554
+ value
1555
+ display
1556
+ }
1557
+ frequency {
1558
+ display
1559
+ value
1560
+ }
1561
+ duration {
1562
+ display
1563
+ value
1564
+ }
1565
+ units {
1566
+ display
1567
+ value
1568
+ }
1569
+ }
1570
+ }
1571
+ ... on QuestionEMQ {
1572
+ conceptId
1573
+ difficulty
1574
+ dislikes
1575
+ explanation
1576
+ id
1577
+ isLikedByMe
1578
+ likes
1579
+ question
1580
+ totalVotes
1581
+ typeId
1582
+ highlights {
1583
+ start
1584
+ end
1585
+ text
1586
+ part
1587
+ tag
1588
+ color
1589
+ }
1590
+ choices {
1591
+ id
1592
+ explanation
1593
+ name
1594
+ label
1595
+ answer
1596
+ votes
1597
+ picture {
1598
+ id
1599
+ createdAt
1600
+ updatedAt
1601
+ name
1602
+ caption
1603
+ path
1604
+ path512
1605
+ path256
1606
+ }
1607
+ }
1608
+ comments {
1609
+ id
1610
+ createdAt
1611
+ comment
1612
+ parentId
1613
+ likes
1614
+ user {
1615
+ id
1616
+ displayName
1617
+ }
1618
+ dislikes
1619
+ isLikedByMe
1620
+ questionId
1621
+ replies {
1622
+ id
1623
+ createdAt
1624
+ comment
1625
+ parentId
1626
+ user {
1627
+ id
1628
+ displayName
1629
+ }
1630
+ likes
1631
+ dislikes
1632
+ isLikedByMe
1633
+ questionId
1634
+ }
1635
+ }
1636
+ concept {
1637
+ id
1638
+ name
1639
+ status
1640
+ topic {
1641
+ id
1642
+ name
1643
+ typeId
1644
+ }
1645
+ chapter {
1646
+ id
1647
+ explanation
1648
+ pictures {
1649
+ id
1650
+ createdAt
1651
+ updatedAt
1652
+ name
1653
+ caption
1654
+ path
1655
+ path512
1656
+ path256
1657
+ index
1658
+ topicId
1659
+ }
1660
+ }
1661
+ videos {
1662
+ id
1663
+ status
1664
+ title
1665
+ museId
1666
+ startTime
1667
+ endTime
1668
+ thumbnail
1669
+ concepts {
1670
+ id
1671
+ name
1672
+ }
1673
+ live
1674
+ description
1675
+ duration
1676
+ }
1677
+ }
1678
+ pictures {
1679
+ id
1680
+ createdAt
1681
+ updatedAt
1682
+ name
1683
+ index
1684
+ caption
1685
+ path
1686
+ path512
1687
+ path256
1688
+ topicId
1689
+ }
1690
+ difficulty
1691
+ psaSectionId
1692
+ likes
1693
+ dislikes
1694
+ isLikedByMe
1695
+ emqAnswer: answer
1696
+ }
1697
+ ... on QuestionRanking {
1698
+ conceptId
1699
+ difficulty
1700
+ dislikes
1701
+ explanation
1702
+ id
1703
+ isLikedByMe
1704
+ likes
1705
+ question
1706
+ totalVotes
1707
+ typeId
1708
+ highlights {
1709
+ start
1710
+ end
1711
+ text
1712
+ part
1713
+ tag
1714
+ color
1715
+ }
1716
+ choices {
1717
+ id
1718
+ explanation
1719
+ name
1720
+ label
1721
+ answer
1722
+ votes
1723
+ picture {
1724
+ id
1725
+ createdAt
1726
+ updatedAt
1727
+ name
1728
+ caption
1729
+ path
1730
+ path512
1731
+ path256
1732
+ }
1733
+ }
1734
+ comments {
1735
+ id
1736
+ createdAt
1737
+ comment
1738
+ parentId
1739
+ likes
1740
+ user {
1741
+ id
1742
+ displayName
1743
+ }
1744
+ dislikes
1745
+ isLikedByMe
1746
+ questionId
1747
+ replies {
1748
+ id
1749
+ createdAt
1750
+ comment
1751
+ parentId
1752
+ user {
1753
+ id
1754
+ displayName
1755
+ }
1756
+ likes
1757
+ dislikes
1758
+ isLikedByMe
1759
+ questionId
1760
+ }
1761
+ }
1762
+ concept {
1763
+ id
1764
+ name
1765
+ status
1766
+ topic {
1767
+ id
1768
+ name
1769
+ typeId
1770
+ }
1771
+ chapter {
1772
+ id
1773
+ explanation
1774
+ pictures {
1775
+ id
1776
+ createdAt
1777
+ updatedAt
1778
+ name
1779
+ caption
1780
+ path
1781
+ path512
1782
+ path256
1783
+ index
1784
+ topicId
1785
+ }
1786
+ }
1787
+ videos {
1788
+ id
1789
+ status
1790
+ title
1791
+ museId
1792
+ startTime
1793
+ endTime
1794
+ thumbnail
1795
+ concepts {
1796
+ id
1797
+ name
1798
+ }
1799
+ live
1800
+ description
1801
+ duration
1802
+ }
1803
+ }
1804
+ pictures {
1805
+ id
1806
+ createdAt
1807
+ updatedAt
1808
+ name
1809
+ index
1810
+ caption
1811
+ path
1812
+ path512
1813
+ path256
1814
+ topicId
1815
+ }
1816
+ difficulty
1817
+ psaSectionId
1818
+ likes
1819
+ dislikes
1820
+ isLikedByMe
1821
+ rankingAnswer: answer
1822
+ }
1823
+ ... on QuestionSelect3 {
1824
+ conceptId
1825
+ difficulty
1826
+ dislikes
1827
+ explanation
1828
+ id
1829
+ isLikedByMe
1830
+ likes
1831
+ question
1832
+ totalVotes
1833
+ typeId
1834
+ highlights {
1835
+ start
1836
+ end
1837
+ text
1838
+ part
1839
+ tag
1840
+ color
1841
+ }
1842
+ choices {
1843
+ id
1844
+ explanation
1845
+ name
1846
+ label
1847
+ answer
1848
+ votes
1849
+ picture {
1850
+ id
1851
+ createdAt
1852
+ updatedAt
1853
+ name
1854
+ caption
1855
+ path
1856
+ path512
1857
+ path256
1858
+ }
1859
+ }
1860
+ comments {
1861
+ id
1862
+ createdAt
1863
+ comment
1864
+ parentId
1865
+ likes
1866
+ user {
1867
+ id
1868
+ displayName
1869
+ }
1870
+ dislikes
1871
+ isLikedByMe
1872
+ questionId
1873
+ replies {
1874
+ id
1875
+ createdAt
1876
+ comment
1877
+ parentId
1878
+ user {
1879
+ id
1880
+ displayName
1881
+ }
1882
+ likes
1883
+ dislikes
1884
+ isLikedByMe
1885
+ questionId
1886
+ }
1887
+ }
1888
+ concept {
1889
+ id
1890
+ name
1891
+ status
1892
+ topic {
1893
+ id
1894
+ name
1895
+ typeId
1896
+ }
1897
+ chapter {
1898
+ id
1899
+ explanation
1900
+ pictures {
1901
+ id
1902
+ createdAt
1903
+ updatedAt
1904
+ name
1905
+ caption
1906
+ path
1907
+ path512
1908
+ path256
1909
+ index
1910
+ topicId
1911
+ }
1912
+ }
1913
+ videos {
1914
+ id
1915
+ status
1916
+ title
1917
+ museId
1918
+ startTime
1919
+ endTime
1920
+ thumbnail
1921
+ concepts {
1922
+ id
1923
+ name
1924
+ }
1925
+ live
1926
+ description
1927
+ duration
1928
+ }
1929
+ }
1930
+ pictures {
1931
+ id
1932
+ createdAt
1933
+ updatedAt
1934
+ name
1935
+ index
1936
+ caption
1937
+ path
1938
+ path512
1939
+ path256
1940
+ topicId
1941
+ }
1942
+ difficulty
1943
+ psaSectionId
1944
+ likes
1945
+ dislikes
1946
+ isLikedByMe
1947
+ select3Answer: answer
1948
+ }
590
1949
  }
591
1950
  }
592
1951
  mockTestId
@@ -598,55 +1957,60 @@ export const BUILD_QUESTION_MARKSHEET = gql `
598
1957
  }
599
1958
  }
600
1959
  `;
601
- export const BUILD_MARKSHEET = gql `
602
- mutation BuildMarksheet($input: BuildMarksheetInput!) {
1960
+ /**
1961
+ * reBuildMarksheet
1962
+ */
1963
+ export const RE_BUILD_MARKSHEET = gql `
1964
+ mutation ReBuildMarksheet($marksheetId: Int!) {
603
1965
  restricted {
604
- buildMarksheet(input: $input) {
1966
+ reBuildMarksheet(marksheetId: $marksheetId) {
605
1967
  id
606
- createdAt
607
- startedAt
608
- endedAt
609
- agoraId
610
- sessionId
611
- topicIds
1968
+ topicConceptData
1969
+ currentMarkId
612
1970
  completed
1971
+ timeTaken
613
1972
  topicIds
614
1973
  topicNames
615
1974
  mockTestId
616
1975
  totalQuestions
617
1976
  solo
1977
+ agoraId
1978
+ sessionId
618
1979
  state
619
- currentMarkId
620
- topicConceptData
621
- builderConfig {
622
- difficulty
623
- isTest
624
- numberOfQuestions
625
- secondsPerQuestion
626
- unseen
627
- seenCorrect
628
- seenIncorrect
629
- }
630
- preBuildData {
631
- buildRef
632
- seenCorrect
633
- seenIncorrect
634
- unseen
635
- }
636
- topicNames
637
- source
638
1980
  user {
639
- displayName
640
1981
  id
1982
+ displayName
641
1983
  }
642
- activeUsers {
1984
+ users {
643
1985
  id
644
1986
  displayName
645
1987
  }
646
- users {
1988
+ activeUsers {
647
1989
  id
648
1990
  displayName
649
1991
  }
1992
+ builderConfig {
1993
+ difficulty
1994
+ isTest
1995
+ numberOfQuestions
1996
+ secondsPerQuestion
1997
+ unseen
1998
+ seenCorrect
1999
+ seenIncorrect
2000
+ }
2001
+ preBuildData {
2002
+ buildRef
2003
+ seenCorrect
2004
+ seenIncorrect
2005
+ unseen
2006
+ }
2007
+ createdAt
2008
+ startedAt
2009
+ endedAt
2010
+ isTestMarksheet
2011
+ source
2012
+ correct
2013
+ incorrect
650
2014
  marks {
651
2015
  id
652
2016
  flagged
@@ -654,8 +2018,8 @@ export const BUILD_MARKSHEET = gql `
654
2018
  questionChoiceId
655
2019
  marksheetId
656
2020
  timeTaken
657
- striked
658
2021
  isAnswered
2022
+ striked
659
2023
  mark
660
2024
  question {
661
2025
  ... on QuestionSBA {
@@ -770,9 +2134,9 @@ export const BUILD_MARKSHEET = gql `
770
2134
  createdAt
771
2135
  updatedAt
772
2136
  name
2137
+ index
773
2138
  caption
774
2139
  path
775
- index
776
2140
  path512
777
2141
  path256
778
2142
  topicId
@@ -896,8 +2260,8 @@ export const BUILD_MARKSHEET = gql `
896
2260
  createdAt
897
2261
  updatedAt
898
2262
  name
899
- caption
900
2263
  index
2264
+ caption
901
2265
  path
902
2266
  path512
903
2267
  path256
@@ -1190,209 +2554,7 @@ export const BUILD_MARKSHEET = gql `
1190
2554
  }
1191
2555
  }
1192
2556
  }
1193
- }
1194
- }
1195
- mockTestId
1196
- correct
1197
- incorrect
1198
- totalQuestions
1199
- isTestMarksheet
1200
- }
1201
- }
1202
- }
1203
- `;
1204
- /**
1205
- * reBuildMarksheet
1206
- */
1207
- export const RE_BUILD_MARKSHEET = gql `
1208
- mutation ReBuildMarksheet($marksheetId: Int!) {
1209
- restricted {
1210
- reBuildMarksheet(marksheetId: $marksheetId) {
1211
- id
1212
- topicConceptData
1213
- currentMarkId
1214
- completed
1215
- timeTaken
1216
- topicIds
1217
- topicNames
1218
- mockTestId
1219
- totalQuestions
1220
- solo
1221
- agoraId
1222
- sessionId
1223
- state
1224
- user {
1225
- id
1226
- displayName
1227
- }
1228
- users {
1229
- id
1230
- displayName
1231
- }
1232
- activeUsers {
1233
- id
1234
- displayName
1235
- }
1236
- builderConfig {
1237
- difficulty
1238
- isTest
1239
- numberOfQuestions
1240
- secondsPerQuestion
1241
- unseen
1242
- seenCorrect
1243
- seenIncorrect
1244
- }
1245
- preBuildData {
1246
- buildRef
1247
- seenCorrect
1248
- seenIncorrect
1249
- unseen
1250
- }
1251
- createdAt
1252
- startedAt
1253
- endedAt
1254
- isTestMarksheet
1255
- source
1256
- correct
1257
- incorrect
1258
- marks {
1259
- id
1260
- flagged
1261
- index
1262
- questionChoiceId
1263
- marksheetId
1264
- timeTaken
1265
- isAnswered
1266
- striked
1267
- mark
1268
- question {
1269
- ... on QuestionSBA {
1270
- conceptId
1271
- difficulty
1272
- dislikes
1273
- explanation
1274
- id
1275
- isLikedByMe
1276
- likes
1277
- question
1278
- totalVotes
1279
- typeId
1280
- highlights {
1281
- start
1282
- end
1283
- text
1284
- part
1285
- tag
1286
- color
1287
- }
1288
- choices {
1289
- id
1290
- explanation
1291
- name
1292
- label
1293
- answer
1294
- votes
1295
- picture {
1296
- id
1297
- createdAt
1298
- updatedAt
1299
- name
1300
- caption
1301
- path
1302
- path512
1303
- path256
1304
- }
1305
- }
1306
- comments {
1307
- id
1308
- createdAt
1309
- comment
1310
- parentId
1311
- likes
1312
- user {
1313
- id
1314
- displayName
1315
- }
1316
- dislikes
1317
- isLikedByMe
1318
- questionId
1319
- replies {
1320
- id
1321
- createdAt
1322
- comment
1323
- parentId
1324
- user {
1325
- id
1326
- displayName
1327
- }
1328
- likes
1329
- dislikes
1330
- isLikedByMe
1331
- questionId
1332
- }
1333
- }
1334
- concept {
1335
- id
1336
- name
1337
- status
1338
- topic {
1339
- id
1340
- name
1341
- typeId
1342
- }
1343
- chapter {
1344
- id
1345
- explanation
1346
- pictures {
1347
- id
1348
- createdAt
1349
- updatedAt
1350
- name
1351
- caption
1352
- path
1353
- path512
1354
- path256
1355
- index
1356
- topicId
1357
- }
1358
- }
1359
- videos {
1360
- id
1361
- status
1362
- title
1363
- museId
1364
- startTime
1365
- endTime
1366
- thumbnail
1367
- concepts {
1368
- id
1369
- name
1370
- }
1371
- live
1372
- description
1373
- duration
1374
- }
1375
- }
1376
- pictures {
1377
- id
1378
- createdAt
1379
- updatedAt
1380
- name
1381
- index
1382
- caption
1383
- path
1384
- path512
1385
- path256
1386
- topicId
1387
- }
1388
- difficulty
1389
- psaSectionId
1390
- likes
1391
- dislikes
1392
- isLikedByMe
1393
- sbaAnswer: answer
1394
- }
1395
- ... on QuestionQA {
2557
+ ... on QuestionEMQ {
1396
2558
  conceptId
1397
2559
  difficulty
1398
2560
  dislikes
@@ -1516,12 +2678,9 @@ export const RE_BUILD_MARKSHEET = gql `
1516
2678
  likes
1517
2679
  dislikes
1518
2680
  isLikedByMe
1519
- qaAnswer: answer {
1520
- dose
1521
- units
1522
- }
2681
+ emqAnswer: answer
1523
2682
  }
1524
- ... on QuestionMultiA {
2683
+ ... on QuestionRanking {
1525
2684
  conceptId
1526
2685
  difficulty
1527
2686
  dislikes
@@ -1645,9 +2804,9 @@ export const RE_BUILD_MARKSHEET = gql `
1645
2804
  likes
1646
2805
  dislikes
1647
2806
  isLikedByMe
1648
- multiAnswer: answer
2807
+ rankingAnswer: answer
1649
2808
  }
1650
- ... on QuestionPrescription {
2809
+ ... on QuestionSelect3 {
1651
2810
  conceptId
1652
2811
  difficulty
1653
2812
  dislikes
@@ -1771,32 +2930,7 @@ export const RE_BUILD_MARKSHEET = gql `
1771
2930
  likes
1772
2931
  dislikes
1773
2932
  isLikedByMe
1774
- prescribeAnswer: answer {
1775
- dose {
1776
- value
1777
- display
1778
- }
1779
- drug {
1780
- value
1781
- display
1782
- }
1783
- route {
1784
- value
1785
- display
1786
- }
1787
- frequency {
1788
- display
1789
- value
1790
- }
1791
- duration {
1792
- display
1793
- value
1794
- }
1795
- units {
1796
- display
1797
- value
1798
- }
1799
- }
2933
+ select3Answer: answer
1800
2934
  }
1801
2935
  }
1802
2936
  }
@@ -1962,7 +3096,7 @@ export const updateCacheRemoveFlaggedQuestion = (cache, result) => {
1962
3096
  export const START_OR_JOIN_MARKSHEET = gql `
1963
3097
  mutation StartOrJoinMarksheet($sessionId: String!, $action: Int!) {
1964
3098
  restricted {
1965
- startOrJoinMarksheet(sessionId: $sessionId, action:$action) {
3099
+ startOrJoinMarksheet(sessionId: $sessionId, action: $action) {
1966
3100
  id
1967
3101
  agoraId
1968
3102
  sessionId