@pocketprep/types 1.14.34 → 1.14.35
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 +26 -0
- package/package.json +1 -1
package/Study/Class.d.ts
CHANGED
|
@@ -311,6 +311,31 @@ export type ReceiptSource = {
|
|
|
311
311
|
Teach: 'Teach'
|
|
312
312
|
}
|
|
313
313
|
|
|
314
|
+
export type CustomerWithAttributes = {
|
|
315
|
+
customer: {
|
|
316
|
+
id: string
|
|
317
|
+
identifiers: {
|
|
318
|
+
cio_id: string
|
|
319
|
+
id: string
|
|
320
|
+
}
|
|
321
|
+
attributes: {
|
|
322
|
+
_cio_subscription_preferences_computed?: string
|
|
323
|
+
created_at?: string
|
|
324
|
+
email?: string
|
|
325
|
+
cio_id?: string
|
|
326
|
+
id?: string
|
|
327
|
+
}
|
|
328
|
+
timestamps: Record<string, number>
|
|
329
|
+
unsubscribed: boolean
|
|
330
|
+
devices: unknown[]
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export type CustomerIOBackup = Parse.Object<{
|
|
335
|
+
user: User | Parse.Pointer
|
|
336
|
+
customerWithAttributes: CustomerWithAttributes
|
|
337
|
+
}>
|
|
338
|
+
|
|
314
339
|
export type UserWebConfig = {
|
|
315
340
|
hasSeenOnboarding?: boolean
|
|
316
341
|
hasSeenWelcomeModal?: boolean
|
|
@@ -358,6 +383,7 @@ export type User = Parse.User<{
|
|
|
358
383
|
currentUserExamMetadata?: UserExamMetadata | Parse.Pointer
|
|
359
384
|
currentExamGuid?: string // DEPRECATED
|
|
360
385
|
currentApp?: string // DEPRECATED
|
|
386
|
+
customerIOBackup?: CustomerIOBackup | Parse.Pointer
|
|
361
387
|
}>
|
|
362
388
|
|
|
363
389
|
export type UserJSON = ReturnType<User['toJSON']>
|