@pocketprep/types 1.13.18 → 1.13.20

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.
Files changed (2) hide show
  1. package/Study/Cloud.d.ts +33 -1
  2. package/package.json +1 -1
package/Study/Cloud.d.ts CHANGED
@@ -222,6 +222,13 @@ export type fetchQotDV4 = (params: {
222
222
  version: string
223
223
  }) => Question[]
224
224
 
225
+ export type fetchQotDV5 = (params: {
226
+ count?: number
227
+ daysSinceEpoch: number
228
+ examGuid: string
229
+ version: string
230
+ }) => QuestionJSON[]
231
+
225
232
  export type fetchSharedQotd = (params: {
226
233
  date: string // ISO8901 date string
227
234
  examGuid: string
@@ -305,6 +312,19 @@ export type fetchQuizQuestionsV4 = (params: {
305
312
  }
306
313
  }) => QuestionJSON[]
307
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
+
308
328
  export type fetchFlaggedQuestionKnowledgeAreas =
309
329
  (params: { compositeKey: string }) => { name: string; count: number }[]
310
330
 
@@ -519,6 +539,8 @@ export type fetchMockExamQuestions = (params: { mockExamId: string }) => ExamDat
519
539
 
520
540
  export type fetchMockExamQuestionsV2 = (params: { mockExamId: string }) => Question[]
521
541
 
542
+ export type fetchMockExamQuestionsV3 = (params: { mockExamId: string }) => QuestionJSON[]
543
+
522
544
  export type validateReferral = (params: { referralId: string }) => Referral | Stripe.Coupon
523
545
 
524
546
  export type createSetupIntent = () => Promise<string | null>
@@ -547,7 +569,17 @@ export type fetchLevelUpQuizQuestionsV2 = (params: {
547
569
  level: number
548
570
  examGuid: string
549
571
  majorVersion: string
550
- questionCount: number
572
+ questionCount?: number
573
+ subjectId?: string
574
+ subjectName?: string
575
+ lastResetDateISO?: string
576
+ }) => QuestionJSON[]
577
+
578
+ export type fetchLevelUpQuizQuestionsV3 = (params: {
579
+ level: number
580
+ examGuid: string
581
+ majorVersion: string
582
+ questionCount?: number
551
583
  subjectId?: string
552
584
  subjectName?: string
553
585
  lastResetDateISO?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.13.18",
3
+ "version": "1.13.20",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",