@pocketprep/types 1.13.61 → 1.13.63
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 +19 -3
- package/package.json +1 -1
package/Study/Cloud.d.ts
CHANGED
|
@@ -313,6 +313,7 @@ export type fetchQuizQuestionsV4 = (params: {
|
|
|
313
313
|
answered?: boolean
|
|
314
314
|
flagged?: boolean
|
|
315
315
|
incorrect?: boolean
|
|
316
|
+
matrix?: boolean
|
|
316
317
|
}
|
|
317
318
|
}) => QuestionJSON[]
|
|
318
319
|
|
|
@@ -327,6 +328,7 @@ export type fetchQuizQuestionsV5 = (params: {
|
|
|
327
328
|
answered?: boolean
|
|
328
329
|
flagged?: boolean
|
|
329
330
|
incorrect?: boolean
|
|
331
|
+
matrix?: boolean
|
|
330
332
|
}
|
|
331
333
|
}) => QuestionJSON[]
|
|
332
334
|
|
|
@@ -566,9 +568,11 @@ export type fetchMockExams = () => MockExam[]
|
|
|
566
568
|
|
|
567
569
|
export type fetchMockExamQuestions = (params: { mockExamId: string }) => ExamData[]
|
|
568
570
|
|
|
569
|
-
export type fetchMockExamQuestionsV2 =
|
|
571
|
+
export type fetchMockExamQuestionsV2 =
|
|
572
|
+
(params: { mockExamId: string; includeMatrixQuestions?: boolean }) => Question[]
|
|
570
573
|
|
|
571
|
-
export type fetchMockExamQuestionsV3 =
|
|
574
|
+
export type fetchMockExamQuestionsV3 =
|
|
575
|
+
(params: { mockExamId: string; includeMatrixQuestions?: boolean }) => QuestionJSON[]
|
|
572
576
|
|
|
573
577
|
export type validateReferral = (params: { referralId: string }) => Referral | Stripe.Coupon
|
|
574
578
|
|
|
@@ -602,6 +606,7 @@ export type fetchLevelUpQuizQuestionsV2 = (params: {
|
|
|
602
606
|
subjectName?: string
|
|
603
607
|
subjectId?: string
|
|
604
608
|
lastResetDateISO?: string
|
|
609
|
+
includeMatrixQuestions?: boolean
|
|
605
610
|
}) => QuestionJSON[]
|
|
606
611
|
|
|
607
612
|
export type fetchLevelUpQuizQuestionsV3 = (params: {
|
|
@@ -612,6 +617,7 @@ export type fetchLevelUpQuizQuestionsV3 = (params: {
|
|
|
612
617
|
subjectId?: string
|
|
613
618
|
subjectName?: string
|
|
614
619
|
lastResetDateISO?: string
|
|
620
|
+
includeMatrixQuestions?: boolean
|
|
615
621
|
}) => QuestionJSON[]
|
|
616
622
|
|
|
617
623
|
export type fetchSubjectsWithLevels = (params: {
|
|
@@ -646,4 +652,14 @@ export type fetchReferralInfo = (params: { bundleId: string }) => {
|
|
|
646
652
|
export type fetchPrebuiltQuizQuestions = (params: { prebuiltQuizId: string }) => {
|
|
647
653
|
prebuiltQuiz: PrebuiltQuiz
|
|
648
654
|
questions: QuestionJSON[]
|
|
649
|
-
} | Quiz
|
|
655
|
+
} | Quiz
|
|
656
|
+
|
|
657
|
+
export type fetchQuestionsByExamV2 = (params: {
|
|
658
|
+
compositeKey: string
|
|
659
|
+
includeMatrixQuestions?: boolean
|
|
660
|
+
}) => Question[]
|
|
661
|
+
|
|
662
|
+
export type fetchQuestionsByExamV3 = (params: {
|
|
663
|
+
compositeKey: string
|
|
664
|
+
includeMatrixQuestions?: boolean
|
|
665
|
+
}) => QuestionJSON[]
|