@quesmed/types 2.6.29 → 2.6.30

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/resolvers/fragments/chapter.js +3 -18
  2. package/dist/cjs/resolvers/fragments/concept.d.ts +1 -2
  3. package/dist/cjs/resolvers/fragments/concept.js +18 -57
  4. package/dist/cjs/resolvers/fragments/index.d.ts +1 -0
  5. package/dist/cjs/resolvers/fragments/index.js +1 -0
  6. package/dist/cjs/resolvers/fragments/marksheet.d.ts +14 -0
  7. package/dist/cjs/resolvers/fragments/marksheet.js +127 -127
  8. package/dist/cjs/resolvers/fragments/osce.d.ts +1 -0
  9. package/dist/cjs/resolvers/fragments/osce.js +6 -1
  10. package/dist/cjs/resolvers/fragments/question.d.ts +5 -0
  11. package/dist/cjs/resolvers/fragments/question.js +176 -0
  12. package/dist/cjs/resolvers/fragments/topic.d.ts +2 -0
  13. package/dist/cjs/resolvers/fragments/topic.js +25 -1
  14. package/dist/cjs/resolvers/fragments/video.d.ts +1 -0
  15. package/dist/cjs/resolvers/fragments/video.js +17 -28
  16. package/dist/cjs/resolvers/mutation/restricted/marksheet.d.ts +0 -8
  17. package/dist/cjs/resolvers/mutation/restricted/marksheet.js +18 -4128
  18. package/dist/cjs/resolvers/mutation/restricted/questionDiscussion.d.ts +6 -21
  19. package/dist/cjs/resolvers/mutation/restricted/questionDiscussion.js +27 -532
  20. package/dist/cjs/resolvers/query/restricted/marksheet.js +5 -2025
  21. package/dist/cjs/resolvers/query/restricted/question.js +3 -932
  22. package/dist/mjs/resolvers/fragments/chapter.js +3 -18
  23. package/dist/mjs/resolvers/fragments/concept.d.ts +1 -2
  24. package/dist/mjs/resolvers/fragments/concept.js +18 -57
  25. package/dist/mjs/resolvers/fragments/index.d.ts +1 -0
  26. package/dist/mjs/resolvers/fragments/index.js +1 -0
  27. package/dist/mjs/resolvers/fragments/marksheet.d.ts +14 -0
  28. package/dist/mjs/resolvers/fragments/marksheet.js +126 -126
  29. package/dist/mjs/resolvers/fragments/osce.d.ts +1 -0
  30. package/dist/mjs/resolvers/fragments/osce.js +5 -0
  31. package/dist/mjs/resolvers/fragments/question.d.ts +5 -0
  32. package/dist/mjs/resolvers/fragments/question.js +173 -0
  33. package/dist/mjs/resolvers/fragments/topic.d.ts +2 -0
  34. package/dist/mjs/resolvers/fragments/topic.js +24 -0
  35. package/dist/mjs/resolvers/fragments/video.d.ts +1 -0
  36. package/dist/mjs/resolvers/fragments/video.js +16 -27
  37. package/dist/mjs/resolvers/mutation/restricted/marksheet.d.ts +0 -8
  38. package/dist/mjs/resolvers/mutation/restricted/marksheet.js +14 -4124
  39. package/dist/mjs/resolvers/mutation/restricted/questionDiscussion.d.ts +6 -21
  40. package/dist/mjs/resolvers/mutation/restricted/questionDiscussion.js +26 -530
  41. package/dist/mjs/resolvers/query/restricted/marksheet.js +5 -2025
  42. package/dist/mjs/resolvers/query/restricted/question.js +3 -932
  43. package/package.json +6 -1
@@ -1,2050 +1,22 @@
1
1
  import { gql } from '@apollo/client';
2
+ import { BUILDER_CONFIG_FIELDS, MARKSHEET_FIELDS, MARK_FLAGGED_FIELD, MODIFY_COMPLETED_FRAGMENT, NEW_MARK_FIELDS, } from '../../fragments/marksheet';
2
3
  import { MARKSHEET, } from '../../query/restricted';
