@pocketprep/types 1.16.7 → 1.16.9
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/Class.d.ts +1 -1
- package/Study/Cloud.d.ts +2 -7
- package/package.json +1 -1
package/Study/Class.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export type RecommendationCTA = {
|
|
|
44
44
|
buttonLabel: string
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
export type PremiumRequirement = 'free' | 'premium' |
|
|
47
|
+
export type PremiumRequirement = 'free' | 'premium' | undefined
|
|
48
48
|
|
|
49
49
|
export type RecommendationConfig = Parse.Object<Partial<RecommendationCTA> & {
|
|
50
50
|
recommenderClass: string
|
package/Study/Cloud.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
PrebuiltQuiz,
|
|
30
30
|
UserExamBackgroundJSON,
|
|
31
31
|
ConceptQuiz,
|
|
32
|
+
Recommendation,
|
|
32
33
|
} from './Class'
|
|
33
34
|
|
|
34
35
|
// DEPRECATED - previously used answer package for a quiz or qotd
|
|
@@ -174,13 +175,7 @@ export type recordQuiz = (
|
|
|
174
175
|
feedback?: {
|
|
175
176
|
progressDescription?: string
|
|
176
177
|
}
|
|
177
|
-
recommendedNext?:
|
|
178
|
-
type: 'quiz' // eventually this might include other types of recommendations like a blog link
|
|
179
|
-
quizMode: number
|
|
180
|
-
message: string
|
|
181
|
-
conceptQuizId?: string
|
|
182
|
-
questionCount?: number
|
|
183
|
-
}
|
|
178
|
+
recommendedNext?: Recommendation
|
|
184
179
|
}
|
|
185
180
|
|
|
186
181
|
export type recordQuizAnswers = (params: {
|