1 | export interface AmplifyConfig {
|
2 | Analytics?: object;
|
3 | Auth?: object;
|
4 | API?: object;
|
5 | Logging?: object;
|
6 | Storage?: object;
|
7 | Cache?: object;
|
8 | Geo?: object;
|
9 | Notifications?: {
|
10 | InAppMessaging?: object;
|
11 | };
|
12 | ssr?: boolean;
|
13 | }
|
14 | export interface UserProfile {
|
15 | customProperties?: Record<string, string[]>;
|
16 | demographic?: {
|
17 | appVersion?: string;
|
18 | locale?: string;
|
19 | make?: string;
|
20 | model?: string;
|
21 | modelVersion?: string;
|
22 | platform?: string;
|
23 | platformVersion?: string;
|
24 | timezone?: string;
|
25 | };
|
26 | email?: string;
|
27 | location?: {
|
28 | city?: string;
|
29 | country?: string;
|
30 | latitude?: number;
|
31 | longitude?: number;
|
32 | postalCode?: string;
|
33 | region?: string;
|
34 | };
|
35 | metrics?: Record<string, number>;
|
36 | name?: string;
|
37 | plan?: string;
|
38 | }
|
39 |
|
40 |
|
41 |
|
42 | export type DelayFunction = (attempt: number, args?: any[], error?: unknown) => number | false;
|