3
4
  export const BUILD_QUESTION_MARKSHEET = gql `
5
+ ${MARKSHEET_FIELDS}
4
6
  mutation BuildQuestionMarksheet($questionIds: [Int!]) {
5
7
  restricted {
6
8
  buildQuestionMarksheet(questionIds: $questionIds) {
7
- id
8
- createdAt
9
- startedAt
10
- endedAt
11
- agoraId
12
- sessionId
13
- topicIds
14
- entitlement {
15
- id
16
- name
17
- }
18
- completed
19
- passingMark
20
- duration
21
- topicNames
22
- mockTestId
23
- totalQuestions
24
- solo
25
- state
26
- currentMarkId
27
- topicConceptData
28
- builderConfig {
29
- difficulty
30
- isTest
31
- numberOfQuestions
32
- secondsPerQuestion
33
- unseen
34
- seenCorrect
35
- seenIncorrect
36
- }
37
- preBuildData {
38
- buildRef
39
- seenCorrect
40
- seenIncorrect
41
- unseen
42
- }
43
- topicNames
44
- source
45
- user {
46
- displayName
47
- id
48
- }
49
- users {
50
- id
51
- displayName
52
- }
53
- marks {
54
- id
55
- flagged
56
- index
57
- questionChoiceId
58
- marksheetId
59
- timeTaken
60
- isAnswered
61
- mark
62
- question {
63
- ... on QuestionSBA {
64
- conceptId
65
- difficulty
66
- dislikes
67
- explanation
68
- id
69
- isLikedByMe
70
- likes
71
- question
72
- totalVotes
73
- typeId
74
- highlights {
75
- start
76
- end
77
- text
78
- part
79
- tag
80
- color
81
- }
82
- choices {
83
- id
84
- explanation
85
- name
86
- label
87
- answer
88
- votes
89
- picture {
90
- id
91
- createdAt
92
- updatedAt
93
- name
94
- caption
95
- path
96
- path512
97
- path256
98
- thumbhash
99
- }
100
- }
101
- comments {
102
- id
103
- createdAt
104
- comment
105
- likes
106
- parentId
107
- user {
108
- id
109
- displayName
110
- }
111
- dislikes
112
- isLikedByMe
113
- questionId
114
- replies {
115
- id
116
- createdAt
117
- parentId
118
- comment
119
- user {
120
- id
121
- displayName
122
- }
123
- likes
124
- dislikes
125
- isLikedByMe
126
- questionId
127
- }
128
- }
129
- concept {
130
- id
131
- name
132
- status
133
- totalCards
134
- topic {
135
- id
136
- name
137
- typeId
138
- }
139
- chapter {
140
- id
141
- explanation
142
- pictures {
143
- id
144
- createdAt
145
- updatedAt
146
- name
147
- caption
148
- path
149
- path512
150
- path256
151
- thumbhash
152
- index
153
- topicId
154
- }
155
- }
156
- videos {
157
- id
158
- status
159
- title
160
- museId
161
- startTime
162
- endTime
163
- thumbnail
164
- concepts {
165
- id
166
- name
167
- }
168
- live
169
- description
170
- duration
171
- }
172
- }
173
- pictures {
174
- id
175
- createdAt
176
- updatedAt
177
- name
178
- index
179
- caption
180
- path
181
- path512
182
- path256
183
- thumbhash
184
- topicId
185
- }
186
- difficulty
187
- psaSectionId
188
- likes
189
- dislikes
190
- isLikedByMe
191
- sbaAnswer: answer
192
- }
193
- ... on QuestionQA {
194
- conceptId
195
- difficulty
196
- dislikes
197
- explanation
198
- id
199
- isLikedByMe
200
- likes
201
- question
202
- totalVotes
203
- typeId
204
- highlights {
205
- start
206
- end
207
- text
208
- part
209
- tag
210
- color
211
- }
212
- choices {
213
- id
214
- explanation
215
- name
216
- label
217
- answer
218
- votes
219
- picture {
220
- id
221
- createdAt
222
- updatedAt
223
- name
224
- caption
225
- path
226
- path512
227
- path256
228
- thumbhash
229
- }
230
- }
231
- comments {
232
- id
233
- createdAt
234
- comment
235
- parentId
236
- likes
237
- user {
238
- id
239
- displayName
240
- }
241
- dislikes
242
- isLikedByMe
243
- questionId
244
- replies {
245
- id
246
- createdAt
247
- comment
248
- parentId
249
- user {
250
- id
251
- displayName
252
- }
253
- likes
254
- dislikes
255
- isLikedByMe
256
- questionId
257
- }
258
- }
259
- concept {
260
- id
261
- name
262
- status
263
- totalCards
264
- topic {
265
- id
266
- name
267
- typeId
268
- }
269
- chapter {
270
- id
271
- explanation
272
- pictures {
273
- id
274
- createdAt
275
- updatedAt
276
- name
277
- caption
278
- path
279
- path512
280
- path256
281
- thumbhash
282
- index
283
- topicId
284
- }
285
- }
286
- videos {
287
- id
288
- status
289
- title
290
- museId
291
- startTime
292
- endTime
293
- thumbnail
294
- concepts {
295
- id
296
- name
297
- }
298
- live
299
- description
300
- duration
301
- }
302
- }
303
- pictures {
304
- id
305
- createdAt
306
- updatedAt
307
- name
308
- index
309
- caption
310
- path
311
- path512
312
- path256
313
- thumbhash
314
- topicId
315
- }
316
- difficulty
317
- psaSectionId
318
- likes
319
- dislikes
320
- isLikedByMe
321
- qaAnswer: answer {
322
- dose
323
- units
324
- }
325
- }
326
- ... on QuestionMultiA {
327
- conceptId
328
- difficulty
329
- dislikes
330
- explanation
331
- id
332
- isLikedByMe
333
- likes
334
- question
335
- totalVotes
336
- typeId
337
- highlights {
338
- start
339
- end
340
- text
341
- part
342
- tag
343
- color
344
- }
345
- choices {
346
- id
347
- explanation
348
- name
349
- label
350
- answer
351
- votes
352
- picture {
353
- id
354
- createdAt
355
- updatedAt
356
- name
357
- caption
358
- path
359
- path512
360
- path256
361
- thumbhash
362
- }
363
- }
364
- comments {
365
- id
366
- createdAt
367
- comment
368
- parentId
369
- likes
370
- user {
371
- id
372
- displayName
373
- }
374
- dislikes
375
- isLikedByMe
376
- questionId
377
- replies {
378
- id
379
- createdAt
380
- comment
381
- parentId
382
- user {
383
- id
384
- displayName
385
- }
386
- likes
387
- dislikes
388
- isLikedByMe
389
- questionId
390
- }
391
- }
392
- concept {
393
- id
394
- name
395
- status
396
- totalCards
397
- topic {
398
- id
399
- name
400
- typeId
401
- }
402
- chapter {
403
- id
404
- explanation
405
- pictures {
406
- id
407
- createdAt
408
- updatedAt
409
- name
410
- caption
411
- path
412
- path512
413
- path256
414
- thumbhash
415
- index
416
- topicId
417
- }
418
- }
419
- videos {
420
- id
421
- status
422
- title
423
- museId
424
- startTime
425
- endTime
426
- thumbnail
427
- concepts {
428
- id
429
- name
430
- }
431
- live
432
- description
433
- duration
434
- }
435
- }
436
- pictures {
437
- id
438
- createdAt
439
- updatedAt
440
- name
441
- index
442
- caption
443
- path
444
- path512
445
- path256
446
- thumbhash
447
- topicId
448
- }
449
- difficulty
450
- psaSectionId
451
- likes
452
- dislikes
453
- isLikedByMe
454
- multiAnswer: answer
455
- }
456
- ... on QuestionPrescription {
457
- conceptId
458
- difficulty
459
- dislikes
460
- explanation
461
- id
462
- isLikedByMe
463
- likes
464
- question
465
- totalVotes
466
- typeId
467
- highlights {
468
- start
469
- end
470
- text
471
- part
472
- tag
473
- color
474
- }
475
- choices {
476
- id
477
- explanation
478
- name
479
- label
480
- answer
481
- votes
482
- picture {
483
- id
484
- createdAt
485
- updatedAt
486
- name
487
- caption
488
- path
489
- path512
490
- path256
491
- thumbhash
492
- }
493
- }
494
- comments {
495
- id
496
- createdAt
497
- comment
498
- parentId
499
- likes
500
- user {
501
- id
502
- displayName
503
- }
504
- dislikes
505
- isLikedByMe
506
- questionId
507
- replies {
508
- id
509
- createdAt
510
- comment
511
- parentId
512
- user {
513
- id
514
- displayName
515
- }
516
- likes
517
- dislikes
518
- isLikedByMe
519
- questionId
520
- }
521
- }
522
- concept {
523
- id
524
- name
525
- status
526
- totalCards
527
- topic {
528
- id
529
- name
530
- typeId
531
- }
532
- chapter {
533
- id
534
- explanation
535
- pictures {
536
- id
537
- createdAt
538
- updatedAt
539
- name
540
- caption
541
- path
542
- path512
543
- path256
544
- thumbhash
545
- index
546
- topicId
547
- }
548
- }
549
- videos {
550
- id
551
- status
552
- title
553
- museId
554
- startTime
555
- endTime
556
- thumbnail
557
- concepts {
558
- id
559
- name
560
- }
561
- live
562
- description
563
- duration
564
- }
565
- }
566
- pictures {
567
- id
568
- createdAt
569
- updatedAt
570
- name
571
- caption
572
- index
573
- path
574
- path512
575
- path256
576
- thumbhash
577
- topicId
578
- }
579
- difficulty
580
- psaSectionId
581
- likes
582
- dislikes
583
- isLikedByMe
584
- prescribeAnswer: answer {
585
- dose {
586
- value
587
- label
588
- visible
589
- }
590
- drug {
591
- value
592
- label
593
- visible
594
- }
595
- route {
596
- value
597
- label
598
- visible
599
- }
600
- frequency {
601
- value
602
- label
603
- visible
604
- }
605
- duration {
606
- value
607
- label
608
- visible
609
- }
610
- unit {
611
- value
612
- label
613
- visible
614
- }
615
- }
616
- }
617
- ... on QuestionEMQ {
618
- conceptId
619
- difficulty
620
- dislikes
621
- explanation
622
- id
623
- isLikedByMe
624
- likes
625
- question
626
- totalVotes
627
- typeId
628
- highlights {
629
- start
630
- end
631
- text
632
- part
633
- tag
634
- color
635
- }
636
- cases {
637
- id
638
- questionId
639
- case
640
- explanation
641
- label
642
- }
643
- choices {
644
- id
645
- explanation
646
- name
647
- label
648
- answer
649
- votes
650
- picture {
651
- id
652
- createdAt
653
- updatedAt
654
- name
655
- caption
656
- path
657
- path512
658
- path256
659
- thumbhash
660
- }
661
- }
662
- comments {
663
- id
664
- createdAt
665
- comment
666
- parentId
667
- likes
668
- user {
669
- id
670
- displayName
671
- }
672
- dislikes
673
- isLikedByMe
674
- questionId
675
- replies {
676
- id
677
- createdAt
678
- comment
679
- parentId
680
- user {
681
- id
682
- displayName
683
- }
684
- likes
685
- dislikes
686
- isLikedByMe
687
- questionId
688
- }
689
- }
690
- concept {
691
- id
692
- name
693
- status
694
- totalCards
695
- topic {
696
- id
697
- name
698
- typeId
699
- }
700
- chapter {
701
- id
702
- explanation
703
- pictures {
704
- id
705
- createdAt
706
- updatedAt
707
- name
708
- caption
709
- path
710
- path512
711
- path256
712
- thumbhash
713
- index
714
- topicId
715
- }
716
- }
717
- videos {
718
- id
719
- status
720
- title
721
- museId
722
- startTime
723
- endTime
724
- thumbnail
725
- concepts {
726
- id
727
- name
728
- }
729
- live
730
- description
731
- duration
732
- }
733
- }
734
- pictures {
735
- id
736
- createdAt
737
- updatedAt
738
- name
739
- index
740
- caption
741
- path
742
- path512
743
- path256
744
- thumbhash
745
- topicId
746
- }
747
- difficulty
748
- psaSectionId
749
- likes
750
- dislikes
751
- isLikedByMe
752
- emqAnswer: answer
753
- }
754
- ... on QuestionRanking {
755
- conceptId
756
- difficulty
757
- dislikes
758
- explanation
759
- id
760
- isLikedByMe
761
- likes
762
- question
763
- totalVotes
764
- typeId
765
- highlights {
766
- start
767
- end
768
- text
769
- part
770
- tag
771
- color
772
- }
773
- choices {
774
- id
775
- explanation
776
- name
777
- label
778
- answer
779
- votes
780
- picture {
781
- id
782
- createdAt
783
- updatedAt
784
- name
785
- caption
786
- path
787
- path512
788
- path256
789
- thumbhash
790
- }
791
- }
792
- comments {
793
- id
794
- createdAt
795
- comment
796
- parentId
797
- likes
798
- user {
799
- id
800
- displayName
801
- }
802
- dislikes
803
- isLikedByMe
804
- questionId
805
- replies {
806
- id
807
- createdAt
808
- comment
809
- parentId
810
- user {
811
- id
812
- displayName
813
- }
814
- likes
815
- dislikes
816
- isLikedByMe
817
- questionId
818
- }
819
- }
820
- concept {
821
- id
822
- name
823
- status
824
- totalCards
825
- topic {
826
- id
827
- name
828
- typeId
829
- }
830
- chapter {
831
- id
832
- explanation
833
- pictures {
834
- id
835
- createdAt
836
- updatedAt
837
- name
838
- caption
839
- path
840
- path512
841
- path256
842
- thumbhash
843
- index
844
- topicId
845
- }
846
- }
847
- videos {
848
- id
849
- status
850
- title
851
- museId
852
- startTime
853
- endTime
854
- thumbnail
855
- concepts {
856
- id
857
- name
858
- }
859
- live
860
- description
861
- duration
862
- }
863
- }
864
- pictures {
865
- id
866
- createdAt
867
- updatedAt
868
- name
869
- index
870
- caption
871
- path
872
- path512
873
- path256
874
- thumbhash
875
- topicId
876
- }
877
- difficulty
878
- psaSectionId
879
- likes
880
- dislikes
881
- isLikedByMe
882
- rankingAnswer: answer
883
- }
884
- ... on QuestionSelect3 {
885
- conceptId
886
- difficulty
887
- dislikes
888
- explanation
889
- id
890
- isLikedByMe
891
- likes
892
- question
893
- totalVotes
894
- typeId
895
- highlights {
896
- start
897
- end
898
- text
899
- part
900
- tag
901
- color
902
- }
903
- choices {
904
- id
905
- explanation
906
- name
907
- label
908
- answer
909
- votes
910
- picture {
911
- id
912
- createdAt
913
- updatedAt
914
- name
915
- caption
916
- path
917
- path512
918
- path256
919
- thumbhash
920
- }
921
- }
922
- comments {
923
- id
924
- createdAt
925
- comment
926
- parentId
927
- likes
928
- user {
929
- id
930
- displayName
931
- }
932
- dislikes
933
- isLikedByMe
934
- questionId
935
- replies {
936
- id
937
- createdAt
938
- comment
939
- parentId
940
- user {
941
- id
942
- displayName
943
- }
944
- likes
945
- dislikes
946
- isLikedByMe
947
- questionId
948
- }
949
- }
950
- concept {
951
- id
952
- name
953
- status
954
- totalCards
955
- topic {
956
- id
957
- name
958
- typeId
959
- }
960
- chapter {
961
- id
962
- explanation
963
- pictures {
964
- id
965
- createdAt
966
- updatedAt
967
- name
968
- caption
969
- path
970
- path512
971
- path256
972
- thumbhash
973
- index
974
- topicId
975
- }
976
- }
977
- videos {
978
- id
979
- status
980
- title
981
- museId
982
- startTime
983
- endTime
984
- thumbnail
985
- concepts {
986
- id
987
- name
988
- }
989
- live
990
- description
991
- duration
992
- }
993
- }
994
- pictures {
995
- id
996
- createdAt
997
- updatedAt
998
- name
999
- index
1000
- caption
1001
- path
1002
- path512
1003
- path256
1004
- thumbhash
1005
- topicId
1006
- }
1007
- difficulty
1008
- psaSectionId
1009
- likes
1010
- dislikes
1011
- isLikedByMe
1012
- select3Answer: answer
1013
- }
1014
- }
1015
- }
1016
- mockTestId
1017
- correct
1018
- incorrect
1019
- totalQuestions
1020
- isTestMarksheet
9
+ ...MarksheetFields
1021
10
  }
1022
11
  }
1023
12
  }
1024
13
  `;
