@pocketprep/types 1.15.4 → 1.15.6
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 +14 -1
- package/CMS/Cloud.d.ts +1 -0
- package/Study/Class.d.ts +5 -0
- package/package.json +1 -1
package/CMS/Class.d.ts
CHANGED
|
@@ -13,6 +13,11 @@ export interface IMatrixLabels{
|
|
|
13
13
|
columns: string[]
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
export interface IMPMCLabels{
|
|
17
|
+
label: string
|
|
18
|
+
choices: string[] // d1, d2, d3, a1, etc.
|
|
19
|
+
}
|
|
20
|
+
|
|
16
21
|
export type TPassageLabel = 'Passage' | 'Case Study' | 'Patient Data' | 'Scenario'
|
|
17
22
|
|
|
18
23
|
export type QuestionDraft = Parse.Object<{
|
|
@@ -25,7 +30,8 @@ export type QuestionDraft = Parse.Object<{
|
|
|
25
30
|
bloomTaxonomyLevel?: Study.Class.BloomTaxonomyLevel
|
|
26
31
|
references?: string[]
|
|
27
32
|
explanation?: string
|
|
28
|
-
type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False' | 'Matrix Checkbox' | 'Matrix Radio Button'
|
|
33
|
+
type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False' | 'Matrix Checkbox' | 'Matrix Radio Button'
|
|
34
|
+
| 'Multi-Part Multiple Choice' | 'Build List'
|
|
29
35
|
jobStatus?: 'Writer' | 'Editor' | 'Completed'
|
|
30
36
|
isArchived: boolean
|
|
31
37
|
job?: Job | Parse.Pointer
|
|
@@ -67,6 +73,7 @@ export type QuestionDraft = Parse.Object<{
|
|
|
67
73
|
matrixLabels?: IMatrixLabels
|
|
68
74
|
matrixChoiceLayout?: string[][]
|
|
69
75
|
passageLabel?: TPassageLabel
|
|
76
|
+
mpmcLabels?: IMPMCLabels[]
|
|
70
77
|
}>
|
|
71
78
|
|
|
72
79
|
export type QuestionDraftJSON = ReturnType<QuestionDraft['toJSON']>
|
|
@@ -209,6 +216,12 @@ export interface IAllowedQuestionTypes {
|
|
|
209
216
|
tf: {
|
|
210
217
|
allowed: boolean
|
|
211
218
|
}
|
|
219
|
+
bl: {
|
|
220
|
+
allowed: boolean
|
|
221
|
+
}
|
|
222
|
+
mpmc: {
|
|
223
|
+
allowed: boolean
|
|
224
|
+
}
|
|
212
225
|
}
|
|
213
226
|
|
|
214
227
|
export interface ISupplementalInfoLabels {
|
package/CMS/Cloud.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ export interface JobWithMetrics {
|
|
|
61
61
|
export interface ExportableQuestion {
|
|
62
62
|
'Serial': string
|
|
63
63
|
'Type': 'Multiple Choice' | 'Multiple Correct Response' | 'True/False' | 'Matrix Checkbox' | 'Matrix Radio Button'
|
|
64
|
+
| 'Multi-Part Multiple Choice' | 'Build List'
|
|
64
65
|
'Status': 'Archived' | 'Complete'
|
|
65
66
|
'Classic': 1 | 0
|
|
66
67
|
'Is Special': 1 | 0
|
package/Study/Class.d.ts
CHANGED
|
@@ -380,6 +380,7 @@ export type UserWebConfig = {
|
|
|
380
380
|
version: string // user's version when message was seen
|
|
381
381
|
timestamp: number // unix timestamp
|
|
382
382
|
}[]
|
|
383
|
+
hasSeenSeatDetailsCount?: number
|
|
383
384
|
}
|
|
384
385
|
|
|
385
386
|
export type UserQuizSettings = {
|
|
@@ -442,6 +443,7 @@ export type Question = Parse.Object<{
|
|
|
442
443
|
text?: string
|
|
443
444
|
isCorrect: boolean
|
|
444
445
|
id: string
|
|
446
|
+
labelIndex?: number
|
|
445
447
|
}[]
|
|
446
448
|
passage?: string
|
|
447
449
|
passageImage?: {
|
|
@@ -460,6 +462,7 @@ export type Question = Parse.Object<{
|
|
|
460
462
|
examMetadata: ExamMetadata | Parse.Pointer
|
|
461
463
|
compositeKey: string // leaving this for now as a replacement for `dirty` but will revisit later
|
|
462
464
|
type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False' | 'Matrix Checkbox' | 'Matrix Radio Button'
|
|
465
|
+
| 'Multi-Part Multiple Choice' | 'Build List'
|
|
463
466
|
addedDate: Date
|
|
464
467
|
isArchived: boolean
|
|
465
468
|
isFree: boolean
|
|
@@ -468,6 +471,7 @@ export type Question = Parse.Object<{
|
|
|
468
471
|
matrixLabels?: CMS.Class.IMatrixLabels
|
|
469
472
|
matrixChoiceLayout?: string[][]
|
|
470
473
|
passageLabel?: CMS.Class.TPassageLabel
|
|
474
|
+
mpmcLabels?: CMS.Class.IMPMCLabels[]
|
|
471
475
|
}>
|
|
472
476
|
|
|
473
477
|
export type QuestionJSON = ReturnType<Question['toJSON']>
|
|
@@ -547,6 +551,7 @@ export type ExamData = Parse.Object<{
|
|
|
547
551
|
}
|
|
548
552
|
explanation?: string
|
|
549
553
|
type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False' | 'Matrix Checkbox' | 'Matrix Radio Button'
|
|
554
|
+
| 'Multi-Part Multiple Choice' | 'Build List'
|
|
550
555
|
subCategory?: string
|
|
551
556
|
isMockQuestion?: boolean
|
|
552
557
|
passageLabel?: CMS.Class.TPassageLabel
|