@pocketprep/types 1.13.17 → 1.13.19
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 +23 -0
- package/package.json +1 -1
package/Study/Cloud.d.ts
CHANGED
|
@@ -162,6 +162,7 @@ export type recordQuiz = (
|
|
|
162
162
|
) => {
|
|
163
163
|
quiz: Quiz
|
|
164
164
|
globalMetrics: GlobalQuestionMetric[]
|
|
165
|
+
levelUpProgress?: TLevelUpProgress
|
|
165
166
|
}
|
|
166
167
|
|
|
167
168
|
export type recordQuizAnswers = (params: {
|
|
@@ -221,6 +222,13 @@ export type fetchQotDV4 = (params: {
|
|
|
221
222
|
version: string
|
|
222
223
|
}) => Question[]
|
|
223
224
|
|
|
225
|
+
export type fetchQotDV5 = (params: {
|
|
226
|
+
count?: number
|
|
227
|
+
daysSinceEpoch: number
|
|
228
|
+
examGuid: string
|
|
229
|
+
version: string
|
|
230
|
+
}) => QuestionJSON[]
|
|
231
|
+
|
|
224
232
|
export type fetchSharedQotd = (params: {
|
|
225
233
|
date: string // ISO8901 date string
|
|
226
234
|
examGuid: string
|
|
@@ -304,6 +312,19 @@ export type fetchQuizQuestionsV4 = (params: {
|
|
|
304
312
|
}
|
|
305
313
|
}) => QuestionJSON[]
|
|
306
314
|
|
|
315
|
+
export type fetchQuizQuestionsV5 = (params: {
|
|
316
|
+
examGuid: string
|
|
317
|
+
majorVersion: string
|
|
318
|
+
questionCount: number
|
|
319
|
+
subjects?: string[]
|
|
320
|
+
include?: {
|
|
321
|
+
new?: boolean
|
|
322
|
+
answered?: boolean
|
|
323
|
+
flagged?: boolean
|
|
324
|
+
incorrect?: boolean
|
|
325
|
+
}
|
|
326
|
+
}) => QuestionJSON[]
|
|
327
|
+
|
|
307
328
|
export type fetchFlaggedQuestionKnowledgeAreas =
|
|
308
329
|
(params: { compositeKey: string }) => { name: string; count: number }[]
|
|
309
330
|
|
|
@@ -518,6 +539,8 @@ export type fetchMockExamQuestions = (params: { mockExamId: string }) => ExamDat
|
|
|
518
539
|
|
|
519
540
|
export type fetchMockExamQuestionsV2 = (params: { mockExamId: string }) => Question[]
|
|
520
541
|
|
|
542
|
+
export type fetchMockExamQuestionsV3 = (params: { mockExamId: string }) => QuestionJSON[]
|
|
543
|
+
|
|
521
544
|
export type validateReferral = (params: { referralId: string }) => Referral | Stripe.Coupon
|
|
522
545
|
|
|
523
546
|
export type createSetupIntent = () => Promise<string | null>
|