@pocketprep/types 1.13.10 → 1.13.12
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 +7 -1
- package/package.json +1 -1
package/Study/Cloud.d.ts
CHANGED
|
@@ -92,6 +92,7 @@ export interface IRecordQuizPayload {
|
|
|
92
92
|
mockExamId?: string
|
|
93
93
|
examVersion?: string
|
|
94
94
|
levelSubjectName?: string
|
|
95
|
+
appBundleId?: string
|
|
95
96
|
}
|
|
96
97
|
|
|
97
98
|
export type TLevelUpProgress = NonNullable<UserExamMetadataJSON['levelUpProgress']>
|
|
@@ -376,7 +377,12 @@ export type onboardingCompleted = (params: {
|
|
|
376
377
|
|
|
377
378
|
export type activateLicense = (params: { licenseKey: string }) => Subscription
|
|
378
379
|
|
|
379
|
-
export type
|
|
380
|
+
export type TLicenseSource = 'Web' | 'WebMarketing' | 'Android' | 'iOS' | 'Teach' | 'SSO' | 'unknown'
|
|
381
|
+
export type activateLicenseV2 = (params: {
|
|
382
|
+
licenseKey: string
|
|
383
|
+
platform?: TLicenseSource
|
|
384
|
+
})
|
|
385
|
+
=> { license: License; subscription: Subscription }[]
|
|
380
386
|
|
|
381
387
|
export type validateLicense = (params: { licenseKey: string }) => License
|
|
382
388
|
|