@ludeo/cloud-common 1.2.230-beta-yahil-1 → 1.2.230-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/site-controller/ludeocast-build-distribution-termination-ended.d.ts +2 -1
- package/dist/v4/events/site-controller/ludeocast-build-distribution-termination-ended.js +5 -0
- package/dist/v4/events/site-controller/ludeocast-build-distribution-termination-ended.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/site-controller/ludeocast-build-distribution-termination-ended.ts +5 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
2
|
import { BuildContext } from '../../contexts';
|
|
3
|
-
import { SiteOperationStatus } from '../../types/site-controller';
|
|
3
|
+
import { SiteOperationStatus, TerminationType } from '../../types/site-controller';
|
|
4
4
|
export declare class LudeocastBuildDistributionTerminationEndedPayload {
|
|
5
5
|
buildId: string;
|
|
6
6
|
status: SiteOperationStatus;
|
|
7
7
|
reason?: string;
|
|
8
8
|
envIds?: string[];
|
|
9
|
+
terminationType?: TerminationType;
|
|
9
10
|
}
|
|
10
11
|
export declare class LudeocastBuildDistributionTerminationEnded extends LudeoEvent {
|
|
11
12
|
static readonly EVENT_NAME = "site-controller.ludeocast-build-distribution-termination-ended";
|
|
@@ -37,6 +37,11 @@ __decorate([
|
|
|
37
37
|
(0, class_validator_1.IsString)({ each: true }),
|
|
38
38
|
__metadata("design:type", Array)
|
|
39
39
|
], LudeocastBuildDistributionTerminationEndedPayload.prototype, "envIds", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsEnum)(site_controller_1.TerminationType),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], LudeocastBuildDistributionTerminationEndedPayload.prototype, "terminationType", void 0);
|
|
40
45
|
class LudeocastBuildDistributionTerminationEnded extends infra_1.LudeoEvent {
|
|
41
46
|
constructor(payload, context) {
|
|
42
47
|
super(LudeocastBuildDistributionTerminationEnded.EVENT_NAME);
|
package/dist/v4/events/site-controller/ludeocast-build-distribution-termination-ended.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ludeocast-build-distribution-termination-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/ludeocast-build-distribution-termination-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAwE;AACxE,6CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"ludeocast-build-distribution-termination-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/ludeocast-build-distribution-termination-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAwE;AACxE,6CAA8C;AAC9C,iEAAmF;AAEnF,MAAa,iDAAiD;CAmB7D;AAnBD,8GAmBC;AAjBC;IADC,IAAA,0BAAQ,GAAE;;kFACK;AAGhB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;iFACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iFACK;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iFACP;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,iCAAe,CAAC;;0FACU;AAGpC,MAAa,0CAA2C,SAAQ,kBAAU;IAGxE,YAAY,OAA0D,EAAE,OAAqB;QAC3F,KAAK,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC;QAC7D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gGAcC;AAbiB,qDAAU,GAAG,gEAAgE,CAAC;AAS9F;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iDAAiD,CAAC;8BACnE,iDAAiD;2EAAC;AAG3D;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAY,CAAC;8BAC9B,uBAAY;2EAAC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@ import { LudeoEvent } from '../../../infra';
|
|
|
2
2
|
import { ValidateNestedType } from '../../../decorators';
|
|
3
3
|
import { IsEnum, IsOptional, IsString, IsArray } from 'class-validator';
|
|
4
4
|
import { BuildContext } from '../../contexts';
|
|
5
|
-
import { SiteOperationStatus } from '../../types/site-controller';
|
|
5
|
+
import { SiteOperationStatus, TerminationType } from '../../types/site-controller';
|
|
6
6
|
|
|
7
7
|
export class LudeocastBuildDistributionTerminationEndedPayload {
|
|
8
8
|
@IsString()
|
|
@@ -19,6 +19,10 @@ export class LudeocastBuildDistributionTerminationEndedPayload {
|
|
|
19
19
|
@IsArray()
|
|
20
20
|
@IsString({ each: true })
|
|
21
21
|
envIds?: string[];
|
|
22
|
+
|
|
23
|
+
@IsOptional()
|
|
24
|
+
@IsEnum(TerminationType)
|
|
25
|
+
terminationType?: TerminationType;
|
|
22
26
|
}
|
|
23
27
|
|
|
24
28
|
export class LudeocastBuildDistributionTerminationEnded extends LudeoEvent {
|