@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,2047 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TOGGLE_STRIKE_OPTIONS = exports.optimisticEndMarksheet = exports.updateCacheOnEndMarksheet = exports.END_MARKSHEET = exports.LEAVE_MARKSHEET = exports.MODIFY_CURRENT_MARKSHEET_MARK_FRAGMENT = exports.MODIFY_CURRENT_MARKSHEET_MARK = exports.MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID_FRAGMENT = exports.MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID = exports.MODIFY_MARKSHEET_MARK_STRIKED_FRAGMENT = exports.MODIFY_MARKSHEET_MARK_STRIKED = exports.MODIFY_MARKSHEET_MARK = exports.MODIFY_MARKSHEET_STATE_FRAGMENT = exports.MODIFY_MARKSHEET_STATE = exports.MODIFY_CURRENT_MARK_FRAGMENT = exports.MODIFY_TOPIC_SELECTION_FRAGMENT = exports.MODIFY_TOPIC_SELECTION = exports.MODIFY_BUILDER_CONFIG_FRAGMENT = exports.MODIFY_BUILDER_CONFIG = exports.MODIFY_MARKSHEET = exports.optimisticModifyMarksheetBuilderConfig = exports.START_OR_JOIN_MARKSHEET = exports.optimisticRemoveFlaggedQuestion = exports.updateCacheRemoveFlaggedQuestion = exports.optimisticAddFlaggedQuestion = exports.updateCacheAddFlaggedQuestion = exports.MARK_FLAGGED_FIELD = exports.REMOVE_FLAGGED_QUESTION = exports.ADD_FLAGGED_QUESTION = exports.optimisticSaveMarksheets = exports.updateMarksheets = exports.SAVE_MARKSHEET = exports.QUICK_BUILD_MARKSHEET = exports.RE_BUILD_MARKSHEET = exports.BUILD_MARKSHEET = exports.BUILD_QUESTION_MARKSHEET = void 0;
3
+ exports.TOGGLE_STRIKE_OPTIONS = exports.optimisticEndMarksheet = exports.updateCacheOnEndMarksheet = exports.END_MARKSHEET = exports.LEAVE_MARKSHEET = exports.MODIFY_CURRENT_MARKSHEET_MARK = exports.MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID = exports.MODIFY_MARKSHEET_MARK_STRIKED = exports.MODIFY_MARKSHEET_MARK = exports.MODIFY_MARKSHEET_STATE = exports.MODIFY_TOPIC_SELECTION = exports.MODIFY_BUILDER_CONFIG = exports.MODIFY_MARKSHEET = exports.optimisticModifyMarksheetBuilderConfig = exports.START_OR_JOIN_MARKSHEET = exports.optimisticRemoveFlaggedQuestion = exports.updateCacheRemoveFlaggedQuestion = exports.optimisticAddFlaggedQuestion = exports.updateCacheAddFlaggedQuestion = exports.REMOVE_FLAGGED_QUESTION = exports.ADD_FLAGGED_QUESTION = exports.optimisticSaveMarksheets = exports.updateMarksheets = exports.SAVE_MARKSHEET = exports.QUICK_BUILD_MARKSHEET = exports.RE_BUILD_MARKSHEET = exports.BUILD_MARKSHEET = exports.BUILD_QUESTION_MARKSHEET = void 0;
4
4
  const client_1 = require("@apollo/client");
5
+ const marksheet_1 = require("../../fragments/marksheet");
5
6
  const restricted_1 = require("../../query/restricted");
6
7
  exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
8
+ ${marksheet_1.MARKSHEET_FIELDS}
7
9
  mutation BuildQuestionMarksheet($questionIds: [Int!]) {
8
10
  restricted {
9
11
  buildQuestionMarksheet(questionIds: $questionIds) {
10
- id
11
- createdAt
12
- startedAt
13
- endedAt
14
- agoraId
15
- sessionId
16
- topicIds
17
- completed
18
- passingMark
19
- duration
20
- topicIds
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
12
+ ...MarksheetFields
1021
13
  }
1022
14
  }
1023
15
  }
1024
16
  `;
1025
17
  exports.BUILD_MARKSHEET = (0, client_1.gql) `