1025
14
  export const BUILD_MARKSHEET = gql `
15
+ ${MARKSHEET_FIELDS}
1026
16
  mutation BuildMarksheet($input: BuildMarksheetInput!) {
1027
17
  restricted {
1028
18
  buildMarksheet(input: $input) {
1029
- id
1030
- createdAt
1031
- startedAt
1032
- endedAt
1033
- agoraId
1034
- sessionId
1035
- topicIds
1036
- entitlement {
1037
- id
1038
- name
1039
- }
1040
- completed
1041
- passingMark
1042
- duration
1043
- topicNames
1044
- mockTestId
1045
- totalQuestions
1046
- solo
1047
- state
1048
- currentMarkId
1049
- topicConceptData
1050
- builderConfig {
1051
- difficulty
1052
- isTest
1053
- numberOfQuestions
1054
- secondsPerQuestion
1055
- unseen
1056
- seenCorrect
1057
- seenIncorrect
1058
- }
1059
- preBuildData {
1060
- buildRef
1061
- seenCorrect
1062
- seenIncorrect
1063
- unseen
1064
- }
1065
- topicNames
1066
- source
1067
- user {
1068
- displayName
1069
- id
1070
- }
1071
- activeUsers {
1072
- id
1073
- displayName
1074
- }
1075
- users {
1076
- id
1077
- displayName
1078
- }
1079
- marks {
1080
- id
1081
- flagged
1082
- index
1083
- questionChoiceId
1084
- marksheetId
1085
- timeTaken
1086
- striked
1087
- isAnswered
1088
- mark
1089
- question {
1090
- ... on QuestionSBA {
1091
- conceptId
1092
- difficulty
1093
- dislikes
1094
- explanation
1095
- id
1096
- isLikedByMe
1097
- likes
1098
- question
1099
- totalVotes
1100
- typeId
1101
- highlights {
1102
- start
1103
- end
1104
- text
1105
- part
1106
- tag
1107
- color
1108
- }
1109
- choices {
1110
- id
1111
- explanation
1112
- name
1113
- label
1114
- answer
1115
- votes
1116
- picture {
1117
- id
1118
- createdAt
1119
- updatedAt
1120
- name
1121
- caption
1122
- path
1123
- path512
1124
- path256
1125
- thumbhash
1126
- }
1127
- }
1128
- comments {
1129
- id
1130
- createdAt
1131
- comment
1132
- parentId
1133
- likes
1134
- user {
1135
- id
1136
- displayName
1137
- }
1138
- dislikes
1139
- isLikedByMe
1140
- questionId
1141
- replies {
1142
- id
1143
- createdAt
1144
- comment
1145
- parentId
1146
- user {
1147
- id
1148
- displayName
1149
- }
1150
- likes
1151
- dislikes
1152
- isLikedByMe
1153
- questionId
1154
- }
1155
- }
1156
- concept {
1157
- id
1158
- name
1159
- status
1160
- totalCards
1161
- topic {
1162
- id
1163
- name
1164
- typeId
1165
- }
1166
- chapter {
1167
- id
1168
- explanation
1169
- pictures {
1170
- id
1171
- createdAt
1172
- updatedAt
1173
- name
1174
- caption
1175
- path
1176
- path512
1177
- path256
1178
- thumbhash
1179
- index
1180
- topicId
1181
- }
1182
- }
1183
- videos {
1184
- id
1185
- status
1186
- title
1187
- museId
1188
- startTime
1189
- endTime
1190
- thumbnail
1191
- concepts {
1192
- id
1193
- name
1194
- }
1195
- live
1196
- description
1197
- duration
1198
- }
1199
- }
1200
- pictures {
1201
- id
1202
- createdAt
1203
- updatedAt
1204
- name
1205
- caption
1206
- path
1207
- index
1208
- path512
1209
- path256
1210
- thumbhash
1211
- topicId
1212
- }
1213
- difficulty
1214
- psaSectionId
1215
- likes
1216
- dislikes
1217
- isLikedByMe
1218
- sbaAnswer: answer
1219
- }
1220
- ... on QuestionQA {
1221
- conceptId
1222
- difficulty
1223
- dislikes
1224
- explanation
1225
- id
1226
- isLikedByMe
1227
- likes
1228
- question
1229
- totalVotes
1230
- typeId
1231
- highlights {
1232
- start
1233
- end
1234
- text
1235
- part
1236
- tag
1237
- color
1238
- }
1239
- choices {
1240
- id
1241
- explanation
1242
- name
1243
- label
1244
- answer
1245
- votes
1246
- picture {
1247
- id
1248
- createdAt
1249
- updatedAt
1250
- name
1251
- caption
1252
- path
1253
- path512
1254
- path256
1255
- thumbhash
1256
- }
1257
- }
1258
- comments {
1259
- id
1260
- createdAt
1261
- comment
1262
- parentId
1263
- likes
1264
- user {
1265
- id
1266
- displayName
1267
- }
1268
- dislikes
1269
- isLikedByMe
1270
- questionId
1271
- replies {
1272
- id
1273
- createdAt
1274
- comment
1275
- parentId
1276
- user {
1277
- id
1278
- displayName
1279
- }
1280
- likes
1281
- dislikes
1282
- isLikedByMe
1283
- questionId
1284
- }
1285
- }
1286
- concept {
1287
- id
1288
- name
1289
- status
1290
- totalCards
1291
- topic {
1292
- id
1293
- name
1294
- typeId
1295
- }
1296
- chapter {
1297
- id
1298
- explanation
1299
- pictures {
1300
- id
1301
- createdAt
1302
- updatedAt
1303
- name
1304
- caption
1305
- path
1306
- path512
1307
- path256
1308
- thumbhash
1309
- index
1310
- topicId
1311
- }
1312
- }
1313
- videos {
1314
- id
1315
- status
1316
- title
1317
- museId
1318
- startTime
1319
- endTime
1320
- thumbnail
1321
- concepts {
1322
- id
1323
- name
1324
- }
1325
- live
1326
- description
1327
- duration
1328
- }
1329
- }
1330
- pictures {
1331
- id
1332
- createdAt
1333
- updatedAt
1334
- name
1335
- caption
1336
- index
1337
- path
1338
- path512
1339
- path256
1340
- thumbhash
1341
- topicId
1342
- }
1343
- difficulty
1344
- psaSectionId
1345
- likes
1346
- dislikes
1347
- isLikedByMe
1348
- qaAnswer: answer {
1349
- dose
1350
- units
1351
- }
1352
- }
1353
- ... on QuestionMultiA {
1354
- conceptId
1355
- difficulty
1356
- dislikes
1357
- explanation
1358
- id
1359
- isLikedByMe
1360
- likes
1361
- question
1362
- totalVotes
1363
- typeId
1364
- highlights {
1365
- start
1366
- end
1367
- text
1368
- part
1369
- tag
1370
- color
1371
- }
1372
- choices {
1373
- id
1374
- explanation
1375
- name
1376
- label
1377
- answer
1378
- votes
1379
- picture {
1380
- id
1381
- createdAt
1382
- updatedAt
1383
- name
1384
- caption
1385
- path
1386
- path512
1387
- path256
1388
- thumbhash
1389
- }
1390
- }
1391
- comments {
1392
- id
1393
- createdAt
1394
- comment
1395
- parentId
1396
- likes
1397
- user {
1398
- id
1399
- displayName
1400
- }
1401
- dislikes
1402
- isLikedByMe
1403
- questionId
1404
- replies {
1405
- id
1406
- createdAt
1407
- comment
1408
- parentId
1409
- user {
1410
- id
1411
- displayName
1412
- }
1413
- likes
1414
- dislikes
1415
- isLikedByMe
1416
- questionId
1417
- }
1418
- }
1419
- concept {
1420
- id
1421
- name
1422
- status
1423
- totalCards
1424
- topic {
1425
- id
1426
- name
1427
- typeId
1428
- }
1429
- chapter {
1430
- id
1431
- explanation
1432
- pictures {
1433
- id
1434
- createdAt
1435
- updatedAt
1436
- name
1437
- caption
1438
- path
1439
- path512
1440
- path256
1441
- thumbhash
1442
- index
1443
- topicId
1444
- }
1445
- }
1446
- videos {
1447
- id
1448
- status
1449
- title
1450
- museId
1451
- startTime
1452
- endTime
1453
- thumbnail
1454
- concepts {
1455
- id
1456
- name
1457
- }
1458
- live
1459
- description
1460
- duration
1461
- }
1462
- }
1463
- pictures {
1464
- id
1465
- createdAt
1466
- updatedAt
1467
- name
1468
- index
1469
- caption
1470
- path
1471
- path512
1472
- path256
1473
- thumbhash
1474
- topicId
1475
- }
1476
- difficulty
1477
- psaSectionId
1478
- likes
1479
- dislikes
1480
- isLikedByMe
1481
- multiAnswer: answer
1482
- }
1483
- ... on QuestionPrescription {
1484
- conceptId
1485
- difficulty
1486
- dislikes
1487
- explanation
1488
- id
1489
- isLikedByMe
1490
- likes
1491
- question
1492
- totalVotes
1493
- typeId
1494
- highlights {
1495
- start
1496
- end
1497
- text
1498
- part
1499
- tag
1500
- color
1501
- }
1502
- choices {
1503
- id
1504
- explanation
1505
- name
1506
- label
1507
- answer
1508
- votes
1509
- picture {
1510
- id
1511
- createdAt
1512
- updatedAt
1513
- name
1514
- caption
1515
- path
1516
- path512
1517
- path256
1518
- thumbhash
1519
- }
1520
- }
1521
- comments {
1522
- id
1523
- createdAt
1524
- comment
1525
- parentId
1526
- likes
1527
- user {
1528
- id
1529
- displayName
1530
- }
1531
- dislikes
1532
- isLikedByMe
1533
- questionId
1534
- replies {
1535
- id
1536
- createdAt
1537
- comment
1538
- parentId
1539
- user {
1540
- id
1541
- displayName
1542
- }
1543
- likes
1544
- dislikes
1545
- isLikedByMe
1546
- questionId
1547
- }
1548
- }
1549
- concept {
1550
- id
1551
- name
1552
- status
1553
- totalCards
1554
- topic {
1555
- id
1556
- name
1557
- typeId
1558
- }
1559
- chapter {
1560
- id
1561
- explanation
1562
- pictures {
1563
- id
1564
- createdAt
1565
- updatedAt
1566
- name
1567
- caption
1568
- path
1569
- path512
1570
- path256
1571
- thumbhash
1572
- index
1573
- topicId
1574
- }
1575
- }
1576
- videos {
1577
- id
1578
- status
1579
- title
1580
- museId
1581
- startTime
1582
- endTime
1583
- thumbnail
1584
- concepts {
1585
- id
1586
- name
1587
- }
1588
- live
1589
- description
1590
- duration
1591
- }
1592
- }
1593
- pictures {
1594
- id
1595
- createdAt
1596
- updatedAt
1597
- name
1598
- index
1599
- caption
1600
- path
1601
- path512
1602
- path256
1603
- thumbhash
1604
- topicId
1605
- }
1606
- difficulty
1607
- psaSectionId
1608
- likes
1609
- dislikes
1610
- isLikedByMe
1611
- prescribeAnswer: answer {
1612
- dose {
1613
- value
1614
- label
1615
- visible
1616
- }
1617
- drug {
1618
- value
1619
- label
1620
- visible
1621
- }
1622
- route {
1623
- value
1624
- label
1625
- visible
1626
- }
1627
- frequency {
1628
- value
1629
- label
1630
- visible
1631
- }
1632
- duration {
1633
- value
1634
- label
1635
- visible
1636
- }
1637
- unit {
1638
- value
1639
- label
1640
- visible
1641
- }
1642
- }
1643
- }
1644
- ... on QuestionEMQ {
1645
- conceptId
1646
- difficulty
1647
- dislikes
1648
- explanation
1649
- id
1650
- isLikedByMe
1651
- likes
1652
- question
1653
- totalVotes
1654
- typeId
1655
- highlights {
1656
- start
1657
- end
1658
- text
1659
- part
1660
- tag
1661
- color
1662
- }
1663
- cases {
1664
- id
1665
- questionId
1666
- case
1667
- explanation
1668
- label
1669
- }
1670
- choices {
1671
- id
1672
- explanation
1673
- name
1674
- label
1675
- answer
1676
- votes
1677
- picture {
1678
- id
1679
- createdAt
1680
- updatedAt
1681
- name
1682
- caption
1683
- path
1684
- path512
1685
- path256
1686
- thumbhash
1687
- }
1688
- }
1689
- comments {
1690
- id
1691
- createdAt
1692
- comment
1693
- parentId
1694
- likes
1695
- user {
1696
- id
1697
- displayName
1698
- }
1699
- dislikes
1700
- isLikedByMe
1701
- questionId
1702
- replies {
1703
- id
1704
- createdAt
1705
- comment
1706
- parentId
1707
- user {
1708
- id
1709
- displayName
1710
- }
1711
- likes
1712
- dislikes
1713
- isLikedByMe
1714
- questionId
1715
- }
1716
- }
1717
- concept {
1718
- id
1719
- name
1720
- status
1721
- totalCards
1722
- topic {
1723
- id
1724
- name
1725
- typeId
1726
- }
1727
- chapter {
1728
- id
1729
- explanation
1730
- pictures {
1731
- id
1732
- createdAt
1733
- updatedAt
1734
- name
1735
- caption
1736
- path
1737
- path512
1738
- path256
1739
- thumbhash
1740
- index
1741
- topicId
1742
- }
1743
- }
1744
- videos {
1745
- id
1746
- status
1747
- title
1748
- museId
1749
- startTime
1750
- endTime
1751
- thumbnail
1752
- concepts {
1753
- id
1754
- name
1755
- }
1756
- live
1757
- description
1758
- duration
1759
- }
1760
- }
1761
- pictures {
1762
- id
1763
- createdAt
1764
- updatedAt
1765
- name
1766
- index
1767
- caption
1768
- path
1769
- path512
1770
- path256
1771
- thumbhash
1772
- topicId
1773
- }
1774
- difficulty
1775
- psaSectionId
1776
- likes
1777
- dislikes
1778
- isLikedByMe
1779
- emqAnswer: answer
1780
- }
1781
- ... on QuestionRanking {
1782
- conceptId
1783
- difficulty
1784
- dislikes
1785
- explanation
1786
- id
1787
- isLikedByMe
1788
- likes
1789
- question
1790
- totalVotes
1791
- typeId
1792
- highlights {
1793
- start
1794
- end
1795
- text
1796
- part
1797
- tag
1798
- color
1799
- }
1800
- choices {
1801
- id
1802
- explanation
1803
- name
1804
- label
1805
- answer
1806
- votes
1807
- picture {
1808
- id
1809
- createdAt
1810
- updatedAt
1811
- name
1812
- caption
1813
- path
1814
- path512
1815
- path256
1816
- thumbhash
1817
- }
1818
- }
1819
- comments {
1820
- id
1821
- createdAt
1822
- comment
1823
- parentId
1824
- likes
1825
- user {
1826
- id
1827
- displayName
1828
- }
1829
- dislikes
1830
- isLikedByMe
1831
- questionId
1832
- replies {
1833
- id
1834
- createdAt
1835
- comment
1836
- parentId
1837
- user {
1838
- id
1839
- displayName
1840
- }
1841
- likes
1842
- dislikes
1843
- isLikedByMe
1844
- questionId
1845
- }
1846
- }
1847
- concept {
1848
- id
1849
- name
1850
- status
1851
- totalCards
1852
- topic {
1853
- id
1854
- name
1855
- typeId
1856
- }
1857
- chapter {
1858
- id
1859
- explanation
1860
- pictures {
1861
- id
1862
- createdAt
1863
- updatedAt
1864
- name
1865
- caption
1866
- path
1867
- path512
1868
- path256
1869
- thumbhash
1870
- index
1871
- topicId
1872
- }
1873
- }
1874
- videos {
1875
- id
1876
- status
1877
- title
1878
- museId
1879
- startTime
1880
- endTime
1881
- thumbnail
1882
- concepts {
1883
- id
1884
- name
1885
- }
1886
- live
1887
- description
1888
- duration
1889
- }
1890
- }
1891
- pictures {
1892
- id
1893
- createdAt
1894
- updatedAt
1895
- name
1896
- index
1897
- caption
1898
- path
1899
- path512
1900
- path256
1901
- thumbhash
1902
- topicId
1903
- }
1904
- difficulty
1905
- psaSectionId
1906
- likes
1907
- dislikes
1908
- isLikedByMe
1909
- rankingAnswer: answer
1910
- }
1911
- ... on QuestionSelect3 {
1912
- conceptId
1913
- difficulty
1914
- dislikes
1915
- explanation
1916
- id
1917
- isLikedByMe
1918
- likes
1919
- question
1920
- totalVotes
1921
- typeId
1922
- highlights {
1923
- start
1924
- end
1925
- text
1926
- part
1927
- tag
1928
- color
1929
- }
1930
- choices {
1931
- id
1932
- explanation
1933
- name
1934
- label
1935
- answer
1936
- votes
1937
- picture {
1938
- id
1939
- createdAt
1940
- updatedAt
1941
- name
1942
- caption
1943
- path
1944
- path512
1945
- path256
1946
- thumbhash
1947
- }
1948
- }
1949
- comments {
1950
- id
1951
- createdAt
1952
- comment
1953
- parentId
1954
- likes
1955
- user {
1956
- id
1957
- displayName
1958
- }
1959
- dislikes
1960
- isLikedByMe
1961
- questionId
1962
- replies {
1963
- id
1964
- createdAt
1965
- comment
1966
- parentId
1967
- user {
1968
- id
1969
- displayName
1970
- }
1971
- likes
1972
- dislikes
1973
- isLikedByMe
1974
- questionId
1975
- }
1976
- }
1977
- concept {
1978
- id
1979
- name
1980
- status
1981
- totalCards
1982
- topic {
1983
- id
1984
- name
1985
- typeId
1986
- }
1987
- chapter {
1988
- id
1989
- explanation
1990
- pictures {
1991
- id
1992
- createdAt
1993
- updatedAt
1994
- name
1995
- caption
1996
- path
1997
- path512
1998
- path256
1999
- thumbhash
2000
- index
2001
- topicId
2002
- }
2003
- }
2004
- videos {
2005
- id
2006
- status
2007
- title
2008
- museId
2009
- startTime
2010
- endTime
2011
- thumbnail
2012
- concepts {
2013
- id
2014
- name
2015
- }
2016
- live
2017
- description
2018
- duration
2019
- }
2020
- }
2021
- pictures {
2022
- id
2023
- createdAt
2024
- updatedAt
2025
- name
2026
- index
2027
- caption
2028
- path
2029
- path512
2030
- path256
2031
- thumbhash
2032
- topicId
2033
- }
2034
- difficulty
2035
- psaSectionId
2036
- likes
2037
- dislikes
2038
- isLikedByMe
2039
- select3Answer: answer
2040
- }
2041
- }
2042
- }
2043
- mockTestId
2044
- correct
2045
- incorrect
2046
- totalQuestions
2047
- isTestMarksheet
19
+ ...MarksheetFields
2048
20
  }
2049
21
  }
2050
22
  }
@@ -2053,2032 +25,21 @@ export const BUILD_MARKSHEET = gql `
2053
25
  * reBuildMarksheet
