@quesmed/types 2.2.42 → 2.2.45

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.
@@ -1,5 +1,566 @@
1
1
  import { gql } from '@apollo/client';
2
2
  import { MARKSHEET, } from '../../query/restricted';
3
+ export const BUILD_QUESTION_MARKSHEET = gql `
4
+ mutation BuildQuestionMarksheet($questionIds: [Int!]) {
5
+ restricted {
6
+ buildQuestionMarksheet(questionIds: $questionIds) {
7
+ id
8
+ createdAt
9
+ startedAt
10
+ endedAt
11
+ agoraId
12
+ topicIds
13
+ completed
14
+ topicIds
15
+ topicNames
16
+ mockTestId
17
+ totalQuestions
18
+ solo
19
+ state
20
+ currentMarkId
21
+ topicConceptData
22
+ builderConfig {
23
+ difficulty
24
+ isTest
25
+ numberOfQuestions
26
+ secondsPerQuestion
27
+ unseen
28
+ seenCorrect
29
+ seenIncorrect
30
+ }
31
+ preBuildData {
32
+ buildRef
33
+ seenCorrect
34
+ seenIncorrect
35
+ unseen
36
+ }
37
+ topicNames
38
+ source
39
+ user {
40
+ displayName
41
+ id
42
+ }
43
+ users {
44
+ id
45
+ displayName
46
+ }
47
+ marks {
48
+ id
49
+ flagged
50
+ index
51
+ questionChoiceId
52
+ marksheetId
53
+ timeTaken
54
+ isAnswered
55
+ mark
56
+ question {
57
+ ... on QuestionSBA {
58
+ conceptId
59
+ difficulty
60
+ dislikes
61
+ explanation
62
+ id
63
+ isLikedByMe
64
+ likes
65
+ question
66
+ totalVotes
67
+ typeId
68
+ choices {
69
+ id
70
+ explanation
71
+ name
72
+ label
73
+ answer
74
+ votes
75
+ picture {
76
+ id
77
+ createdAt
78
+ updatedAt
79
+ name
80
+ caption
81
+ path
82
+ path512
83
+ path256
84
+ }
85
+ }
86
+ comments {
87
+ id
88
+ createdAt
89
+ comment
90
+ likes
91
+ user {
92
+ id
93
+ displayName
94
+ }
95
+ dislikes
96
+ isLikedByMe
97
+ questionId
98
+ replies {
99
+ id
100
+ createdAt
101
+ comment
102
+ user {
103
+ id
104
+ displayName
105
+ }
106
+ likes
107
+ dislikes
108
+ isLikedByMe
109
+ questionId
110
+ }
111
+ }
112
+ concept {
113
+ id
114
+ name
115
+ chapter {
116
+ id
117
+ explanation
118
+ pictures {
119
+ id
120
+ createdAt
121
+ updatedAt
122
+ name
123
+ caption
124
+ path
125
+ path512
126
+ path256
127
+ topicId
128
+ topic {
129
+ id
130
+ name
131
+ typeId
132
+ }
133
+ }
134
+ }
135
+ videos {
136
+ id
137
+ title
138
+ museId
139
+ startTime
140
+ endTime
141
+ thumbnail
142
+ concepts {
143
+ id
144
+ name
145
+ }
146
+ live
147
+ description
148
+ duration
149
+ }
150
+ }
151
+ pictures {
152
+ id
153
+ createdAt
154
+ updatedAt
155
+ name
156
+ caption
157
+ path
158
+ path512
159
+ path256
160
+ topicId
161
+ topic {
162
+ id
163
+ name
164
+ typeId
165
+ }
166
+ }
167
+ difficulty
168
+ psaSectionId
169
+ likes
170
+ dislikes
171
+ isLikedByMe
172
+ sbaAnswer: answer
173
+ }
174
+ ... on QuestionQA {
175
+ conceptId
176
+ difficulty
177
+ dislikes
178
+ explanation
179
+ id
180
+ isLikedByMe
181
+ likes
182
+ question
183
+ totalVotes
184
+ typeId
185
+ choices {
186
+ id
187
+ explanation
188
+ name
189
+ label
190
+ answer
191
+ votes
192
+ picture {
193
+ id
194
+ createdAt
195
+ updatedAt
196
+ name
197
+ caption
198
+ path
199
+ path512
200
+ path256
201
+ }
202
+ }
203
+ comments {
204
+ id
205
+ createdAt
206
+ comment
207
+ likes
208
+ user {
209
+ id
210
+ displayName
211
+ }
212
+ dislikes
213
+ isLikedByMe
214
+ questionId
215
+ replies {
216
+ id
217
+ createdAt
218
+ comment
219
+ user {
220
+ id
221
+ displayName
222
+ }
223
+ likes
224
+ dislikes
225
+ isLikedByMe
226
+ questionId
227
+ }
228
+ }
229
+ concept {
230
+ id
231
+ name
232
+ chapter {
233
+ id
234
+ explanation
235
+ pictures {
236
+ id
237
+ createdAt
238
+ updatedAt
239
+ name
240
+ caption
241
+ path
242
+ path512
243
+ path256
244
+ topicId
245
+ topic {
246
+ id
247
+ name
248
+ typeId
249
+ }
250
+ }
251
+ }
252
+ videos {
253
+ id
254
+ title
255
+ museId
256
+ startTime
257
+ endTime
258
+ thumbnail
259
+ concepts {
260
+ id
261
+ name
262
+ }
263
+ live
264
+ description
265
+ duration
266
+ }
267
+ }
268
+ pictures {
269
+ id
270
+ createdAt
271
+ updatedAt
272
+ name
273
+ caption
274
+ path
275
+ path512
276
+ path256
277
+ topicId
278
+ topic {
279
+ id
280
+ name
281
+ typeId
282
+ }
283
+ }
284
+ difficulty
285
+ psaSectionId
286
+ likes
287
+ dislikes
288
+ isLikedByMe
289
+ qaAnswer: answer {
290
+ dose
291
+ units
292
+ }
293
+ }
294
+ ... on QuestionMultiA {
295
+ conceptId
296
+ difficulty
297
+ dislikes
298
+ explanation
299
+ id
300
+ isLikedByMe
301
+ likes
302
+ question
303
+ totalVotes
304
+ typeId
305
+ choices {
306
+ id
307
+ explanation
308
+ name
309
+ label
310
+ answer
311
+ votes
312
+ picture {
313
+ id
314
+ createdAt
315
+ updatedAt
316
+ name
317
+ caption
318
+ path
319
+ path512
320
+ path256
321
+ }
322
+ }
323
+ comments {
324
+ id
325
+ createdAt
326
+ comment
327
+ likes
328
+ user {
329
+ id
330
+ displayName
331
+ }
332
+ dislikes
333
+ isLikedByMe
334
+ questionId
335
+ replies {
336
+ id
337
+ createdAt
338
+ comment
339
+ user {
340
+ id
341
+ displayName
342
+ }
343
+ likes
344
+ dislikes
345
+ isLikedByMe
346
+ questionId
347
+ }
348
+ }
349
+ concept {
350
+ id
351
+ name
352
+ chapter {
353
+ id
354
+ explanation
355
+ pictures {
356
+ id
357
+ createdAt
358
+ updatedAt
359
+ name
360
+ caption
361
+ path
362
+ path512
363
+ path256
364
+ topicId
365
+ topic {
366
+ id
367
+ name
368
+ typeId
369
+ }
370
+ }
371
+ }
372
+ videos {
373
+ id
374
+ title
375
+ museId
376
+ startTime
377
+ endTime
378
+ thumbnail
379
+ concepts {
380
+ id
381
+ name
382
+ }
383
+ live
384
+ description
385
+ duration
386
+ }
387
+ }
388
+ pictures {
389
+ id
390
+ createdAt
391
+ updatedAt
392
+ name
393
+ caption
394
+ path
395
+ path512
396
+ path256
397
+ topicId
398
+ topic {
399
+ id
400
+ name
401
+ typeId
402
+ }
403
+ }
404
+ difficulty
405
+ psaSectionId
406
+ likes
407
+ dislikes
408
+ isLikedByMe
409
+ multiAnswer: answer
410
+ }
411
+ ... on QuestionPrescription {
412
+ conceptId
413
+ difficulty
414
+ dislikes
415
+ explanation
416
+ id
417
+ isLikedByMe
418
+ likes
419
+ question
420
+ totalVotes
421
+ typeId
422
+ choices {
423
+ id
424
+ explanation
425
+ name
426
+ label
427
+ answer
428
+ votes
429
+ picture {
430
+ id
431
+ createdAt
432
+ updatedAt
433
+ name
434
+ caption
435
+ path
436
+ path512
437
+ path256
438
+ }
439
+ }
440
+ comments {
441
+ id
442
+ createdAt
443
+ comment
444
+ likes
445
+ user {
446
+ id
447
+ displayName
448
+ }
449
+ dislikes
450
+ isLikedByMe
451
+ questionId
452
+ replies {
453
+ id
454
+ createdAt
455
+ comment
456
+ user {
457
+ id
458
+ displayName
459
+ }
460
+ likes
461
+ dislikes
462
+ isLikedByMe
463
+ questionId
464
+ }
465
+ }
466
+ concept {
467
+ id
468
+ name
469
+ chapter {
470
+ id
471
+ explanation
472
+ pictures {
473
+ id
474
+ createdAt
475
+ updatedAt
476
+ name
477
+ caption
478
+ path
479
+ path512
480
+ path256
481
+ topicId
482
+ topic {
483
+ id
484
+ name
485
+ typeId
486
+ }
487
+ }
488
+ }
489
+ videos {
490
+ id
491
+ title
492
+ museId
493
+ startTime
494
+ endTime
495
+ thumbnail
496
+ concepts {
497
+ id
498
+ name
499
+ }
500
+ live
501
+ description
502
+ duration
503
+ }
504
+ }
505
+ pictures {
506
+ id
507
+ createdAt
508
+ updatedAt
509
+ name
510
+ caption
511
+ path
512
+ path512
513
+ path256
514
+ topicId
515
+ topic {
516
+ id
517
+ name
518
+ typeId
519
+ }
520
+ }
521
+ difficulty
522
+ psaSectionId
523
+ likes
524
+ dislikes
525
+ isLikedByMe
526
+ prescribeAnswer: answer {
527
+ dose {
528
+ value
529
+ display
530
+ }
531
+ drug {
532
+ value
533
+ display
534
+ }
535
+ route {
536
+ value
537
+ display
538
+ }
539
+ frequency {
540
+ display
541
+ value
542
+ }
543
+ duration {
544
+ display
545
+ value
546
+ }
547
+ units {
548
+ display
549
+ value
550
+ }
551
+ }
552
+ }
553
+ }
554
+ }
555
+ mockTestId
556
+ correct
557
+ incorrect
558
+ totalQuestions
559
+ isTestMarksheet
560
+ }
561
+ }
562
+ }
563
+ `;
3
564
  export const BUILD_MARKSHEET = gql `
4
565
  mutation BuildMarksheet($buildMarksheet: BuildMarksheetInput!) {
5
566
  restricted {
@@ -37,6 +37,12 @@ export declare const LATEST_PAST_AGORA_ID: import("@apollo/client").DocumentNode
37
37
  export declare type IFlaggedQuestionsVar = null;
38
38
  export declare type IFlaggedQuestionsData = RestrictedData<(graphqlNormalize & IUserFlaggedQuestion)[], 'flaggedQuestions'>;
39
39
  export declare const FLAGGED_QUESTIONS: import("@apollo/client").DocumentNode;
40
+ /**
41
+ * flaggedQuestionMarksheet
42
+ */
43
+ export declare type IFlaggedQuestionsMarksheetVar = null;
44
+ export declare type IFlaggedQuestionsMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'flaggedQuestionsMarksheet'>;
45
+ export declare const FLAGGED_QUESTIONS_MARKSHEET: import("@apollo/client").DocumentNode;
40
46
  export interface IMarksheetFeedbackVar {
41
47
  id: Id;
42
48
  }