@ludeo/cloud-common 1.2.95-dodofmine → 1.2.95-dodofmine2
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.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/v4/types/pools/configuration/base.js.map +1 -1
- package/dist/v4/types/pools/pool.d.ts +3 -2
- package/dist/v4/types/pools/pool.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/types/pools/configuration/base.ts +1 -5
- package/src/v4/types/pools/pool.ts +6 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/base.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/base.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,uCAA4C;AAC5C,kCAAwC;AACxC,6CAAkD;AAClD,uDAA4D;AAE5D,MAAa,sBAAsB;CAOlC;AAPD,wDAOC;AALC;IADC,IAAA,0BAAQ,GAAE;;oDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACM;AAGnB,MAAa,0BAA0B;CAmBtC;AAnBD,gEAmBC;AAjBC;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;iEACO;AAG7B;IADC,IAAA,wBAAM,GAAE;;0DACM;AAGf;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC;8BACzB,sBAAsB;0EAAC;AAG/C;IADC,IAAA,wBAAM,EAAC,oBAAa,CAAC;;wDACF;AAGpB;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAkB,CAAC;8BACjC,+BAAkB;8DAAC;AAI/B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wEACiB"}
|
|
@@ -2,11 +2,12 @@ import { CloudPoolType } from "./type";
|
|
|
2
2
|
import { CloudPoolStatus } from "./status";
|
|
3
3
|
import { CloudPoolConfigurationType } from "./configuration";
|
|
4
4
|
import { BaseCloudResource } from "./resource";
|
|
5
|
+
import { CloudProviderSettings } from "../cloud";
|
|
5
6
|
export type CloudResourcesMap<T extends BaseCloudResource> = Record<string, T>;
|
|
6
|
-
export declare class CloudPool<T extends CloudPoolType | undefined = undefined> {
|
|
7
|
+
export declare class CloudPool<T extends CloudPoolType | undefined = undefined, C extends CloudProviderSettings = CloudProviderSettings> {
|
|
7
8
|
id: string;
|
|
8
9
|
status: CloudPoolStatus;
|
|
9
10
|
createdAt: number;
|
|
10
11
|
updatedAt?: number;
|
|
11
|
-
config: CloudPoolConfigurationType<T>;
|
|
12
|
+
config: CloudPoolConfigurationType<T, C>;
|
|
12
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pool.js","sourceRoot":"","sources":["../../../../src/v4/types/pools/pool.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"pool.js","sourceRoot":"","sources":["../../../../src/v4/types/pools/pool.ts"],"names":[],"mappings":";;;AAQA,MAAa,SAAS;CASrB;AATD,8BASC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { IsNumber, IsEnum, IsUUID, IsOptional } from "class-validator";
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
CloudProvider,
|
|
5
|
-
CloudProviderSettings,
|
|
6
|
-
getProviderSettingsType,
|
|
7
|
-
} from "../../cloud";
|
|
3
|
+
import { CloudProvider } from "../../cloud";
|
|
8
4
|
import { CloudPoolType } from "../type";
|
|
9
5
|
import { BasePoolAttributes } from "./attributes";
|
|
10
6
|
import { ValidateNestedType } from "../../../../decorators";
|
|
@@ -2,13 +2,17 @@ import { CloudPoolType } from "./type";
|
|
|
2
2
|
import { CloudPoolStatus } from "./status";
|
|
3
3
|
import { CloudPoolConfigurationType } from "./configuration";
|
|
4
4
|
import { BaseCloudResource } from "./resource";
|
|
5
|
+
import { CloudProviderSettings } from "../cloud";
|
|
5
6
|
|
|
6
7
|
export type CloudResourcesMap<T extends BaseCloudResource> = Record<string, T>;
|
|
7
8
|
|
|
8
|
-
export class CloudPool<
|
|
9
|
+
export class CloudPool<
|
|
10
|
+
T extends CloudPoolType | undefined = undefined,
|
|
11
|
+
C extends CloudProviderSettings = CloudProviderSettings,
|
|
12
|
+
> {
|
|
9
13
|
id: string;
|
|
10
14
|
status: CloudPoolStatus;
|
|
11
15
|
createdAt: number;
|
|
12
16
|
updatedAt?: number;
|
|
13
|
-
config: CloudPoolConfigurationType<T>;
|
|
17
|
+
config: CloudPoolConfigurationType<T, C>;
|
|
14
18
|
}
|