@ludeo/cloud-common 1.2.94-beta-yahil-3 → 1.2.94-beta-yahil-5
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-settings-ready-for-creation.d.ts +1 -0
- package/dist/v4/events/build-assignment-settings-ready-for-creation.js +4 -0
- package/dist/v4/events/build-assignment-settings-ready-for-creation.js.map +1 -1
- package/dist/v4/events/build-assignment-settings-ready.d.ts +12 -0
- package/dist/v4/events/build-assignment-settings-ready.js +45 -0
- package/dist/v4/events/build-assignment-settings-ready.js.map +1 -0
- package/dist/v4/events/index.d.ts +1 -0
- package/dist/v4/events/index.js +1 -0
- package/dist/v4/events/index.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/build-assignment-settings-ready-for-creation.ts +3 -0
- package/src/v4/events/build-assignment-settings-ready.ts +31 -0
- package/src/v4/events/index.ts +1 -0
|
@@ -4,6 +4,7 @@ import { BuildAssignmentProviderSettings } from "../types/build";
|
|
|
4
4
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
5
5
|
export declare class BuildAssignmentSettingsReadyForCreationPayload {
|
|
6
6
|
buildId: string;
|
|
7
|
+
envId: string;
|
|
7
8
|
assignmentProviderSettings: BuildAssignmentProviderSettings;
|
|
8
9
|
cloudProvider: CloudProvider;
|
|
9
10
|
}
|
|
@@ -23,6 +23,10 @@ __decorate([
|
|
|
23
23
|
(0, class_validator_1.IsUUID)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], BuildAssignmentSettingsReadyForCreationPayload.prototype, "buildId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsUUID)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], BuildAssignmentSettingsReadyForCreationPayload.prototype, "envId", void 0);
|
|
26
30
|
__decorate([
|
|
27
31
|
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => build_1.AwsBuildAssignmentSettings),
|
|
28
32
|
__metadata("design:type", Object)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build-assignment-settings-ready-for-creation.js","sourceRoot":"","sources":["../../../src/v4/events/build-assignment-settings-ready-for-creation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AACjD,oCAAyC;AACzC,6DAAyD;AACzD,0CAGwB;AACxB,oGAAqF;AACrF,yDAAqD;AAErD,MAAa,8CAA8C;
|
|
1
|
+
{"version":3,"file":"build-assignment-settings-ready-for-creation.js","sourceRoot":"","sources":["../../../src/v4/events/build-assignment-settings-ready-for-creation.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AACjD,oCAAyC;AACzC,6DAAyD;AACzD,0CAGwB;AACxB,oGAAqF;AACrF,yDAAqD;AAErD,MAAa,8CAA8C;CAY1D;AAZD,wGAYC;AAVC;IADC,IAAA,wBAAM,GAAE;;+EACO;AAGhB;IADC,IAAA,wBAAM,GAAE;;6EACK;AAGd;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,kCAA0B,CAAC;;kGACO;AAG5D;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;qFACO;AAG/B,MAAa,uCAAwC,SAAQ,wBAAU;IAIrE,YACE,OAAuD,EACvD,OAAqB;QAErB,KAAK,CAAC,uCAAuC,CAAC,UAAU,CAAC,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,0FAkBC;AAjBiB,kDAAU,GACxB,2DAA2D,CAAC;AAY9D;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;8BAC9B,4BAAY;wEAAC;AAGtB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8CAA8C,CAAC;8BAChE,8CAA8C;wEAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BuildContext } from "../contexts/build-context";
|
|
2
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
|
+
export declare class BuildAssignmentSettingsReadyPayload {
|
|
4
|
+
envId: string;
|
|
5
|
+
buildId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class BuildAssignmentSettingsReady extends LudeoEvent {
|
|
8
|
+
static readonly EVENT_NAME = "cloud-builds.build-assignment-settings-ready";
|
|
9
|
+
constructor(payload: BuildAssignmentSettingsReadyPayload, context: BuildContext);
|
|
10
|
+
context: BuildContext;
|
|
11
|
+
payload: BuildAssignmentSettingsReadyPayload;
|
|
12
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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.BuildAssignmentSettingsReady = exports.BuildAssignmentSettingsReadyPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const build_context_1 = require("../contexts/build-context");
|
|
15
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
16
|
+
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
17
|
+
class BuildAssignmentSettingsReadyPayload {
|
|
18
|
+
}
|
|
19
|
+
exports.BuildAssignmentSettingsReadyPayload = BuildAssignmentSettingsReadyPayload;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsUUID)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], BuildAssignmentSettingsReadyPayload.prototype, "envId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsUUID)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], BuildAssignmentSettingsReadyPayload.prototype, "buildId", void 0);
|
|
28
|
+
class BuildAssignmentSettingsReady extends ludeo_event_1.LudeoEvent {
|
|
29
|
+
constructor(payload, context) {
|
|
30
|
+
super(BuildAssignmentSettingsReady.EVENT_NAME);
|
|
31
|
+
this.payload = payload;
|
|
32
|
+
this.context = context;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.BuildAssignmentSettingsReady = BuildAssignmentSettingsReady;
|
|
36
|
+
BuildAssignmentSettingsReady.EVENT_NAME = "cloud-builds.build-assignment-settings-ready";
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => build_context_1.BuildContext),
|
|
39
|
+
__metadata("design:type", build_context_1.BuildContext)
|
|
40
|
+
], BuildAssignmentSettingsReady.prototype, "context", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => BuildAssignmentSettingsReadyPayload),
|
|
43
|
+
__metadata("design:type", BuildAssignmentSettingsReadyPayload)
|
|
44
|
+
], BuildAssignmentSettingsReady.prototype, "payload", void 0);
|
|
45
|
+
//# sourceMappingURL=build-assignment-settings-ready.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-assignment-settings-ready.js","sourceRoot":"","sources":["../../../src/v4/events/build-assignment-settings-ready.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AACzC,6DAAyD;AACzD,oGAAqF;AACrF,yDAAqD;AAErD,MAAa,mCAAmC;CAM/C;AAND,kFAMC;AAJC;IADC,IAAA,wBAAM,GAAE;;kEACK;AAGd;IADC,IAAA,wBAAM,GAAE;;oEACO;AAGlB,MAAa,4BAA6B,SAAQ,wBAAU;IAG1D,YACE,OAA4C,EAC5C,OAAqB;QAErB,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,oEAiBC;AAhBiB,uCAAU,GAAG,8CAA8C,CAAC;AAY5E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4BAAY,CAAC;8BAC9B,4BAAY;6DAAC;AAGtB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,mCAAmC,CAAC;8BACrD,mCAAmC;6DAAC"}
|
|
@@ -130,3 +130,4 @@ export * from "./monitor-aws-build-assignment-settings-status-task";
|
|
|
130
130
|
export * from "./build-assignment-for-env";
|
|
131
131
|
export * from "./build-assignment-for-env-completed";
|
|
132
132
|
export * from "./build-assigned";
|
|
133
|
+
export * from "./build-assignment-settings-ready";
|
package/dist/v4/events/index.js
CHANGED
|
@@ -146,4 +146,5 @@ __exportStar(require("./monitor-aws-build-assignment-settings-status-task"), exp
|
|
|
146
146
|
__exportStar(require("./build-assignment-for-env"), exports);
|
|
147
147
|
__exportStar(require("./build-assignment-for-env-completed"), exports);
|
|
148
148
|
__exportStar(require("./build-assigned"), exports);
|
|
149
|
+
__exportStar(require("./build-assignment-settings-ready"), exports);
|
|
149
150
|
//# 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,6DAA2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ACzC,oEAAkD;AAClD,6DAA2C;AAC3C,yEAAuD;AACvD,+DAA6C;AAC7C,wEAAsD;AACtD,+DAA6C;AAC7C,wDAAsC;AACtC,gEAA8C;AAC9C,oEAAkD;AAClD,qEAAmD;AACnD,4EAA0D;AAC1D,4DAA0C;AAC1C,oDAAkC;AAClC,kEAAgD;AAChD,8DAA4C;AAC5C,sEAAoD;AACpD,2DAAyC;AACzC,4DAA0C;AAC1C,kEAAgD;AAChD,+DAA6C;AAC7C,oEAAkD;AAClD,kEAAgD;AAChD,yDAAuC;AACvC,+DAA6C;AAC7C,iEAA+C;AAC/C,+DAA6C;AAC7C,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,uEAAqD;AACrD,mDAAiC"}
|
|
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;A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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,uEAAqD;AACrD,mDAAiC;AACjC,oEAAkD"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IsUUID } from "class-validator";
|
|
2
|
+
import { BuildContext } from "../contexts/build-context";
|
|
3
|
+
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
4
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
5
|
+
|
|
6
|
+
export class BuildAssignmentSettingsReadyPayload {
|
|
7
|
+
@IsUUID()
|
|
8
|
+
envId: string;
|
|
9
|
+
|
|
10
|
+
@IsUUID()
|
|
11
|
+
buildId: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export class BuildAssignmentSettingsReady extends LudeoEvent {
|
|
15
|
+
static readonly EVENT_NAME = "cloud-builds.build-assignment-settings-ready";
|
|
16
|
+
|
|
17
|
+
constructor(
|
|
18
|
+
payload: BuildAssignmentSettingsReadyPayload,
|
|
19
|
+
context: BuildContext
|
|
20
|
+
) {
|
|
21
|
+
super(BuildAssignmentSettingsReady.EVENT_NAME);
|
|
22
|
+
this.payload = payload;
|
|
23
|
+
this.context = context;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@ValidateNestedType(() => BuildContext)
|
|
27
|
+
context: BuildContext;
|
|
28
|
+
|
|
29
|
+
@ValidateNestedType(() => BuildAssignmentSettingsReadyPayload)
|
|
30
|
+
payload: BuildAssignmentSettingsReadyPayload;
|
|
31
|
+
}
|
package/src/v4/events/index.ts
CHANGED
|
@@ -130,3 +130,4 @@ export * from "./monitor-aws-build-assignment-settings-status-task";
|
|
|
130
130
|
export * from "./build-assignment-for-env";
|
|
131
131
|
export * from "./build-assignment-for-env-completed";
|
|
132
132
|
export * from "./build-assigned";
|
|
133
|
+
export * from "./build-assignment-settings-ready";
|