@pocketprep/types 1.9.3 → 1.9.4

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/Class.d.ts CHANGED
@@ -32,13 +32,14 @@ export type QuizJSON = ReturnType<Quiz['toJSON']>
32
32
  export type QuizPayload = Payload<Quiz>
33
33
 
34
34
  export type Platform = 'Android' | 'iOS' | 'Web'
35
+ export type OnboardingResult = 'Free' | 'Monthly' | 'Quarterly' | 'Yearly'
35
36
  export type UserConversion = Parse.Object<{
36
37
  user: User | Parse.Pointer
37
- mobileAppId?: string // eg com.pocketprep.app.ems
38
+ mobileAppId?: string // eg com.pocketprep.app.ems
38
39
  firstExamGuid?: string
39
40
  firstBundleId?: string
40
41
  signedUpOn?: Platform
41
- onboardingResult?: 'Free' | 'Monthly' | 'Quarterly' | 'Yearly'
42
+ onboardingResult?: OnboardingResult
42
43
  firstQuizSource?: Platform
43
44
  firstSubscriptionSource?: ReceiptSource[keyof ReceiptSource]
44
45
 
package/Study/Cloud.d.ts CHANGED
@@ -24,6 +24,7 @@ import {
24
24
  QuestionJSON,
25
25
  Question,
26
26
  Platform,
27
+ OnboardingResult,
27
28
  } from './Class'
28
29
 
29
30
  // DEPRECATED - previously used answer package for a quiz or qotd
@@ -339,7 +340,7 @@ export type onboardingCompleted = (params: {
339
340
  firstExamGuid: string // examGuid of exam selected during onboarding
340
341
  firstBundleId: string // Bundle.objectId of Bundle
341
342
  signedUpOn: Platform // Android | iOS | Web
342
- onboardingResult: string // Free | Monthly | Quarterly | Yearly
343
+ onboardingResult: OnboardingResult // Free | Monthly | Quarterly | Yearly
343
344
  mobileAppId?: string // mobile app id, if applicable. eg com.pocketprep.app.ems
344
345
  }) => void
345
346
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",