@pocketprep/types 1.19.5 → 1.19.7

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
@@ -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,
@@ -397,4 +398,12 @@ export type ExamExportLogPayload = Omit<ExamExportLogJSON, 'user' | 'objectId' |
397
398
 
398
399
  export type createExamExportLog = (params: ExamExportLogPayload) => void
399
400
 
400
- export type fetchLatestExamExportLogs = () => { [examMetadataId: string]: ExamExportLogJSON }
401
+ export type fetchLatestExamExportLogs = () => { [examMetadataId: string]: ExamExportLogJSON }
402
+
403
+ export type ExamContentPlanPayload = Omit<ExamContentPlanJSON, 'objectId' | 'createdAt' | 'updatedAt'>
404
+
405
+ export type upsertExamContentPlan = (params: ExamContentPlanPayload) => ExamContentPlanJSON
406
+
407
+ export type fetchExamContentPlans = () => ExamContentPlanJSON[]
408
+
409
+ export type fetchExamContentPlanForExamGuid = (params: { examGuid: string }) => ExamContentPlanJSON
package/Study/Class.d.ts CHANGED
@@ -52,6 +52,7 @@ export type RecommendationConfig = Parse.Object<Partial<RecommendationCTA> & {
52
52
  cadence: number
53
53
  premiumRequirement: PremiumRequirement
54
54
  ineligibleAfterQuizModes?: number[]
55
+ mobileButtonLabel?: string
55
56
  }>
56
57
 
57
58
  export type RecommendationTip = Omit<Recommendation, 'config'>
@@ -94,6 +95,7 @@ export type Quiz = Parse.Object<{
94
95
  examMetadata?: ExamMetadata | Parse.Pointer
95
96
  readiness?: ReadinessModelData[]
96
97
  recommendationConfig?: RecommendationConfig
98
+ secondaryRecommendationConfig?: RecommendationConfig
97
99
  }>
98
100
 
99
101
  export type QuizJSON = ReturnType<Quiz['toJSON']>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.19.5",
3
+ "version": "1.19.7",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",