18
+ ${marksheet_1.MARKSHEET_FIELDS}
1026
19
  mutation BuildMarksheet($input: BuildMarksheetInput!) {
1027
20
  restricted {
1028
21
  buildMarksheet(input: $input) {
1029
- id
1030
- createdAt
1031
- startedAt
1032
- endedAt
1033
- agoraId
1034
- sessionId
1035
- topicIds
1036
- completed
1037
- passingMark
1038
- duration
1039
- topicIds
1040
- topicNames
1041
- mockTestId
1042
- totalQuestions
1043
- solo
1044
- state
1045
- currentMarkId
1046
- topicConceptData
1047
- builderConfig {
1048
- difficulty
1049
- isTest
1050
- numberOfQuestions
1051
- secondsPerQuestion
1052
- unseen
1053
- seenCorrect
1054
- seenIncorrect
1055
- }
1056
- preBuildData {
1057
- buildRef
1058
- seenCorrect
1059
- seenIncorrect
1060
- unseen
1061
- }
1062
- topicNames
1063
- source
1064
- user {
1065
- displayName
1066
- id
1067
- }
1068
- activeUsers {
1069
- id
1070
- displayName
1071
- }
1072
- users {
1073
- id
1074
- displayName
1075
- }
1076
- marks {
1077
- id
1078
- flagged
1079
- index
1080
- questionChoiceId
1081
- marksheetId
1082
- timeTaken
1083
- striked
1084
- isAnswered
1085
- mark
1086
- question {
1087
- ... on QuestionSBA {
1088
- conceptId
1089
- difficulty
1090
- dislikes
1091
- explanation
1092
- id
1093
- isLikedByMe
1094
- likes
1095
- question
1096
- totalVotes
1097
- typeId
1098
- highlights {
1099
- start
1100
- end
1101
- text
1102
- part
1103
- tag
1104
- color
1105
- }
1106
- choices {
1107
- id
1108
- explanation
1109
- name
1110
- label
1111
- answer
1112
- votes
1113
- picture {
1114
- id
1115
- createdAt
1116
- updatedAt
1117
- name
1118
- caption
1119
- path
1120
- path512
1121
- path256
1122
- thumbhash
1123
- }
1124
- }
1125
- comments {
1126
- id
1127
- createdAt
1128
- comment
1129
- parentId
1130
- likes
1131
- user {
1132
- id
1133
- displayName
1134
- }
1135
- dislikes
1136
- isLikedByMe
1137
- questionId
1138
- replies {
1139
- id
1140
- createdAt
1141
- comment
1142
- parentId
1143
- user {
1144
- id
1145
- displayName
1146
- }
1147
- likes
1148
- dislikes
1149
- isLikedByMe
1150
- questionId
1151
- }
1152
- }
1153
- concept {
1154
- id
1155
- name
1156
- status
1157
- totalCards
1158
- topic {
1159
- id
1160
- name
1161
- typeId
1162
- }
1163
- chapter {
1164
- id
1165
- explanation
1166
- pictures {
1167
- id
1168
- createdAt
1169
- updatedAt
1170
- name
1171
- caption
1172
- path
1173
- path512
1174
- path256
1175
- thumbhash
1176
- index
1177
- topicId
1178
- }
1179
- }
1180
- videos {
1181
- id
1182
- status
1183
- title
1184
- museId
1185
- startTime
1186
- endTime
1187
- thumbnail
1188
- concepts {
1189
- id
1190
- name
1191
- }
1192
- live
1193
- description
1194
- duration
1195
- }
1196
- }
1197
- pictures {
1198
- id
1199
- createdAt
1200
- updatedAt
1201
- name
1202
- caption
1203
- path
1204
- index
1205
- path512
1206
- path256
1207
- thumbhash
1208
- topicId
1209
- }
1210
- difficulty
1211
- psaSectionId
1212
- likes
1213
- dislikes
1214
- isLikedByMe
1215
- sbaAnswer: answer
1216
- }
1217
- ... on QuestionQA {
1218
- conceptId
1219
- difficulty
1220
- dislikes
1221
- explanation
1222
- id
1223
- isLikedByMe
1224
- likes
1225
- question
1226
- totalVotes
1227
- typeId
1228
- highlights {
1229
- start
1230
- end
1231
- text
1232
- part
1233
- tag
1234
- color
1235
- }
1236
- choices {
1237
- id
1238
- explanation
1239
- name
1240
- label
1241
- answer
1242
- votes
1243
- picture {
1244
- id
1245
- createdAt
1246
- updatedAt
1247
- name
1248
- caption
1249
- path
1250
- path512
1251
- path256
1252
- thumbhash
1253
- }
1254
- }
1255
- comments {
1256
- id
1257
- createdAt
1258
- comment
1259
- parentId
1260
- likes
1261
- user {
1262
- id
1263
- displayName
1264
- }
1265
- dislikes
1266
- isLikedByMe
1267
- questionId
1268
- replies {
1269
- id
1270
- createdAt
1271
- comment
1272
- parentId
1273
- user {
1274
- id
1275
- displayName
1276
- }
1277
- likes
1278
- dislikes
1279
- isLikedByMe
1280
- questionId
1281
- }
1282
- }
1283
- concept {
1284
- id
1285
- name
1286
- status
1287
- totalCards
1288
- topic {
1289
- id
1290
- name
1291
- typeId
1292
- }
1293
- chapter {
1294
- id
1295
- explanation
1296
- pictures {
1297
- id
1298
- createdAt
1299
- updatedAt
1300
- name
1301
- caption
1302
- path
1303
- path512
1304
- path256
1305
- thumbhash
1306
- index
1307
- topicId
1308
- }
1309
- }
1310
- videos {
1311
- id
1312
- status
1313
- title
1314
- museId
1315
- startTime
1316
- endTime
1317
- thumbnail
1318
- concepts {
1319
- id
1320
- name
1321
- }
1322
- live
1323
- description
1324
- duration
1325
- }
1326
- }
1327
- pictures {
1328
- id
1329
- createdAt
1330
- updatedAt
1331
- name
1332
- caption
1333
- index
1334
- path
1335
- path512
1336
- path256
1337
- thumbhash
1338
- topicId
1339
- }
1340
- difficulty
1341
- psaSectionId
1342
- likes
1343
- dislikes
1344
- isLikedByMe
1345
- qaAnswer: answer {
1346
- dose
1347
- units
1348
- }
1349
- }
1350
- ... on QuestionMultiA {
1351
- conceptId
1352
- difficulty
1353
- dislikes
1354
- explanation
1355
- id
1356
- isLikedByMe
1357
- likes
1358
- question
1359
- totalVotes
1360
- typeId
1361
- highlights {
1362
- start
1363
- end
1364
- text
1365
- part
1366
- tag
1367
- color
1368
- }
1369
- choices {
1370
- id
1371
- explanation
1372
- name
1373
- label
1374
- answer
1375
- votes
1376
- picture {
1377
- id
1378
- createdAt
1379
- updatedAt
1380
- name
1381
- caption
1382
- path
1383
- path512
1384
- path256
1385
- thumbhash
1386
- }
1387
- }
1388
- comments {
1389
- id
1390
- createdAt
1391
- comment
1392
- parentId
1393
- likes
1394
- user {
1395
- id
1396
- displayName
1397
- }
1398
- dislikes
1399
- isLikedByMe
1400
- questionId
1401
- replies {
1402
- id
1403
- createdAt
1404
- comment
1405
- parentId
1406
- user {
1407
- id
1408
- displayName
1409
- }
1410
- likes
1411
- dislikes
1412
- isLikedByMe
1413
- questionId
1414
- }
1415
- }
1416
- concept {
1417
- id
1418
- name
1419
- status
1420
- totalCards
1421
- topic {
1422
- id
1423
- name
1424
- typeId
1425
- }
1426
- chapter {
1427
- id
1428
- explanation
1429
- pictures {
1430
- id
1431
- createdAt
1432
- updatedAt
1433
- name
1434
- caption
1435
- path
1436
- path512
1437
- path256
1438
- thumbhash
1439
- index
1440
- topicId
1441
- }
1442
- }
1443
- videos {
1444
- id
1445
- status
1446
- title
1447
- museId
1448
- startTime
1449
- endTime
1450
- thumbnail
1451
- concepts {
1452
- id
1453
- name
1454
- }
1455
- live
1456
- description
1457
- duration
1458
- }
1459
- }
1460
- pictures {
1461
- id
1462
- createdAt
1463
- updatedAt
1464
- name
1465
- index
1466
- caption
1467
- path
1468
- path512
1469
- path256
1470
- thumbhash
1471
- topicId
1472
- }
1473
- difficulty
1474
- psaSectionId
1475
- likes
1476
- dislikes
1477
- isLikedByMe
1478
- multiAnswer: answer
1479
- }
1480
- ... on QuestionPrescription {
1481
- conceptId
1482
- difficulty
1483
- dislikes
1484
- explanation
1485
- id
1486
- isLikedByMe
1487
- likes
1488
- question
1489
- totalVotes
1490
- typeId
1491
- highlights {
1492
- start
1493
- end
1494
- text
1495
- part
1496
- tag
1497
- color
1498
- }
1499
- choices {
1500
- id
1501
- explanation
1502
- name
1503
- label
1504
- answer
1505
- votes
1506
- picture {
1507
- id
1508
- createdAt
1509
- updatedAt
1510
- name
1511
- caption
1512
- path
1513
- path512
1514
- path256
1515
- thumbhash
1516
- }
1517
- }
1518
- comments {
1519
- id
1520
- createdAt
1521
- comment
1522
- parentId
1523
- likes
1524
- user {
1525
- id
1526
- displayName
1527
- }
1528
- dislikes
1529
- isLikedByMe
1530
- questionId
1531
- replies {
1532
- id
1533
- createdAt
1534
- comment
1535
- parentId
1536
- user {
1537
- id
1538
- displayName
1539
- }
1540
- likes
1541
- dislikes
1542
- isLikedByMe
1543
- questionId
1544
- }
1545
- }
1546
- concept {
1547
- id
1548
- name
1549
- status
1550
- totalCards
1551
- topic {
1552
- id
1553
- name
1554
- typeId
1555
- }
1556
- chapter {
1557
- id
1558
- explanation
1559
- pictures {
1560
- id
1561
- createdAt
1562
- updatedAt
1563
- name
1564
- caption
1565
- path
1566
- path512
1567
- path256
1568
- thumbhash
1569
- index
1570
- topicId
1571
- }
1572
- }
1573
- videos {
1574
- id
1575
- status
1576
- title
1577
- museId
1578
- startTime
1579
- endTime
1580
- thumbnail
1581
- concepts {
1582
- id
1583
- name
1584
- }
1585
- live
1586
- description
1587
- duration
1588
- }
1589
- }
1590
- pictures {
1591
- id
1592
- createdAt
1593
- updatedAt
1594
- name
1595
- index
1596
- caption
1597
- path
1598
- path512
1599
- path256
1600
- thumbhash
1601
- topicId
1602
- }
1603
- difficulty
1604
- psaSectionId
1605
- likes
1606
- dislikes
1607
- isLikedByMe
1608
- prescribeAnswer: answer {
1609
- dose {
1610
- value
1611
- label
1612
- visible
1613
- }
1614
- drug {
1615
- value
1616
- label
1617
- visible
1618
- }
1619
- route {
1620
- value
1621
- label
1622
- visible
1623
- }
1624
- frequency {
1625
- value
1626
- label
1627
- visible
1628
- }
1629
- duration {
1630
- value
1631
- label
1632
- visible
1633
- }
1634
- unit {
1635
- value
1636
- label
1637
- visible
1638
- }
1639
- }
1640
- }
1641
- ... on QuestionEMQ {
1642
- conceptId
1643
- difficulty
1644
- dislikes
1645
- explanation
1646
- id
1647
- isLikedByMe
1648
- likes
1649
- question
1650
- totalVotes
1651
- typeId
1652
- highlights {
1653
- start
1654
- end
1655
- text
1656
- part
1657
- tag
1658
- color
1659
- }
1660
- cases {
1661
- id
1662
- questionId
1663
- case
1664
- explanation
1665
- label
1666
- }
1667
- choices {
1668
- id
1669
- explanation
1670
- name
1671
- label
1672
- answer
1673
- votes
1674
- picture {
1675
- id
1676
- createdAt
1677
- updatedAt
1678
- name
1679
- caption
1680
- path
1681
- path512
1682
- path256
1683
- thumbhash
1684
- }
1685
- }
1686
- comments {
1687
- id
1688
- createdAt
1689
- comment
1690
- parentId
1691
- likes
1692
- user {
1693
- id
1694
- displayName
1695
- }
1696
- dislikes
1697
- isLikedByMe
1698
- questionId
1699
- replies {
1700
- id
1701
- createdAt
1702
- comment
1703
- parentId
1704
- user {
1705
- id
1706
- displayName
1707
- }
1708
- likes
1709
- dislikes
1710
- isLikedByMe
1711
- questionId
1712
- }
1713
- }
1714
- concept {
1715
- id
1716
- name
1717
- status
1718
- totalCards
1719
- topic {
1720
- id
1721
- name
1722
- typeId
1723
- }
1724
- chapter {
1725
- id
1726
- explanation
1727
- pictures {
1728
- id
1729
- createdAt
1730
- updatedAt
1731
- name
1732
- caption
1733
- path
1734
- path512
1735
- path256
1736
- thumbhash
1737
- index
1738
- topicId
1739
- }
1740
- }
1741
- videos {
1742
- id
1743
- status
1744
- title
1745
- museId
1746
- startTime
1747
- endTime
1748
- thumbnail
1749
- concepts {
1750
- id
1751
- name
1752
- }
1753
- live
1754
- description
1755
- duration
1756
- }
1757
- }
1758
- pictures {
1759
- id
1760
- createdAt
1761
- updatedAt
1762
- name
1763
- index
1764
- caption
1765
- path
1766
- path512
1767
- path256
1768
- thumbhash
1769
- topicId
1770
- }
1771
- difficulty
1772
- psaSectionId
1773
- likes
1774
- dislikes
1775
- isLikedByMe
1776
- emqAnswer: answer
1777
- }
1778
- ... on QuestionRanking {
1779
- conceptId
1780
- difficulty
1781
- dislikes
1782
- explanation
1783
- id
1784
- isLikedByMe
1785
- likes
1786
- question
1787
- totalVotes
1788
- typeId
1789
- highlights {
1790
- start
1791
- end
1792
- text
1793
- part
1794
- tag
1795
- color
1796
- }
1797
- choices {
1798
- id
1799
- explanation
1800
- name
1801
- label
1802
- answer
1803
- votes
1804
- picture {
1805
- id
1806
- createdAt
1807
- updatedAt
1808
- name
1809
- caption
1810
- path
1811
- path512
1812
- path256
1813
- thumbhash
1814
- }
1815
- }
1816
- comments {
1817
- id
1818
- createdAt
1819
- comment
1820
- parentId
1821
- likes
1822
- user {
1823
- id
1824
- displayName
1825
- }
1826
- dislikes
1827
- isLikedByMe
1828
- questionId
1829
- replies {
1830
- id
1831
- createdAt
1832
- comment
1833
- parentId
1834
- user {
1835
- id
1836
- displayName
1837
- }
1838
- likes
1839
- dislikes
1840
- isLikedByMe
1841
- questionId
1842
- }
1843
- }
1844
- concept {
1845
- id
1846
- name
1847
- status
1848
- totalCards
1849
- topic {
1850
- id
1851
- name
1852
- typeId
1853
- }
1854
- chapter {
1855
- id
1856
- explanation
1857
- pictures {
1858
- id
1859
- createdAt
1860
- updatedAt
1861
- name
1862
- caption
1863
- path
1864
- path512
1865
- path256
1866
- thumbhash
1867
- index
1868
- topicId
1869
- }
1870
- }
1871
- videos {
1872
- id
1873
- status
1874
- title
1875
- museId
1876
- startTime
1877
- endTime
1878
- thumbnail
1879
- concepts {
1880
- id
1881
- name
1882
- }
1883
- live
1884
- description
1885
- duration
1886
- }
1887
- }
1888
- pictures {
1889
- id
1890
- createdAt
1891
- updatedAt
1892
- name
1893
- index
1894
- caption
1895
- path
1896
- path512
1897
- path256
1898
- thumbhash
1899
- topicId
1900
- }
1901
- difficulty
1902
- psaSectionId
1903
- likes
1904
- dislikes
1905
- isLikedByMe
1906
- rankingAnswer: answer
1907
- }
1908
- ... on QuestionSelect3 {
1909
- conceptId
1910
- difficulty
1911
- dislikes
1912
- explanation
1913
- id
1914
- isLikedByMe
1915
- likes
1916
- question
1917
- totalVotes
1918
- typeId
1919
- highlights {
1920
- start
1921
- end
1922
- text
1923
- part
1924
- tag
1925
- color
1926
- }
1927
- choices {
1928
- id
1929
- explanation
1930
- name
1931
- label
1932
- answer
1933
- votes
1934
- picture {
1935
- id
1936
- createdAt
1937
- updatedAt
1938
- name
1939
- caption
1940
- path
1941
- path512
1942
- path256
1943
- thumbhash
1944
- }
1945
- }
1946
- comments {
1947
- id
1948
- createdAt
1949
- comment
1950
- parentId
1951
- likes
1952
- user {
1953
- id
1954
- displayName
1955
- }
1956
- dislikes
1957
- isLikedByMe
1958
- questionId
1959
- replies {
1960
- id
1961
- createdAt
1962
- comment
1963
- parentId
1964
- user {
1965
- id
1966
- displayName
1967
- }
1968
- likes
1969
- dislikes
1970
- isLikedByMe
1971
- questionId
1972
- }
1973
- }
1974
- concept {
1975
- id
1976
- name
1977
- status
1978
- totalCards
1979
- topic {
1980
- id
1981
- name
1982
- typeId
1983
- }
1984
- chapter {
1985
- id
1986
- explanation
1987
- pictures {
1988
- id
1989
- createdAt
1990
- updatedAt
1991
- name
1992
- caption
1993
- path
1994
- path512
1995
- path256
1996
- thumbhash
1997
- index
1998
- topicId
1999
- }
2000
- }
2001
- videos {
2002
- id
2003
- status
2004
- title
2005
- museId
2006
- startTime
2007
- endTime
2008
- thumbnail
2009
- concepts {
2010
- id
2011
- name
2012
- }
2013
- live
2014
- description
2015
- duration
2016
- }
2017
- }
2018
- pictures {
2019
- id
2020
- createdAt
2021
- updatedAt
2022
- name
2023
- index
2024
- caption
2025
- path
2026
- path512
2027
- path256
2028
- thumbhash
2029
- topicId
2030
- }
2031
- difficulty
2032
- psaSectionId
2033
- likes
2034
- dislikes
2035
- isLikedByMe
2036
- select3Answer: answer
2037
- }
2038
- }
2039
- }
2040
- mockTestId
2041
- correct
2042
- incorrect
2043
- totalQuestions
2044
- isTestMarksheet
22
+ ...MarksheetFields
2045
23
  }
2046
24
  }
2047
25
  }
