@pocketprep/types 1.13.50 → 1.13.52
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 +9 -1
- package/Study/Class.d.ts +11 -1
- package/package.json +1 -1
package/CMS/Class.d.ts
CHANGED
|
@@ -7,6 +7,12 @@ export interface ICopyleaksScore {
|
|
|
7
7
|
aggregatedScore: number
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
+
export interface IMatrixLabels{
|
|
11
|
+
columnLabelForRows: string
|
|
12
|
+
rows: string[]
|
|
13
|
+
columns: string[]
|
|
14
|
+
}
|
|
15
|
+
|
|
10
16
|
export type QuestionDraft = Parse.Object<{
|
|
11
17
|
prompt?: string
|
|
12
18
|
examDataId?: string
|
|
@@ -17,7 +23,7 @@ export type QuestionDraft = Parse.Object<{
|
|
|
17
23
|
bloomTaxonomyLevel?: Study.Class.BloomTaxonomyLevel
|
|
18
24
|
references?: string[]
|
|
19
25
|
explanation?: string
|
|
20
|
-
type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False'
|
|
26
|
+
type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False' | 'Matrix Checkbox' | 'Matrix Radio Button'
|
|
21
27
|
jobStatus?: 'Writer' | 'Editor' | 'Completed'
|
|
22
28
|
isArchived: boolean
|
|
23
29
|
job?: Job | Parse.Pointer
|
|
@@ -54,6 +60,8 @@ export type QuestionDraft = Parse.Object<{
|
|
|
54
60
|
copyleaksId?: string
|
|
55
61
|
copyleaksScore?: ICopyleaksScore
|
|
56
62
|
lastUpdatedBy?: CMS.Class.User | Parse.Pointer
|
|
63
|
+
matrixLabels?: IMatrixLabels
|
|
64
|
+
matrixChoiceLayout?: string[][]
|
|
57
65
|
}>
|
|
58
66
|
|
|
59
67
|
export type QuestionDraftJSON = ReturnType<QuestionDraft['toJSON']>
|
package/Study/Class.d.ts
CHANGED
|
@@ -400,11 +400,21 @@ export type Question = Parse.Object<{
|
|
|
400
400
|
isArchived: boolean
|
|
401
401
|
isFree: boolean
|
|
402
402
|
isMockQuestion: boolean
|
|
403
|
-
keywords?: string[]
|
|
404
403
|
}>
|
|
405
404
|
|
|
406
405
|
export type QuestionJSON = ReturnType<Question['toJSON']>
|
|
407
406
|
|
|
407
|
+
export type KeywordDefinition = Parse.Object<{
|
|
408
|
+
examGuid: string
|
|
409
|
+
serial: string
|
|
410
|
+
keyword: string
|
|
411
|
+
definition: string
|
|
412
|
+
voteCountHelpful: number
|
|
413
|
+
voteCountUnhelpful: number
|
|
414
|
+
}>
|
|
415
|
+
|
|
416
|
+
export type KeywordDefinitionJSON = ReturnType<KeywordDefinition['toJSON']>
|
|
417
|
+
|
|
408
418
|
export type ExamData = Parse.Object<{
|
|
409
419
|
archived?: 0 | 1
|
|
410
420
|
lastUpdated?: string // A date-formatted string...
|