2054
26
  */
2055
27
  export const RE_BUILD_MARKSHEET = gql `
28
+ ${MARKSHEET_FIELDS}
2056
29
  mutation ReBuildMarksheet($marksheetId: Int!) {
2057
30
  restricted {
2058
31
  reBuildMarksheet(marksheetId: $marksheetId) {
2059
- id
2060
- topicConceptData
2061
- currentMarkId
2062
- completed
2063
- passingMark
2064
- duration
2065
- timeTaken
2066
- topicIds
2067
- entitlement {
2068
- id
2069
- name
2070
- }
2071
- topicNames
2072
- mockTestId
2073
- totalQuestions
2074
- solo
2075
- agoraId
2076
- sessionId
2077
- state
2078
- user {
2079
- id
2080
- displayName
2081
- }
2082
- users {
2083
- id
2084
- displayName
2085
- }
2086
- activeUsers {
2087
- id
2088
- displayName
2089
- }
2090
- builderConfig {
2091
- difficulty
2092
- isTest
2093
- numberOfQuestions
2094
- secondsPerQuestion
2095
- unseen
2096
- seenCorrect
2097
- seenIncorrect
2098
- }
2099
- preBuildData {
2100
- buildRef
2101
- seenCorrect
2102
- seenIncorrect
2103
- unseen
2104
- }
2105
- createdAt
2106
- startedAt
2107
- endedAt
2108
- isTestMarksheet
2109
- source
2110
- correct
2111
- incorrect
2112
- marks {
2113
- id
2114
- flagged
2115
- index
2116
- questionChoiceId
2117
- marksheetId
2118
- timeTaken
2119
- isAnswered
2120
- striked
2121
- mark
2122
- question {
2123
- ... on QuestionSBA {
2124
- conceptId
2125
- difficulty
2126
- dislikes
2127
- explanation
2128
- id
2129
- isLikedByMe
2130
- likes
2131
- question
2132
- totalVotes
2133
- typeId
2134
- highlights {
2135
- start
2136
- end
2137
- text
2138
- part
2139
- tag
2140
- color
2141
- }
2142
- choices {
2143
- id
2144
- explanation
2145
- name
2146
- label
2147
- answer
2148
- votes
2149
- picture {
2150
- id
2151
- createdAt
2152
- updatedAt
2153
- name
2154
- caption
2155
- path
2156
- path512
2157
- path256
2158
- thumbhash
2159
- }
2160
- }
2161
- comments {
2162
- id
2163
- createdAt
2164
- comment
2165
- parentId
2166
- likes
2167
- user {
2168
- id
2169
- displayName
2170
- }
2171
- dislikes
2172
- isLikedByMe
2173
- questionId
2174
- replies {
2175
- id
2176
- createdAt
2177
- comment
2178
- parentId
2179
- user {
2180
- id
2181
- displayName
2182
- }
2183
- likes
2184
- dislikes
2185
- isLikedByMe
2186
- questionId
2187
- }
2188
- }
2189
- concept {
2190
- id
2191
- name
2192
- status
2193
- totalCards
2194
- topic {
2195
- id
2196
- name
2197
- typeId
2198
- }
2199
- chapter {
2200
- id
2201
- explanation
2202
- pictures {
2203
- id
2204
- createdAt
2205
- updatedAt
2206
- name
2207
- caption
2208
- path
2209
- path512
2210
- path256
2211
- thumbhash
2212
- index
2213
- topicId
2214
- }
2215
- }
2216
- videos {
2217
- id
2218
- status
2219
- title
2220
- museId
2221
- startTime
2222
- endTime
2223
- thumbnail
2224
- concepts {
2225
- id
2226
- name
2227
- }
2228
- live
2229
- description
2230
- duration
2231
- }
2232
- }
2233
- pictures {
2234
- id
2235
- createdAt
2236
- updatedAt
2237
- name
2238
- index
2239
- caption
2240
- path
2241
- path512
2242
- path256
2243
- thumbhash
2244
- topicId
2245
- }
2246
- difficulty
2247
- psaSectionId
2248
- likes
2249
- dislikes
2250
- isLikedByMe
2251
- sbaAnswer: answer
2252
- }
2253
- ... on QuestionQA {
2254
- conceptId
2255
- difficulty
2256
- dislikes
2257
- explanation
2258
- id
2259
- isLikedByMe
2260
- likes
2261
- question
2262
- totalVotes
2263
- typeId
2264
- highlights {
2265
- start
2266
- end
2267
- text
2268
- part
2269
- tag
2270
- color
2271
- }
2272
- choices {
2273
- id
2274
- explanation
2275
- name
2276
- label
2277
- answer
2278
- votes
2279
- picture {
2280
- id
2281
- createdAt
2282
- updatedAt
2283
- name
2284
- caption
2285
- path
2286
- path512
2287
- path256
2288
- thumbhash
2289
- }
2290
- }
2291
- comments {
2292
- id
2293
- createdAt
2294
- comment
2295
- parentId
2296
- likes
2297
- user {
2298
- id
2299
- displayName
2300
- }
2301
- dislikes
2302
- isLikedByMe
2303
- questionId
2304
- replies {
2305
- id
2306
- createdAt
2307
- comment
2308
- parentId
2309
- user {
2310
- id
2311
- displayName
2312
- }
2313
- likes
2314
- dislikes
2315
- isLikedByMe
2316
- questionId
2317
- }
2318
- }
2319
- concept {
2320
- id
2321
- name
2322
- status
2323
- totalCards
2324
- topic {
2325
- id
2326
- name
2327
- typeId
2328
- }
2329
- chapter {
2330
- id
2331
- explanation
2332
- pictures {
2333
- id
2334
- createdAt
2335
- updatedAt
2336
- name
2337
- caption
2338
- path
2339
- path512
2340
- path256
2341
- thumbhash
2342
- index
2343
- topicId
2344
- }
2345
- }
2346
- videos {
2347
- id
2348
- status
2349
- title
2350
- museId
2351
- startTime
2352
- endTime
2353
- thumbnail
2354
- concepts {
2355
- id
2356
- name
2357
- }
2358
- live
2359
- description
2360
- duration
2361
- }
2362
- }
2363
- pictures {
2364
- id
2365
- createdAt
2366
- updatedAt
2367
- name
2368
- index
2369
- caption
2370
- path
2371
- path512
2372
- path256
2373
- thumbhash
2374
- topicId
2375
- }
2376
- difficulty
2377
- psaSectionId
2378
- likes
2379
- dislikes
2380
- isLikedByMe
2381
- qaAnswer: answer {
2382
- dose
2383
- units
2384
- }
2385
- }
2386
- ... on QuestionMultiA {
2387
- conceptId
2388
- difficulty
2389
- dislikes
2390
- explanation
2391
- id
2392
- isLikedByMe
2393
- likes
2394
- question
2395
- totalVotes
2396
- typeId
2397
- highlights {
2398
- start
2399
- end
2400
- text
2401
- part
2402
- tag
2403
- color
2404
- }
2405
- choices {
2406
- id
2407
- explanation
2408
- name
2409
- label
2410
- answer
2411
- votes
2412
- picture {
2413
- id
2414
- createdAt
2415
- updatedAt
2416
- name
2417
- caption
2418
- path
2419
- path512
2420
- path256
2421
- thumbhash
2422
- }
2423
- }
2424
- comments {
2425
- id
2426
- createdAt
2427
- comment
2428
- parentId
2429
- likes
2430
- user {
2431
- id
2432
- displayName
2433
- }
2434
- dislikes
2435
- isLikedByMe
2436
- questionId
2437
- replies {
2438
- id
2439
- createdAt
2440
- comment
2441
- parentId
2442
- user {
2443
- id
2444
- displayName
2445
- }
2446
- likes
2447
- dislikes
2448
- isLikedByMe
2449
- questionId
2450
- }
2451
- }
2452
- concept {
2453
- id
2454
- name
2455
- status
2456
- totalCards
2457
- topic {
2458
- id
2459
- name
2460
- typeId
2461
- }
2462
- chapter {
2463
- id
2464
- explanation
2465
- pictures {
2466
- id
2467
- createdAt
2468
- updatedAt
2469
- name
2470
- caption
2471
- path
2472
- path512
2473
- path256
2474
- thumbhash
2475
- index
2476
- topicId
2477
- }
2478
- }
2479
- videos {
2480
- id
2481
- status
2482
- title
2483
- museId
2484
- startTime
2485
- endTime
2486
- thumbnail
2487
- concepts {
2488
- id
2489
- name
2490
- }
2491
- live
2492
- description
2493
- duration
2494
- }
2495
- }
2496
- pictures {
2497
- id
2498
- createdAt
2499
- updatedAt
2500
- name
2501
- index
2502
- caption
2503
- path
2504
- path512
2505
- path256
2506
- thumbhash
2507
- topicId
2508
- }
2509
- difficulty
2510
- psaSectionId
2511
- likes
2512
- dislikes
2513
- isLikedByMe
2514
- multiAnswer: answer
2515
- }
2516
- ... on QuestionPrescription {
2517
- conceptId
2518
- difficulty
2519
- dislikes
2520
- explanation
2521
- id
2522
- isLikedByMe
2523
- likes
2524
- question
2525
- totalVotes
2526
- typeId
2527
- highlights {
2528
- start
2529
- end
2530
- text
2531
- part
2532
- tag
2533
- color
2534
- }
2535
- choices {
2536
- id
2537
- explanation
2538
- name
2539
- label
2540
- answer
2541
- votes
2542
- picture {
2543
- id
2544
- createdAt
2545
- updatedAt
2546
- name
2547
- caption
2548
- path
2549
- path512
2550
- path256
2551
- thumbhash
2552
- }
2553
- }
2554
- comments {
2555
- id
2556
- createdAt
2557
- comment
2558
- parentId
2559
- likes
2560
- user {
2561
- id
2562
- displayName
2563
- }
2564
- dislikes
2565
- isLikedByMe
2566
- questionId
2567
- replies {
2568
- id
2569
- createdAt
2570
- comment
2571
- parentId
2572
- user {
2573
- id
2574
- displayName
2575
- }
2576
- likes
2577
- dislikes
2578
- isLikedByMe
2579
- questionId
2580
- }
2581
- }
2582
- concept {
2583
- id
2584
- name
2585
- status
2586
- totalCards
2587
- topic {
2588
- id
2589
- name
2590
- typeId
2591
- }
2592
- chapter {
2593
- id
2594
- explanation
2595
- pictures {
2596
- id
2597
- createdAt
2598
- updatedAt
2599
- name
2600
- caption
2601
- path
2602
- path512
2603
- path256
2604
- thumbhash
2605
- index
2606
- topicId
2607
- }
2608
- }
2609
- videos {
2610
- id
2611
- status
2612
- title
2613
- museId
2614
- startTime
2615
- endTime
2616
- thumbnail
2617
- concepts {
2618
- id
2619
- name
2620
- }
2621
- live
2622
- description
2623
- duration
2624
- }
2625
- }
2626
- pictures {
2627
- id
2628
- createdAt
2629
- updatedAt
2630
- name
2631
- index
2632
- caption
2633
- path
2634
- path512
2635
- path256
2636
- thumbhash
2637
- topicId
2638
- }
2639
- difficulty
2640
- psaSectionId
2641
- likes
2642
- dislikes
2643
- isLikedByMe
2644
- prescribeAnswer: answer {
2645
- dose {
2646
- value
2647
- label
2648
- visible
2649
- }
2650
- drug {
2651
- value
2652
- label
2653
- visible
2654
- }
2655
- route {
2656
- value
2657
- label
2658
- visible
2659
- }
2660
- frequency {
2661
- value
2662
- label
2663
- visible
2664
- }
2665
- duration {
2666
- value
2667
- label
2668
- visible
2669
- }
2670
- unit {
2671
- value
2672
- label
2673
- visible
2674
- }
2675
- }
2676
- }
2677
- ... on QuestionEMQ {
2678
- conceptId
2679
- difficulty
2680
- dislikes
2681
- explanation
2682
- id
2683
- isLikedByMe
2684
- likes
2685
- question
2686
- totalVotes
2687
- typeId
2688
- highlights {
2689
- start
2690
- end
2691
- text
2692
- part
2693
- tag
2694
- color
2695
- }
2696
- cases {
2697
- id
2698
- questionId
2699
- case
2700
- explanation
2701
- label
2702
- }
2703
- choices {
2704
- id
2705
- explanation
2706
- name
2707
- label
2708
- answer
2709
- votes
2710
- picture {
2711
- id
2712
- createdAt
2713
- updatedAt
2714
- name
2715
- caption
2716
- path
2717
- path512
2718
- path256
2719
- thumbhash
2720
- }
2721
- }
2722
- comments {
2723
- id
2724
- createdAt
2725
- comment
2726
- parentId
2727
- likes
2728
- user {
2729
- id
2730
- displayName
2731
- }
2732
- dislikes
2733
- isLikedByMe
2734
- questionId
2735
- replies {
2736
- id
2737
- createdAt
2738
- comment
2739
- parentId
2740
- user {
2741
- id
2742
- displayName
2743
- }
2744
- likes
2745
- dislikes
2746
- isLikedByMe
2747
- questionId
2748
- }
2749
- }
2750
- concept {
2751
- id
2752
- name
2753
- status
2754
- totalCards
2755
- topic {
2756
- id
2757
- name
2758
- typeId
2759
- }
2760
- chapter {
2761
- id
2762
- explanation
2763
- pictures {
2764
- id
2765
- createdAt
2766
- updatedAt
2767
- name
2768
- caption
2769
- path
2770
- path512
2771
- path256
2772
- thumbhash
2773
- index
2774
- topicId
2775
- }
2776
- }
2777
- videos {
2778
- id
2779
- status
2780
- title
2781
- museId
2782
- startTime
2783
- endTime
2784
- thumbnail
2785
- concepts {
2786
- id
2787
- name
2788
- }
2789
- live
2790
- description
2791
- duration
2792
- }
2793
- }
2794
- pictures {
2795
- id
2796
- createdAt
2797
- updatedAt
2798
- name
2799
- index
2800
- caption
2801
- path
2802
- path512
2803
- path256
2804
- thumbhash
2805
- topicId
2806
- }
2807
- difficulty
2808
- psaSectionId
2809
- likes
2810
- dislikes
2811
- isLikedByMe
2812
- emqAnswer: answer
2813
- }
2814
- ... on QuestionRanking {
2815
- conceptId
2816
- difficulty
2817
- dislikes
2818
- explanation
2819
- id
2820
- isLikedByMe
2821
- likes
2822
- question
2823
- totalVotes
2824
- typeId
2825
- highlights {
2826
- start
2827
- end
2828
- text
2829
- part
2830
- tag
2831
- color
2832
- }
2833
- choices {
2834
- id
2835
- explanation
2836
- name
2837
- label
2838
- answer
2839
- votes
2840
- picture {
2841
- id
2842
- createdAt
2843
- updatedAt
2844
- name
2845
- caption
2846
- path
2847
- path512
2848
- path256
2849
- thumbhash
2850
- }
2851
- }
2852
- comments {
2853
- id
2854
- createdAt
2855
- comment
2856
- parentId
2857
- likes
2858
- user {
2859
- id
2860
- displayName
2861
- }
2862
- dislikes
2863
- isLikedByMe
2864
- questionId
2865
- replies {
2866
- id
2867
- createdAt
2868
- comment
2869
- parentId
2870
- user {
2871
- id
2872
- displayName
2873
- }
2874
- likes
2875
- dislikes
2876
- isLikedByMe
2877
- questionId
2878
- }
2879
- }
2880
- concept {
2881
- id
2882
- name
2883
- status
2884
- totalCards
2885
- topic {
2886
- id
2887
- name
2888
- typeId
2889
- }
2890
- chapter {
2891
- id
2892
- explanation
2893
- pictures {
2894
- id
2895
- createdAt
2896
- updatedAt
2897
- name
2898
- caption
2899
- path
2900
- path512
2901
- path256
2902
- thumbhash
2903
- index
2904
- topicId
2905
- }
2906
- }
2907
- videos {
2908
- id
2909
- status
2910
- title
2911
- museId
2912
- startTime
2913
- endTime
2914
- thumbnail
2915
- concepts {
2916
- id
2917
- name
2918
- }
2919
- live
2920
- description
2921
- duration
2922
- }
2923
- }
2924
- pictures {
2925
- id
2926
- createdAt
2927
- updatedAt
2928
- name
2929
- index
2930
- caption
2931
- path
2932
- path512
2933
- path256
2934
- thumbhash
2935
- topicId
2936
- }
2937
- difficulty
2938
- psaSectionId
2939
- likes
2940
- dislikes
2941
- isLikedByMe
2942
- rankingAnswer: answer
2943
- }
2944
- ... on QuestionSelect3 {
2945
- conceptId
2946
- difficulty
2947
- dislikes
2948
- explanation
2949
- id
2950
- isLikedByMe
2951
- likes
2952
- question
2953
- totalVotes
2954
- typeId
2955
- highlights {
2956
- start
2957
- end
2958
- text
2959
- part
2960
- tag
2961
- color
2962
- }
2963
- choices {
2964
- id
2965
- explanation
2966
- name
2967
- label
2968
- answer
2969
- votes
2970
- picture {
2971
- id
2972
- createdAt
2973
- updatedAt
2974
- name
2975
- caption
2976
- path
2977
- path512
2978
- path256
2979
- thumbhash
2980
- }
2981
- }
2982
- comments {
2983
- id
2984
- createdAt
2985
- comment
2986
- parentId
2987
- likes
2988
- user {
2989
- id
2990
- displayName
2991
- }
2992
- dislikes
2993
- isLikedByMe
2994
- questionId
2995
- replies {
2996
- id
2997
- createdAt
2998
- comment
2999
- parentId
3000
- user {
3001
- id
3002
- displayName
3003
- }
3004
- likes
3005
- dislikes
3006
- isLikedByMe
3007
- questionId
3008
- }
3009
- }
3010
- concept {
3011
- id
3012
- name
3013
- status
3014
- totalCards
3015
- topic {
3016
- id
3017
- name
3018
- typeId
3019
- }
3020
- chapter {
3021
- id
3022
- explanation
3023
- pictures {
3024
- id
3025
- createdAt
3026
- updatedAt
3027
- name
3028
- caption
3029
- path
3030
- path512
3031
- path256
3032
- thumbhash
3033
- index
3034
- topicId
3035
- }
3036
- }
3037
- videos {
3038
- id
3039
- status
3040
- title
3041
- museId
3042
- startTime
3043
- endTime
3044
- thumbnail
3045
- concepts {
3046
- id
3047
- name
3048
- }
3049
- live
3050
- description
3051
- duration
3052
- }
3053
- }
3054
- pictures {
3055
- id
3056
- createdAt
3057
- updatedAt
3058
- name
3059
- index
3060
- caption
3061
- path
3062
- path512
3063
- path256
3064
- thumbhash
3065
- topicId
3066
- }
3067
- difficulty
3068
- psaSectionId
3069
- likes
3070
- dislikes
3071
- isLikedByMe
3072
- select3Answer: answer
3073
- }
3074
- }
3075
- }
32
+ ...MarksheetFields
3076
33
  }
3077
34
  }
3078
35
  }
3079
36
  `;
