@pocketprep/types 1.15.22 → 1.15.24

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.
Files changed (2) hide show
  1. package/Study/Cloud.d.ts +9 -4
  2. package/package.json +1 -1
package/Study/Cloud.d.ts CHANGED
@@ -97,7 +97,7 @@ export interface IRecordQuizPayload {
97
97
  appBundleId?: string
98
98
  prebuiltQuizId?: string
99
99
  examMetadataId?: string
100
- quizStartedFromRecommendation?: string // Readiness Squad experiment variable. This is a temporary optional variable
100
+ includeRecommendedNext?: boolean
101
101
  }
102
102
 
103
103
  export type TLevelUpProgress = NonNullable<UserExamMetadataJSON['levelUpProgress']>
@@ -171,6 +171,11 @@ export type recordQuiz = (
171
171
  feedback?: {
172
172
  progressDescription?: string
173
173
  }
174
+ recommendedNext?: {
175
+ type: 'quiz' // eventually this might include other types of recommendations like a blog link
176
+ quizMode: number
177
+ conceptQuizId?: string
178
+ }
174
179
  }
175
180
 
176
181
  export type recordQuizAnswers = (params: {
@@ -800,12 +805,12 @@ export type fetchRecallQuizQuestions = (params: {
800
805
  includeBuildListQuestions?: boolean
801
806
  }) => QuestionJSON[]
802
807
 
803
- export type SubmitExamResult = (params: { examMetadataId: string; passed: boolean }) => void
808
+ export type submitExamResult = (params: { examMetadataId: string; passed: boolean }) => void
804
809
 
805
- export type UpsertUserExamBackground = (params: {
810
+ export type upsertUserExamBackground = (params: {
806
811
  examMetadataId: string
807
812
  passed?: boolean
808
813
  hasTakenExam?: boolean
809
814
  }) => UserExamBackgroundJSON
810
815
 
811
- export type FetchConceptQuizQuestions = (params: { conceptQuizId: string }) => Question[]
816
+ export type fetchConceptQuizQuestions = (params: { conceptQuizId: string }) => Question[]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.15.22",
3
+ "version": "1.15.24",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",