@ludeo/cloud-common 1.2.192-beta-yahil-6 → 1.2.192-beta-yahil-8
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/cloud-builds/create-ludeocast-build-distribution-request.d.ts +15 -0
- package/dist/v4/events/cloud-builds/{create-build-distribution-request.js → create-ludeocast-build-distribution-request.js} +17 -17
- package/dist/v4/events/cloud-builds/create-ludeocast-build-distribution-request.js.map +1 -0
- package/dist/v4/events/cloud-builds/index.d.ts +2 -2
- package/dist/v4/events/cloud-builds/index.js +2 -2
- package/dist/v4/events/cloud-builds/index.js.map +1 -1
- package/dist/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.d.ts +16 -0
- package/dist/v4/events/cloud-builds/{terminate-build-distribution-request.js → terminate-ludeocast-build-distribution-request.js} +17 -17
- package/dist/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.js.map +1 -0
- package/dist/v4/events/site-controller/index.d.ts +2 -2
- package/dist/v4/events/site-controller/index.js +2 -2
- package/dist/v4/events/site-controller/index.js.map +1 -1
- package/dist/v4/events/site-controller/ludeocast-build-distribution-creation-ended.d.ts +16 -0
- package/dist/v4/events/site-controller/{build-distribution-creation-ended.js → ludeocast-build-distribution-creation-ended.js} +16 -16
- package/dist/v4/events/site-controller/ludeocast-build-distribution-creation-ended.js.map +1 -0
- package/dist/v4/events/site-controller/ludeocast-build-distribution-termination-ended.d.ts +15 -0
- package/dist/v4/events/site-controller/{build-distribution-termination-ended.js → ludeocast-build-distribution-termination-ended.js} +16 -16
- package/dist/v4/events/site-controller/ludeocast-build-distribution-termination-ended.js.map +1 -0
- package/package.json +1 -1
- package/src/v4/events/cloud-builds/{create-build-distribution-request.ts → create-ludeocast-build-distribution-request.ts} +7 -7
- package/src/v4/events/cloud-builds/index.ts +2 -2
- package/src/v4/events/cloud-builds/{terminate-build-distribution-request.ts → terminate-ludeocast-build-distribution-request.ts} +7 -7
- package/src/v4/events/site-controller/index.ts +2 -2
- package/src/v4/events/site-controller/{build-distribution-creation-ended.ts → ludeocast-build-distribution-creation-ended.ts} +7 -7
- package/src/v4/events/site-controller/{build-distribution-termination-ended.ts → ludeocast-build-distribution-termination-ended.ts} +7 -7
- package/dist/v4/events/cloud-builds/create-build-distribution-request.d.ts +0 -15
- package/dist/v4/events/cloud-builds/create-build-distribution-request.js.map +0 -1
- package/dist/v4/events/cloud-builds/terminate-build-distribution-request.d.ts +0 -16
- package/dist/v4/events/cloud-builds/terminate-build-distribution-request.js.map +0 -1
- package/dist/v4/events/site-controller/build-distribution-creation-ended.d.ts +0 -16
- package/dist/v4/events/site-controller/build-distribution-creation-ended.js.map +0 -1
- package/dist/v4/events/site-controller/build-distribution-termination-ended.d.ts +0 -15
- package/dist/v4/events/site-controller/build-distribution-termination-ended.js.map +0 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LudeoEvent } from '../../../infra';
|
|
2
|
+
import { BuildContext } from '../../contexts';
|
|
3
|
+
export declare class CreateLudeocastBuildDistributionRequestPayload {
|
|
4
|
+
buildId: string;
|
|
5
|
+
downloadURL: string;
|
|
6
|
+
sizeGB: number;
|
|
7
|
+
site?: string;
|
|
8
|
+
regions: string[];
|
|
9
|
+
}
|
|
10
|
+
export declare class CreateLudeocastBuildDistributionRequest extends LudeoEvent {
|
|
11
|
+
static readonly EVENT_NAME = "cloud-builds.create-ludeocast-build-distribution-request";
|
|
12
|
+
constructor(payload: CreateLudeocastBuildDistributionRequestPayload, context: BuildContext);
|
|
13
|
+
payload: CreateLudeocastBuildDistributionRequestPayload;
|
|
14
|
+
context: BuildContext;
|
|
15
|
+
}
|
|
@@ -9,51 +9,51 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.CreateLudeocastBuildDistributionRequest = exports.CreateLudeocastBuildDistributionRequestPayload = void 0;
|
|
13
13
|
const infra_1 = require("../../../infra");
|
|
14
14
|
const decorators_1 = require("../../../decorators");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const contexts_1 = require("../../contexts");
|
|
17
|
-
class
|
|
17
|
+
class CreateLudeocastBuildDistributionRequestPayload {
|
|
18
18
|
}
|
|
19
|
-
exports.
|
|
19
|
+
exports.CreateLudeocastBuildDistributionRequestPayload = CreateLudeocastBuildDistributionRequestPayload;
|
|
20
20
|
__decorate([
|
|
21
21
|
(0, class_validator_1.IsString)(),
|
|
22
22
|
__metadata("design:type", String)
|
|
23
|
-
],
|
|
23
|
+
], CreateLudeocastBuildDistributionRequestPayload.prototype, "buildId", void 0);
|
|
24
24
|
__decorate([
|
|
25
25
|
(0, class_validator_1.IsString)(),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
|
-
],
|
|
27
|
+
], CreateLudeocastBuildDistributionRequestPayload.prototype, "downloadURL", void 0);
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, class_validator_1.IsNumber)(),
|
|
30
30
|
__metadata("design:type", Number)
|
|
31
|
-
],
|
|
31
|
+
], CreateLudeocastBuildDistributionRequestPayload.prototype, "sizeGB", void 0);
|
|
32
32
|
__decorate([
|
|
33
33
|
(0, class_validator_1.IsOptional)(),
|
|
34
34
|
(0, class_validator_1.IsString)(),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
|
-
],
|
|
36
|
+
], CreateLudeocastBuildDistributionRequestPayload.prototype, "site", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
(0, class_validator_1.IsArray)(),
|
|
39
39
|
(0, class_validator_1.IsString)({ each: true }),
|
|
40
40
|
__metadata("design:type", Array)
|
|
41
|
-
],
|
|
42
|
-
class
|
|
41
|
+
], CreateLudeocastBuildDistributionRequestPayload.prototype, "regions", void 0);
|
|
42
|
+
class CreateLudeocastBuildDistributionRequest extends infra_1.LudeoEvent {
|
|
43
43
|
constructor(payload, context) {
|
|
44
|
-
super(
|
|
44
|
+
super(CreateLudeocastBuildDistributionRequest.EVENT_NAME);
|
|
45
45
|
this.payload = payload;
|
|
46
46
|
this.context = context;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
exports.
|
|
50
|
-
|
|
49
|
+
exports.CreateLudeocastBuildDistributionRequest = CreateLudeocastBuildDistributionRequest;
|
|
50
|
+
CreateLudeocastBuildDistributionRequest.EVENT_NAME = 'cloud-builds.create-ludeocast-build-distribution-request';
|
|
51
51
|
__decorate([
|
|
52
|
-
(0, decorators_1.ValidateNestedType)(() =>
|
|
53
|
-
__metadata("design:type",
|
|
54
|
-
],
|
|
52
|
+
(0, decorators_1.ValidateNestedType)(() => CreateLudeocastBuildDistributionRequestPayload),
|
|
53
|
+
__metadata("design:type", CreateLudeocastBuildDistributionRequestPayload)
|
|
54
|
+
], CreateLudeocastBuildDistributionRequest.prototype, "payload", void 0);
|
|
55
55
|
__decorate([
|
|
56
56
|
(0, decorators_1.ValidateNestedType)(() => contexts_1.BuildContext),
|
|
57
57
|
__metadata("design:type", contexts_1.BuildContext)
|
|
58
|
-
],
|
|
59
|
-
//# sourceMappingURL=create-build-distribution-request.js.map
|
|
58
|
+
], CreateLudeocastBuildDistributionRequest.prototype, "context", void 0);
|
|
59
|
+
//# sourceMappingURL=create-ludeocast-build-distribution-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-ludeocast-build-distribution-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/create-ludeocast-build-distribution-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA0E;AAC1E,6CAA8C;AAE9C,MAAa,8CAA8C;CAiB1D;AAjBD,wGAiBC;AAfC;IADC,IAAA,0BAAQ,GAAE;;+EACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;mFACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;8EACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4EACG;AAId;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+EACP;AAGpB,MAAa,uCAAwC,SAAQ,kBAAU;IAGrE,YAAY,OAAuD,EAAE,OAAqB;QACxF,KAAK,CAAC,uCAAuC,CAAC,UAAU,CAAC,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,0FAcC;AAbiB,kDAAU,GAAG,0DAA0D,CAAC;AASxF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,8CAA8C,CAAC;8BAChE,8CAA8C;wEAAC;AAGxD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAY,CAAC;8BAC9B,uBAAY;wEAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./create-build-distribution-request";
|
|
2
|
-
export * from "./terminate-build-distribution-request";
|
|
1
|
+
export * from "./create-ludeocast-build-distribution-request";
|
|
2
|
+
export * from "./terminate-ludeocast-build-distribution-request";
|
|
@@ -14,6 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./create-build-distribution-request"), exports);
|
|
18
|
-
__exportStar(require("./terminate-build-distribution-request"), exports);
|
|
17
|
+
__exportStar(require("./create-ludeocast-build-distribution-request"), exports);
|
|
18
|
+
__exportStar(require("./terminate-ludeocast-build-distribution-request"), exports);
|
|
19
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gFAA8D;AAC9D,mFAAiE"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LudeoEvent } from '../../../infra';
|
|
2
|
+
import { BuildContext } from '../../contexts';
|
|
3
|
+
import { LudeocastV2Distributions } from '../../types/build';
|
|
4
|
+
export declare class TerminateLudeocastBuildDistributionRequestPayload {
|
|
5
|
+
buildId: string;
|
|
6
|
+
site?: string;
|
|
7
|
+
region?: string;
|
|
8
|
+
distributions?: LudeocastV2Distributions;
|
|
9
|
+
envIds?: string[];
|
|
10
|
+
}
|
|
11
|
+
export declare class TerminateLudeocastBuildDistributionRequest extends LudeoEvent {
|
|
12
|
+
static readonly EVENT_NAME = "cloud-builds.terminate-ludeocast-build-distribution-request";
|
|
13
|
+
constructor(payload: TerminateLudeocastBuildDistributionRequestPayload, context: BuildContext);
|
|
14
|
+
payload: TerminateLudeocastBuildDistributionRequestPayload;
|
|
15
|
+
context: BuildContext;
|
|
16
|
+
}
|
|
@@ -9,55 +9,55 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.TerminateLudeocastBuildDistributionRequest = exports.TerminateLudeocastBuildDistributionRequestPayload = void 0;
|
|
13
13
|
const infra_1 = require("../../../infra");
|
|
14
14
|
const decorators_1 = require("../../../decorators");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const contexts_1 = require("../../contexts");
|
|
17
17
|
const build_1 = require("../../types/build");
|
|
18
|
-
class
|
|
18
|
+
class TerminateLudeocastBuildDistributionRequestPayload {
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
20
|
+
exports.TerminateLudeocastBuildDistributionRequestPayload = TerminateLudeocastBuildDistributionRequestPayload;
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, class_validator_1.IsString)(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
|
-
],
|
|
24
|
+
], TerminateLudeocastBuildDistributionRequestPayload.prototype, "buildId", void 0);
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, class_validator_1.IsOptional)(),
|
|
27
27
|
(0, class_validator_1.IsString)(),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
|
-
],
|
|
29
|
+
], TerminateLudeocastBuildDistributionRequestPayload.prototype, "site", void 0);
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, class_validator_1.IsOptional)(),
|
|
32
32
|
(0, class_validator_1.IsString)(),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
|
-
],
|
|
34
|
+
], TerminateLudeocastBuildDistributionRequestPayload.prototype, "region", void 0);
|
|
35
35
|
__decorate([
|
|
36
36
|
(0, class_validator_1.IsOptional)(),
|
|
37
37
|
(0, decorators_1.ValidateNestedType)(() => build_1.LudeocastV2Distributions),
|
|
38
38
|
__metadata("design:type", build_1.LudeocastV2Distributions)
|
|
39
|
-
],
|
|
39
|
+
], TerminateLudeocastBuildDistributionRequestPayload.prototype, "distributions", void 0);
|
|
40
40
|
__decorate([
|
|
41
41
|
(0, class_validator_1.IsOptional)(),
|
|
42
42
|
(0, class_validator_1.IsArray)(),
|
|
43
43
|
(0, class_validator_1.IsString)({ each: true }),
|
|
44
44
|
__metadata("design:type", Array)
|
|
45
|
-
],
|
|
46
|
-
class
|
|
45
|
+
], TerminateLudeocastBuildDistributionRequestPayload.prototype, "envIds", void 0);
|
|
46
|
+
class TerminateLudeocastBuildDistributionRequest extends infra_1.LudeoEvent {
|
|
47
47
|
constructor(payload, context) {
|
|
48
|
-
super(
|
|
48
|
+
super(TerminateLudeocastBuildDistributionRequest.EVENT_NAME);
|
|
49
49
|
this.payload = payload;
|
|
50
50
|
this.context = context;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
exports.
|
|
54
|
-
|
|
53
|
+
exports.TerminateLudeocastBuildDistributionRequest = TerminateLudeocastBuildDistributionRequest;
|
|
54
|
+
TerminateLudeocastBuildDistributionRequest.EVENT_NAME = 'cloud-builds.terminate-ludeocast-build-distribution-request';
|
|
55
55
|
__decorate([
|
|
56
|
-
(0, decorators_1.ValidateNestedType)(() =>
|
|
57
|
-
__metadata("design:type",
|
|
58
|
-
],
|
|
56
|
+
(0, decorators_1.ValidateNestedType)(() => TerminateLudeocastBuildDistributionRequestPayload),
|
|
57
|
+
__metadata("design:type", TerminateLudeocastBuildDistributionRequestPayload)
|
|
58
|
+
], TerminateLudeocastBuildDistributionRequest.prototype, "payload", void 0);
|
|
59
59
|
__decorate([
|
|
60
60
|
(0, decorators_1.ValidateNestedType)(() => contexts_1.BuildContext),
|
|
61
61
|
__metadata("design:type", contexts_1.BuildContext)
|
|
62
|
-
],
|
|
63
|
-
//# sourceMappingURL=terminate-build-distribution-request.js.map
|
|
62
|
+
], TerminateLudeocastBuildDistributionRequest.prototype, "context", void 0);
|
|
63
|
+
//# sourceMappingURL=terminate-ludeocast-build-distribution-request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"terminate-ludeocast-build-distribution-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAgE;AAChE,6CAA8C;AAC9C,6CAA6D;AAE7D,MAAa,iDAAiD;CAoB7D;AApBD,8GAoBC;AAlBC;IADC,IAAA,0BAAQ,GAAE;;kFACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+EACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iFACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;8BACnC,gCAAwB;wFAAC;AAKzC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iFACP;AAGpB,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,6DAA6D,CAAC;AAS3F;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"}
|
|
@@ -2,8 +2,8 @@ export * from './machine-ludeocast-creation-ended';
|
|
|
2
2
|
export * from './game-ludeocast-creation-ended';
|
|
3
3
|
export * from './game-ludeocast-termination-ended';
|
|
4
4
|
export * from './machine-ludeocast-termination-ended';
|
|
5
|
-
export * from './build-distribution-creation-ended';
|
|
6
|
-
export * from './build-distribution-termination-ended';
|
|
5
|
+
export * from './ludeocast-build-distribution-creation-ended';
|
|
6
|
+
export * from './ludeocast-build-distribution-termination-ended';
|
|
7
7
|
export * from './resource-status-update';
|
|
8
8
|
export * from '../base/base';
|
|
9
9
|
export * from '../base/constants';
|
|
@@ -18,8 +18,8 @@ __exportStar(require("./machine-ludeocast-creation-ended"), exports);
|
|
|
18
18
|
__exportStar(require("./game-ludeocast-creation-ended"), exports);
|
|
19
19
|
__exportStar(require("./game-ludeocast-termination-ended"), exports);
|
|
20
20
|
__exportStar(require("./machine-ludeocast-termination-ended"), exports);
|
|
21
|
-
__exportStar(require("./build-distribution-creation-ended"), exports);
|
|
22
|
-
__exportStar(require("./build-distribution-termination-ended"), exports);
|
|
21
|
+
__exportStar(require("./ludeocast-build-distribution-creation-ended"), exports);
|
|
22
|
+
__exportStar(require("./ludeocast-build-distribution-termination-ended"), exports);
|
|
23
23
|
__exportStar(require("./resource-status-update"), exports);
|
|
24
24
|
__exportStar(require("../base/base"), exports);
|
|
25
25
|
__exportStar(require("../base/constants"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,qEAAmD;AACnD,kEAAgD;AAChD,qEAAmD;AACnD,wEAAsD;AAEtD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,qEAAmD;AACnD,kEAAgD;AAChD,qEAAmD;AACnD,wEAAsD;AAEtD,gFAA8D;AAC9D,mFAAiE;AAEjE,2DAAyC;AAGzC,+CAA6B;AAC7B,oDAAkC;AAClC,iDAA+B;AAC/B,2DAAyC;AACzC,uDAAqC;AACrC,qDAAmC;AACnC,wDAAsC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LudeoEvent } from '../../../infra';
|
|
2
|
+
import { BuildContext } from '../../contexts';
|
|
3
|
+
import { SiteOperationStatus } from '../../types/site-controller';
|
|
4
|
+
import { LudeocastV2Distributions } from '../../types/build';
|
|
5
|
+
export declare class LudeocastBuildDistributionCreationEndedPayload {
|
|
6
|
+
buildId: string;
|
|
7
|
+
status: SiteOperationStatus;
|
|
8
|
+
reason?: string;
|
|
9
|
+
distributions?: LudeocastV2Distributions;
|
|
10
|
+
}
|
|
11
|
+
export declare class LudeocastBuildDistributionCreationEnded extends LudeoEvent {
|
|
12
|
+
static readonly EVENT_NAME = "site-controller.ludeocast-build-distribution-creation-ended";
|
|
13
|
+
constructor(payload: LudeocastBuildDistributionCreationEndedPayload, context: BuildContext);
|
|
14
|
+
payload: LudeocastBuildDistributionCreationEndedPayload;
|
|
15
|
+
context: BuildContext;
|
|
16
|
+
}
|
|
@@ -9,49 +9,49 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.LudeocastBuildDistributionCreationEnded = exports.LudeocastBuildDistributionCreationEndedPayload = void 0;
|
|
13
13
|
const infra_1 = require("../../../infra");
|
|
14
14
|
const decorators_1 = require("../../../decorators");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const contexts_1 = require("../../contexts");
|
|
17
17
|
const site_controller_1 = require("../../types/site-controller");
|
|
18
18
|
const build_1 = require("../../types/build");
|
|
19
|
-
class
|
|
19
|
+
class LudeocastBuildDistributionCreationEndedPayload {
|
|
20
20
|
}
|
|
21
|
-
exports.
|
|
21
|
+
exports.LudeocastBuildDistributionCreationEndedPayload = LudeocastBuildDistributionCreationEndedPayload;
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, class_validator_1.IsString)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
|
-
],
|
|
25
|
+
], LudeocastBuildDistributionCreationEndedPayload.prototype, "buildId", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, class_validator_1.IsEnum)(site_controller_1.SiteOperationStatus),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
|
-
],
|
|
29
|
+
], LudeocastBuildDistributionCreationEndedPayload.prototype, "status", void 0);
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, class_validator_1.IsOptional)(),
|
|
32
32
|
(0, class_validator_1.IsString)(),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
|
-
],
|
|
34
|
+
], LudeocastBuildDistributionCreationEndedPayload.prototype, "reason", void 0);
|
|
35
35
|
__decorate([
|
|
36
36
|
(0, class_validator_1.IsOptional)(),
|
|
37
37
|
(0, decorators_1.ValidateNestedType)(() => build_1.LudeocastV2Distributions),
|
|
38
38
|
__metadata("design:type", build_1.LudeocastV2Distributions)
|
|
39
|
-
],
|
|
40
|
-
class
|
|
39
|
+
], LudeocastBuildDistributionCreationEndedPayload.prototype, "distributions", void 0);
|
|
40
|
+
class LudeocastBuildDistributionCreationEnded extends infra_1.LudeoEvent {
|
|
41
41
|
constructor(payload, context) {
|
|
42
|
-
super(
|
|
42
|
+
super(LudeocastBuildDistributionCreationEnded.EVENT_NAME);
|
|
43
43
|
this.payload = payload;
|
|
44
44
|
this.context = context;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
exports.
|
|
48
|
-
|
|
47
|
+
exports.LudeocastBuildDistributionCreationEnded = LudeocastBuildDistributionCreationEnded;
|
|
48
|
+
LudeocastBuildDistributionCreationEnded.EVENT_NAME = 'site-controller.ludeocast-build-distribution-creation-ended';
|
|
49
49
|
__decorate([
|
|
50
|
-
(0, decorators_1.ValidateNestedType)(() =>
|
|
51
|
-
__metadata("design:type",
|
|
52
|
-
],
|
|
50
|
+
(0, decorators_1.ValidateNestedType)(() => LudeocastBuildDistributionCreationEndedPayload),
|
|
51
|
+
__metadata("design:type", LudeocastBuildDistributionCreationEndedPayload)
|
|
52
|
+
], LudeocastBuildDistributionCreationEnded.prototype, "payload", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, decorators_1.ValidateNestedType)(() => contexts_1.BuildContext),
|
|
55
55
|
__metadata("design:type", contexts_1.BuildContext)
|
|
56
|
-
],
|
|
57
|
-
//# sourceMappingURL=build-distribution-creation-ended.js.map
|
|
56
|
+
], LudeocastBuildDistributionCreationEnded.prototype, "context", void 0);
|
|
57
|
+
//# sourceMappingURL=ludeocast-build-distribution-creation-ended.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ludeocast-build-distribution-creation-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/ludeocast-build-distribution-creation-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA+D;AAC/D,6CAA8C;AAC9C,iEAAkE;AAClE,6CAA6D;AAE7D,MAAa,8CAA8C;CAc1D;AAdD,wGAcC;AAZC;IADC,IAAA,0BAAQ,GAAE;;+EACK;AAGhB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;8EACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8EACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;8BACnC,gCAAwB;qFAAC;AAG3C,MAAa,uCAAwC,SAAQ,kBAAU;IAGrE,YAAY,OAAuD,EAAE,OAAqB;QACxF,KAAK,CAAC,uCAAuC,CAAC,UAAU,CAAC,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,0FAcC;AAbiB,kDAAU,GAAG,6DAA6D,CAAC;AAS3F;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,8CAA8C,CAAC;8BAChE,8CAA8C;wEAAC;AAGxD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAY,CAAC;8BAC9B,uBAAY;wEAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { LudeoEvent } from '../../../infra';
|
|
2
|
+
import { BuildContext } from '../../contexts';
|
|
3
|
+
import { SiteOperationStatus } from '../../types/site-controller';
|
|
4
|
+
export declare class LudeocastBuildDistributionTerminationEndedPayload {
|
|
5
|
+
buildId: string;
|
|
6
|
+
status: SiteOperationStatus;
|
|
7
|
+
reason?: string;
|
|
8
|
+
envIds?: string[];
|
|
9
|
+
}
|
|
10
|
+
export declare class LudeocastBuildDistributionTerminationEnded extends LudeoEvent {
|
|
11
|
+
static readonly EVENT_NAME = "site-controller.ludeocast-build-distribution-termination-ended";
|
|
12
|
+
constructor(payload: LudeocastBuildDistributionTerminationEndedPayload, context: BuildContext);
|
|
13
|
+
payload: LudeocastBuildDistributionTerminationEndedPayload;
|
|
14
|
+
context: BuildContext;
|
|
15
|
+
}
|
|
@@ -9,49 +9,49 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.LudeocastBuildDistributionTerminationEnded = exports.LudeocastBuildDistributionTerminationEndedPayload = void 0;
|
|
13
13
|
const infra_1 = require("../../../infra");
|
|
14
14
|
const decorators_1 = require("../../../decorators");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const contexts_1 = require("../../contexts");
|
|
17
17
|
const site_controller_1 = require("../../types/site-controller");
|
|
18
|
-
class
|
|
18
|
+
class LudeocastBuildDistributionTerminationEndedPayload {
|
|
19
19
|
}
|
|
20
|
-
exports.
|
|
20
|
+
exports.LudeocastBuildDistributionTerminationEndedPayload = LudeocastBuildDistributionTerminationEndedPayload;
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, class_validator_1.IsString)(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
|
-
],
|
|
24
|
+
], LudeocastBuildDistributionTerminationEndedPayload.prototype, "buildId", void 0);
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, class_validator_1.IsEnum)(site_controller_1.SiteOperationStatus),
|
|
27
27
|
__metadata("design:type", String)
|
|
28
|
-
],
|
|
28
|
+
], LudeocastBuildDistributionTerminationEndedPayload.prototype, "status", void 0);
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, class_validator_1.IsOptional)(),
|
|
31
31
|
(0, class_validator_1.IsString)(),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
|
-
],
|
|
33
|
+
], LudeocastBuildDistributionTerminationEndedPayload.prototype, "reason", void 0);
|
|
34
34
|
__decorate([
|
|
35
35
|
(0, class_validator_1.IsOptional)(),
|
|
36
36
|
(0, class_validator_1.IsArray)(),
|
|
37
37
|
(0, class_validator_1.IsString)({ each: true }),
|
|
38
38
|
__metadata("design:type", Array)
|
|
39
|
-
],
|
|
40
|
-
class
|
|
39
|
+
], LudeocastBuildDistributionTerminationEndedPayload.prototype, "envIds", void 0);
|
|
40
|
+
class LudeocastBuildDistributionTerminationEnded extends infra_1.LudeoEvent {
|
|
41
41
|
constructor(payload, context) {
|
|
42
|
-
super(
|
|
42
|
+
super(LudeocastBuildDistributionTerminationEnded.EVENT_NAME);
|
|
43
43
|
this.payload = payload;
|
|
44
44
|
this.context = context;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
exports.
|
|
48
|
-
|
|
47
|
+
exports.LudeocastBuildDistributionTerminationEnded = LudeocastBuildDistributionTerminationEnded;
|
|
48
|
+
LudeocastBuildDistributionTerminationEnded.EVENT_NAME = 'site-controller.ludeocast-build-distribution-termination-ended';
|
|
49
49
|
__decorate([
|
|
50
|
-
(0, decorators_1.ValidateNestedType)(() =>
|
|
51
|
-
__metadata("design:type",
|
|
52
|
-
],
|
|
50
|
+
(0, decorators_1.ValidateNestedType)(() => LudeocastBuildDistributionTerminationEndedPayload),
|
|
51
|
+
__metadata("design:type", LudeocastBuildDistributionTerminationEndedPayload)
|
|
52
|
+
], LudeocastBuildDistributionTerminationEnded.prototype, "payload", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, decorators_1.ValidateNestedType)(() => contexts_1.BuildContext),
|
|
55
55
|
__metadata("design:type", contexts_1.BuildContext)
|
|
56
|
-
],
|
|
57
|
-
//# sourceMappingURL=build-distribution-termination-ended.js.map
|
|
56
|
+
], LudeocastBuildDistributionTerminationEnded.prototype, "context", void 0);
|
|
57
|
+
//# sourceMappingURL=ludeocast-build-distribution-termination-ended.js.map
|
|
@@ -0,0 +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,iEAAkE;AAElE,MAAa,iDAAiD;CAe7D;AAfD,8GAeC;AAbC;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;AAGpB,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
|
@@ -3,7 +3,7 @@ import { ValidateNestedType } from '../../../decorators';
|
|
|
3
3
|
import { IsString, IsOptional, IsNumber, IsArray } from 'class-validator';
|
|
4
4
|
import { BuildContext } from '../../contexts';
|
|
5
5
|
|
|
6
|
-
export class
|
|
6
|
+
export class CreateLudeocastBuildDistributionRequestPayload {
|
|
7
7
|
@IsString()
|
|
8
8
|
buildId: string;
|
|
9
9
|
|
|
@@ -22,17 +22,17 @@ export class CreateBuildDistributionRequestPayload {
|
|
|
22
22
|
regions: string[];
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export class
|
|
26
|
-
static readonly EVENT_NAME = 'cloud-builds.create-build-distribution-request';
|
|
25
|
+
export class CreateLudeocastBuildDistributionRequest extends LudeoEvent {
|
|
26
|
+
static readonly EVENT_NAME = 'cloud-builds.create-ludeocast-build-distribution-request';
|
|
27
27
|
|
|
28
|
-
constructor(payload:
|
|
29
|
-
super(
|
|
28
|
+
constructor(payload: CreateLudeocastBuildDistributionRequestPayload, context: BuildContext) {
|
|
29
|
+
super(CreateLudeocastBuildDistributionRequest.EVENT_NAME);
|
|
30
30
|
this.payload = payload;
|
|
31
31
|
this.context = context;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
@ValidateNestedType(() =>
|
|
35
|
-
payload:
|
|
34
|
+
@ValidateNestedType(() => CreateLudeocastBuildDistributionRequestPayload)
|
|
35
|
+
payload: CreateLudeocastBuildDistributionRequestPayload;
|
|
36
36
|
|
|
37
37
|
@ValidateNestedType(() => BuildContext)
|
|
38
38
|
context: BuildContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./create-build-distribution-request";
|
|
2
|
-
export * from "./terminate-build-distribution-request";
|
|
1
|
+
export * from "./create-ludeocast-build-distribution-request";
|
|
2
|
+
export * from "./terminate-ludeocast-build-distribution-request";
|
|
@@ -4,7 +4,7 @@ import { IsArray, IsOptional, IsString } from 'class-validator';
|
|
|
4
4
|
import { BuildContext } from '../../contexts';
|
|
5
5
|
import { LudeocastV2Distributions } from '../../types/build';
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class TerminateLudeocastBuildDistributionRequestPayload {
|
|
8
8
|
@IsString()
|
|
9
9
|
buildId: string;
|
|
10
10
|
|
|
@@ -26,17 +26,17 @@ export class TerminateBuildDistributionRequestPayload {
|
|
|
26
26
|
envIds?: string[];
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export class
|
|
30
|
-
static readonly EVENT_NAME = 'cloud-builds.terminate-build-distribution-request';
|
|
29
|
+
export class TerminateLudeocastBuildDistributionRequest extends LudeoEvent {
|
|
30
|
+
static readonly EVENT_NAME = 'cloud-builds.terminate-ludeocast-build-distribution-request';
|
|
31
31
|
|
|
32
|
-
constructor(payload:
|
|
33
|
-
super(
|
|
32
|
+
constructor(payload: TerminateLudeocastBuildDistributionRequestPayload, context: BuildContext) {
|
|
33
|
+
super(TerminateLudeocastBuildDistributionRequest.EVENT_NAME);
|
|
34
34
|
this.payload = payload;
|
|
35
35
|
this.context = context;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
@ValidateNestedType(() =>
|
|
39
|
-
payload:
|
|
38
|
+
@ValidateNestedType(() => TerminateLudeocastBuildDistributionRequestPayload)
|
|
39
|
+
payload: TerminateLudeocastBuildDistributionRequestPayload;
|
|
40
40
|
|
|
41
41
|
@ValidateNestedType(() => BuildContext)
|
|
42
42
|
context: BuildContext;
|
|
@@ -4,8 +4,8 @@ export * from './game-ludeocast-creation-ended';
|
|
|
4
4
|
export * from './game-ludeocast-termination-ended';
|
|
5
5
|
export * from './machine-ludeocast-termination-ended';
|
|
6
6
|
|
|
7
|
-
export * from './build-distribution-creation-ended';
|
|
8
|
-
export * from './build-distribution-termination-ended';
|
|
7
|
+
export * from './ludeocast-build-distribution-creation-ended';
|
|
8
|
+
export * from './ludeocast-build-distribution-termination-ended';
|
|
9
9
|
|
|
10
10
|
export * from './resource-status-update';
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ import { BuildContext } from '../../contexts';
|
|
|
5
5
|
import { SiteOperationStatus } from '../../types/site-controller';
|
|
6
6
|
import { LudeocastV2Distributions } from '../../types/build';
|
|
7
7
|
|
|
8
|
-
export class
|
|
8
|
+
export class LudeocastBuildDistributionCreationEndedPayload {
|
|
9
9
|
@IsString()
|
|
10
10
|
buildId: string;
|
|
11
11
|
|
|
@@ -21,17 +21,17 @@ export class BuildDistributionCreationEndedPayload {
|
|
|
21
21
|
distributions?: LudeocastV2Distributions;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export class
|
|
25
|
-
static readonly EVENT_NAME = 'site-controller.build-distribution-creation-ended';
|
|
24
|
+
export class LudeocastBuildDistributionCreationEnded extends LudeoEvent {
|
|
25
|
+
static readonly EVENT_NAME = 'site-controller.ludeocast-build-distribution-creation-ended';
|
|
26
26
|
|
|
27
|
-
constructor(payload:
|
|
28
|
-
super(
|
|
27
|
+
constructor(payload: LudeocastBuildDistributionCreationEndedPayload, context: BuildContext) {
|
|
28
|
+
super(LudeocastBuildDistributionCreationEnded.EVENT_NAME);
|
|
29
29
|
this.payload = payload;
|
|
30
30
|
this.context = context;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
@ValidateNestedType(() =>
|
|
34
|
-
payload:
|
|
33
|
+
@ValidateNestedType(() => LudeocastBuildDistributionCreationEndedPayload)
|
|
34
|
+
payload: LudeocastBuildDistributionCreationEndedPayload;
|
|
35
35
|
|
|
36
36
|
@ValidateNestedType(() => BuildContext)
|
|
37
37
|
context: BuildContext;
|
|
@@ -4,7 +4,7 @@ import { IsEnum, IsOptional, IsString, IsArray } from 'class-validator';
|
|
|
4
4
|
import { BuildContext } from '../../contexts';
|
|
5
5
|
import { SiteOperationStatus } from '../../types/site-controller';
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class LudeocastBuildDistributionTerminationEndedPayload {
|
|
8
8
|
@IsString()
|
|
9
9
|
buildId: string;
|
|
10
10
|
|
|
@@ -21,17 +21,17 @@ export class BuildDistributionTerminationEndedPayload {
|
|
|
21
21
|
envIds?: string[];
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export class
|
|
25
|
-
static readonly EVENT_NAME = 'site-controller.build-distribution-termination-ended';
|
|
24
|
+
export class LudeocastBuildDistributionTerminationEnded extends LudeoEvent {
|
|
25
|
+
static readonly EVENT_NAME = 'site-controller.ludeocast-build-distribution-termination-ended';
|
|
26
26
|
|
|
27
|
-
constructor(payload:
|
|
28
|
-
super(
|
|
27
|
+
constructor(payload: LudeocastBuildDistributionTerminationEndedPayload, context: BuildContext) {
|
|
28
|
+
super(LudeocastBuildDistributionTerminationEnded.EVENT_NAME);
|
|
29
29
|
this.payload = payload;
|
|
30
30
|
this.context = context;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
@ValidateNestedType(() =>
|
|
34
|
-
payload:
|
|
33
|
+
@ValidateNestedType(() => LudeocastBuildDistributionTerminationEndedPayload)
|
|
34
|
+
payload: LudeocastBuildDistributionTerminationEndedPayload;
|
|
35
35
|
|
|
36
36
|
@ValidateNestedType(() => BuildContext)
|
|
37
37
|
context: BuildContext;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import { BuildContext } from '../../contexts';
|
|
3
|
-
export declare class CreateBuildDistributionRequestPayload {
|
|
4
|
-
buildId: string;
|
|
5
|
-
downloadURL: string;
|
|
6
|
-
sizeGB: number;
|
|
7
|
-
site?: string;
|
|
8
|
-
regions: string[];
|
|
9
|
-
}
|
|
10
|
-
export declare class CreateBuildDistributionRequest extends LudeoEvent {
|
|
11
|
-
static readonly EVENT_NAME = "cloud-builds.create-build-distribution-request";
|
|
12
|
-
constructor(payload: CreateBuildDistributionRequestPayload, context: BuildContext);
|
|
13
|
-
payload: CreateBuildDistributionRequestPayload;
|
|
14
|
-
context: BuildContext;
|
|
15
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-build-distribution-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/create-build-distribution-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA0E;AAC1E,6CAA8C;AAE9C,MAAa,qCAAqC;CAiBjD;AAjBD,sFAiBC;AAfC;IADC,IAAA,0BAAQ,GAAE;;sEACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;0EACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;qEACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACG;AAId;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;sEACP;AAGpB,MAAa,8BAA+B,SAAQ,kBAAU;IAG5D,YAAY,OAA8C,EAAE,OAAqB;QAC/E,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAAC,CAAC;QACjD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,wEAcC;AAbiB,yCAAU,GAAG,gDAAgD,CAAC;AAS9E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,qCAAqC,CAAC;8BACvD,qCAAqC;+DAAC;AAG/C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAY,CAAC;8BAC9B,uBAAY;+DAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import { BuildContext } from '../../contexts';
|
|
3
|
-
import { LudeocastV2Distributions } from '../../types/build';
|
|
4
|
-
export declare class TerminateBuildDistributionRequestPayload {
|
|
5
|
-
buildId: string;
|
|
6
|
-
site?: string;
|
|
7
|
-
region?: string;
|
|
8
|
-
distributions?: LudeocastV2Distributions;
|
|
9
|
-
envIds?: string[];
|
|
10
|
-
}
|
|
11
|
-
export declare class TerminateBuildDistributionRequest extends LudeoEvent {
|
|
12
|
-
static readonly EVENT_NAME = "cloud-builds.terminate-build-distribution-request";
|
|
13
|
-
constructor(payload: TerminateBuildDistributionRequestPayload, context: BuildContext);
|
|
14
|
-
payload: TerminateBuildDistributionRequestPayload;
|
|
15
|
-
context: BuildContext;
|
|
16
|
-
}
|