@pocketprep/types 1.13.18 → 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.
Files changed (2) hide show
  1. package/Study/Cloud.d.ts +22 -0
  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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.13.18",
3
+ "version": "1.13.19",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",