@@ -2050,2025 +28,21 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
2050
28
  * reBuildMarksheet
2051
29
  */
2052
30
  exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
31
+ ${marksheet_1.MARKSHEET_FIELDS}
2053
32
  mutation ReBuildMarksheet($marksheetId: Int!) {
2054
33
  restricted {
2055
34
  reBuildMarksheet(marksheetId: $marksheetId) {
2056
- id
2057
- topicConceptData
2058
- currentMarkId
2059
- completed
2060
- passingMark
2061
- duration
2062
- timeTaken
2063
- topicIds
2064
- topicNames
2065
- mockTestId
2066
- totalQuestions
2067
- solo
2068
- agoraId
2069
- sessionId
2070
- state
2071
- user {
2072
- id
2073
- displayName
2074
- }
2075
- users {
2076
- id
2077
- displayName
2078
- }
2079
- activeUsers {
2080
- id
2081
- displayName
2082
- }
2083
- builderConfig {
2084
- difficulty
2085
- isTest
2086
- numberOfQuestions
2087
- secondsPerQuestion
2088
- unseen
2089
- seenCorrect
2090
- seenIncorrect
2091
- }
2092
- preBuildData {
2093
- buildRef
2094
- seenCorrect
2095
- seenIncorrect
2096
- unseen
2097
- }
2098
- createdAt
2099
- startedAt
2100
- endedAt
2101
- isTestMarksheet
2102
- source
2103
- correct
2104
- incorrect
2105
- marks {
2106
- id
2107
- flagged
2108
- index
2109
- questionChoiceId
2110
- marksheetId
2111
- timeTaken
2112
- isAnswered
2113
- striked
2114
- mark
2115
- question {
2116
- ... on QuestionSBA {
2117
- conceptId
2118
- difficulty
2119
- dislikes
2120
- explanation
2121
- id
2122
- isLikedByMe
2123
- likes
2124
- question
2125
- totalVotes
2126
- typeId
2127
- highlights {
2128
- start
2129
- end
2130
- text
2131
- part
2132
- tag
2133
- color
2134
- }
2135
- choices {
2136
- id
2137
- explanation
2138
- name
2139
- label
2140
- answer
2141
- votes
2142
- picture {
2143
- id
2144
- createdAt
2145
- updatedAt
2146
- name
2147
- caption
2148
- path
2149
- path512
2150
- path256
2151
- thumbhash
2152
- }
2153
- }
2154
- comments {
2155
- id
2156
- createdAt
2157
- comment
2158
- parentId
2159
- likes
2160
- user {
2161
- id
2162
- displayName
2163
- }
2164
- dislikes
2165
- isLikedByMe
2166
- questionId
2167
- replies {
2168
- id
2169
- createdAt
2170
- comment
2171
- parentId
2172
- user {
2173
- id
2174
- displayName
2175
- }
2176
- likes
2177
- dislikes
2178
- isLikedByMe
2179
- questionId
2180
- }
2181
- }
2182
- concept {
2183
- id
2184
- name
2185
- status
2186
- totalCards
2187
- topic {
2188
- id
2189
- name
2190
- typeId
2191
- }
2192
- chapter {
2193
- id
2194
- explanation
2195
- pictures {
2196
- id
2197
- createdAt
2198
- updatedAt
2199
- name
2200
- caption
2201
- path
2202
- path512
2203
- path256
2204
- thumbhash
2205
- index
2206
- topicId
2207
- }
2208
- }
2209
- videos {
2210
- id
2211
- status
2212
- title
2213
- museId
2214
- startTime
2215
- endTime
2216
- thumbnail
2217
- concepts {
2218
- id
2219
- name
2220
- }
2221
- live
2222
- description
2223
- duration
2224
- }
2225
- }
2226
- pictures {
2227
- id
2228
- createdAt
2229
- updatedAt
2230
- name
2231
- index
2232
- caption
2233
- path
2234
- path512
2235
- path256
2236
- thumbhash
2237
- topicId
2238
- }
2239
- difficulty
2240
- psaSectionId
2241
- likes
2242
- dislikes
2243
- isLikedByMe
2244
- sbaAnswer: answer
2245
- }
2246
- ... on QuestionQA {
2247
- conceptId
2248
- difficulty
2249
- dislikes
2250
- explanation
2251
- id
2252
- isLikedByMe
2253
- likes
2254
- question
2255
- totalVotes
2256
- typeId
2257
- highlights {
2258
- start
2259
- end
2260
- text
2261
- part
2262
- tag
2263
- color
2264
- }
2265
- choices {
2266
- id
2267
- explanation
2268
- name
2269
- label
2270
- answer
2271
- votes
2272
- picture {
2273
- id
2274
- createdAt
2275
- updatedAt
2276
- name
2277
- caption
2278
- path
2279
- path512
2280
- path256
2281
- thumbhash
2282
- }
2283
- }
2284
- comments {
2285
- id
2286
- createdAt
2287
- comment
2288
- parentId
2289
- likes
2290
- user {
2291
- id
2292
- displayName
2293
- }
2294
- dislikes
2295
- isLikedByMe
2296
- questionId
2297
- replies {
2298
- id
2299
- createdAt
2300
- comment
2301
- parentId
2302
- user {
2303
- id
2304
- displayName
2305
- }
2306
- likes
2307
- dislikes
2308
- isLikedByMe
2309
- questionId
2310
- }
2311
- }
2312
- concept {
2313
- id
2314
- name
2315
- status
2316
- totalCards
2317
- topic {
2318
- id
2319
- name
2320
- typeId
2321
- }
2322
- chapter {
2323
- id
2324
- explanation
2325
- pictures {
2326
- id
2327
- createdAt
2328
- updatedAt
2329
- name
2330
- caption
2331
- path
2332
- path512
2333
- path256
2334
- thumbhash
2335
- index
2336
- topicId
2337
- }
2338
- }
2339
- videos {
2340
- id
2341
- status
2342
- title
2343
- museId
2344
- startTime
2345
- endTime
2346
- thumbnail
2347
- concepts {
2348
- id
2349
- name
2350
- }
2351
- live
2352
- description
2353
- duration
2354
- }
2355
- }
2356
- pictures {
2357
- id
2358
- createdAt
2359
- updatedAt
2360
- name
2361
- index
2362
- caption
2363
- path
2364
- path512
2365
- path256
2366
- thumbhash
2367
- topicId
2368
- }
2369
- difficulty
2370
- psaSectionId
2371
- likes
2372
- dislikes
2373
- isLikedByMe
2374
- qaAnswer: answer {
2375
- dose
2376
- units
2377
- }
2378
- }
2379
- ... on QuestionMultiA {
2380
- conceptId
2381
- difficulty
2382
- dislikes
2383
- explanation
2384
- id
2385
- isLikedByMe
2386
- likes
2387
- question
2388
- totalVotes
2389
- typeId
2390
- highlights {
2391
- start
2392
- end
2393
- text
2394
- part
2395
- tag
2396
- color
2397
- }
2398
- choices {
2399
- id
2400
- explanation
2401
- name
2402
- label
2403
- answer
2404
- votes
2405
- picture {
2406
- id
2407
- createdAt
2408
- updatedAt
2409
- name
2410
- caption
2411
- path
2412
- path512
2413
- path256
2414
- thumbhash
2415
- }
2416
- }
2417
- comments {
2418
- id
2419
- createdAt
2420
- comment
2421
- parentId
2422
- likes
2423
- user {
2424
- id
2425
- displayName
2426
- }
2427
- dislikes
2428
- isLikedByMe
2429
- questionId
2430
- replies {
2431
- id
2432
- createdAt
2433
- comment
2434
- parentId
2435
- user {
2436
- id
2437
- displayName
2438
- }
2439
- likes
2440
- dislikes
2441
- isLikedByMe
2442
- questionId
2443
- }
2444
- }
2445
- concept {
2446
- id
2447
- name
2448
- status
2449
- totalCards
2450
- topic {
2451
- id
2452
- name
2453
- typeId
2454
- }
2455
- chapter {
2456
- id
2457
- explanation
2458
- pictures {
2459
- id
2460
- createdAt
2461
- updatedAt
2462
- name
2463
- caption
2464
- path
2465
- path512
2466
- path256
2467
- thumbhash
2468
- index
2469
- topicId
2470
- }
2471
- }
2472
- videos {
2473
- id
2474
- status
2475
- title
2476
- museId
2477
- startTime
2478
- endTime
2479
- thumbnail
2480
- concepts {
2481
- id
2482
- name
2483
- }
2484
- live
2485
- description
2486
- duration
2487
- }
2488
- }
2489
- pictures {
2490
- id
2491
- createdAt
2492
- updatedAt
2493
- name
2494
- index
2495
- caption
2496
- path
2497
- path512
2498
- path256
2499
- thumbhash
2500
- topicId
2501
- }
2502
- difficulty
2503
- psaSectionId
2504
- likes
2505
- dislikes
2506
- isLikedByMe
2507
- multiAnswer: answer
2508
- }
2509
- ... on QuestionPrescription {
2510
- conceptId
2511
- difficulty
2512
- dislikes
2513
- explanation
2514
- id
2515
- isLikedByMe
2516
- likes
2517
- question
2518
- totalVotes
2519
- typeId
2520
- highlights {
2521
- start
2522
- end
2523
- text
2524
- part
2525
- tag
2526
- color
2527
- }
2528
- choices {
2529
- id
2530
- explanation
2531
- name
2532
- label
2533
- answer
2534
- votes
2535
- picture {
2536
- id
2537
- createdAt
2538
- updatedAt
2539
- name
2540
- caption
2541
- path
2542
- path512
2543
- path256
2544
- thumbhash
2545
- }
2546
- }
2547
- comments {
2548
- id
2549
- createdAt
2550
- comment
2551
- parentId
2552
- likes
2553
- user {
2554
- id
2555
- displayName
2556
- }
2557
- dislikes
2558
- isLikedByMe
2559
- questionId
2560
- replies {
2561
- id
2562
- createdAt
2563
- comment
2564
- parentId
2565
- user {
2566
- id
2567
- displayName
2568
- }
2569
- likes
2570
- dislikes
2571
- isLikedByMe
2572
- questionId
2573
- }
2574
- }
2575
- concept {
2576
- id
2577
- name
2578
- status
2579
- totalCards
2580
- topic {
2581
- id
2582
- name
2583
- typeId
2584
- }
2585
- chapter {
2586
- id
2587
- explanation
2588
- pictures {
2589
- id
2590
- createdAt
2591
- updatedAt
2592
- name
2593
- caption
2594
- path
2595
- path512
2596
- path256
2597
- thumbhash
2598
- index
2599
- topicId
2600
- }
2601
- }
2602
- videos {
2603
- id
2604
- status
2605
- title
2606
- museId
2607
- startTime
2608
- endTime
2609
- thumbnail
2610
- concepts {
2611
- id
2612
- name
2613
- }
2614
- live
2615
- description
2616
- duration
2617
- }
2618
- }
2619
- pictures {
2620
- id
2621
- createdAt
2622
- updatedAt
2623
- name
2624
- index
2625
- caption
2626
- path
2627
- path512
2628
- path256
2629
- thumbhash
2630
- topicId
2631
- }
2632
- difficulty
2633
- psaSectionId
2634
- likes
2635
- dislikes
2636
- isLikedByMe
2637
- prescribeAnswer: answer {
2638
- dose {
2639
- value
2640
- label
2641
- visible
2642
- }
2643
- drug {
2644
- value
2645
- label
2646
- visible
2647
- }
2648
- route {
2649
- value
2650
- label
2651
- visible
2652
- }
2653
- frequency {
2654
- value
2655
- label
2656
- visible
2657
- }
2658
- duration {
2659
- value
2660
- label
2661
- visible
2662
- }
2663
- unit {
2664
- value
2665
- label
2666
- visible
2667
- }
2668
- }
2669
- }
2670
- ... on QuestionEMQ {
2671
- conceptId
2672
- difficulty
2673
- dislikes
2674
- explanation
2675
- id
2676
- isLikedByMe
2677
- likes
2678
- question
2679
- totalVotes
2680
- typeId
2681
- highlights {
2682
- start
2683
- end
2684
- text
2685
- part
2686
- tag
2687
- color
2688
- }
2689
- cases {
2690
- id
2691
- questionId
2692
- case
2693
- explanation
2694
- label
2695
- }
2696
- choices {
2697
- id
2698
- explanation
2699
- name
2700
- label
2701
- answer
2702
- votes
2703
- picture {
2704
- id
2705
- createdAt
2706
- updatedAt
2707
- name
2708
- caption
2709
- path
2710
- path512
2711
- path256
2712
- thumbhash
2713
- }
2714
- }
2715
- comments {
2716
- id
2717
- createdAt
2718
- comment
2719
- parentId
2720
- likes
2721
- user {
2722
- id
2723
- displayName
2724
- }
2725
- dislikes
2726
- isLikedByMe
2727
- questionId
2728
- replies {
2729
- id
2730
- createdAt
2731
- comment
2732
- parentId
2733
- user {
2734
- id
2735
- displayName
2736
- }
2737
- likes
2738
- dislikes
2739
- isLikedByMe
2740
- questionId
2741
- }
2742
- }
2743
- concept {
2744
- id
2745
- name
2746
- status
2747
- totalCards
2748
- topic {
2749
- id
2750
- name
2751
- typeId
2752
- }
2753
- chapter {
2754
- id
2755
- explanation
2756
- pictures {
2757
- id
2758
- createdAt
2759
- updatedAt
2760
- name
2761
- caption
2762
- path
2763
- path512
2764
- path256
2765
- thumbhash
2766
- index
2767
- topicId
2768
- }
2769
- }
2770
- videos {
2771
- id
2772
- status
2773
- title
2774
- museId
2775
- startTime
2776
- endTime
2777
- thumbnail
2778
- concepts {
2779
- id
2780
- name
2781
- }
2782
- live
2783
- description
2784
- duration
2785
- }
2786
- }
2787
- pictures {
2788
- id
2789
- createdAt
2790
- updatedAt
2791
- name
2792
- index
2793
- caption
2794
- path
2795
- path512
2796
- path256
2797
- thumbhash
2798
- topicId
2799
- }
2800
- difficulty
2801
- psaSectionId
2802
- likes
2803
- dislikes
2804
- isLikedByMe
2805
- emqAnswer: answer
2806
- }
2807
- ... on QuestionRanking {
2808
- conceptId
2809
- difficulty
2810
- dislikes
2811
- explanation
2812
- id
2813
- isLikedByMe
2814
- likes
2815
- question
2816
- totalVotes
2817
- typeId
2818
- highlights {
2819
- start
2820
- end
2821
- text
2822
- part
2823
- tag
2824
- color
2825
- }
2826
- choices {
2827
- id
2828
- explanation
2829
- name
2830
- label
2831
- answer
2832
- votes
2833
- picture {
2834
- id
2835
- createdAt
2836
- updatedAt
2837
- name
2838
- caption
2839
- path
2840
- path512
2841
- path256
2842
- thumbhash
2843
- }
2844
- }
2845
- comments {
2846
- id
2847
- createdAt
2848
- comment
2849
- parentId
2850
- likes
2851
- user {
2852
- id
2853
- displayName
2854
- }
2855
- dislikes
2856
- isLikedByMe
2857
- questionId
2858
- replies {
2859
- id
2860
- createdAt
2861
- comment
2862
- parentId
2863
- user {
2864
- id
2865
- displayName
2866
- }
2867
- likes
2868
- dislikes
2869
- isLikedByMe
2870
- questionId
2871
- }
2872
- }
2873
- concept {
2874
- id
2875
- name
2876
- status
2877
- totalCards
2878
- topic {
2879
- id
2880
- name
2881
- typeId
2882
- }
2883
- chapter {
2884
- id
2885
- explanation
2886
- pictures {
2887
- id
2888
- createdAt
2889
- updatedAt
2890
- name
2891
- caption
2892
- path
2893
- path512
2894
- path256
2895
- thumbhash
2896
- index
2897
- topicId
2898
- }
2899
- }
2900
- videos {
2901
- id
2902
- status
2903
- title
2904
- museId
2905
- startTime
2906
- endTime
2907
- thumbnail
2908
- concepts {
2909
- id
2910
- name
2911
- }
2912
- live
2913
- description
2914
- duration
2915
- }
2916
- }
2917
- pictures {
2918
- id
2919
- createdAt
2920
- updatedAt
2921
- name
2922
- index
2923
- caption
2924
- path
2925
- path512
2926
- path256
2927
- thumbhash
2928
- topicId
2929
- }
2930
- difficulty
2931
- psaSectionId
2932
- likes
2933
- dislikes
2934
- isLikedByMe
2935
- rankingAnswer: answer
2936
- }
2937
- ... on QuestionSelect3 {
2938
- conceptId
2939
- difficulty
2940
- dislikes
2941
- explanation
2942
- id
2943
- isLikedByMe
2944
- likes
2945
- question
2946
- totalVotes
2947
- typeId
2948
- highlights {
2949
- start
2950
- end
2951
- text
2952
- part
2953
- tag
2954
- color
2955
- }
2956
- choices {
2957
- id
2958
- explanation
2959
- name
2960
- label
2961
- answer
2962
- votes
2963
- picture {
2964
- id
2965
- createdAt
2966
- updatedAt
2967
- name
2968
- caption
2969
- path
2970
- path512
2971
- path256
2972
- thumbhash
2973
- }
2974
- }
2975
- comments {
2976
- id
2977
- createdAt
2978
- comment
2979
- parentId
2980
- likes
2981
- user {
2982
- id
2983
- displayName
2984
- }
2985
- dislikes
2986
- isLikedByMe
2987
- questionId
2988
- replies {
2989
- id
2990
- createdAt
2991
- comment
2992
- parentId
2993
- user {
2994
- id
2995
- displayName
2996
- }
2997
- likes
2998
- dislikes
2999
- isLikedByMe
3000
- questionId
3001
- }
3002
- }
3003
- concept {
3004
- id
3005
- name
3006
- status
3007
- totalCards
3008
- topic {
3009
- id
3010
- name
3011
- typeId
3012
- }
3013
- chapter {
3014
- id
3015
- explanation
3016
- pictures {
3017
- id
3018
- createdAt
3019
- updatedAt
3020
- name
3021
- caption
3022
- path
3023
- path512
3024
- path256
3025
- thumbhash
3026
- index
3027
- topicId
3028
- }
3029
- }
3030
- videos {
3031
- id
3032
- status
3033
- title
3034
- museId
3035
- startTime
3036
- endTime
3037
- thumbnail
3038
- concepts {
3039
- id
3040
- name
3041
- }
3042
- live
3043
- description
3044
- duration
3045
- }
3046
- }
3047
- pictures {
3048
- id
3049
- createdAt
3050
- updatedAt
3051
- name
3052
- index
3053
- caption
3054
- path
3055
- path512
3056
- path256
3057
- thumbhash
3058
- topicId
3059
- }
3060
- difficulty
3061
- psaSectionId
3062
- likes
3063
- dislikes
3064
- isLikedByMe
3065
- select3Answer: answer
3066
- }
3067
- }
3068
- }
35
+ ...MarksheetFields
3069
36
  }
3070
37
  }
3071
38
  }
