1 | import { APIConfig, GraphQLProviderConfig, LibraryAPIOptions } from './API/types';
|
2 | import { AnalyticsConfig } from './Analytics/types';
|
3 | import { AuthConfig, AuthIdentityPoolConfig, AuthUserPoolAndIdentityPoolConfig, AuthUserPoolConfig, CognitoIdentityPoolConfig, GetCredentialsOptions, LibraryAuthOptions } from './Auth/types';
|
4 | import { GeoConfig } from './Geo/types';
|
5 | import { PredictionsConfig } from './Predictions/types';
|
6 | import { BucketInfo, LibraryStorageOptions, StorageAccessLevel, StorageConfig } from './Storage/types';
|
7 | import { NotificationsConfig } from './Notifications/types';
|
8 | import { InteractionsConfig } from './Interactions/types';
|
9 | export { AmplifyOutputs } from './AmplifyOutputs/types';
|
10 |
|
11 |
|
12 |
|
13 | export interface LegacyConfig {
|
14 | |
15 |
|
16 |
|
17 | aws_project_region?: string;
|
18 | }
|
19 | export type AtLeastOne<T, U = {
|
20 | [K in keyof T]: Pick<T, K>;
|
21 | }> = Partial<T> & U[keyof U];
|
22 |
|
23 |
|
24 |
|
25 | export interface ResourcesConfig {
|
26 | API?: APIConfig;
|
27 | Analytics?: AnalyticsConfig;
|
28 | Auth?: AuthConfig;
|
29 | Interactions?: InteractionsConfig;
|
30 | Notifications?: NotificationsConfig;
|
31 | Predictions?: PredictionsConfig;
|
32 | Storage?: StorageConfig;
|
33 | Geo?: GeoConfig;
|
34 | }
|
35 |
|
36 |
|
37 |
|
38 | export interface LibraryOptions {
|
39 | API?: LibraryAPIOptions;
|
40 | Auth?: LibraryAuthOptions;
|
41 | Storage?: LibraryStorageOptions;
|
42 | ssr?: boolean;
|
43 | }
|
44 | export { APIConfig, AuthConfig, AuthUserPoolConfig, AuthIdentityPoolConfig, AuthUserPoolAndIdentityPoolConfig, GetCredentialsOptions, GraphQLProviderConfig, InteractionsConfig, PredictionsConfig, StorageAccessLevel, StorageConfig, BucketInfo, AnalyticsConfig, CognitoIdentityPoolConfig, GeoConfig, };
|