@pocketprep/types 1.13.54 → 1.13.55
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 +3 -0
- package/CMS/Cloud.d.ts +2 -0
- package/Study/Class.d.ts +3 -1
- package/package.json +1 -1
package/CMS/Class.d.ts
CHANGED
|
@@ -13,6 +13,8 @@ export interface IMatrixLabels{
|
|
|
13
13
|
columns: string[]
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
export type TPassageLabel = 'Passage' | 'Case Study' | 'Patient Data' | 'Scenario'
|
|
17
|
+
|
|
16
18
|
export type QuestionDraft = Parse.Object<{
|
|
17
19
|
prompt?: string
|
|
18
20
|
examDataId?: string
|
|
@@ -62,6 +64,7 @@ export type QuestionDraft = Parse.Object<{
|
|
|
62
64
|
lastUpdatedBy?: CMS.Class.User | Parse.Pointer
|
|
63
65
|
matrixLabels?: IMatrixLabels
|
|
64
66
|
matrixChoiceLayout?: string[][]
|
|
67
|
+
passageLabel?: TPassageLabel
|
|
65
68
|
}>
|
|
66
69
|
|
|
67
70
|
export type QuestionDraftJSON = ReturnType<QuestionDraft['toJSON']>
|
package/CMS/Cloud.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
S3Manifest,
|
|
6
6
|
QuestionHistoryJSON,
|
|
7
7
|
QuestionStats,
|
|
8
|
+
TPassageLabel,
|
|
8
9
|
} from './Class'
|
|
9
10
|
import {
|
|
10
11
|
GlobalQuestionMetricJSON,
|
|
@@ -102,6 +103,7 @@ export interface ExportableQuestion {
|
|
|
102
103
|
longAltText?: string
|
|
103
104
|
}
|
|
104
105
|
}
|
|
106
|
+
'Passage Label'?: TPassageLabel
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
export interface ExportData {
|
package/Study/Class.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IQuizAnswer, IStreakInfo, TChoiceKey } from './Cloud'
|
|
2
|
-
import { Payload, Teach } from '../index'
|
|
2
|
+
import { Payload, Teach, CMS } from '../index'
|
|
3
3
|
|
|
4
4
|
export type MagicToken = Parse.Object<{
|
|
5
5
|
code: string
|
|
@@ -400,6 +400,7 @@ export type Question = Parse.Object<{
|
|
|
400
400
|
isArchived: boolean
|
|
401
401
|
isFree: boolean
|
|
402
402
|
isMockQuestion: boolean
|
|
403
|
+
passageLabel?: CMS.Class.TPassageLabel
|
|
403
404
|
}>
|
|
404
405
|
|
|
405
406
|
export type QuestionJSON = ReturnType<Question['toJSON']>
|
|
@@ -467,6 +468,7 @@ export type ExamData = Parse.Object<{
|
|
|
467
468
|
type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False' | 'Matrix Checkbox' | 'Matrix Radio Button'
|
|
468
469
|
subCategory?: string
|
|
469
470
|
isMockQuestion?: boolean
|
|
471
|
+
passageLabel?: CMS.Class.TPassageLabel
|
|
470
472
|
}>
|
|
471
473
|
|
|
472
474
|
export type ExamDataJSON = ReturnType<ExamData['toJSON']>
|