3072
39
  `;
3073
40
  exports.QUICK_BUILD_MARKSHEET = (0, client_1.gql) `
41
+ ${marksheet_1.MARKSHEET_FIELDS}
3074
42
  mutation QuickBuildMarksheet($input: QuickBuildMarksheetInput) {
3075
43
  restricted {
3076
44
  quickBuildMarksheet(input: $input) {
3077
- id
3078
- createdAt
3079
- startedAt
3080
- endedAt
3081
- agoraId
3082
- sessionId
3083
- topicIds
3084
- completed
3085
- passingMark
3086
- duration
3087
- topicIds
3088
- topicNames
3089
- mockTestId
3090
- totalQuestions
3091
- solo
3092
- state
3093
- currentMarkId
3094
- topicConceptData
3095
- builderConfig {
3096
- difficulty
3097
- isTest
3098
- numberOfQuestions
3099
- secondsPerQuestion
3100
- unseen
3101
- seenCorrect
3102
- seenIncorrect
3103
- }
3104
- preBuildData {
3105
- buildRef
3106
- seenCorrect
3107
- seenIncorrect
3108
- unseen
3109
- }
3110
- topicNames
3111
- source
3112
- user {
3113
- displayName
3114
- id
3115
- }
3116
- activeUsers {
3117
- id
3118
- displayName
3119
- }
3120
- users {
3121
- id
3122
- displayName
3123
- }
3124
- marks {
3125
- id
3126
- flagged
3127
- index
3128
- questionChoiceId
3129
- marksheetId
3130
- timeTaken
3131
- striked
3132
- isAnswered
3133
- mark
3134
- question {
3135
- ... on QuestionSBA {
3136
- conceptId
3137
- difficulty
3138
- dislikes
3139
- explanation
3140
- id
3141
- isLikedByMe
3142
- likes
3143
- question
3144
- totalVotes
3145
- typeId
3146
- highlights {
3147
- start
3148
- end
3149
- text
3150
- part
3151
- tag
3152
- color
3153
- }
3154
- choices {
3155
- id
3156
- explanation
3157
- name
3158
- label
3159
- answer
3160
- votes
3161
- picture {
3162
- id
3163
- createdAt
3164
- updatedAt
3165
- name
3166
- caption
3167
- path
3168
- path512
3169
- path256
3170
- }
3171
- }
3172
- comments {
3173
- id
3174
- createdAt
3175
- comment
3176
- parentId
3177
- likes
3178
- user {
3179
- id
3180
- displayName
3181
- }
3182
- dislikes
3183
- isLikedByMe
3184
- questionId
3185
- replies {
3186
- id
3187
- createdAt
3188
- comment
3189
- parentId
3190
- user {
3191
- id
3192
- displayName
3193
- }
3194
- likes
3195
- dislikes
3196
- isLikedByMe
3197
- questionId
3198
- }
3199
- }
3200
- concept {
3201
- id
3202
- name
3203
- status
3204
- totalCards
3205
- topic {
3206
- id
3207
- name
3208
- typeId
3209
- }
3210
- chapter {
3211
- id
3212
- explanation
3213
- pictures {
3214
- id
3215
- createdAt
3216
- updatedAt
3217
- name
3218
- caption
3219
- path
3220
- path512
3221
- path256
3222
- index
3223
- topicId
3224
- }
3225
- }
3226
- videos {
3227
- id
3228
- status
3229
- title
3230
- museId
3231
- startTime
3232
- endTime
3233
- thumbnail
3234
- concepts {
3235
- id
3236
- name
3237
- }
3238
- live
3239
- description
3240
- duration
3241
- }
3242
- }
3243
- pictures {
3244
- id
3245
- createdAt
3246
- updatedAt
3247
- name
3248
- caption
3249
- path
3250
- index
3251
- path512
3252
- path256
3253
- topicId
3254
- }
3255
- difficulty
3256
- psaSectionId
3257
- likes
3258
- dislikes
3259
- isLikedByMe
3260
- sbaAnswer: answer
3261
- }
3262
- ... on QuestionQA {
3263
- conceptId
3264
- difficulty
3265
- dislikes
3266
- explanation
3267
- id
3268
- isLikedByMe
3269
- likes
3270
- question
3271
- totalVotes
3272
- typeId
3273
- highlights {
3274
- start
3275
- end
3276
- text
3277
- part
3278
- tag
3279
- color
3280
- }
3281
- choices {
3282
- id
3283
- explanation
3284
- name
3285
- label
3286
- answer
3287
- votes
3288
- picture {
3289
- id
3290
- createdAt
3291
- updatedAt
3292
- name
3293
- caption
3294
- path
3295
- path512
3296
- path256
3297
- }
3298
- }
3299
- comments {
3300
- id
3301
- createdAt
3302
- comment
3303
- parentId
3304
- likes
3305
- user {
3306
- id
3307
- displayName
3308
- }
3309
- dislikes
3310
- isLikedByMe
3311
- questionId
3312
- replies {
3313
- id
3314
- createdAt
3315
- comment
3316
- parentId
3317
- user {
3318
- id
3319
- displayName
3320
- }
3321
- likes
3322
- dislikes
3323
- isLikedByMe
3324
- questionId
3325
- }
3326
- }
3327
- concept {
3328
- id
3329
- name
3330
- status
3331
- totalCards
3332
- topic {
3333
- id
3334
- name
3335
- typeId
3336
- }
3337
- chapter {
3338
- id
3339
- explanation
3340
- pictures {
3341
- id
3342
- createdAt
3343
- updatedAt
3344
- name
3345
- caption
3346
- path
3347
- path512
3348
- path256
3349
- index
3350
- topicId
3351
- }
3352
- }
3353
- videos {
3354
- id
3355
- status
3356
- title
3357
- museId
3358
- startTime
3359
- endTime
3360
- thumbnail
3361
- concepts {
3362
- id
3363
- name
3364
- }
3365
- live
3366
- description
3367
- duration
3368
- }
3369
- }
3370
- pictures {
3371
- id
3372
- createdAt
3373
- updatedAt
3374
- name
3375
- caption
3376
- index
3377
- path
3378
- path512
3379
- path256
3380
- topicId
3381
- }
3382
- difficulty
3383
- psaSectionId
3384
- likes
3385
- dislikes
3386
- isLikedByMe
3387
- qaAnswer: answer {
3388
- dose
3389
- units
3390
- }
3391
- }
3392
- ... on QuestionMultiA {
3393
- conceptId
3394
- difficulty
3395
- dislikes
3396
- explanation
3397
- id
3398
- isLikedByMe
3399
- likes
3400
- question
3401
- totalVotes
3402
- typeId
3403
- highlights {
3404
- start
3405
- end
3406
- text
3407
- part
3408
- tag
3409
- color
3410
- }
3411
- choices {
3412
- id
3413
- explanation
3414
- name
3415
- label
3416
- answer
3417
- votes
3418
- picture {
3419
- id
3420
- createdAt
3421
- updatedAt
3422
- name
3423
- caption
3424
- path
3425
- path512
3426
- path256
3427
- }
3428
- }
3429
- comments {
3430
- id
3431
- createdAt
3432
- comment
3433
- parentId
3434
- likes
3435
- user {
3436
- id
3437
- displayName
3438
- }
3439
- dislikes
3440
- isLikedByMe
3441
- questionId
3442
- replies {
3443
- id
3444
- createdAt
3445
- comment
3446
- parentId
3447
- user {
3448
- id
3449
- displayName
3450
- }
3451
- likes
3452
- dislikes
3453
- isLikedByMe
3454
- questionId
3455
- }
3456
- }
3457
- concept {
3458
- id
3459
- name
3460
- status
3461
- totalCards
3462
- topic {
3463
- id
3464
- name
3465
- typeId
3466
- }
3467
- chapter {
3468
- id
3469
- explanation
3470
- pictures {
3471
- id
3472
- createdAt
3473
- updatedAt
3474
- name
3475
- caption
3476
- path
3477
- path512
3478
- path256
3479
- index
3480
- topicId
3481
- }
3482
- }
3483
- videos {
3484
- id
3485
- status
3486
- title
3487
- museId
3488
- startTime
3489
- endTime
3490
- thumbnail
3491
- concepts {
3492
- id
3493
- name
3494
- }
3495
- live
3496
- description
3497
- duration
3498
- }
3499
- }
3500
- pictures {
3501
- id
3502
- createdAt
3503
- updatedAt
3504
- name
3505
- index
3506
- caption
3507
- path
3508
- path512
3509
- path256
3510
- topicId
3511
- }
3512
- difficulty
3513
- psaSectionId
3514
- likes
3515
- dislikes
3516
- isLikedByMe
3517
- multiAnswer: answer
3518
- }
3519
- ... on QuestionPrescription {
3520
- conceptId
3521
- difficulty
3522
- dislikes
3523
- explanation
3524
- id
3525
- isLikedByMe
3526
- likes
3527
- question
3528
- totalVotes
3529
- typeId
3530
- highlights {
3531
- start
3532
- end
3533
- text
3534
- part
3535
- tag
3536
- color
3537
- }
3538
- choices {
3539
- id
3540
- explanation
3541
- name
3542
- label
3543
- answer
3544
- votes
3545
- picture {
3546
- id
3547
- createdAt
3548
- updatedAt
3549
- name
3550
- caption
3551
- path
3552
- path512
3553
- path256
3554
- }
3555
- }
3556
- comments {
3557
- id
3558
- createdAt
3559
- comment
3560
- parentId
3561
- likes
3562
- user {
3563
- id
3564
- displayName
3565
- }
3566
- dislikes
3567
- isLikedByMe
3568
- questionId
3569
- replies {
3570
- id
3571
- createdAt
3572
- comment
3573
- parentId
3574
- user {
3575
- id
3576
- displayName
3577
- }
3578
- likes
3579
- dislikes
3580
- isLikedByMe
3581
- questionId
3582
- }
3583
- }
3584
- concept {
3585
- id
3586
- name
3587
- status
3588
- totalCards
3589
- topic {
3590
- id
3591
- name
3592
- typeId
3593
- }
3594
- chapter {
3595
- id
3596
- explanation
3597
- pictures {
3598
- id
3599
- createdAt
3600
- updatedAt
3601
- name
3602
- caption
3603
- path
3604
- path512
3605
- path256
3606
- index
3607
- topicId
3608
- }
3609
- }
3610
- videos {
3611
- id
3612
- status
3613
- title
3614
- museId
3615
- startTime
3616
- endTime
3617
- thumbnail
3618
- concepts {
3619
- id
3620
- name
3621
- }
3622
- live
3623
- description
3624
- duration
3625
- }
3626
- }
3627
- pictures {
3628
- id
3629
- createdAt
3630
- updatedAt
3631
- name
3632
- index
3633
- caption
3634
- path
3635
- path512
3636
- path256
3637
- topicId
3638
- }
3639
- difficulty
3640
- psaSectionId
3641
- likes
3642
- dislikes
3643
- isLikedByMe
3644
- prescribeAnswer: answer {
3645
- dose {
3646
- value
3647
- label
3648
- visible
3649
- }
3650
- drug {
3651
- value
3652
- label
3653
- visible
3654
- }
3655
- route {
3656
- value
3657
- label
3658
- visible
3659
- }
3660
- frequency {
3661
- value
3662
- label
3663
- visible
3664
- }
3665
- duration {
3666
- value
3667
- label
3668
- visible
3669
- }
3670
- unit {
3671
- value
3672
- label
3673
- visible
3674
- }
3675
- }
3676
- }
3677
- ... on QuestionEMQ {
3678
- conceptId
3679
- difficulty
3680
- dislikes
3681
- explanation
3682
- id
3683
- isLikedByMe
3684
- likes
3685
- question
3686
- totalVotes
3687
- typeId
3688
- highlights {
3689
- start
3690
- end
3691
- text
3692
- part
3693
- tag
3694
- color
3695
- }
3696
- cases {
3697
- id
3698
- questionId
3699
- case
3700
- explanation
3701
- label
3702
- }
3703
- choices {
3704
- id
3705
- explanation
3706
- name
3707
- label
3708
- answer
3709
- votes
3710
- picture {
3711
- id
3712
- createdAt
3713
- updatedAt
3714
- name
3715
- caption
3716
- path
3717
- path512
3718
- path256
3719
- }
3720
- }
3721
- comments {
3722
- id
3723
- createdAt
3724
- comment
3725
- parentId
3726
- likes
3727
- user {
3728
- id
3729
- displayName
3730
- }
3731
- dislikes
3732
- isLikedByMe
3733
- questionId
3734
- replies {
3735
- id
3736
- createdAt
3737
- comment
3738
- parentId
3739
- user {
3740
- id
3741
- displayName
3742
- }
3743
- likes
3744
- dislikes
3745
- isLikedByMe
3746
- questionId
3747
- }
3748
- }
3749
- concept {
3750
- id
3751
- name
3752
- status
3753
- totalCards
3754
- topic {
3755
- id
3756
- name
3757
- typeId
3758
- }
3759
- chapter {
3760
- id
3761
- explanation
3762
- pictures {
3763
- id
3764
- createdAt
3765
- updatedAt
3766
- name
3767
- caption
3768
- path
3769
- path512
3770
- path256
3771
- index
3772
- topicId
3773
- }
3774
- }
3775
- videos {
3776
- id
3777
- status
3778
- title
3779
- museId
3780
- startTime
3781
- endTime
3782
- thumbnail
3783
- concepts {
3784
- id
3785
- name
3786
- }
3787
- live
3788
- description
3789
- duration
3790
- }
3791
- }
3792
- pictures {
3793
- id
3794
- createdAt
3795
- updatedAt
3796
- name
3797
- index
3798
- caption
3799
- path
3800
- path512
3801
- path256
3802
- topicId
3803
- }
3804
- difficulty
3805
- psaSectionId
3806
- likes
3807
- dislikes
3808
- isLikedByMe
3809
- emqAnswer: answer
3810
- }
3811
- ... on QuestionRanking {
3812
- conceptId
3813
- difficulty
3814
- dislikes
3815
- explanation
3816
- id
3817
- isLikedByMe
3818
- likes
3819
- question
3820
- totalVotes
3821
- typeId
3822
- highlights {
3823
- start
3824
- end
3825
- text
3826
- part
3827
- tag
3828
- color
3829
- }
3830
- choices {
3831
- id
3832
- explanation
3833
- name
3834
- label
3835
- answer
3836
- votes
3837
- picture {
3838
- id
3839
- createdAt
3840
- updatedAt
3841
- name
3842
- caption
3843
- path
3844
- path512
3845
- path256
3846
- }
3847
- }
3848
- comments {
3849
- id
3850
- createdAt
3851
- comment
3852
- parentId
3853
- likes
3854
- user {
3855
- id
3856
- displayName
3857
- }
3858
- dislikes
3859
- isLikedByMe
3860
- questionId
3861
- replies {
3862
- id
3863
- createdAt
3864
- comment
3865
- parentId
3866
- user {
3867
- id
3868
- displayName
3869
- }
3870
- likes
3871
- dislikes
3872
- isLikedByMe
3873
- questionId
3874
- }
3875
- }
3876
- concept {
3877
- id
3878
- name
3879
- status
3880
- totalCards
3881
- topic {
3882
- id
3883
- name
3884
- typeId
3885
- }
3886
- chapter {
3887
- id
3888
- explanation
3889
- pictures {
3890
- id
3891
- createdAt
3892
- updatedAt
3893
- name
3894
- caption
3895
- path
3896
- path512
3897
- path256
3898
- index
3899
- topicId
3900
- }
3901
- }
3902
- videos {
3903
- id
3904
- status
3905
- title
3906
- museId
3907
- startTime
3908
- endTime
3909
- thumbnail
3910
- concepts {
3911
- id
3912
- name
3913
- }
3914
- live
3915
- description
3916
- duration
3917
- }
3918
- }
3919
- pictures {
3920
- id
3921
- createdAt
3922
- updatedAt
3923
- name
3924
- index
3925
- caption
3926
- path
3927
- path512
3928
- path256
3929
- topicId
3930
- }
3931
- difficulty
3932
- psaSectionId
3933
- likes
3934
- dislikes
3935
- isLikedByMe
3936
- rankingAnswer: answer
3937
- }
3938
- ... on QuestionSelect3 {
3939
- conceptId
3940
- difficulty
3941
- dislikes
3942
- explanation
3943
- id
3944
- isLikedByMe
3945
- likes
3946
- question
3947
- totalVotes
3948
- typeId
3949
- highlights {
3950
- start
3951
- end
3952
- text
3953
- part
3954
- tag
3955
- color
3956
- }
3957
- choices {
3958
- id
3959
- explanation
3960
- name
3961
- label
3962
- answer
3963
- votes
3964
- picture {
3965
- id
3966
- createdAt
3967
- updatedAt
3968
- name
3969
- caption
3970
- path
3971
- path512
3972
- path256
3973
- }
3974
- }
3975
- comments {
3976
- id
3977
- createdAt
3978
- comment
3979
- parentId
3980
- likes
3981
- user {
3982
- id
3983
- displayName
3984
- }
3985
- dislikes
3986
- isLikedByMe
3987
- questionId
3988
- replies {
3989
- id
3990
- createdAt
3991
- comment
3992
- parentId
3993
- user {
3994
- id
3995
- displayName
3996
- }
3997
- likes
3998
- dislikes
3999
- isLikedByMe
4000
- questionId
4001
- }
4002
- }
4003
- concept {
4004
- id
4005
- name
4006
- status
4007
- totalCards
4008
- topic {
4009
- id
4010
- name
4011
- typeId
4012
- }
4013
- chapter {
4014
- id
4015
- explanation
4016
- pictures {
4017
- id
4018
- createdAt
4019
- updatedAt
4020
- name
4021
- caption
4022
- path
4023
- path512
4024
- path256
4025
- index
4026
- topicId
4027
- }
4028
- }
4029
- videos {
4030
- id
4031
- status
4032
- title
4033
- museId
4034
- startTime
4035
- endTime
4036
- thumbnail
4037
- concepts {
4038
- id
4039
- name
4040
- }
4041
- live
4042
- description
4043
- duration
4044
- }
4045
- }
4046
- pictures {
4047
- id
4048
- createdAt
4049
- updatedAt
4050
- name
4051
- index
4052
- caption
4053
- path
4054
- path512
4055
- path256
4056
- topicId
4057
- }
4058
- difficulty
4059
- psaSectionId
4060
- likes
4061
- dislikes
4062
- isLikedByMe
4063
- select3Answer: answer
4064
- }
4065
- }
4066
- }
4067
- mockTestId
4068
- correct
4069
- incorrect
4070
- totalQuestions
4071
- isTestMarksheet
45
+ ...MarksheetFields
4072
46
  }
4073
47
  }
4074
48
  }
