@pocketprep/types 1.13.53 → 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 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
@@ -23,7 +25,7 @@ export type QuestionDraft = Parse.Object<{
23
25
  bloomTaxonomyLevel?: Study.Class.BloomTaxonomyLevel
24
26
  references?: string[]
25
27
  explanation?: string
26
- type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False' | 'Matrix Checkbox' | 'Matrix Radio Button'
28
+ type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False' | 'Matrix Checkbox' | 'Matrix Radio Button'
27
29
  jobStatus?: 'Writer' | 'Editor' | 'Completed'
28
30
  isArchived: boolean
29
31
  job?: Job | Parse.Pointer
@@ -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
@@ -395,11 +395,12 @@ export type Question = Parse.Object<{
395
395
  serial: string
396
396
  examMetadata: ExamMetadata | Parse.Pointer
397
397
  compositeKey: string // leaving this for now as a replacement for `dirty` but will revisit later
398
- type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False'
398
+ type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False' | 'Matrix Checkbox' | 'Matrix Radio Button'
399
399
  addedDate: Date
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']>
@@ -464,9 +465,10 @@ export type ExamData = Parse.Object<{
464
465
  }
465
466
  }
466
467
  explanation?: string
467
- type: 'Multiple Choice' | 'Multiple Correct Response' | 'True/False'
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']>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.13.53",
3
+ "version": "1.13.55",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",