@pocketprep/types 1.13.44 → 1.13.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.
- package/CMS/Class.d.ts +23 -0
- package/CMS/Cloud.d.ts +10 -1
- package/package.json +1 -1
package/CMS/Class.d.ts
CHANGED
|
@@ -164,11 +164,32 @@ export interface IAllowedQuestionTypes {
|
|
|
164
164
|
mcr: {
|
|
165
165
|
allowed: boolean
|
|
166
166
|
}
|
|
167
|
+
mcb: {
|
|
168
|
+
allowed: boolean
|
|
169
|
+
}
|
|
170
|
+
mrb: {
|
|
171
|
+
allowed: boolean
|
|
172
|
+
}
|
|
167
173
|
tf: {
|
|
168
174
|
allowed: boolean
|
|
169
175
|
}
|
|
170
176
|
}
|
|
171
177
|
|
|
178
|
+
export interface ISupplementalInfoLabels {
|
|
179
|
+
caseStudy: {
|
|
180
|
+
checked: boolean
|
|
181
|
+
}
|
|
182
|
+
passage: {
|
|
183
|
+
checked: boolean
|
|
184
|
+
}
|
|
185
|
+
patientData: {
|
|
186
|
+
checked: boolean
|
|
187
|
+
}
|
|
188
|
+
scenario: {
|
|
189
|
+
checked: boolean
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
172
193
|
export type Job = Parse.Object<{
|
|
173
194
|
isCompleted: boolean
|
|
174
195
|
examDraft: ExamDraft
|
|
@@ -194,6 +215,8 @@ export type Job = Parse.Object<{
|
|
|
194
215
|
allowedQuestionTypes: IAllowedQuestionTypes
|
|
195
216
|
mockExamDraft?: Parse.Pointer | MockExamDraft
|
|
196
217
|
runPlagiarismCheck: boolean
|
|
218
|
+
allowScenarios?: boolean
|
|
219
|
+
supplementalInfoLabels?: ISupplementalInfoLabels
|
|
197
220
|
}>
|
|
198
221
|
|
|
199
222
|
export type JobJSON = ReturnType<Job['toJSON']>
|
package/CMS/Cloud.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
QuestionDraftJSON,
|
|
3
|
+
IAllowedQuestionTypes,
|
|
4
|
+
ISupplementalInfoLabels,
|
|
5
|
+
S3Manifest,
|
|
6
|
+
QuestionHistoryJSON,
|
|
7
|
+
QuestionStats,
|
|
8
|
+
} from './Class'
|
|
2
9
|
import {
|
|
3
10
|
GlobalQuestionMetricJSON,
|
|
4
11
|
Bundle,
|
|
@@ -44,6 +51,8 @@ export interface JobWithMetrics {
|
|
|
44
51
|
editorPercent?: number
|
|
45
52
|
mockExamDraftId?: string
|
|
46
53
|
runPlagiarismCheck: boolean
|
|
54
|
+
allowScenarios?: boolean
|
|
55
|
+
supplementalInfoLabels?: ISupplementalInfoLabels
|
|
47
56
|
}
|
|
48
57
|
export interface ExportableQuestion {
|
|
49
58
|
'Serial': string
|