@ludeo/cloud-common 1.2.121-beta-yahil-1 → 1.2.121-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-files-verification-job-failed.d.ts +15 -0
- package/dist/v4/events/build-files-verification-job-failed.js +51 -0
- package/dist/v4/events/build-files-verification-job-failed.js.map +1 -0
- package/dist/v4/events/build-files-verification-job-finished.d.ts +14 -0
- package/dist/v4/events/build-files-verification-job-finished.js +47 -0
- package/dist/v4/events/build-files-verification-job-finished.js.map +1 -0
- package/dist/v4/events/build-files-verification-job.d.ts +15 -0
- package/dist/v4/events/build-files-verification-job.js +51 -0
- package/dist/v4/events/build-files-verification-job.js.map +1 -0
- package/dist/v4/events/index.d.ts +3 -0
- package/dist/v4/events/index.js +3 -0
- package/dist/v4/events/index.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/build-files-verification-job-failed.ts +38 -0
- package/src/v4/events/build-files-verification-job-finished.ts +35 -0
- package/src/v4/events/build-files-verification-job.ts +37 -0
- package/src/v4/events/index.ts +3 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CloudProvider } from "../types";
|
|
2
|
+
import { BuildContext } from "../contexts/build-context";
|
|
3
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
4
|
+
import { CloudBuild } from "../types/build";
|
|
5
|
+
export declare class BuildFilesVerificationJobFailedPayload {
|
|
6
|
+
build: CloudBuild;
|
|
7
|
+
files: string[];
|
|
8
|
+
cloudProvider: CloudProvider;
|
|
9
|
+
}
|
|
10
|
+
export declare class BuildFilesVerificationJobFailed extends LudeoEvent {
|
|
11
|
+
static readonly EVENT_NAME = "cloud-builds.build-files-verification-job-failed";
|
|
12
|
+
constructor(payload: BuildFilesVerificationJobFailedPayload, context: BuildContext);
|
|
13
|
+
context: BuildContext;
|
|
14
|
+
payload: BuildFilesVerificationJobFailedPayload;
|
|
15
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BuildFilesVerificationJobFailed = exports.BuildFilesVerificationJobFailedPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const types_1 = require("../types");
|
|
15
|
+
const build_context_1 = require("../contexts/build-context");
|
|
16
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
17
|
+
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
18
|
+
const build_1 = require("../types/build");
|
|
19
|
+
class BuildFilesVerificationJobFailedPayload {
|
|
20
|
+
}
|
|
21
|
+
exports.BuildFilesVerificationJobFailedPayload = BuildFilesVerificationJobFailedPayload;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => build_1.CloudBuild),
|
|
24
|
+
__metadata("design:type", build_1.CloudBuild)
|
|
25
|
+
], BuildFilesVerificationJobFailedPayload.prototype, "build", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsArray)(),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], BuildFilesVerificationJobFailedPayload.prototype, "files", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(types_1.CloudProvider),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], BuildFilesVerificationJobFailedPayload.prototype, "cloudProvider", void 0);
|
|
34
|
+
class BuildFilesVerificationJobFailed extends ludeo_event_1.LudeoEvent {
|
|
35
|
+
constructor(payload, context) {
|
|
36
|
+
super(BuildFilesVerificationJobFailed.EVENT_NAME);
|
|
37
|
+
this.payload = payload;
|
|
38
|
+
this.context = context;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.BuildFilesVerificationJobFailed = BuildFilesVerificationJobFailed;
|
|
42
|
+
BuildFilesVerificationJobFailed.EVENT_NAME = "cloud-builds.build-files-verification-job-failed";
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => build_context_1.BuildContext),
|
|
45
|
+
__metadata("design:type", build_context_1.BuildContext)
|
|
46
|
+
], BuildFilesVerificationJobFailed.prototype, "context", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => BuildFilesVerificationJobFailedPayload),
|
|
49
|
+
__metadata("design:type", BuildFilesVerificationJobFailedPayload)
|
|
50
|
+
], BuildFilesVerificationJobFailed.prototype, "payload", void 0);
|
|
51
|
+
//# sourceMappingURL=build-files-verification-job-failed.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-files-verification-job-failed.js","sourceRoot":"","sources":["../../../src/v4/events/build-files-verification-job-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0D;AAC1D,oCAAyC;AACzC,6DAAyD;AACzD,oGAAqF;AACrF,yDAAqD;AAErD,0CAA4C;AAE5C,MAAa,sCAAsC;CASlD;AATD,wFASC;AAPC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,kBAAU,CAAC;8BAC9B,kBAAU;qEAAC;AAGlB;IADC,IAAA,yBAAO,GAAE;;qEACM;AAGhB;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;6EACO;AAG/B,MAAa,+BAAgC,SAAQ,wBAAU;IAI7D,YACE,OAA+C,EAC/C,OAAqB;QAErB,KAAK,CAAC,+BAA+B,CAAC,UAAU,CAAC,CAAC;QAClD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,0EAkBC;AAjBiB,0CAAU,GACxB,kDAAkD,CAAC;AAYrD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;8BAC9B,4BAAY;gEAAC;AAGtB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,sCAAsC,CAAC;8BACxD,sCAAsC;gEAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CloudProvider } from "../types";
|
|
2
|
+
import { BuildContext } from "../contexts/build-context";
|
|
3
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
4
|
+
import { CloudBuild } from "../types/build";
|
|
5
|
+
export declare class BuildFilesVerificationJobFinishedPayload {
|
|
6
|
+
build: CloudBuild;
|
|
7
|
+
cloudProvider: CloudProvider;
|
|
8
|
+
}
|
|
9
|
+
export declare class BuildFilesVerificationJobFinished extends LudeoEvent {
|
|
10
|
+
static readonly EVENT_NAME = "cloud-builds.build-files-verification-job-finished";
|
|
11
|
+
constructor(payload: BuildFilesVerificationJobFinishedPayload, context: BuildContext);
|
|
12
|
+
context: BuildContext;
|
|
13
|
+
payload: BuildFilesVerificationJobFinishedPayload;
|
|
14
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BuildFilesVerificationJobFinished = exports.BuildFilesVerificationJobFinishedPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const types_1 = require("../types");
|
|
15
|
+
const build_context_1 = require("../contexts/build-context");
|
|
16
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
17
|
+
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
18
|
+
const build_1 = require("../types/build");
|
|
19
|
+
class BuildFilesVerificationJobFinishedPayload {
|
|
20
|
+
}
|
|
21
|
+
exports.BuildFilesVerificationJobFinishedPayload = BuildFilesVerificationJobFinishedPayload;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => build_1.CloudBuild),
|
|
24
|
+
__metadata("design:type", build_1.CloudBuild)
|
|
25
|
+
], BuildFilesVerificationJobFinishedPayload.prototype, "build", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsEnum)(types_1.CloudProvider),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], BuildFilesVerificationJobFinishedPayload.prototype, "cloudProvider", void 0);
|
|
30
|
+
class BuildFilesVerificationJobFinished extends ludeo_event_1.LudeoEvent {
|
|
31
|
+
constructor(payload, context) {
|
|
32
|
+
super(BuildFilesVerificationJobFinished.EVENT_NAME);
|
|
33
|
+
this.payload = payload;
|
|
34
|
+
this.context = context;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.BuildFilesVerificationJobFinished = BuildFilesVerificationJobFinished;
|
|
38
|
+
BuildFilesVerificationJobFinished.EVENT_NAME = "cloud-builds.build-files-verification-job-finished";
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => build_context_1.BuildContext),
|
|
41
|
+
__metadata("design:type", build_context_1.BuildContext)
|
|
42
|
+
], BuildFilesVerificationJobFinished.prototype, "context", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => BuildFilesVerificationJobFinishedPayload),
|
|
45
|
+
__metadata("design:type", BuildFilesVerificationJobFinishedPayload)
|
|
46
|
+
], BuildFilesVerificationJobFinished.prototype, "payload", void 0);
|
|
47
|
+
//# sourceMappingURL=build-files-verification-job-finished.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-files-verification-job-finished.js","sourceRoot":"","sources":["../../../src/v4/events/build-files-verification-job-finished.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0D;AAC1D,oCAAyC;AACzC,6DAAyD;AACzD,oGAAqF;AACrF,yDAAqD;AAErD,0CAA4C;AAE5C,MAAa,wCAAwC;CAMpD;AAND,4FAMC;AAJC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,kBAAU,CAAC;8BAC9B,kBAAU;uEAAC;AAGlB;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;+EACO;AAG/B,MAAa,iCAAkC,SAAQ,wBAAU;IAI/D,YACE,OAAiD,EACjD,OAAqB;QAErB,KAAK,CAAC,iCAAiC,CAAC,UAAU,CAAC,CAAC;QACpD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,8EAkBC;AAjBiB,4CAAU,GACxB,oDAAoD,CAAC;AAYvD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;8BAC9B,4BAAY;kEAAC;AAGtB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,wCAAwC,CAAC;8BAC1D,wCAAwC;kEAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CloudProvider } from "../types";
|
|
2
|
+
import { BuildContext } from "../contexts/build-context";
|
|
3
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
4
|
+
import { CloudBuild } from "../types/build";
|
|
5
|
+
export declare class BuildFilesVerificationJobPayload {
|
|
6
|
+
build: CloudBuild;
|
|
7
|
+
files: string[];
|
|
8
|
+
cloudProvider: CloudProvider;
|
|
9
|
+
}
|
|
10
|
+
export declare class BuildFilesVerificationJob extends LudeoEvent {
|
|
11
|
+
static readonly EVENT_NAME = "cloud-builds.build-files-verification-job";
|
|
12
|
+
constructor(payload: BuildFilesVerificationJobPayload, context: BuildContext);
|
|
13
|
+
context: BuildContext;
|
|
14
|
+
payload: BuildFilesVerificationJobPayload;
|
|
15
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BuildFilesVerificationJob = exports.BuildFilesVerificationJobPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const types_1 = require("../types");
|
|
15
|
+
const build_context_1 = require("../contexts/build-context");
|
|
16
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
17
|
+
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
18
|
+
const build_1 = require("../types/build");
|
|
19
|
+
class BuildFilesVerificationJobPayload {
|
|
20
|
+
}
|
|
21
|
+
exports.BuildFilesVerificationJobPayload = BuildFilesVerificationJobPayload;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => build_1.CloudBuild),
|
|
24
|
+
__metadata("design:type", build_1.CloudBuild)
|
|
25
|
+
], BuildFilesVerificationJobPayload.prototype, "build", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsArray)(),
|
|
28
|
+
__metadata("design:type", Array)
|
|
29
|
+
], BuildFilesVerificationJobPayload.prototype, "files", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(types_1.CloudProvider),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], BuildFilesVerificationJobPayload.prototype, "cloudProvider", void 0);
|
|
34
|
+
class BuildFilesVerificationJob extends ludeo_event_1.LudeoEvent {
|
|
35
|
+
constructor(payload, context) {
|
|
36
|
+
super(BuildFilesVerificationJob.EVENT_NAME);
|
|
37
|
+
this.payload = payload;
|
|
38
|
+
this.context = context;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.BuildFilesVerificationJob = BuildFilesVerificationJob;
|
|
42
|
+
BuildFilesVerificationJob.EVENT_NAME = "cloud-builds.build-files-verification-job";
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => build_context_1.BuildContext),
|
|
45
|
+
__metadata("design:type", build_context_1.BuildContext)
|
|
46
|
+
], BuildFilesVerificationJob.prototype, "context", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => BuildFilesVerificationJobPayload),
|
|
49
|
+
__metadata("design:type", BuildFilesVerificationJobPayload)
|
|
50
|
+
], BuildFilesVerificationJob.prototype, "payload", void 0);
|
|
51
|
+
//# sourceMappingURL=build-files-verification-job.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-files-verification-job.js","sourceRoot":"","sources":["../../../src/v4/events/build-files-verification-job.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0D;AAC1D,oCAAyC;AACzC,6DAAyD;AACzD,oGAAqF;AACrF,yDAAqD;AAErD,0CAA4C;AAE5C,MAAa,gCAAgC;CAS5C;AATD,4EASC;AAPC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,kBAAU,CAAC;8BAC9B,kBAAU;+DAAC;AAGlB;IADC,IAAA,yBAAO,GAAE;;+DACM;AAGhB;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;uEACO;AAG/B,MAAa,yBAA0B,SAAQ,wBAAU;IAGvD,YACE,OAAyC,EACzC,OAAqB;QAErB,KAAK,CAAC,yBAAyB,CAAC,UAAU,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,8DAiBC;AAhBiB,oCAAU,GAAG,2CAA2C,CAAC;AAYzE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;8BAC9B,4BAAY;0DAAC;AAGtB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,gCAAgC,CAAC;8BAClD,gCAAgC;0DAAC"}
|
|
@@ -137,3 +137,6 @@ export * from "./monitor-aws-build-replication-status-task";
|
|
|
137
137
|
export * from "./ludeo-build-updated";
|
|
138
138
|
export * from "./clean-build-distribution-job";
|
|
139
139
|
export * from "./monitor-aws-build-files-verification-task";
|
|
140
|
+
export * from "./build-files-verification-job";
|
|
141
|
+
export * from "./build-files-verification-job-finished";
|
|
142
|
+
export * from "./build-files-verification-job-failed";
|
package/dist/v4/events/index.js
CHANGED
|
@@ -153,4 +153,7 @@ __exportStar(require("./monitor-aws-build-replication-status-task"), exports);
|
|
|
153
153
|
__exportStar(require("./ludeo-build-updated"), exports);
|
|
154
154
|
__exportStar(require("./clean-build-distribution-job"), exports);
|
|
155
155
|
__exportStar(require("./monitor-aws-build-files-verification-task"), exports);
|
|
156
|
+
__exportStar(require("./build-files-verification-job"), exports);
|
|
157
|
+
__exportStar(require("./build-files-verification-job-finished"), exports);
|
|
158
|
+
__exportStar(require("./build-files-verification-job-failed"), exports);
|
|
156
159
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v4/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,uEAAqD;AACrD,4EAA0D;AAC1D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,yDAAuC;AACvC,0EAAwD;AACxD,oEAAkD;AAClD,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,4DAA0C;AAC1C,oEAAkD;AAClD,qEAAmD;AACnD,6EAA2D;AAC3D,mEAAiD;AACjD,2EAAyD;AACzD,sEAAoD;AACpD,8EAA4D;AAC5D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,+DAA6C;AAC7C,uEAAqD;AACrD,iEAA+C;AAC/C,yEAA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C7C,sDAAoC;AACpC,kDAAgC;AAChC,kEAAgD;AAChD,sEAAoD;AACpD,uEAAqD;AACrD,oDAAkC;AAClC,iEAA+C;AAC/C,mDAAiC;AACjC,iDAA+B;AAC/B,0DAAwC;AACxC,uDAAqC;AACrC,uDAAqC;AACrC,iFAA+D;AAC/D,iDAA+B;AAC/B,2EAAyD;AACzD,iFAA+D;AAC/D,yEAAuD;AACvD,sFAAoE;AACpE,6DAA2C;AAC3C,qEAAmD;AACnD,mDAAiC;AACjC,oEAAkD;AAClD,kEAAgD;AAChD,4DAA0C;AAC1C,8EAA4D;AAC5D,wDAAsC;AACtC,iEAA+C;AAC/C,8EAA4D"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v4/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,uEAAqD;AACrD,4EAA0D;AAC1D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,yDAAuC;AACvC,0EAAwD;AACxD,oEAAkD;AAClD,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,4DAA0C;AAC1C,oEAAkD;AAClD,qEAAmD;AACnD,6EAA2D;AAC3D,mEAAiD;AACjD,2EAAyD;AACzD,sEAAoD;AACpD,8EAA4D;AAC5D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,+DAA6C;AAC7C,uEAAqD;AACrD,iEAA+C;AAC/C,yEAAuD;AACvD,+DAA6C;AAC7C,oFAAkE;AAClE,uFAAqE;AACrE,sEAAoD;AACpD,8EAA4D;AAC5D,yEAAuD;AACvD,6DAA2C;AAC3C,+DAA6C;AAC7C,gDAA8B;AAC9B,4DAA0C;AAC1C,6CAA2B;AAC3B,oDAAkC;AAClC,8DAA4C;AAC5C,mEAAiD;AACjD,4DAA0C;AAC1C,2DAAyC;AACzC,oEAAkD;AAClD,4DAA0C;AAC1C,uEAAqD;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AmD;AACnD,mDAAiC;AACjC,oEAAkD;AAClD,kEAAgD;AAChD,4DAA0C;AAC1C,8EAA4D;AAC5D,wDAAsC;AACtC,iEAA+C;AAC/C,8EAA4D;AAC5D,iEAA+C;AAC/C,0EAAwD;AACxD,wEAAsD"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IsArray, IsEnum, IsUUID } from "class-validator";
|
|
2
|
+
import { CloudProvider } from "../types";
|
|
3
|
+
import { BuildContext } from "../contexts/build-context";
|
|
4
|
+
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
5
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
6
|
+
|
|
7
|
+
import { CloudBuild } from "../types/build";
|
|
8
|
+
|
|
9
|
+
export class BuildFilesVerificationJobFailedPayload {
|
|
10
|
+
@ValidateNestedType(() => CloudBuild)
|
|
11
|
+
build: CloudBuild;
|
|
12
|
+
|
|
13
|
+
@IsArray()
|
|
14
|
+
files: string[];
|
|
15
|
+
|
|
16
|
+
@IsEnum(CloudProvider)
|
|
17
|
+
cloudProvider: CloudProvider;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export class BuildFilesVerificationJobFailed extends LudeoEvent {
|
|
21
|
+
static readonly EVENT_NAME =
|
|
22
|
+
"cloud-builds.build-files-verification-job-failed";
|
|
23
|
+
|
|
24
|
+
constructor(
|
|
25
|
+
payload: BuildFilesVerificationJobFailedPayload,
|
|
26
|
+
context: BuildContext
|
|
27
|
+
) {
|
|
28
|
+
super(BuildFilesVerificationJobFailed.EVENT_NAME);
|
|
29
|
+
this.payload = payload;
|
|
30
|
+
this.context = context;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@ValidateNestedType(() => BuildContext)
|
|
34
|
+
context: BuildContext;
|
|
35
|
+
|
|
36
|
+
@ValidateNestedType(() => BuildFilesVerificationJobFailedPayload)
|
|
37
|
+
payload: BuildFilesVerificationJobFailedPayload;
|
|
38
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IsArray, IsEnum, IsUUID } from "class-validator";
|
|
2
|
+
import { CloudProvider } from "../types";
|
|
3
|
+
import { BuildContext } from "../contexts/build-context";
|
|
4
|
+
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
5
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
6
|
+
|
|
7
|
+
import { CloudBuild } from "../types/build";
|
|
8
|
+
|
|
9
|
+
export class BuildFilesVerificationJobFinishedPayload {
|
|
10
|
+
@ValidateNestedType(() => CloudBuild)
|
|
11
|
+
build: CloudBuild;
|
|
12
|
+
|
|
13
|
+
@IsEnum(CloudProvider)
|
|
14
|
+
cloudProvider: CloudProvider;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class BuildFilesVerificationJobFinished extends LudeoEvent {
|
|
18
|
+
static readonly EVENT_NAME =
|
|
19
|
+
"cloud-builds.build-files-verification-job-finished";
|
|
20
|
+
|
|
21
|
+
constructor(
|
|
22
|
+
payload: BuildFilesVerificationJobFinishedPayload,
|
|
23
|
+
context: BuildContext
|
|
24
|
+
) {
|
|
25
|
+
super(BuildFilesVerificationJobFinished.EVENT_NAME);
|
|
26
|
+
this.payload = payload;
|
|
27
|
+
this.context = context;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@ValidateNestedType(() => BuildContext)
|
|
31
|
+
context: BuildContext;
|
|
32
|
+
|
|
33
|
+
@ValidateNestedType(() => BuildFilesVerificationJobFinishedPayload)
|
|
34
|
+
payload: BuildFilesVerificationJobFinishedPayload;
|
|
35
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IsArray, IsEnum, IsUUID } from "class-validator";
|
|
2
|
+
import { CloudProvider } from "../types";
|
|
3
|
+
import { BuildContext } from "../contexts/build-context";
|
|
4
|
+
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
5
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
6
|
+
|
|
7
|
+
import { CloudBuild } from "../types/build";
|
|
8
|
+
|
|
9
|
+
export class BuildFilesVerificationJobPayload {
|
|
10
|
+
@ValidateNestedType(() => CloudBuild)
|
|
11
|
+
build: CloudBuild;
|
|
12
|
+
|
|
13
|
+
@IsArray()
|
|
14
|
+
files: string[];
|
|
15
|
+
|
|
16
|
+
@IsEnum(CloudProvider)
|
|
17
|
+
cloudProvider: CloudProvider;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export class BuildFilesVerificationJob extends LudeoEvent {
|
|
21
|
+
static readonly EVENT_NAME = "cloud-builds.build-files-verification-job";
|
|
22
|
+
|
|
23
|
+
constructor(
|
|
24
|
+
payload: BuildFilesVerificationJobPayload,
|
|
25
|
+
context: BuildContext
|
|
26
|
+
) {
|
|
27
|
+
super(BuildFilesVerificationJob.EVENT_NAME);
|
|
28
|
+
this.payload = payload;
|
|
29
|
+
this.context = context;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@ValidateNestedType(() => BuildContext)
|
|
33
|
+
context: BuildContext;
|
|
34
|
+
|
|
35
|
+
@ValidateNestedType(() => BuildFilesVerificationJobPayload)
|
|
36
|
+
payload: BuildFilesVerificationJobPayload;
|
|
37
|
+
}
|
package/src/v4/events/index.ts
CHANGED
|
@@ -137,3 +137,6 @@ export * from "./monitor-aws-build-replication-status-task";
|
|
|
137
137
|
export * from "./ludeo-build-updated";
|
|
138
138
|
export * from "./clean-build-distribution-job";
|
|
139
139
|
export * from "./monitor-aws-build-files-verification-task";
|
|
140
|
+
export * from "./build-files-verification-job";
|
|
141
|
+
export * from "./build-files-verification-job-finished";
|
|
142
|
+
export * from "./build-files-verification-job-failed";
|