@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.
- package/Study/Cloud.d.ts +9 -4
- 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
|
-
|
|
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
|
|
808
|
+
export type submitExamResult = (params: { examMetadataId: string; passed: boolean }) => void
|
|
804
809
|
|
|
805
|
-
export type
|
|
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
|
|
816
|
+
export type fetchConceptQuizQuestions = (params: { conceptQuizId: string }) => Question[]
|