@@ -4120,14 +94,7 @@ const updateMarksheets = (cache, result, options) => {
4120
94
  questionChoiceId: marksheet.choiceId,
4121
95
  isAnswered: true,
4122
96
  },
4123
- fragment: (0, client_1.gql) `
4124
- fragment NewTodoMark on MarksheetMark {
4125
- timeTaken
4126
- questionChoiceId
4127
- mark
4128
- isAnswered
4129
- }
4130
- `,
97
+ fragment: marksheet_1.NEW_MARK_FIELDS,
4131
98
  });
4132
99
  }
4133
100
  }
@@ -4196,11 +163,6 @@ exports.REMOVE_FLAGGED_QUESTION = (0, client_1.gql) `
4196
163
  }
4197
164
  }
4198
165
  `;
4199
- exports.MARK_FLAGGED_FIELD = (0, client_1.gql) `
4200
- fragment MarksheetMarkFlagged on MarksheetMark {
4201
- flagged
4202
- }
4203
- `;
4204
166
  const updateCacheAddFlaggedQuestion = (cache, result) => {
4205
167
  const { addFlaggedQuestion } = result?.data?.restricted || {};
4206
168
  if (!addFlaggedQuestion) {
@@ -4212,7 +174,7 @@ const updateCacheAddFlaggedQuestion = (cache, result) => {
4212
174
  data: {
4213
175
  flagged: true,
4214
176
  },
4215
- fragment: exports.MARK_FLAGGED_FIELD,
177
+ fragment: marksheet_1.MARK_FLAGGED_FIELD,
4216
178
  });
4217
179
  };
