@quesmed/types-rn 2.6.0 → 2.6.2
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.
package/models/MockTest.d.ts
CHANGED
package/models/MockTest.js
CHANGED
|
@@ -10,4 +10,5 @@ var EMockTestType;
|
|
|
10
10
|
EMockTestType[EMockTestType["UNIVERSITY_SPECIFIC"] = 4] = "UNIVERSITY_SPECIFIC";
|
|
11
11
|
EMockTestType[EMockTestType["ANATOMY_SPOTTER"] = 5] = "ANATOMY_SPOTTER";
|
|
12
12
|
EMockTestType[EMockTestType["UKMLA"] = 6] = "UKMLA";
|
|
13
|
+
EMockTestType[EMockTestType["MRCP"] = 7] = "MRCP";
|
|
13
14
|
})(EMockTestType = exports.EMockTestType || (exports.EMockTestType = {}));
|
package/package.json
CHANGED
package/resolvers/constants.js
CHANGED
|
@@ -62,13 +62,13 @@ exports.productMapping = {
|
|
|
62
62
|
db: enums_1.DB_TYPE.MRCP,
|
|
63
63
|
topicType: [models_1.ETopicType.CLINICAL],
|
|
64
64
|
builderTopicType: [models_1.ETopicType.CLINICAL],
|
|
65
|
-
mockType:
|
|
65
|
+
mockType: [models_1.EMockTestType.MRCP],
|
|
66
66
|
},
|
|
67
67
|
[models_1.EProductType.MRCP_PART2]: {
|
|
68
68
|
db: enums_1.DB_TYPE.MRCP,
|
|
69
69
|
topicType: [models_1.ETopicType.CLINICAL],
|
|
70
70
|
builderTopicType: [models_1.ETopicType.CLINICAL],
|
|
71
|
-
mockType:
|
|
71
|
+
mockType: [models_1.EMockTestType.MRCP],
|
|
72
72
|
},
|
|
73
73
|
[models_1.EProductType.PACES]: {
|
|
74
74
|
db: enums_1.DB_TYPE.MRCP,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ApolloCache, ApolloClient } from '@apollo/client';
|
|
2
2
|
import { ApolloUpdateOptions, ApolloUpdateResultRestricted } from '../..';
|
|
3
|
-
import { Id } from '../../../models';
|
|
3
|
+
import { EDifficultyType, Id } from '../../../models';
|
|
4
4
|
import { RestrictedData, graphqlNormalize } from '../../types';
|
|
5
5
|
import { EMarksheetAction, EMarksheetState, EStudyAction, IMarksheet, IMarksheetMark } from './../../../models/Marksheet';
|
|
6
6
|
import { IUser, IUserFlaggedQuestion } from './../../../models/User';
|
|
@@ -39,6 +39,19 @@ export interface IReBuildMarksheetVar {
|
|
|
39
39
|
marksheetId: number;
|
|
40
40
|
}
|
|
41
41
|
export type IReBuildMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'reBuildMarksheet'>;
|
|
42
|
+
export interface IQuickBuildMarksheetVar {
|
|
43
|
+
input: {
|
|
44
|
+
totalQuestions?: number;
|
|
45
|
+
isTest?: boolean;
|
|
46
|
+
difficulty?: EDifficultyType[];
|
|
47
|
+
secondsPerQuestion?: number;
|
|
48
|
+
unseen?: boolean;
|
|
49
|
+
seenCorrect?: boolean;
|
|
50
|
+
seenIncorrect?: boolean;
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
export type IQuickBuildMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'quickBuildMarksheet'>;
|
|
54
|
+
export declare const QUICK_BUILD_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
42
55
|
export interface ISaveMarksheetInput {
|
|
43
56
|
marksheetId: Id;
|
|
44
57
|
markId: Id;
|
|
@@ -1,6 +1,6 @@
|
|
|
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.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_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;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
5
|
const restricted_1 = require("../../query/restricted");
|
|
6
6
|
exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
|
|
@@ -3052,6 +3052,1003 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
|
3052
3052
|
}
|
|
3053
3053
|
}
|
|
3054
3054
|
`;
|
|
3055
|
+
exports.QUICK_BUILD_MARKSHEET = (0, client_1.gql) `
|
|
3056
|
+
mutation QuickBuildMarksheet($input: QuickBuildMarksheetInput) {
|
|
3057
|
+
restricted {
|
|
3058
|
+
quickBuildMarksheet(input: $input) {
|
|
3059
|
+
id
|
|
3060
|
+
createdAt
|
|
3061
|
+
startedAt
|
|
3062
|
+
endedAt
|
|
3063
|
+
agoraId
|
|
3064
|
+
sessionId
|
|
3065
|
+
topicIds
|
|
3066
|
+
completed
|
|
3067
|
+
passingMark
|
|
3068
|
+
duration
|
|
3069
|
+
topicIds
|
|
3070
|
+
topicNames
|
|
3071
|
+
mockTestId
|
|
3072
|
+
totalQuestions
|
|
3073
|
+
solo
|
|
3074
|
+
state
|
|
3075
|
+
currentMarkId
|
|
3076
|
+
topicConceptData
|
|
3077
|
+
builderConfig {
|
|
3078
|
+
difficulty
|
|
3079
|
+
isTest
|
|
3080
|
+
numberOfQuestions
|
|
3081
|
+
secondsPerQuestion
|
|
3082
|
+
unseen
|
|
3083
|
+
seenCorrect
|
|
3084
|
+
seenIncorrect
|
|
3085
|
+
}
|
|
3086
|
+
preBuildData {
|
|
3087
|
+
buildRef
|
|
3088
|
+
seenCorrect
|
|
3089
|
+
seenIncorrect
|
|
3090
|
+
unseen
|
|
3091
|
+
}
|
|
3092
|
+
topicNames
|
|
3093
|
+
source
|
|
3094
|
+
user {
|
|
3095
|
+
displayName
|
|
3096
|
+
id
|
|
3097
|
+
}
|
|
3098
|
+
activeUsers {
|
|
3099
|
+
id
|
|
3100
|
+
displayName
|
|
3101
|
+
}
|
|
3102
|
+
users {
|
|
3103
|
+
id
|
|
3104
|
+
displayName
|
|
3105
|
+
}
|
|
3106
|
+
marks {
|
|
3107
|
+
id
|
|
3108
|
+
flagged
|
|
3109
|
+
index
|
|
3110
|
+
questionChoiceId
|
|
3111
|
+
marksheetId
|
|
3112
|
+
timeTaken
|
|
3113
|
+
striked
|
|
3114
|
+
isAnswered
|
|
3115
|
+
mark
|
|
3116
|
+
question {
|
|
3117
|
+
... on QuestionSBA {
|
|
3118
|
+
conceptId
|
|
3119
|
+
difficulty
|
|
3120
|
+
dislikes
|
|
3121
|
+
explanation
|
|
3122
|
+
id
|
|
3123
|
+
isLikedByMe
|
|
3124
|
+
likes
|
|
3125
|
+
question
|
|
3126
|
+
totalVotes
|
|
3127
|
+
typeId
|
|
3128
|
+
highlights {
|
|
3129
|
+
start
|
|
3130
|
+
end
|
|
3131
|
+
text
|
|
3132
|
+
part
|
|
3133
|
+
tag
|
|
3134
|
+
color
|
|
3135
|
+
}
|
|
3136
|
+
choices {
|
|
3137
|
+
id
|
|
3138
|
+
explanation
|
|
3139
|
+
name
|
|
3140
|
+
label
|
|
3141
|
+
answer
|
|
3142
|
+
votes
|
|
3143
|
+
picture {
|
|
3144
|
+
id
|
|
3145
|
+
createdAt
|
|
3146
|
+
updatedAt
|
|
3147
|
+
name
|
|
3148
|
+
caption
|
|
3149
|
+
path
|
|
3150
|
+
path512
|
|
3151
|
+
path256
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3154
|
+
comments {
|
|
3155
|
+
id
|
|
3156
|
+
createdAt
|
|
3157
|
+
comment
|
|
3158
|
+
parentId
|
|
3159
|
+
likes
|
|
3160
|
+
user {
|
|
3161
|
+
id
|
|
3162
|
+
displayName
|
|
3163
|
+
}
|
|
3164
|
+
dislikes
|
|
3165
|
+
isLikedByMe
|
|
3166
|
+
questionId
|
|
3167
|
+
replies {
|
|
3168
|
+
id
|
|
3169
|
+
createdAt
|
|
3170
|
+
comment
|
|
3171
|
+
parentId
|
|
3172
|
+
user {
|
|
3173
|
+
id
|
|
3174
|
+
displayName
|
|
3175
|
+
}
|
|
3176
|
+
likes
|
|
3177
|
+
dislikes
|
|
3178
|
+
isLikedByMe
|
|
3179
|
+
questionId
|
|
3180
|
+
}
|
|
3181
|
+
}
|
|
3182
|
+
concept {
|
|
3183
|
+
id
|
|
3184
|
+
name
|
|
3185
|
+
status
|
|
3186
|
+
totalCards
|
|
3187
|
+
topic {
|
|
3188
|
+
id
|
|
3189
|
+
name
|
|
3190
|
+
typeId
|
|
3191
|
+
}
|
|
3192
|
+
chapter {
|
|
3193
|
+
id
|
|
3194
|
+
explanation
|
|
3195
|
+
pictures {
|
|
3196
|
+
id
|
|
3197
|
+
createdAt
|
|
3198
|
+
updatedAt
|
|
3199
|
+
name
|
|
3200
|
+
caption
|
|
3201
|
+
path
|
|
3202
|
+
path512
|
|
3203
|
+
path256
|
|
3204
|
+
index
|
|
3205
|
+
topicId
|
|
3206
|
+
}
|
|
3207
|
+
}
|
|
3208
|
+
videos {
|
|
3209
|
+
id
|
|
3210
|
+
status
|
|
3211
|
+
title
|
|
3212
|
+
museId
|
|
3213
|
+
startTime
|
|
3214
|
+
endTime
|
|
3215
|
+
thumbnail
|
|
3216
|
+
concepts {
|
|
3217
|
+
id
|
|
3218
|
+
name
|
|
3219
|
+
}
|
|
3220
|
+
live
|
|
3221
|
+
description
|
|
3222
|
+
duration
|
|
3223
|
+
}
|
|
3224
|
+
}
|
|
3225
|
+
pictures {
|
|
3226
|
+
id
|
|
3227
|
+
createdAt
|
|
3228
|
+
updatedAt
|
|
3229
|
+
name
|
|
3230
|
+
caption
|
|
3231
|
+
path
|
|
3232
|
+
index
|
|
3233
|
+
path512
|
|
3234
|
+
path256
|
|
3235
|
+
topicId
|
|
3236
|
+
}
|
|
3237
|
+
difficulty
|
|
3238
|
+
psaSectionId
|
|
3239
|
+
likes
|
|
3240
|
+
dislikes
|
|
3241
|
+
isLikedByMe
|
|
3242
|
+
sbaAnswer: answer
|
|
3243
|
+
}
|
|
3244
|
+
... on QuestionQA {
|
|
3245
|
+
conceptId
|
|
3246
|
+
difficulty
|
|
3247
|
+
dislikes
|
|
3248
|
+
explanation
|
|
3249
|
+
id
|
|
3250
|
+
isLikedByMe
|
|
3251
|
+
likes
|
|
3252
|
+
question
|
|
3253
|
+
totalVotes
|
|
3254
|
+
typeId
|
|
3255
|
+
highlights {
|
|
3256
|
+
start
|
|
3257
|
+
end
|
|
3258
|
+
text
|
|
3259
|
+
part
|
|
3260
|
+
tag
|
|
3261
|
+
color
|
|
3262
|
+
}
|
|
3263
|
+
choices {
|
|
3264
|
+
id
|
|
3265
|
+
explanation
|
|
3266
|
+
name
|
|
3267
|
+
label
|
|
3268
|
+
answer
|
|
3269
|
+
votes
|
|
3270
|
+
picture {
|
|
3271
|
+
id
|
|
3272
|
+
createdAt
|
|
3273
|
+
updatedAt
|
|
3274
|
+
name
|
|
3275
|
+
caption
|
|
3276
|
+
path
|
|
3277
|
+
path512
|
|
3278
|
+
path256
|
|
3279
|
+
}
|
|
3280
|
+
}
|
|
3281
|
+
comments {
|
|
3282
|
+
id
|
|
3283
|
+
createdAt
|
|
3284
|
+
comment
|
|
3285
|
+
parentId
|
|
3286
|
+
likes
|
|
3287
|
+
user {
|
|
3288
|
+
id
|
|
3289
|
+
displayName
|
|
3290
|
+
}
|
|
3291
|
+
dislikes
|
|
3292
|
+
isLikedByMe
|
|
3293
|
+
questionId
|
|
3294
|
+
replies {
|
|
3295
|
+
id
|
|
3296
|
+
createdAt
|
|
3297
|
+
comment
|
|
3298
|
+
parentId
|
|
3299
|
+
user {
|
|
3300
|
+
id
|
|
3301
|
+
displayName
|
|
3302
|
+
}
|
|
3303
|
+
likes
|
|
3304
|
+
dislikes
|
|
3305
|
+
isLikedByMe
|
|
3306
|
+
questionId
|
|
3307
|
+
}
|
|
3308
|
+
}
|
|
3309
|
+
concept {
|
|
3310
|
+
id
|
|
3311
|
+
name
|
|
3312
|
+
status
|
|
3313
|
+
totalCards
|
|
3314
|
+
topic {
|
|
3315
|
+
id
|
|
3316
|
+
name
|
|
3317
|
+
typeId
|
|
3318
|
+
}
|
|
3319
|
+
chapter {
|
|
3320
|
+
id
|
|
3321
|
+
explanation
|
|
3322
|
+
pictures {
|
|
3323
|
+
id
|
|
3324
|
+
createdAt
|
|
3325
|
+
updatedAt
|
|
3326
|
+
name
|
|
3327
|
+
caption
|
|
3328
|
+
path
|
|
3329
|
+
path512
|
|
3330
|
+
path256
|
|
3331
|
+
index
|
|
3332
|
+
topicId
|
|
3333
|
+
}
|
|
3334
|
+
}
|
|
3335
|
+
videos {
|
|
3336
|
+
id
|
|
3337
|
+
status
|
|
3338
|
+
title
|
|
3339
|
+
museId
|
|
3340
|
+
startTime
|
|
3341
|
+
endTime
|
|
3342
|
+
thumbnail
|
|
3343
|
+
concepts {
|
|
3344
|
+
id
|
|
3345
|
+
name
|
|
3346
|
+
}
|
|
3347
|
+
live
|
|
3348
|
+
description
|
|
3349
|
+
duration
|
|
3350
|
+
}
|
|
3351
|
+
}
|
|
3352
|
+
pictures {
|
|
3353
|
+
id
|
|
3354
|
+
createdAt
|
|
3355
|
+
updatedAt
|
|
3356
|
+
name
|
|
3357
|
+
caption
|
|
3358
|
+
index
|
|
3359
|
+
path
|
|
3360
|
+
path512
|
|
3361
|
+
path256
|
|
3362
|
+
topicId
|
|
3363
|
+
}
|
|
3364
|
+
difficulty
|
|
3365
|
+
psaSectionId
|
|
3366
|
+
likes
|
|
3367
|
+
dislikes
|
|
3368
|
+
isLikedByMe
|
|
3369
|
+
qaAnswer: answer {
|
|
3370
|
+
dose
|
|
3371
|
+
units
|
|
3372
|
+
}
|
|
3373
|
+
}
|
|
3374
|
+
... on QuestionMultiA {
|
|
3375
|
+
conceptId
|
|
3376
|
+
difficulty
|
|
3377
|
+
dislikes
|
|
3378
|
+
explanation
|
|
3379
|
+
id
|
|
3380
|
+
isLikedByMe
|
|
3381
|
+
likes
|
|
3382
|
+
question
|
|
3383
|
+
totalVotes
|
|
3384
|
+
typeId
|
|
3385
|
+
highlights {
|
|
3386
|
+
start
|
|
3387
|
+
end
|
|
3388
|
+
text
|
|
3389
|
+
part
|
|
3390
|
+
tag
|
|
3391
|
+
color
|
|
3392
|
+
}
|
|
3393
|
+
choices {
|
|
3394
|
+
id
|
|
3395
|
+
explanation
|
|
3396
|
+
name
|
|
3397
|
+
label
|
|
3398
|
+
answer
|
|
3399
|
+
votes
|
|
3400
|
+
picture {
|
|
3401
|
+
id
|
|
3402
|
+
createdAt
|
|
3403
|
+
updatedAt
|
|
3404
|
+
name
|
|
3405
|
+
caption
|
|
3406
|
+
path
|
|
3407
|
+
path512
|
|
3408
|
+
path256
|
|
3409
|
+
}
|
|
3410
|
+
}
|
|
3411
|
+
comments {
|
|
3412
|
+
id
|
|
3413
|
+
createdAt
|
|
3414
|
+
comment
|
|
3415
|
+
parentId
|
|
3416
|
+
likes
|
|
3417
|
+
user {
|
|
3418
|
+
id
|
|
3419
|
+
displayName
|
|
3420
|
+
}
|
|
3421
|
+
dislikes
|
|
3422
|
+
isLikedByMe
|
|
3423
|
+
questionId
|
|
3424
|
+
replies {
|
|
3425
|
+
id
|
|
3426
|
+
createdAt
|
|
3427
|
+
comment
|
|
3428
|
+
parentId
|
|
3429
|
+
user {
|
|
3430
|
+
id
|
|
3431
|
+
displayName
|
|
3432
|
+
}
|
|
3433
|
+
likes
|
|
3434
|
+
dislikes
|
|
3435
|
+
isLikedByMe
|
|
3436
|
+
questionId
|
|
3437
|
+
}
|
|
3438
|
+
}
|
|
3439
|
+
concept {
|
|
3440
|
+
id
|
|
3441
|
+
name
|
|
3442
|
+
status
|
|
3443
|
+
totalCards
|
|
3444
|
+
topic {
|
|
3445
|
+
id
|
|
3446
|
+
name
|
|
3447
|
+
typeId
|
|
3448
|
+
}
|
|
3449
|
+
chapter {
|
|
3450
|
+
id
|
|
3451
|
+
explanation
|
|
3452
|
+
pictures {
|
|
3453
|
+
id
|
|
3454
|
+
createdAt
|
|
3455
|
+
updatedAt
|
|
3456
|
+
name
|
|
3457
|
+
caption
|
|
3458
|
+
path
|
|
3459
|
+
path512
|
|
3460
|
+
path256
|
|
3461
|
+
index
|
|
3462
|
+
topicId
|
|
3463
|
+
}
|
|
3464
|
+
}
|
|
3465
|
+
videos {
|
|
3466
|
+
id
|
|
3467
|
+
status
|
|
3468
|
+
title
|
|
3469
|
+
museId
|
|
3470
|
+
startTime
|
|
3471
|
+
endTime
|
|
3472
|
+
thumbnail
|
|
3473
|
+
concepts {
|
|
3474
|
+
id
|
|
3475
|
+
name
|
|
3476
|
+
}
|
|
3477
|
+
live
|
|
3478
|
+
description
|
|
3479
|
+
duration
|
|
3480
|
+
}
|
|
3481
|
+
}
|
|
3482
|
+
pictures {
|
|
3483
|
+
id
|
|
3484
|
+
createdAt
|
|
3485
|
+
updatedAt
|
|
3486
|
+
name
|
|
3487
|
+
index
|
|
3488
|
+
caption
|
|
3489
|
+
path
|
|
3490
|
+
path512
|
|
3491
|
+
path256
|
|
3492
|
+
topicId
|
|
3493
|
+
}
|
|
3494
|
+
difficulty
|
|
3495
|
+
psaSectionId
|
|
3496
|
+
likes
|
|
3497
|
+
dislikes
|
|
3498
|
+
isLikedByMe
|
|
3499
|
+
multiAnswer: answer
|
|
3500
|
+
}
|
|
3501
|
+
... on QuestionPrescription {
|
|
3502
|
+
conceptId
|
|
3503
|
+
difficulty
|
|
3504
|
+
dislikes
|
|
3505
|
+
explanation
|
|
3506
|
+
id
|
|
3507
|
+
isLikedByMe
|
|
3508
|
+
likes
|
|
3509
|
+
question
|
|
3510
|
+
totalVotes
|
|
3511
|
+
typeId
|
|
3512
|
+
highlights {
|
|
3513
|
+
start
|
|
3514
|
+
end
|
|
3515
|
+
text
|
|
3516
|
+
part
|
|
3517
|
+
tag
|
|
3518
|
+
color
|
|
3519
|
+
}
|
|
3520
|
+
choices {
|
|
3521
|
+
id
|
|
3522
|
+
explanation
|
|
3523
|
+
name
|
|
3524
|
+
label
|
|
3525
|
+
answer
|
|
3526
|
+
votes
|
|
3527
|
+
picture {
|
|
3528
|
+
id
|
|
3529
|
+
createdAt
|
|
3530
|
+
updatedAt
|
|
3531
|
+
name
|
|
3532
|
+
caption
|
|
3533
|
+
path
|
|
3534
|
+
path512
|
|
3535
|
+
path256
|
|
3536
|
+
}
|
|
3537
|
+
}
|
|
3538
|
+
comments {
|
|
3539
|
+
id
|
|
3540
|
+
createdAt
|
|
3541
|
+
comment
|
|
3542
|
+
parentId
|
|
3543
|
+
likes
|
|
3544
|
+
user {
|
|
3545
|
+
id
|
|
3546
|
+
displayName
|
|
3547
|
+
}
|
|
3548
|
+
dislikes
|
|
3549
|
+
isLikedByMe
|
|
3550
|
+
questionId
|
|
3551
|
+
replies {
|
|
3552
|
+
id
|
|
3553
|
+
createdAt
|
|
3554
|
+
comment
|
|
3555
|
+
parentId
|
|
3556
|
+
user {
|
|
3557
|
+
id
|
|
3558
|
+
displayName
|
|
3559
|
+
}
|
|
3560
|
+
likes
|
|
3561
|
+
dislikes
|
|
3562
|
+
isLikedByMe
|
|
3563
|
+
questionId
|
|
3564
|
+
}
|
|
3565
|
+
}
|
|
3566
|
+
concept {
|
|
3567
|
+
id
|
|
3568
|
+
name
|
|
3569
|
+
status
|
|
3570
|
+
totalCards
|
|
3571
|
+
topic {
|
|
3572
|
+
id
|
|
3573
|
+
name
|
|
3574
|
+
typeId
|
|
3575
|
+
}
|
|
3576
|
+
chapter {
|
|
3577
|
+
id
|
|
3578
|
+
explanation
|
|
3579
|
+
pictures {
|
|
3580
|
+
id
|
|
3581
|
+
createdAt
|
|
3582
|
+
updatedAt
|
|
3583
|
+
name
|
|
3584
|
+
caption
|
|
3585
|
+
path
|
|
3586
|
+
path512
|
|
3587
|
+
path256
|
|
3588
|
+
index
|
|
3589
|
+
topicId
|
|
3590
|
+
}
|
|
3591
|
+
}
|
|
3592
|
+
videos {
|
|
3593
|
+
id
|
|
3594
|
+
status
|
|
3595
|
+
title
|
|
3596
|
+
museId
|
|
3597
|
+
startTime
|
|
3598
|
+
endTime
|
|
3599
|
+
thumbnail
|
|
3600
|
+
concepts {
|
|
3601
|
+
id
|
|
3602
|
+
name
|
|
3603
|
+
}
|
|
3604
|
+
live
|
|
3605
|
+
description
|
|
3606
|
+
duration
|
|
3607
|
+
}
|
|
3608
|
+
}
|
|
3609
|
+
pictures {
|
|
3610
|
+
id
|
|
3611
|
+
createdAt
|
|
3612
|
+
updatedAt
|
|
3613
|
+
name
|
|
3614
|
+
index
|
|
3615
|
+
caption
|
|
3616
|
+
path
|
|
3617
|
+
path512
|
|
3618
|
+
path256
|
|
3619
|
+
topicId
|
|
3620
|
+
}
|
|
3621
|
+
difficulty
|
|
3622
|
+
psaSectionId
|
|
3623
|
+
likes
|
|
3624
|
+
dislikes
|
|
3625
|
+
isLikedByMe
|
|
3626
|
+
prescribeAnswer: answer {
|
|
3627
|
+
dose {
|
|
3628
|
+
value
|
|
3629
|
+
display
|
|
3630
|
+
}
|
|
3631
|
+
drug {
|
|
3632
|
+
value
|
|
3633
|
+
display
|
|
3634
|
+
}
|
|
3635
|
+
route {
|
|
3636
|
+
value
|
|
3637
|
+
display
|
|
3638
|
+
}
|
|
3639
|
+
frequency {
|
|
3640
|
+
display
|
|
3641
|
+
value
|
|
3642
|
+
}
|
|
3643
|
+
duration {
|
|
3644
|
+
display
|
|
3645
|
+
value
|
|
3646
|
+
}
|
|
3647
|
+
units {
|
|
3648
|
+
display
|
|
3649
|
+
value
|
|
3650
|
+
}
|
|
3651
|
+
}
|
|
3652
|
+
}
|
|
3653
|
+
... on QuestionEMQ {
|
|
3654
|
+
conceptId
|
|
3655
|
+
difficulty
|
|
3656
|
+
dislikes
|
|
3657
|
+
explanation
|
|
3658
|
+
id
|
|
3659
|
+
isLikedByMe
|
|
3660
|
+
likes
|
|
3661
|
+
question
|
|
3662
|
+
totalVotes
|
|
3663
|
+
typeId
|
|
3664
|
+
highlights {
|
|
3665
|
+
start
|
|
3666
|
+
end
|
|
3667
|
+
text
|
|
3668
|
+
part
|
|
3669
|
+
tag
|
|
3670
|
+
color
|
|
3671
|
+
}
|
|
3672
|
+
cases {
|
|
3673
|
+
id
|
|
3674
|
+
questionId
|
|
3675
|
+
case
|
|
3676
|
+
explanation
|
|
3677
|
+
label
|
|
3678
|
+
}
|
|
3679
|
+
choices {
|
|
3680
|
+
id
|
|
3681
|
+
explanation
|
|
3682
|
+
name
|
|
3683
|
+
label
|
|
3684
|
+
answer
|
|
3685
|
+
votes
|
|
3686
|
+
picture {
|
|
3687
|
+
id
|
|
3688
|
+
createdAt
|
|
3689
|
+
updatedAt
|
|
3690
|
+
name
|
|
3691
|
+
caption
|
|
3692
|
+
path
|
|
3693
|
+
path512
|
|
3694
|
+
path256
|
|
3695
|
+
}
|
|
3696
|
+
}
|
|
3697
|
+
comments {
|
|
3698
|
+
id
|
|
3699
|
+
createdAt
|
|
3700
|
+
comment
|
|
3701
|
+
parentId
|
|
3702
|
+
likes
|
|
3703
|
+
user {
|
|
3704
|
+
id
|
|
3705
|
+
displayName
|
|
3706
|
+
}
|
|
3707
|
+
dislikes
|
|
3708
|
+
isLikedByMe
|
|
3709
|
+
questionId
|
|
3710
|
+
replies {
|
|
3711
|
+
id
|
|
3712
|
+
createdAt
|
|
3713
|
+
comment
|
|
3714
|
+
parentId
|
|
3715
|
+
user {
|
|
3716
|
+
id
|
|
3717
|
+
displayName
|
|
3718
|
+
}
|
|
3719
|
+
likes
|
|
3720
|
+
dislikes
|
|
3721
|
+
isLikedByMe
|
|
3722
|
+
questionId
|
|
3723
|
+
}
|
|
3724
|
+
}
|
|
3725
|
+
concept {
|
|
3726
|
+
id
|
|
3727
|
+
name
|
|
3728
|
+
status
|
|
3729
|
+
totalCards
|
|
3730
|
+
topic {
|
|
3731
|
+
id
|
|
3732
|
+
name
|
|
3733
|
+
typeId
|
|
3734
|
+
}
|
|
3735
|
+
chapter {
|
|
3736
|
+
id
|
|
3737
|
+
explanation
|
|
3738
|
+
pictures {
|
|
3739
|
+
id
|
|
3740
|
+
createdAt
|
|
3741
|
+
updatedAt
|
|
3742
|
+
name
|
|
3743
|
+
caption
|
|
3744
|
+
path
|
|
3745
|
+
path512
|
|
3746
|
+
path256
|
|
3747
|
+
index
|
|
3748
|
+
topicId
|
|
3749
|
+
}
|
|
3750
|
+
}
|
|
3751
|
+
videos {
|
|
3752
|
+
id
|
|
3753
|
+
status
|
|
3754
|
+
title
|
|
3755
|
+
museId
|
|
3756
|
+
startTime
|
|
3757
|
+
endTime
|
|
3758
|
+
thumbnail
|
|
3759
|
+
concepts {
|
|
3760
|
+
id
|
|
3761
|
+
name
|
|
3762
|
+
}
|
|
3763
|
+
live
|
|
3764
|
+
description
|
|
3765
|
+
duration
|
|
3766
|
+
}
|
|
3767
|
+
}
|
|
3768
|
+
pictures {
|
|
3769
|
+
id
|
|
3770
|
+
createdAt
|
|
3771
|
+
updatedAt
|
|
3772
|
+
name
|
|
3773
|
+
index
|
|
3774
|
+
caption
|
|
3775
|
+
path
|
|
3776
|
+
path512
|
|
3777
|
+
path256
|
|
3778
|
+
topicId
|
|
3779
|
+
}
|
|
3780
|
+
difficulty
|
|
3781
|
+
psaSectionId
|
|
3782
|
+
likes
|
|
3783
|
+
dislikes
|
|
3784
|
+
isLikedByMe
|
|
3785
|
+
emqAnswer: answer
|
|
3786
|
+
}
|
|
3787
|
+
... on QuestionRanking {
|
|
3788
|
+
conceptId
|
|
3789
|
+
difficulty
|
|
3790
|
+
dislikes
|
|
3791
|
+
explanation
|
|
3792
|
+
id
|
|
3793
|
+
isLikedByMe
|
|
3794
|
+
likes
|
|
3795
|
+
question
|
|
3796
|
+
totalVotes
|
|
3797
|
+
typeId
|
|
3798
|
+
highlights {
|
|
3799
|
+
start
|
|
3800
|
+
end
|
|
3801
|
+
text
|
|
3802
|
+
part
|
|
3803
|
+
tag
|
|
3804
|
+
color
|
|
3805
|
+
}
|
|
3806
|
+
choices {
|
|
3807
|
+
id
|
|
3808
|
+
explanation
|
|
3809
|
+
name
|
|
3810
|
+
label
|
|
3811
|
+
answer
|
|
3812
|
+
votes
|
|
3813
|
+
picture {
|
|
3814
|
+
id
|
|
3815
|
+
createdAt
|
|
3816
|
+
updatedAt
|
|
3817
|
+
name
|
|
3818
|
+
caption
|
|
3819
|
+
path
|
|
3820
|
+
path512
|
|
3821
|
+
path256
|
|
3822
|
+
}
|
|
3823
|
+
}
|
|
3824
|
+
comments {
|
|
3825
|
+
id
|
|
3826
|
+
createdAt
|
|
3827
|
+
comment
|
|
3828
|
+
parentId
|
|
3829
|
+
likes
|
|
3830
|
+
user {
|
|
3831
|
+
id
|
|
3832
|
+
displayName
|
|
3833
|
+
}
|
|
3834
|
+
dislikes
|
|
3835
|
+
isLikedByMe
|
|
3836
|
+
questionId
|
|
3837
|
+
replies {
|
|
3838
|
+
id
|
|
3839
|
+
createdAt
|
|
3840
|
+
comment
|
|
3841
|
+
parentId
|
|
3842
|
+
user {
|
|
3843
|
+
id
|
|
3844
|
+
displayName
|
|
3845
|
+
}
|
|
3846
|
+
likes
|
|
3847
|
+
dislikes
|
|
3848
|
+
isLikedByMe
|
|
3849
|
+
questionId
|
|
3850
|
+
}
|
|
3851
|
+
}
|
|
3852
|
+
concept {
|
|
3853
|
+
id
|
|
3854
|
+
name
|
|
3855
|
+
status
|
|
3856
|
+
totalCards
|
|
3857
|
+
topic {
|
|
3858
|
+
id
|
|
3859
|
+
name
|
|
3860
|
+
typeId
|
|
3861
|
+
}
|
|
3862
|
+
chapter {
|
|
3863
|
+
id
|
|
3864
|
+
explanation
|
|
3865
|
+
pictures {
|
|
3866
|
+
id
|
|
3867
|
+
createdAt
|
|
3868
|
+
updatedAt
|
|
3869
|
+
name
|
|
3870
|
+
caption
|
|
3871
|
+
path
|
|
3872
|
+
path512
|
|
3873
|
+
path256
|
|
3874
|
+
index
|
|
3875
|
+
topicId
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3878
|
+
videos {
|
|
3879
|
+
id
|
|
3880
|
+
status
|
|
3881
|
+
title
|
|
3882
|
+
museId
|
|
3883
|
+
startTime
|
|
3884
|
+
endTime
|
|
3885
|
+
thumbnail
|
|
3886
|
+
concepts {
|
|
3887
|
+
id
|
|
3888
|
+
name
|
|
3889
|
+
}
|
|
3890
|
+
live
|
|
3891
|
+
description
|
|
3892
|
+
duration
|
|
3893
|
+
}
|
|
3894
|
+
}
|
|
3895
|
+
pictures {
|
|
3896
|
+
id
|
|
3897
|
+
createdAt
|
|
3898
|
+
updatedAt
|
|
3899
|
+
name
|
|
3900
|
+
index
|
|
3901
|
+
caption
|
|
3902
|
+
path
|
|
3903
|
+
path512
|
|
3904
|
+
path256
|
|
3905
|
+
topicId
|
|
3906
|
+
}
|
|
3907
|
+
difficulty
|
|
3908
|
+
psaSectionId
|
|
3909
|
+
likes
|
|
3910
|
+
dislikes
|
|
3911
|
+
isLikedByMe
|
|
3912
|
+
rankingAnswer: answer
|
|
3913
|
+
}
|
|
3914
|
+
... on QuestionSelect3 {
|
|
3915
|
+
conceptId
|
|
3916
|
+
difficulty
|
|
3917
|
+
dislikes
|
|
3918
|
+
explanation
|
|
3919
|
+
id
|
|
3920
|
+
isLikedByMe
|
|
3921
|
+
likes
|
|
3922
|
+
question
|
|
3923
|
+
totalVotes
|
|
3924
|
+
typeId
|
|
3925
|
+
highlights {
|
|
3926
|
+
start
|
|
3927
|
+
end
|
|
3928
|
+
text
|
|
3929
|
+
part
|
|
3930
|
+
tag
|
|
3931
|
+
color
|
|
3932
|
+
}
|
|
3933
|
+
choices {
|
|
3934
|
+
id
|
|
3935
|
+
explanation
|
|
3936
|
+
name
|
|
3937
|
+
label
|
|
3938
|
+
answer
|
|
3939
|
+
votes
|
|
3940
|
+
picture {
|
|
3941
|
+
id
|
|
3942
|
+
createdAt
|
|
3943
|
+
updatedAt
|
|
3944
|
+
name
|
|
3945
|
+
caption
|
|
3946
|
+
path
|
|
3947
|
+
path512
|
|
3948
|
+
path256
|
|
3949
|
+
}
|
|
3950
|
+
}
|
|
3951
|
+
comments {
|
|
3952
|
+
id
|
|
3953
|
+
createdAt
|
|
3954
|
+
comment
|
|
3955
|
+
parentId
|
|
3956
|
+
likes
|
|
3957
|
+
user {
|
|
3958
|
+
id
|
|
3959
|
+
displayName
|
|
3960
|
+
}
|
|
3961
|
+
dislikes
|
|
3962
|
+
isLikedByMe
|
|
3963
|
+
questionId
|
|
3964
|
+
replies {
|
|
3965
|
+
id
|
|
3966
|
+
createdAt
|
|
3967
|
+
comment
|
|
3968
|
+
parentId
|
|
3969
|
+
user {
|
|
3970
|
+
id
|
|
3971
|
+
displayName
|
|
3972
|
+
}
|
|
3973
|
+
likes
|
|
3974
|
+
dislikes
|
|
3975
|
+
isLikedByMe
|
|
3976
|
+
questionId
|
|
3977
|
+
}
|
|
3978
|
+
}
|
|
3979
|
+
concept {
|
|
3980
|
+
id
|
|
3981
|
+
name
|
|
3982
|
+
status
|
|
3983
|
+
totalCards
|
|
3984
|
+
topic {
|
|
3985
|
+
id
|
|
3986
|
+
name
|
|
3987
|
+
typeId
|
|
3988
|
+
}
|
|
3989
|
+
chapter {
|
|
3990
|
+
id
|
|
3991
|
+
explanation
|
|
3992
|
+
pictures {
|
|
3993
|
+
id
|
|
3994
|
+
createdAt
|
|
3995
|
+
updatedAt
|
|
3996
|
+
name
|
|
3997
|
+
caption
|
|
3998
|
+
path
|
|
3999
|
+
path512
|
|
4000
|
+
path256
|
|
4001
|
+
index
|
|
4002
|
+
topicId
|
|
4003
|
+
}
|
|
4004
|
+
}
|
|
4005
|
+
videos {
|
|
4006
|
+
id
|
|
4007
|
+
status
|
|
4008
|
+
title
|
|
4009
|
+
museId
|
|
4010
|
+
startTime
|
|
4011
|
+
endTime
|
|
4012
|
+
thumbnail
|
|
4013
|
+
concepts {
|
|
4014
|
+
id
|
|
4015
|
+
name
|
|
4016
|
+
}
|
|
4017
|
+
live
|
|
4018
|
+
description
|
|
4019
|
+
duration
|
|
4020
|
+
}
|
|
4021
|
+
}
|
|
4022
|
+
pictures {
|
|
4023
|
+
id
|
|
4024
|
+
createdAt
|
|
4025
|
+
updatedAt
|
|
4026
|
+
name
|
|
4027
|
+
index
|
|
4028
|
+
caption
|
|
4029
|
+
path
|
|
4030
|
+
path512
|
|
4031
|
+
path256
|
|
4032
|
+
topicId
|
|
4033
|
+
}
|
|
4034
|
+
difficulty
|
|
4035
|
+
psaSectionId
|
|
4036
|
+
likes
|
|
4037
|
+
dislikes
|
|
4038
|
+
isLikedByMe
|
|
4039
|
+
select3Answer: answer
|
|
4040
|
+
}
|
|
4041
|
+
}
|
|
4042
|
+
}
|
|
4043
|
+
mockTestId
|
|
4044
|
+
correct
|
|
4045
|
+
incorrect
|
|
4046
|
+
totalQuestions
|
|
4047
|
+
isTestMarksheet
|
|
4048
|
+
}
|
|
4049
|
+
}
|
|
4050
|
+
}
|
|
4051
|
+
`;
|
|
3055
4052
|
/**
|
|
3056
4053
|
* saveMarksheets
|
|
3057
4054
|
*/
|