@pocketprep/types 1.19.6 → 1.19.8
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 +20 -1
- package/CMS/Cloud.d.ts +12 -1
- package/package.json +1 -1
package/CMS/Class.d.ts
CHANGED
|
@@ -373,4 +373,23 @@ export type ExamExportLog = Parse.Object<{
|
|
|
373
373
|
mockExams: ExamExportMockExam[]
|
|
374
374
|
} & ExamExportQuestionTypeCounts>
|
|
375
375
|
|
|
376
|
-
export type ExamExportLogJSON = ReturnType<ExamExportLog['toJSON']>
|
|
376
|
+
export type ExamExportLogJSON = ReturnType<ExamExportLog['toJSON']>
|
|
377
|
+
|
|
378
|
+
export type ExamContentPlan = Parse.Object<{
|
|
379
|
+
examGuid: string
|
|
380
|
+
keywordStyling?: 'uppercase' | 'bold' | 'uppercase/bold' | 'none'
|
|
381
|
+
planningStartDate?: Date
|
|
382
|
+
expectedExportDate?: Date
|
|
383
|
+
outlineDate?: Date
|
|
384
|
+
newOutline?: boolean
|
|
385
|
+
versionFrequency?: 'annually' | '2years' | '3years' | '4years' | '5years' | 'unknown'
|
|
386
|
+
objectives?: ('newExam' | 'newMockExam' | 'newQuestions'
|
|
387
|
+
| 'communityScoreReview' | 'qualityReview' | 'examOutlineUpdates'
|
|
388
|
+
| 'memberConcern' | 'referenceUpdate' | 'other')[]
|
|
389
|
+
upcomingJobSummary?: string
|
|
390
|
+
expectedExport?: 'major' | 'minor' | 'patch'
|
|
391
|
+
examLinks?: string
|
|
392
|
+
lead?: User | Parse.Pointer
|
|
393
|
+
}>
|
|
394
|
+
|
|
395
|
+
export type ExamContentPlanJSON = ReturnType<ExamContentPlan['toJSON']>
|
package/CMS/Cloud.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
MockExamDraftJSON,
|
|
12
12
|
ExamDraftJSON,
|
|
13
13
|
ExamExportLogJSON,
|
|
14
|
+
ExamContentPlanJSON,
|
|
14
15
|
} from './Class'
|
|
15
16
|
import {
|
|
16
17
|
GlobalQuestionMetricJSON,
|
|
@@ -171,6 +172,8 @@ export type createBundle = (params: BundlePayload) => string
|
|
|
171
172
|
|
|
172
173
|
export type fetchExams = () => ExamMetadata[]
|
|
173
174
|
|
|
175
|
+
export type fetchExamsForExamGuid = (params: {examGuid: string}) => ExamMetadata[]
|
|
176
|
+
|
|
174
177
|
export type fetchMockExams = (params: { examMetadataId?: string }) => MockExam[]
|
|
175
178
|
|
|
176
179
|
export type fetchExam = (params: { examId: string }) => ExamMetadata | undefined
|
|
@@ -397,4 +400,12 @@ export type ExamExportLogPayload = Omit<ExamExportLogJSON, 'user' | 'objectId' |
|
|
|
397
400
|
|
|
398
401
|
export type createExamExportLog = (params: ExamExportLogPayload) => void
|
|
399
402
|
|
|
400
|
-
export type fetchLatestExamExportLogs = () => { [examMetadataId: string]: ExamExportLogJSON }
|
|
403
|
+
export type fetchLatestExamExportLogs = () => { [examMetadataId: string]: ExamExportLogJSON }
|
|
404
|
+
|
|
405
|
+
export type ExamContentPlanPayload = Omit<ExamContentPlanJSON, 'objectId' | 'createdAt' | 'updatedAt'>
|
|
406
|
+
|
|
407
|
+
export type upsertExamContentPlan = (params: ExamContentPlanPayload) => ExamContentPlanJSON
|
|
408
|
+
|
|
409
|
+
export type fetchExamContentPlans = () => ExamContentPlanJSON[]
|
|
410
|
+
|
|
411
|
+
export type fetchExamContentPlanForExamGuid = (params: { examGuid: string }) => ExamContentPlanJSON
|