3080
37
  export const QUICK_BUILD_MARKSHEET = gql `
38
+ ${MARKSHEET_FIELDS}
3081
39
  mutation QuickBuildMarksheet($input: QuickBuildMarksheetInput) {
3082
40
  restricted {
3083
41
  quickBuildMarksheet(input: $input) {
3084
- id
3085
- createdAt
3086
- startedAt
3087
- endedAt
3088
- agoraId
3089
- sessionId
3090
- topicIds
3091
- entitlement {
3092
- id
3093
- name
3094
- }
3095
- completed
3096
- passingMark
3097
- duration
3098
- topicNames
3099
- mockTestId
3100
- totalQuestions
3101
- solo
3102
- state
3103
- currentMarkId
3104
- topicConceptData
3105
- builderConfig {
3106
- difficulty
3107
- isTest
3108
- numberOfQuestions
3109
- secondsPerQuestion
3110
- unseen
3111
- seenCorrect
3112
- seenIncorrect
3113
- }
3114
- preBuildData {
3115
- buildRef
3116
- seenCorrect
3117
- seenIncorrect
3118
- unseen
3119
- }
3120
- topicNames
3121
- source
3122
- user {
3123
- displayName
3124
- id
3125
- }
3126
- activeUsers {
3127
- id
3128
- displayName
3129
- }
3130
- users {
3131
- id
3132
- displayName
3133
- }
3134
- marks {
3135
- id
3136
- flagged
3137
- index
3138
- questionChoiceId
3139
- marksheetId
3140
- timeTaken
3141
- striked
3142
- isAnswered
3143
- mark
3144
- question {
3145
- ... on QuestionSBA {
3146
- conceptId
3147
- difficulty
3148
- dislikes
3149
- explanation
3150
- id
3151
- isLikedByMe
3152
- likes
3153
- question
3154
- totalVotes
3155
- typeId
3156
- highlights {
3157
- start
3158
- end
3159
- text
3160
- part
3161
- tag
3162
- color
3163
- }
3164
- choices {
3165
- id
3166
- explanation
3167
- name
3168
- label
3169
- answer
3170
- votes
3171
- picture {
3172
- id
3173
- createdAt
3174
- updatedAt
3175
- name
3176
- caption
3177
- path
3178
- path512
3179
- path256
3180
- }
3181
- }
3182
- comments {
3183
- id
3184
- createdAt
3185
- comment
3186
- parentId
3187
- likes
3188
- user {
3189
- id
3190
- displayName
3191
- }
3192
- dislikes
3193
- isLikedByMe
3194
- questionId
3195
- replies {
3196
- id
3197
- createdAt
3198
- comment
3199
- parentId
3200
- user {
3201
- id
3202
- displayName
3203
- }
3204
- likes
3205
- dislikes
3206
- isLikedByMe
3207
- questionId
3208
- }
3209
- }
3210
- concept {
3211
- id
3212
- name
3213
- status
3214
- totalCards
3215
- topic {
3216
- id
3217
- name
3218
- typeId
3219
- }
3220
- chapter {
3221
- id
3222
- explanation
3223
- pictures {
3224
- id
3225
- createdAt
3226
- updatedAt
3227
- name
3228
- caption
3229
- path
3230
- path512
3231
- path256
3232
- index
3233
- topicId
3234
- }
3235
- }
3236
- videos {
3237
- id
3238
- status
3239
- title
3240
- museId
3241
- startTime
3242
- endTime
3243
- thumbnail
3244
- concepts {
3245
- id
3246
- name
3247
- }
3248
- live
3249
- description
3250
- duration
3251
- }
3252
- }
3253
- pictures {
3254
- id
3255
- createdAt
3256
- updatedAt
3257
- name
3258
- caption
3259
- path
3260
- index
3261
- path512
3262
- path256
3263
- topicId
3264
- }
3265
- difficulty
3266
- psaSectionId
3267
- likes
3268
- dislikes
3269
- isLikedByMe
3270
- sbaAnswer: answer
3271
- }
3272
- ... on QuestionQA {
3273
- conceptId
3274
- difficulty
3275
- dislikes
3276
- explanation
3277
- id
3278
- isLikedByMe
3279
- likes
3280
- question
3281
- totalVotes
3282
- typeId
3283
- highlights {
3284
- start
3285
- end
3286
- text
3287
- part
3288
- tag
3289
- color
3290
- }
3291
- choices {
3292
- id
3293
- explanation
3294
- name
3295
- label
3296
- answer
3297
- votes
3298
- picture {
3299
- id
3300
- createdAt
3301
- updatedAt
3302
- name
3303
- caption
3304
- path
3305
- path512
3306
- path256
3307
- }
3308
- }
3309
- comments {
3310
- id
3311
- createdAt
3312
- comment
3313
- parentId
3314
- likes
3315
- user {
3316
- id
3317
- displayName
3318
- }
3319
- dislikes
3320
- isLikedByMe
3321
- questionId
3322
- replies {
3323
- id
3324
- createdAt
3325
- comment
3326
- parentId
3327
- user {
3328
- id
3329
- displayName
3330
- }
3331
- likes
3332
- dislikes
3333
- isLikedByMe
3334
- questionId
3335
- }
3336
- }
3337
- concept {
3338
- id
3339
- name
3340
- status
3341
- totalCards
3342
- topic {
3343
- id
3344
- name
3345
- typeId
3346
- }
3347
- chapter {
3348
- id
3349
- explanation
3350
- pictures {
3351
- id
3352
- createdAt
3353
- updatedAt
3354
- name
3355
- caption
3356
- path
3357
- path512
3358
- path256
3359
- index
3360
- topicId
3361
- }
3362
- }
3363
- videos {
3364
- id
3365
- status
3366
- title
3367
- museId
3368
- startTime
3369
- endTime
3370
- thumbnail
3371
- concepts {
3372
- id
3373
- name
3374
- }
3375
- live
3376
- description
3377
- duration
3378
- }
3379
- }
3380
- pictures {
3381
- id
3382
- createdAt
3383
- updatedAt
3384
- name
3385
- caption
3386
- index
3387
- path
3388
- path512
3389
- path256
3390
- topicId
3391
- }
3392
- difficulty
3393
- psaSectionId
3394
- likes
3395
- dislikes
3396
- isLikedByMe
3397
- qaAnswer: answer {
3398
- dose
3399
- units
3400
- }
3401
- }
3402
- ... on QuestionMultiA {
3403
- conceptId
3404
- difficulty
3405
- dislikes
3406
- explanation
3407
- id
3408
- isLikedByMe
3409
- likes
3410
- question
3411
- totalVotes
3412
- typeId
3413
- highlights {
3414
- start
3415
- end
3416
- text
3417
- part
3418
- tag
3419
- color
3420
- }
3421
- choices {
3422
- id
3423
- explanation
3424
- name
3425
- label
3426
- answer
3427
- votes
3428
- picture {
3429
- id
3430
- createdAt
3431
- updatedAt
3432
- name
3433
- caption
3434
- path
3435
- path512
3436
- path256
3437
- }
3438
- }
3439
- comments {
3440
- id
3441
- createdAt
3442
- comment
3443
- parentId
3444
- likes
3445
- user {
3446
- id
3447
- displayName
3448
- }
3449
- dislikes
3450
- isLikedByMe
3451
- questionId
3452
- replies {
3453
- id
3454
- createdAt
3455
- comment
3456
- parentId
3457
- user {
3458
- id
3459
- displayName
3460
- }
3461
- likes
3462
- dislikes
3463
- isLikedByMe
3464
- questionId
3465
- }
3466
- }
3467
- concept {
3468
- id
3469
- name
3470
- status
3471
- totalCards
3472
- topic {
3473
- id
3474
- name
3475
- typeId
3476
- }
3477
- chapter {
3478
- id
3479
- explanation
3480
- pictures {
3481
- id
3482
- createdAt
3483
- updatedAt
3484
- name
3485
- caption
3486
- path
3487
- path512
3488
- path256
3489
- index
3490
- topicId
3491
- }
3492
- }
3493
- videos {
3494
- id
3495
- status
3496
- title
3497
- museId
3498
- startTime
3499
- endTime
3500
- thumbnail
3501
- concepts {
3502
- id
3503
- name
3504
- }
3505
- live
3506
- description
3507
- duration
3508
- }
3509
- }
3510
- pictures {
3511
- id
3512
- createdAt
3513
- updatedAt
3514
- name
3515
- index
3516
- caption
3517
- path
3518
- path512
3519
- path256
3520
- topicId
3521
- }
3522
- difficulty
3523
- psaSectionId
3524
- likes
3525
- dislikes
3526
- isLikedByMe
3527
- multiAnswer: answer
3528
- }
3529
- ... on QuestionPrescription {
3530
- conceptId
3531
- difficulty
3532
- dislikes
3533
- explanation
3534
- id
3535
- isLikedByMe
3536
- likes
3537
- question
3538
- totalVotes
3539
- typeId
3540
- highlights {
3541
- start
3542
- end
3543
- text
3544
- part
3545
- tag
3546
- color
3547
- }
3548
- choices {
3549
- id
3550
- explanation
3551
- name
3552
- label
3553
- answer
3554
- votes
3555
- picture {
3556
- id
3557
- createdAt
3558
- updatedAt
3559
- name
3560
- caption
3561
- path
3562
- path512
3563
- path256
3564
- }
3565
- }
3566
- comments {
3567
- id
3568
- createdAt
3569
- comment
3570
- parentId
3571
- likes
3572
- user {
3573
- id
3574
- displayName
3575
- }
3576
- dislikes
3577
- isLikedByMe
3578
- questionId
3579
- replies {
3580
- id
3581
- createdAt
3582
- comment
3583
- parentId
3584
- user {
3585
- id
3586
- displayName
3587
- }
3588
- likes
3589
- dislikes
3590
- isLikedByMe
3591
- questionId
3592
- }
3593
- }
3594
- concept {
3595
- id
3596
- name
3597
- status
3598
- totalCards
3599
- topic {
3600
- id
3601
- name
3602
- typeId
3603
- }
3604
- chapter {
3605
- id
3606
- explanation
3607
- pictures {
3608
- id
3609
- createdAt
3610
- updatedAt
3611
- name
3612
- caption
3613
- path
3614
- path512
3615
- path256
3616
- index
3617
- topicId
3618
- }
3619
- }
3620
- videos {
3621
- id
3622
- status
3623
- title
3624
- museId
3625
- startTime
3626
- endTime
3627
- thumbnail
3628
- concepts {
3629
- id
3630
- name
3631
- }
3632
- live
3633
- description
3634
- duration
3635
- }
3636
- }
3637
- pictures {
3638
- id
3639
- createdAt
3640
- updatedAt
3641
- name
3642
- index
3643
- caption
3644
- path
3645
- path512
3646
- path256
3647
- topicId
3648
- }
3649
- difficulty
3650
- psaSectionId
3651
- likes
3652
- dislikes
3653
- isLikedByMe
3654
- prescribeAnswer: answer {
3655
- dose {
3656
- value
3657
- label
3658
- visible
3659
- }
3660
- drug {
3661
- value
3662
- label
3663
- visible
3664
- }
3665
- route {
3666
- value
3667
- label
3668
- visible
3669
- }
3670
- frequency {
3671
- value
3672
- label
3673
- visible
3674
- }
3675
- duration {
3676
- value
3677
- label
3678
- visible
3679
- }
3680
- unit {
3681
- value
3682
- label
3683
- visible
3684
- }
3685
- }
3686
- }
3687
- ... on QuestionEMQ {
3688
- conceptId
3689
- difficulty
3690
- dislikes
3691
- explanation
3692
- id
3693
- isLikedByMe
3694
- likes
3695
- question
3696
- totalVotes
3697
- typeId
3698
- highlights {
3699
- start
3700
- end
3701
- text
3702
- part
3703
- tag
3704
- color
3705
- }
3706
- cases {
3707
- id
3708
- questionId
3709
- case
3710
- explanation
3711
- label
3712
- }
3713
- choices {
3714
- id
3715
- explanation
3716
- name
3717
- label
3718
- answer
3719
- votes
3720
- picture {
3721
- id
3722
- createdAt
3723
- updatedAt
3724
- name
3725
- caption
3726
- path
3727
- path512
3728
- path256
3729
- }
3730
- }
3731
- comments {
3732
- id
3733
- createdAt
3734
- comment
3735
- parentId
3736
- likes
3737
- user {
3738
- id
3739
- displayName
3740
- }
3741
- dislikes
3742
- isLikedByMe
3743
- questionId
3744
- replies {
3745
- id
3746
- createdAt
3747
- comment
3748
- parentId
3749
- user {
3750
- id
3751
- displayName
3752
- }
3753
- likes
3754
- dislikes
3755
- isLikedByMe
3756
- questionId
3757
- }
3758
- }
3759
- concept {
3760
- id
3761
- name
3762
- status
3763
- totalCards
3764
- topic {
3765
- id
3766
- name
3767
- typeId
3768
- }
3769
- chapter {
3770
- id
3771
- explanation
3772
- pictures {
3773
- id
3774
- createdAt
3775
- updatedAt
3776
- name
3777
- caption
3778
- path
3779
- path512
3780
- path256
3781
- index
3782
- topicId
3783
- }
3784
- }
3785
- videos {
3786
- id
3787
- status
3788
- title
3789
- museId
3790
- startTime
3791
- endTime
3792
- thumbnail
3793
- concepts {
3794
- id
3795
- name
3796
- }
3797
- live
3798
- description
3799
- duration
3800
- }
3801
- }
3802
- pictures {
3803
- id
3804
- createdAt
3805
- updatedAt
3806
- name
3807
- index
3808
- caption
3809
- path
3810
- path512
3811
- path256
3812
- topicId
3813
- }
3814
- difficulty
3815
- psaSectionId
3816
- likes
3817
- dislikes
3818
- isLikedByMe
3819
- emqAnswer: answer
3820
- }
3821
- ... on QuestionRanking {
3822
- conceptId
3823
- difficulty
3824
- dislikes
3825
- explanation
3826
- id
3827
- isLikedByMe
3828
- likes
3829
- question
3830
- totalVotes
3831
- typeId
3832
- highlights {
3833
- start
3834
- end
3835
- text
3836
- part
3837
- tag
3838
- color
3839
- }
3840
- choices {
3841
- id
3842
- explanation
3843
- name
3844
- label
3845
- answer
3846
- votes
3847
- picture {
3848
- id
3849
- createdAt
3850
- updatedAt
3851
- name
3852
- caption
3853
- path
3854
- path512
3855
- path256
3856
- }
3857
- }
3858
- comments {
3859
- id
3860
- createdAt
3861
- comment
3862
- parentId
3863
- likes
3864
- user {
3865
- id
3866
- displayName
3867
- }
3868
- dislikes
3869
- isLikedByMe
3870
- questionId
3871
- replies {
3872
- id
3873
- createdAt
3874
- comment
3875
- parentId
3876
- user {
3877
- id
3878
- displayName
3879
- }
3880
- likes
3881
- dislikes
3882
- isLikedByMe
3883
- questionId
3884
- }
3885
- }
3886
- concept {
3887
- id
3888
- name
3889
- status
3890
- totalCards
3891
- topic {
3892
- id
3893
- name
3894
- typeId
3895
- }
3896
- chapter {
3897
- id
3898
- explanation
3899
- pictures {
3900
- id
3901
- createdAt
3902
- updatedAt
3903
- name
3904
- caption
3905
- path
3906
- path512
3907
- path256
3908
- index
3909
- topicId
3910
- }
3911
- }
3912
- videos {
3913
- id
3914
- status
3915
- title
3916
- museId
3917
- startTime
3918
- endTime
3919
- thumbnail
3920
- concepts {
3921
- id
3922
- name
3923
- }
3924
- live
3925
- description
3926
- duration
3927
- }
3928
- }
3929
- pictures {
3930
- id
3931
- createdAt
3932
- updatedAt
3933
- name
3934
- index
3935
- caption
3936
- path
3937
- path512
3938
- path256
3939
- topicId
3940
- }
3941
- difficulty
3942
- psaSectionId
3943
- likes
3944
- dislikes
3945
- isLikedByMe
3946
- rankingAnswer: answer
3947
- }
3948
- ... on QuestionSelect3 {
3949
- conceptId
3950
- difficulty
3951
- dislikes
3952
- explanation
3953
- id
3954
- isLikedByMe
3955
- likes
3956
- question
3957
- totalVotes
3958
- typeId
3959
- highlights {
3960
- start
3961
- end
3962
- text
3963
- part
3964
- tag
3965
- color
3966
- }
3967
- choices {
3968
- id
3969
- explanation
3970
- name
3971
- label
3972
- answer
3973
- votes
3974
- picture {
3975
- id
3976
- createdAt
3977
- updatedAt
3978
- name
3979
- caption
3980
- path
3981
- path512
3982
- path256
3983
- }
3984
- }
3985
- comments {
3986
- id
3987
- createdAt
3988
- comment
3989
- parentId
3990
- likes
3991
- user {
3992
- id
3993
- displayName
3994
- }
3995
- dislikes
3996
- isLikedByMe
3997
- questionId
3998
- replies {
3999
- id
4000
- createdAt
4001
- comment
4002
- parentId
4003
- user {
4004
- id
4005
- displayName
4006
- }
4007
- likes
4008
- dislikes
4009
- isLikedByMe
4010
- questionId
4011
- }
4012
- }
4013
- concept {
4014
- id
4015
- name
4016
- status
4017
- totalCards
4018
- topic {
4019
- id
4020
- name
4021
- typeId
4022
- }
4023
- chapter {
4024
- id
4025
- explanation
4026
- pictures {
4027
- id
4028
- createdAt
4029
- updatedAt
4030
- name
4031
- caption
4032
- path
4033
- path512
4034
- path256
4035
- index
4036
- topicId
4037
- }
4038
- }
4039
- videos {
4040
- id
4041
- status
4042
- title
4043
- museId
4044
- startTime
4045
- endTime
4046
- thumbnail
4047
- concepts {
4048
- id
4049
- name
4050
- }
4051
- live
4052
- description
4053
- duration
4054
- }
4055
- }
4056
- pictures {
4057
- id
4058
- createdAt
4059
- updatedAt
4060
- name
4061
- index
4062
- caption
4063
- path
4064
- path512
4065
- path256
4066
- topicId
4067
- }
4068
- difficulty
4069
- psaSectionId
4070
- likes
4071
- dislikes
4072
- isLikedByMe
4073
- select3Answer: answer
4074
- }
4075
- }
4076
- }
4077
- mockTestId
4078
- correct
4079
- incorrect
4080
- totalQuestions
4081
- isTestMarksheet
42
+ ...MarksheetFields
4082
43
  }
4083
44
  }
4084
45
  }
@@ -4130,14 +91,7 @@ export const updateMarksheets = (cache, result, options) => {
4130
91
  questionChoiceId: marksheet.choiceId,
4131
92
  isAnswered: true,
4132
93
  },
4133
- fragment: gql `
4134
- fragment NewTodoMark on MarksheetMark {
4135
- timeTaken
4136
- questionChoiceId
4137
- mark
4138
- isAnswered
4139
- }
4140
- `,
94
+ fragment: NEW_MARK_FIELDS,
4141
95
  });
4142
96
  }
4143
97
  }
@@ -4204,11 +158,6 @@ export const REMOVE_FLAGGED_QUESTION = gql `
4204
158
  }
