@mytmpvpn/mytmpvpn-common 10.0.0 → 10.0.2
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.
|
@@ -15,7 +15,15 @@ export interface PricingRate {
|
|
|
15
15
|
peanutsPerMinuteMax: number;
|
|
16
16
|
peanutsPerMinuteMin: number;
|
|
17
17
|
}
|
|
18
|
-
export type PricingRates = Partial<Record<
|
|
18
|
+
export type PricingRates = Partial<Record<InstanceType, PricingRate>>;
|
|
19
|
+
export interface InfraDetails {
|
|
20
|
+
ipv6Supported: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface ProviderInfo {
|
|
23
|
+
infraDetails: InfraDetails;
|
|
24
|
+
pricingRates: PricingRates;
|
|
25
|
+
}
|
|
26
|
+
export type ProvidersInfo = Partial<Record<InfrastructureProvider, ProviderInfo>>;
|
|
19
27
|
export interface Location {
|
|
20
28
|
geonamesId: number;
|
|
21
29
|
city: string;
|
|
@@ -26,7 +34,7 @@ export interface Location {
|
|
|
26
34
|
longitude: number;
|
|
27
35
|
};
|
|
28
36
|
}
|
|
29
|
-
export interface
|
|
30
|
-
|
|
37
|
+
export interface LocationWithProvidersInfo extends Location {
|
|
38
|
+
providersInfo: ProvidersInfo;
|
|
31
39
|
}
|
|
32
|
-
export type ListLocationsResponse =
|
|
40
|
+
export type ListLocationsResponse = LocationWithProvidersInfo[];
|