@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
@@ -2,942 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.QUESTION = void 0;
4
4
  const client_1 = require("@apollo/client");
5
+ const fragments_1 = require("../../fragments");
5
6
  exports.QUESTION = (0, client_1.gql) `
7
+ ${fragments_1.QUESTION_FIELDS}
6
8
  query Question($id: Int!) {
7
9
  restricted {
8
10
  question(id: $id) {
9
- ... on QuestionSBA {
10
- conceptId
11
- difficulty
12
- dislikes
13
- explanation
14
- id
15
- isLikedByMe
16
- likes
17
- question
18
- totalVotes
19
- typeId
20
- choices {
21
- id
22
- explanation
23
- name
24
- label
25
- answer
26
- votes
27
- picture {
28
- id
29
- createdAt
30
- updatedAt
31
- name
32
- caption
33
- path
34
- path512
35
- path256
36
- thumbhash
37
- }
38
- }
39
- comments {
40
- id
41
- createdAt
42
- comment
43
- parentId
44
- likes
45
- user {
46
- id
47
- displayName
48
- }
49
- dislikes
50
- isLikedByMe
51
- questionId
52
- replies {
53
- id
54
- createdAt
55
- comment
56
- parentId
57
- user {
58
- id
59
- displayName
60
- }
61
- likes
62
- dislikes
63
- isLikedByMe
64
- questionId
65
- }
66
- }
67
- concept {
68
- id
69
- name
70
- status
71
- chapter {
72
- id
73
- explanation
74
- pictures {
75
- id
76
- createdAt
77
- updatedAt
78
- name
79
- caption
80
- path
81
- path512
82
- path256
83
- thumbhash
84
- index
85
- topicId
86
- topic {
87
- id
88
- name
89
- typeId
90
- }
91
- }
92
- }
93
- videos {
94
- id
95
- status
96
- title
97
- museId
98
- startTime
99
- endTime
100
- thumbnail
101
- concepts {
102
- id
103
- name
104
- }
105
- live
106
- description
107
- duration
108
- }
109
- }
110
- pictures {
111
- id
112
- createdAt
113
- updatedAt
114
- name
115
- index
116
- caption
117
- path
118
- path512
119
- path256
120
- thumbhash
121
- topicId
122
- topic {
123
- id
124
- name
125
- typeId
126
- }
127
- }
128
- difficulty
129
- psaSectionId
130
- likes
131
- dislikes
132
- isLikedByMe
133
- sbaAnswer: answer
134
- }
135
- ... on QuestionQA {
136
- conceptId
137
- difficulty
138
- dislikes
139
- explanation
140
- id
141
- isLikedByMe
142
- likes
143
- question
144
- totalVotes
145
- typeId
146
- choices {
147
- id
148
- explanation
149
- name
150
- label
151
- answer
152
- votes
153
- picture {
154
- id
155
- createdAt
156
- updatedAt
157
- name
158
- caption
159
- path
160
- path512
161
- path256
162
- thumbhash
163
- }
164
- }
165
- comments {
166
- id
167
- createdAt
168
- comment
169
- parentId
170
- likes
171
- user {
172
- id
173
- displayName
174
- }
175
- dislikes
176
- isLikedByMe
177
- questionId
178
- replies {
179
- id
180
- createdAt
181
- comment
182
- parentId
183
- user {
184
- id
185
- displayName
186
- }
187
- likes
188
- dislikes
189
- isLikedByMe
190
- questionId
191
- }
192
- }
193
- concept {
194
- id
195
- name
196
- status
197
- chapter {
198
- id
199
- explanation
200
- pictures {
201
- id
202
- createdAt
203
- updatedAt
204
- name
205
- caption
206
- path
207
- path512
208
- path256
209
- thumbhash
210
- index
211
- topicId
212
- topic {
213
- id
214
- name
215
- typeId
216
- }
217
- }
218
- }
219
- videos {
220
- id
221
- status
222
- title
223
- museId
224
- startTime
225
- endTime
226
- thumbnail
227
- concepts {
228
- id
229
- name
230
- }
231
- live
232
- description
233
- duration
234
- }
235
- }
236
- pictures {
237
- id
238
- createdAt
239
- updatedAt
240
- name
241
- index
242
- caption
243
- path
244
- path512
245
- path256
246
- thumbhash
247
- topicId
248
- topic {
249
- id
250
- name
251
- typeId
252
- }
253
- }
254
- difficulty
255
- psaSectionId
256
- likes
257
- dislikes
258
- isLikedByMe
259
- qaAnswer: answer {
260
- dose
261
- units
262
- }
263
- }
264
- ... on QuestionMultiA {
265
- conceptId
266
- difficulty
267
- dislikes
268
- explanation
269
- id
270
- isLikedByMe
271
- likes
272
- question
273
- totalVotes
274
- typeId
275
- choices {
276
- id
277
- explanation
278
- name
279
- label
280
- answer
281
- votes
282
- picture {
283
- id
284
- createdAt
285
- updatedAt
286
- name
287
- caption
288
- path
289
- path512
290
- path256
291
- thumbhash
292
- }
293
- }
294
- comments {
295
- id
296
- createdAt
297
- comment
298
- parentId
299
- likes
300
- user {
301
- id
302
- displayName
303
- }
304
- dislikes
305
- isLikedByMe
306
- questionId
307
- replies {
308
- id
309
- createdAt
310
- comment
311
- parentId
312
- user {
313
- id
314
- displayName
315
- }
316
- likes
317
- dislikes
318
- isLikedByMe
319
- questionId
320
- }
321
- }
322
- concept {
323
- id
324
- name
325
- status
326
- chapter {
327
- id
328
- explanation
329
- pictures {
330
- id
331
- createdAt
332
- updatedAt
333
- name
334
- caption
335
- path
336
- path512
337
- path256
338
- thumbhash
339
- index
340
- topicId
341
- topic {
342
- id
343
- name
344
- typeId
345
- }
346
- }
347
- }
348
- videos {
349
- id
350
- status
351
- title
352
- museId
353
- startTime
354
- endTime
355
- thumbnail
356
- concepts {
357
- id
358
- name
359
- }
360
- live
361
- description
362
- duration
363
- }
364
- }
365
- pictures {
366
- id
367
- createdAt
368
- updatedAt
369
- name
370
- index
371
- caption
372
- path
373
- path512
374
- path256
375
- thumbhash
376
- topicId
377
- topic {
378
- id
379
- name
380
- typeId
381
- }
382
- }
383
- difficulty
384
- psaSectionId
385
- likes
386
- dislikes
387
- isLikedByMe
388
- multiAnswer: answer
389
- }
390
- ... on QuestionPrescription {
391
- conceptId
392
- difficulty
393
- dislikes
394
- explanation
395
- id
396
- isLikedByMe
397
- likes
398
- question
399
- totalVotes
400
- typeId
401
- choices {
402
- id
403
- explanation
404
- name
405
- label
406
- answer
407
- votes
408
- picture {
409
- id
410
- createdAt
411
- updatedAt
412
- name
413
- caption
414
- path
415
- path512
416
- path256
417
- thumbhash
418
- }
419
- }
420
- comments {
421
- id
422
- createdAt
423
- comment
424
- parentId
425
- likes
426
- user {
427
- id
428
- displayName
429
- }
430
- dislikes
431
- isLikedByMe
432
- questionId
433
- replies {
434
- id
435
- createdAt
436
- comment
437
- parentId
438
- user {
439
- id
440
- displayName
441
- }
442
- likes
443
- dislikes
444
- isLikedByMe
445
- questionId
446
- }
447
- }
448
- concept {
449
- id
450
- name
451
- status
452
- chapter {
453
- id
454
- explanation
455
- pictures {
456
- id
457
- createdAt
458
- updatedAt
459
- name
460
- caption
461
- path
462
- path512
463
- path256
464
- thumbhash
465
- index
466
- topicId
467
- topic {
468
- id
469
- name
470
- typeId
471
- }
472
- }
473
- }
474
- videos {
475
- id
476
- status
477
- title
478
- museId
479
- startTime
480
- endTime
481
- thumbnail
482
- concepts {
483
- id
484
- name
485
- }
486
- live
487
- description
488
- duration
489
- }
490
- }
491
- pictures {
492
- id
493
- createdAt
494
- updatedAt
495
- name
496
- index
497
- caption
498
- path
499
- path512
500
- path256
501
- thumbhash
502
- topicId
503
- topic {
504
- id
505
- name
506
- typeId
507
- }
508
- }
509
- difficulty
510
- psaSectionId
511
- likes
512
- dislikes
513
- isLikedByMe
514
- prescribeAnswer: answer {
515
- dose {
516
- value
517
- label
518
- visible
519
- }
520
- drug {
521
- value
522
- label
523
- visible
524
- }
525
- route {
526
- value
527
- label
528
- visible
529
- }
530
- frequency {
531
- value
532
- label
533
- visible
534
- }
535
- duration {
536
- value
537
- label
538
- visible
539
- }
540
- unit {
541
- value
542
- label
543
- visible
544
- }
545
- }
546
- }
547
- ... on QuestionEMQ {
548
- conceptId
549
- difficulty
550
- dislikes
551
- explanation
552
- id
553
- isLikedByMe
554
- likes
555
- question
556
- totalVotes
557
- typeId
558
- highlights {
559
- start
560
- end
561
- text
562
- part
563
- tag
564
- color
565
- }
566
- cases {
567
- id
568
- questionId
569
- case
570
- explanation
571
- label
572
- }
573
- choices {
574
- id
575
- explanation
576
- name
577
- label
578
- answer
579
- votes
580
- picture {
581
- id
582
- createdAt
583
- updatedAt
584
- name
585
- caption
586
- path
587
- path512
588
- path256
589
- thumbhash
590
- }
591
- }
592
- comments {
593
- id
594
- createdAt
595
- comment
596
- parentId
597
- likes
598
- user {
599
- id
600
- displayName
601
- }
602
- dislikes
603
- isLikedByMe
604
- questionId
605
- replies {
606
- id
607
- createdAt
608
- comment
609
- parentId
610
- user {
611
- id
612
- displayName
613
- }
614
- likes
615
- dislikes
616
- isLikedByMe
617
- questionId
618
- }
619
- }
620
- concept {
621
- id
622
- name
623
- status
624
- topic {
625
- id
626
- name
627
- typeId
628
- }
629
- chapter {
630
- id
631
- explanation
632
- pictures {
633
- id
634
- createdAt
635
- updatedAt
636
- name
637
- caption
638
- path
639
- path512
640
- path256
641
- thumbhash
642
- index
643
- topicId
644
- }
645
- }
646
- videos {
647
- id
648
- status
649
- title
650
- museId
651
- startTime
652
- endTime
653
- thumbnail
654
- concepts {
655
- id
656
- name
657
- }
658
- live
659
- description
660
- duration
661
- }
662
- }
663
- pictures {
664
- id
665
- createdAt
666
- updatedAt
667
- name
668
- index
669
- caption
670
- path
671
- path512
672
- path256
673
- thumbhash
674
- topicId
675
- }
676
- difficulty
677
- psaSectionId
678
- likes
679
- dislikes
680
- isLikedByMe
681
- emqAnswer: answer
682
- }
683
- ... on QuestionRanking {
684
- conceptId
685
- difficulty
686
- dislikes
687
- explanation
688
- id
689
- isLikedByMe
690
- likes
691
- question
692
- totalVotes
693
- typeId
694
- highlights {
695
- start
696
- end
697
- text
698
- part
699
- tag
700
- color
701
- }
702
- choices {
703
- id
704
- explanation
705
- name
706
- label
707
- answer
708
- votes
709
- picture {
710
- id
711
- createdAt
712
- updatedAt
713
- name
714
- caption
715
- path
716
- path512
717
- path256
718
- thumbhash
719
- }
720
- }
721
- comments {
722
- id
723
- createdAt
724
- comment
725
- parentId
726
- likes
727
- user {
728
- id
729
- displayName
730
- }
731
- dislikes
732
- isLikedByMe
733
- questionId
734
- replies {
735
- id
736
- createdAt
737
- comment
738
- parentId
739
- user {
740
- id
741
- displayName
742
- }
743
- likes
744
- dislikes
745
- isLikedByMe
746
- questionId
747
- }
748
- }
749
- concept {
750
- id
751
- name
752
- status
753
- topic {
754
- id
755
- name
756
- typeId
757
- }
758
- chapter {
759
- id
760
- explanation
761
- pictures {
762
- id
763
- createdAt
764
- updatedAt
765
- name
766
- caption
767
- path
768
- path512
769
- path256
770
- thumbhash
771
- index
772
- topicId
773
- }
774
- }
775
- videos {
776
- id
777
- status
778
- title
779
- museId
780
- startTime
781
- endTime
782
- thumbnail
783
- concepts {
784
- id
785
- name
786
- }
787
- live
788
- description
789
- duration
790
- }
791
- }
792
- pictures {
793
- id
794
- createdAt
795
- updatedAt
796
- name
797
- index
798
- caption
799
- path
800
- path512
801
- path256
802
- thumbhash
803
- topicId
804
- }
805
- difficulty
806
- psaSectionId
807
- likes
808
- dislikes
809
- isLikedByMe
810
- rankingAnswer: answer
811
- }
812
- ... on QuestionSelect3 {
813
- conceptId
814
- difficulty
815
- dislikes
816
- explanation
817
- id
818
- isLikedByMe
819
- likes
820
- question
821
- totalVotes
822
- typeId
823
- highlights {
824
- start
825
- end
826
- text
827
- part
828
- tag
829
- color
830
- }
831
- choices {
832
- id
833
- explanation
834
- name
835
- label
836
- answer
837
- votes
838
- picture {
839
- id
840
- createdAt
841
- updatedAt
842
- name
843
- caption
844
- path
845
- path512
846
- path256
847
- thumbhash
848
- }
849
- }
850
- comments {
851
- id
852
- createdAt
853
- comment
854
- parentId
855
- likes
856
- user {
857
- id
858
- displayName
859
- }
860
- dislikes
861
- isLikedByMe
862
- questionId
863
- replies {
864
- id
865
- createdAt
866
- comment
867
- parentId
868
- user {
869
- id
870
- displayName
871
- }
872
- likes
873
- dislikes
874
- isLikedByMe
875
- questionId
876
- }
877
- }
878
- concept {
879
- id
880
- name
881
- status
882
- topic {
883
- id
884
- name
885
- typeId
886
- }
887
- chapter {
888
- id
889
- explanation
890
- pictures {
891
- id
892
- createdAt
893
- updatedAt
894
- name
895
- caption
896
- path
897
- path512
898
- path256
899
- thumbhash
900
- index
901
- topicId
902
- }
903
- }
904
- videos {
905
- id
906
- status
907
- title
908
- museId
909
- startTime
910
- endTime
911
- thumbnail
912
- concepts {
913
- id
914
- name
915
- }
916
- live
917
- description
918
- duration
919
- }
920
- }
921
- pictures {
922
- id
923
- createdAt
924
- updatedAt
925
- name
926
- index
927
- caption
928
- path
929
- path512
930
- path256
931
- thumbhash
932
- topicId
933
- }
934
- difficulty
935
- psaSectionId
936
- likes
937
- dislikes
938
- isLikedByMe
939
- select3Answer: answer
940
- }
11
+ ...QuestionFields
941
12
  }
942
13
  }
943
14
  }