@pocketprep/types 1.13.62 → 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 +17 -3
- package/package.json +1 -1
package/Study/Cloud.d.ts
CHANGED
|
@@ -568,9 +568,11 @@ export type fetchMockExams = () => MockExam[]
|
|
|
568
568
|
|
|
569
569
|
export type fetchMockExamQuestions = (params: { mockExamId: string }) => ExamData[]
|
|
570
570
|
|
|
571
|
-
export type fetchMockExamQuestionsV2 =
|
|
571
|
+
export type fetchMockExamQuestionsV2 =
|
|
572
|
+
(params: { mockExamId: string; includeMatrixQuestions?: boolean }) => Question[]
|
|
572
573
|
|
|
573
|
-
export type fetchMockExamQuestionsV3 =
|
|
574
|
+
export type fetchMockExamQuestionsV3 =
|
|
575
|
+
(params: { mockExamId: string; includeMatrixQuestions?: boolean }) => QuestionJSON[]
|
|
574
576
|
|
|
575
577
|
export type validateReferral = (params: { referralId: string }) => Referral | Stripe.Coupon
|
|
576
578
|
|
|
@@ -604,6 +606,7 @@ export type fetchLevelUpQuizQuestionsV2 = (params: {
|
|
|
604
606
|
subjectName?: string
|
|
605
607
|
subjectId?: string
|
|
606
608
|
lastResetDateISO?: string
|
|
609
|
+
includeMatrixQuestions?: boolean
|
|
607
610
|
}) => QuestionJSON[]
|
|
608
611
|
|
|
609
612
|
export type fetchLevelUpQuizQuestionsV3 = (params: {
|
|
@@ -614,6 +617,7 @@ export type fetchLevelUpQuizQuestionsV3 = (params: {
|
|
|
614
617
|
subjectId?: string
|
|
615
618
|
subjectName?: string
|
|
616
619
|
lastResetDateISO?: string
|
|
620
|
+
includeMatrixQuestions?: boolean
|
|
617
621
|
}) => QuestionJSON[]
|
|
618
622
|
|
|
619
623
|
export type fetchSubjectsWithLevels = (params: {
|
|
@@ -648,4 +652,14 @@ export type fetchReferralInfo = (params: { bundleId: string }) => {
|
|
|
648
652
|
export type fetchPrebuiltQuizQuestions = (params: { prebuiltQuizId: string }) => {
|
|
649
653
|
prebuiltQuiz: PrebuiltQuiz
|
|
650
654
|
questions: QuestionJSON[]
|
|
651
|
-
} | 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[]
|