@quesmed/types 2.6.29 → 2.6.30

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