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