-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathindex.ts
More file actions
46 lines (40 loc) · 788 Bytes
/
index.ts
File metadata and controls
46 lines (40 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
export interface PrintOptions {
color?: string;
}
export interface InquirePayload {
type: string;
name: string;
message: string;
choices?: Array<any>;
transformer?: (value: any) => any;
}
export interface Region {
name: string;
cma: string;
cda: string;
uiHost: string;
developerHubUrl: string;
personalizeUrl: string;
launchHubUrl: string;
composableStudioUrl: string;
assetManagementUrl?: string;
}
export interface Limit {
value: number;
utilize: number;
}
export interface RateLimitConfig {
getLimit?: Limit;
limit?: Limit;
bulkLimit?: Limit;
}
export interface SetRateLimitConfig {
org: string;
utilize?: number;
limitName?: string[];
default?: boolean;
host?: string;
}
export interface RegionsMap {
[key: string]: Region;
}