4218
180
  exports.updateCacheAddFlaggedQuestion = updateCacheAddFlaggedQuestion;
@@ -4243,7 +205,7 @@ const updateCacheRemoveFlaggedQuestion = (cache, result) => {
4243
205
  data: {
4244
206
  flagged: false,
4245
207
  },
4246
- fragment: exports.MARK_FLAGGED_FIELD,
208
+ fragment: marksheet_1.MARK_FLAGGED_FIELD,
4247
209
  });
4248
210
  });
4249
211
  };
@@ -4300,6 +262,7 @@ const optimisticModifyMarksheetBuilderConfig = (marksheetId, builderConfig, clie
4300
262
  };
4301
263
  exports.optimisticModifyMarksheetBuilderConfig = optimisticModifyMarksheetBuilderConfig;
4302
264
  exports.MODIFY_MARKSHEET = (0, client_1.gql) `
265
+ ${marksheet_1.BUILDER_CONFIG_FIELDS}
4303
266
  mutation ModifyMarksheet($input: ModifyMarksheetInput) {
4304
267
  restricted {
4305
268
  modifyMarksheet(input: $input) {
@@ -4312,13 +275,7 @@ exports.MODIFY_MARKSHEET = (0, client_1.gql) `
4312
275
  currentMarkId
4313
276
  topicConceptData
