@ludeo/cloud-common 1.2.98 → 1.2.99-beta-yahil-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.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/v4/events/build-assignment-started.d.ts +1 -1
- package/dist/v4/events/build-assignment-started.js +2 -2
- package/dist/v4/events/build-assignment-started.js.map +1 -1
- package/dist/v4/types/pools/configuration/base.d.ts +3 -0
- package/dist/v4/types/pools/configuration/base.js +11 -0
- package/dist/v4/types/pools/configuration/base.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/build-assignment-started.ts +2 -2
- package/src/v4/types/pools/configuration/base.ts +9 -0
|
@@ -7,7 +7,7 @@ export declare class BuildAssignmentStartedPayload {
|
|
|
7
7
|
previousBuild?: BuildVersionMeta;
|
|
8
8
|
rolloutConfigTargetBuild: RolloutConfig;
|
|
9
9
|
rolloutConfigPreviousBuild?: RolloutConfig;
|
|
10
|
-
|
|
10
|
+
assignmentProvidersSettings?: BuildAssignmentProviderSettings;
|
|
11
11
|
buildAssignmentCase: BuildAssignmentCase;
|
|
12
12
|
}
|
|
13
13
|
export declare class BuildAssignmentStarted extends LudeoEvent {
|
|
@@ -41,9 +41,9 @@ __decorate([
|
|
|
41
41
|
__metadata("design:type", build_1.RolloutConfig)
|
|
42
42
|
], BuildAssignmentStartedPayload.prototype, "rolloutConfigPreviousBuild", void 0);
|
|
43
43
|
__decorate([
|
|
44
|
-
(0,
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
45
|
__metadata("design:type", Object)
|
|
46
|
-
], BuildAssignmentStartedPayload.prototype, "
|
|
46
|
+
], BuildAssignmentStartedPayload.prototype, "assignmentProvidersSettings", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, class_validator_1.IsEnum)(build_1.BuildAssignmentCase),
|
|
49
49
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-assignment-started.js","sourceRoot":"","sources":["../../../src/v4/events/build-assignment-started.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,6DAAyD;AACzD,oGAAqF;AACrF,yDAAqD;AACrD,0CAMwB;AAExB,MAAa,6BAA6B;CAuBzC;AAvBD,sEAuBC;AArBC;IADC,IAAA,wBAAM,GAAE;;4DACK;AAGd;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,wBAAgB,CAAC;8BAC9B,wBAAgB;kEAAC;AAI9B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,wBAAgB,CAAC;8BAC3B,wBAAgB;oEAAC;AAGjC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qBAAa,CAAC;8BACd,qBAAa;+EAAC;AAIxC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qBAAa,CAAC;8BACX,qBAAa;iFAAC;AAG3C;IADC,IAAA,
|
|
1
|
+
{"version":3,"file":"build-assignment-started.js","sourceRoot":"","sources":["../../../src/v4/events/build-assignment-started.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,6DAAyD;AACzD,oGAAqF;AACrF,yDAAqD;AACrD,0CAMwB;AAExB,MAAa,6BAA6B;CAuBzC;AAvBD,sEAuBC;AArBC;IADC,IAAA,wBAAM,GAAE;;4DACK;AAGd;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,wBAAgB,CAAC;8BAC9B,wBAAgB;kEAAC;AAI9B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,wBAAgB,CAAC;8BAC3B,wBAAgB;oEAAC;AAGjC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qBAAa,CAAC;8BACd,qBAAa;+EAAC;AAIxC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qBAAa,CAAC;8BACX,qBAAa;iFAAC;AAG3C;IADC,IAAA,4BAAU,GAAE;;kFACiD;AAG9D;IADC,IAAA,wBAAM,EAAC,2BAAmB,CAAC;;0EACa;AAG3C,MAAa,sBAAuB,SAAQ,wBAAU;IAGpD,YAAY,OAAsC,EAAE,OAAqB;QACvE,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,wDAcC;AAbiB,iCAAU,GAAG,uCAAuC,CAAC;AASrE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;8BAC9B,4BAAY;uDAAC;AAGtB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;8BAC/C,6BAA6B;uDAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { CloudProvider } from "../../cloud";
|
|
2
2
|
import { CloudPoolType } from "../type";
|
|
3
3
|
import { BasePoolAttributes } from "./attributes";
|
|
4
|
+
import { BuildVersionMeta, RolloutConfig } from "../../build";
|
|
4
5
|
export declare class PoolScaleConfiguration {
|
|
5
6
|
size: number;
|
|
6
7
|
minSize?: number;
|
|
@@ -12,4 +13,6 @@ export declare class BaseCloudPoolConfiguration {
|
|
|
12
13
|
type: CloudPoolType;
|
|
13
14
|
attributes: BasePoolAttributes;
|
|
14
15
|
staleResourceTimeout?: number;
|
|
16
|
+
buildMeta?: BuildVersionMeta;
|
|
17
|
+
rolloutConfig?: RolloutConfig;
|
|
15
18
|
}
|
|
@@ -15,6 +15,7 @@ const cloud_1 = require("../../cloud");
|
|
|
15
15
|
const type_1 = require("../type");
|
|
16
16
|
const attributes_1 = require("./attributes");
|
|
17
17
|
const decorators_1 = require("../../../../decorators");
|
|
18
|
+
const build_1 = require("../../build");
|
|
18
19
|
class PoolScaleConfiguration {
|
|
19
20
|
}
|
|
20
21
|
exports.PoolScaleConfiguration = PoolScaleConfiguration;
|
|
@@ -55,4 +56,14 @@ __decorate([
|
|
|
55
56
|
(0, class_validator_1.IsOptional)(),
|
|
56
57
|
__metadata("design:type", Number)
|
|
57
58
|
], BaseCloudPoolConfiguration.prototype, "staleResourceTimeout", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, decorators_1.ValidateNestedType)(() => build_1.BuildVersionMeta),
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
__metadata("design:type", build_1.BuildVersionMeta)
|
|
63
|
+
], BaseCloudPoolConfiguration.prototype, "buildMeta", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, decorators_1.ValidateNestedType)(() => build_1.RolloutConfig),
|
|
66
|
+
(0, class_validator_1.IsOptional)(),
|
|
67
|
+
__metadata("design:type", build_1.RolloutConfig)
|
|
68
|
+
], BaseCloudPoolConfiguration.prototype, "rolloutConfig", void 0);
|
|
58
69
|
//# sourceMappingURL=base.js.map
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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;AAC5D,uCAA6E;AAE7E,MAAa,sBAAsB;CAOlC;AAPD,wDAOC;AALC;IADC,IAAA,0BAAQ,GAAE;;oDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACM;AAGnB,MAAa,0BAA0B;CA2BtC;AA3BD,gEA2BC;AAzBC;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;AAI9B;IAFC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,wBAAgB,CAAC;IAC1C,IAAA,4BAAU,GAAE;8BACD,wBAAgB;6DAAC;AAI7B;IAFC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,qBAAa,CAAC;IACvC,IAAA,4BAAU,GAAE;8BACG,qBAAa;iEAAC"}
|
package/package.json
CHANGED
|
@@ -28,8 +28,8 @@ export class BuildAssignmentStartedPayload {
|
|
|
28
28
|
@ValidateNestedType(() => RolloutConfig)
|
|
29
29
|
rolloutConfigPreviousBuild?: RolloutConfig;
|
|
30
30
|
|
|
31
|
-
@
|
|
32
|
-
|
|
31
|
+
@IsOptional()
|
|
32
|
+
assignmentProvidersSettings?: BuildAssignmentProviderSettings;
|
|
33
33
|
|
|
34
34
|
@IsEnum(BuildAssignmentCase)
|
|
35
35
|
buildAssignmentCase: BuildAssignmentCase;
|
|
@@ -4,6 +4,7 @@ import { CloudProvider } from "../../cloud";
|
|
|
4
4
|
import { CloudPoolType } from "../type";
|
|
5
5
|
import { BasePoolAttributes } from "./attributes";
|
|
6
6
|
import { ValidateNestedType } from "../../../../decorators";
|
|
7
|
+
import { BuildMetadata, BuildVersionMeta, RolloutConfig } from "../../build";
|
|
7
8
|
|
|
8
9
|
export class PoolScaleConfiguration {
|
|
9
10
|
@IsNumber()
|
|
@@ -33,4 +34,12 @@ export class BaseCloudPoolConfiguration {
|
|
|
33
34
|
@IsNumber()
|
|
34
35
|
@IsOptional()
|
|
35
36
|
staleResourceTimeout?: number;
|
|
37
|
+
|
|
38
|
+
@ValidateNestedType(() => BuildVersionMeta)
|
|
39
|
+
@IsOptional()
|
|
40
|
+
buildMeta?: BuildVersionMeta;
|
|
41
|
+
|
|
42
|
+
@ValidateNestedType(() => RolloutConfig)
|
|
43
|
+
@IsOptional()
|
|
44
|
+
rolloutConfig?: RolloutConfig;
|
|
36
45
|
}
|