4205
159
  }
4206
160
  `;
4207
- export const MARK_FLAGGED_FIELD = gql `
4208
- fragment MarksheetMarkFlagged on MarksheetMark {
4209
- flagged
4210
- }
4211
- `;
4212
161
  export const updateCacheAddFlaggedQuestion = (cache, result) => {
4213
162
  const { addFlaggedQuestion } = result?.data?.restricted || {};
4214
163
  if (!addFlaggedQuestion) {
@@ -4303,6 +252,7 @@ export const optimisticModifyMarksheetBuilderConfig = (marksheetId, builderConfi
4303
252
  };
4304
253
  };
4305
254
  export const MODIFY_MARKSHEET = gql `
255
+ ${BUILDER_CONFIG_FIELDS}
4306
256
  mutation ModifyMarksheet($input: ModifyMarksheetInput) {
4307
257
  restricted {
4308
258
  modifyMarksheet(input: $input) {
@@ -4315,13 +265,7 @@ export const MODIFY_MARKSHEET = gql `
4315
265
  currentMarkId
4316
266
  topicConceptData
4317
267
  builderConfig {
4318
- difficulty
4319
- isTest
4320
- numberOfQuestions
4321
- secondsPerQuestion
4322
- unseen
4323
- seenCorrect
4324
- seenIncorrect
268
+ ...BuilderConfigFields
4325
269
  }
4326
270
  }
4327
271
  }
@@ -4331,36 +275,18 @@ export const MODIFY_MARKSHEET = gql `
4331
275
  * MODIFY_BUILDER_CONFIG
4332
276
  */
4333
277
  export const MODIFY_BUILDER_CONFIG = gql `
278
+ ${BUILDER_CONFIG_FIELDS}
4334
279
  mutation ModifyMarksheetBuilderConfig($input: ModifyMarksheetInput) {
4335
280
  restricted {
4336
281
  modifyMarksheet(input: $input) {
4337
282
  id
4338
283
  builderConfig {
4339
- difficulty
4340
- isTest
4341
- numberOfQuestions
4342
- secondsPerQuestion
4343
- unseen
4344
- seenCorrect
4345
- seenIncorrect
284
+ ...BuilderConfigFields
4346
285
  }
4347
286
  }
4348
287
  }
4349
288
  }
4350
289
  `;
4351
- export const MODIFY_BUILDER_CONFIG_FRAGMENT = gql `
4352
- fragment MarksheetBuilderConfig on Marksheet {
4353
- builderConfig {
4354
- difficulty
4355
- isTest
4356
- numberOfQuestions
4357
- secondsPerQuestion
4358
- unseen
4359
- seenCorrect
4360
- seenIncorrect
4361
- }
4362
- }
4363
- `;
4364
290
  /**
4365
291
  * MODIFY_TOPIC_SELECTION
4366
292
  */
@@ -4374,16 +300,6 @@ export const MODIFY_TOPIC_SELECTION = gql `
4374
300
  }
4375
301
  }
4376
302
  `;
4377
- export const MODIFY_TOPIC_SELECTION_FRAGMENT = gql `
4378
- fragment MarksheetTopicSelection on Marksheet {
4379
- topicConceptData
4380
- }
4381
- `;
4382
- export const MODIFY_CURRENT_MARK_FRAGMENT = gql `
4383
- fragment MarksheetCurrentMark on Marksheet {
4384
- currentMarkId
4385
- }
4386
- `;
4387
303
  /**
4388
304
  * MODIFY_MARKSHEET_STATE
4389
305
  */
@@ -4397,11 +313,6 @@ export const MODIFY_MARKSHEET_STATE = gql `
4397
313
  }
4398
314
  }
4399
315
  `;
4400
- export const MODIFY_MARKSHEET_STATE_FRAGMENT = gql `
4401
- fragment MarksheetState on Marksheet {
4402
- state
4403
- }
4404
- `;
4405
316
  export const MODIFY_MARKSHEET_MARK = gql `
4406
317
  mutation ModifyMarksheetMark($input: ModifyMarksheetMarkInput) {
4407
318
  restricted {
@@ -4430,11 +341,6 @@ export const MODIFY_MARKSHEET_MARK_STRIKED = gql `
4430
341
  }
4431
342
  }
4432
343
  `;
4433
- export const MODIFY_MARKSHEET_MARK_STRIKED_FRAGMENT = gql `
4434
- fragment MarksheetMarkSriked on MarksheetMark {
4435
- striked
4436
- }
4437
- `;
4438
344
  export const MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID = gql `
4439
345
  mutation ModifyMarksheetMarkQuestionChoiceId(
4440
346
  $input: ModifyMarksheetMarkInput
@@ -4447,11 +353,6 @@ export const MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID = gql `
4447
353
  }
4448
354
  }
4449
355
  `;
4450
- export const MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID_FRAGMENT = gql `
4451
- fragment MarksheetMarkTimeTaken on MarksheetMark {
4452
- questionChoiceId
4453
- }
4454
- `;
4455
356
  export const MODIFY_CURRENT_MARKSHEET_MARK = gql `
4456
357
  mutation ModifyCurrentMarksheetMark($input: ModifyMarksheetMarkInput) {
4457
358
  restricted {
@@ -4463,12 +364,6 @@ export const MODIFY_CURRENT_MARKSHEET_MARK = gql `
4463
364
  }
4464
365
  }
4465
366
  `;
4466
- export const MODIFY_CURRENT_MARKSHEET_MARK_FRAGMENT = gql `
4467
- fragment CurrentMarksheetMark on MarksheetMark {
4468
- index
4469
- timeTaken
4470
- }
4471
- `;
4472
367
  export const LEAVE_MARKSHEET = gql `
4473
368
  mutation LeaveMarksheet($marksheetId: Int!) {
4474
369
  restricted {
@@ -4495,11 +390,6 @@ export const END_MARKSHEET = gql `
4495
390
  }
4496
391
  }
4497
392
  `;
4498
- const MODIFY_COMPLETED_FRAGMENT = gql `
4499
- fragment MarksheetCompleted on Marksheet {
4500
- completed
4501
- }
4502
- `;
4503
393
  export const updateCacheOnEndMarksheet = (cache, result, options) => {
4504
394
  const { endMarksheet } = result?.data?.restricted || {};
4505
395
  const { variables } = options || {};