4314
277
  builderConfig {
4315
- difficulty
4316
- isTest
4317
- numberOfQuestions
4318
- secondsPerQuestion
4319
- unseen
4320
- seenCorrect
4321
- seenIncorrect
278
+ ...BuilderConfigFields
4322
279
  }
4323
280
  }
4324
281
  }
@@ -4328,36 +285,18 @@ exports.MODIFY_MARKSHEET = (0, client_1.gql) `
4328
285
  * MODIFY_BUILDER_CONFIG
4329
286
  */
4330
287
  exports.MODIFY_BUILDER_CONFIG = (0, client_1.gql) `
288
+ ${marksheet_1.BUILDER_CONFIG_FIELDS}
4331
289
  mutation ModifyMarksheetBuilderConfig($input: ModifyMarksheetInput) {
4332
290
  restricted {
4333
291
  modifyMarksheet(input: $input) {
4334
292
  id
4335
293
  builderConfig {
4336
- difficulty
4337
- isTest
4338
- numberOfQuestions
4339
- secondsPerQuestion
4340
- unseen
4341
- seenCorrect
4342
- seenIncorrect
294
+ ...BuilderConfigFields
4343
295
  }
4344
296
  }
4345
297
  }
4346
298
  }
4347
299
  `;
4348
- exports.MODIFY_BUILDER_CONFIG_FRAGMENT = (0, client_1.gql) `
4349
- fragment MarksheetBuilderConfig on Marksheet {
4350
- builderConfig {
4351
- difficulty
4352
- isTest
4353
- numberOfQuestions
4354
- secondsPerQuestion
4355
- unseen
4356
- seenCorrect
4357
- seenIncorrect
4358
- }
4359
- }
4360
- `;
4361
300
  /**
4362
301
  * MODIFY_TOPIC_SELECTION
4363
302
  */
@@ -4371,16 +310,6 @@ exports.MODIFY_TOPIC_SELECTION = (0, client_1.gql) `
4371
310
  }
