@squidcloud/client 1.0.21 → 1.0.22

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.
@@ -1,4 +1,17 @@
1
- export declare enum SquidRegion {
2
- AWS_US_EAST_1 = "us-east-1.aws",
3
- LOCAL = "local"
1
+ export type SquidCloudId = 'aws' | 'gcp' | 'azure';
2
+ export type SupportedSquidRegion = 'us-east-1.aws' | 'local';
3
+ export declare const supportedSquidRegions: Array<SupportedSquidRegion>;
4
+ export interface SquidCloudRegion {
5
+ id: string;
6
+ name: string;
4
7
  }
8
+ export interface SquidSupportedCloud {
9
+ id: SquidCloudId;
10
+ name: string;
11
+ icon: string;
12
+ regions: Array<SquidCloudRegion>;
13
+ tooltip?: string;
14
+ }
15
+ export declare const squidSupportedCloudMap: Record<SquidCloudId, SquidSupportedCloud>;
16
+ export declare function convertToSquidRegion(cloudId: SquidCloudId, region: string, isDev?: boolean): SupportedSquidRegion;
17
+ export declare const squidSupportedClouds: Array<SquidSupportedCloud>;