4372
311
  }
4373
312
  `;
4374
- exports.MODIFY_TOPIC_SELECTION_FRAGMENT = (0, client_1.gql) `
4375
- fragment MarksheetTopicSelection on Marksheet {
4376
- topicConceptData
4377
- }
4378
- `;
4379
- exports.MODIFY_CURRENT_MARK_FRAGMENT = (0, client_1.gql) `
4380
- fragment MarksheetCurrentMark on Marksheet {
4381
- currentMarkId
4382
- }
4383
- `;
4384
313
  /**
4385
314
  * MODIFY_MARKSHEET_STATE
4386
315
  */
@@ -4394,11 +323,6 @@ exports.MODIFY_MARKSHEET_STATE = (0, client_1.gql) `
4394
323
  }
4395
324
  }
4396
325
  `;
4397
- exports.MODIFY_MARKSHEET_STATE_FRAGMENT = (0, client_1.gql) `
4398
- fragment MarksheetState on Marksheet {
4399
- state
4400
- }
4401
- `;
4402
326
  exports.MODIFY_MARKSHEET_MARK = (0, client_1.gql) `
4403
327
  mutation ModifyMarksheetMark($input: ModifyMarksheetMarkInput) {
4404
328
  restricted {
@@ -4427,11 +351,6 @@ exports.MODIFY_MARKSHEET_MARK_STRIKED = (0, client_1.gql) `
4427
351
  }
4428
352
  }
4429
353
  `;
4430
- exports.MODIFY_MARKSHEET_MARK_STRIKED_FRAGMENT = (0, client_1.gql) `
4431
- fragment MarksheetMarkSriked on MarksheetMark {
4432
- striked
4433
- }
4434
- `;
4435
354
  exports.MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID = (0, client_1.gql) `
4436
355
  mutation ModifyMarksheetMarkQuestionChoiceId(
4437
356
  $input: ModifyMarksheetMarkInput
@@ -4444,11 +363,6 @@ exports.MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID = (0, client_1.gql) `
4444
363
  }
4445
364
  }
4446
365
  `;
4447
- exports.MODIFY_MARKSHEET_MARK_QUESTIONCHOICEID_FRAGMENT = (0, client_1.gql) `
4448
- fragment MarksheetMarkTimeTaken on MarksheetMark {
4449
- questionChoiceId
4450
- }
4451
- `;
4452
366
  exports.MODIFY_CURRENT_MARKSHEET_MARK = (0, client_1.gql) `
4453
367
  mutation ModifyCurrentMarksheetMark($input: ModifyMarksheetMarkInput) {
4454
368
  restricted {
@@ -4460,12 +374,6 @@ exports.MODIFY_CURRENT_MARKSHEET_MARK = (0, client_1.gql) `
4460
374
  }
4461
375
  }
4462
376
  `;
4463
- exports.MODIFY_CURRENT_MARKSHEET_MARK_FRAGMENT = (0, client_1.gql) `
4464
- fragment CurrentMarksheetMark on MarksheetMark {
4465
- index
4466
- timeTaken
4467
- }
4468
- `;
4469
377
  exports.LEAVE_MARKSHEET = (0, client_1.gql) `
4470
378
  mutation LeaveMarksheet($marksheetId: Int!) {
4471
379
  restricted {
@@ -4492,11 +400,6 @@ exports.END_MARKSHEET = (0, client_1.gql) `
4492
400
  }
4493
401
  }
4494
402
  `;
4495
- const MODIFY_COMPLETED_FRAGMENT = (0, client_1.gql) `
4496
- fragment MarksheetCompleted on Marksheet {
4497
- completed
4498
- }
4499
- `;
4500
403
  const updateCacheOnEndMarksheet = (cache, result, options) => {
4501
404
  const { endMarksheet } = result?.data?.restricted || {};
4502
405
  const { variables } = options || {};
@@ -4509,7 +412,7 @@ const updateCacheOnEndMarksheet = (cache, result, options) => {
4509
412
  data: {
4510
413
  completed: true,
4511
414
  },
4512
- fragment: MODIFY_COMPLETED_FRAGMENT,
415
+ fragment: marksheet_1.MODIFY_COMPLETED_FRAGMENT,
4513
416
  });
4514
417
  };
4515
418
  exports.updateCacheOnEndMarksheet = updateCacheOnEndMarksheet;