@ludeo/cloud-common 1.2.79-beta-yahil-1 → 1.2.79-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.
@@ -112,3 +112,4 @@ export * from "./build-artifacts-job-failed";
112
112
  export * from "./build-distributed";
113
113
  export * from "./build-created";
114
114
  export * from "./post-game-creation-delay-task";
115
+ export * from "./monitor-aws-artifacts-status-task";
@@ -128,4 +128,5 @@ __exportStar(require("./build-artifacts-job-failed"), exports);
128
128
  __exportStar(require("./build-distributed"), exports);
129
129
  __exportStar(require("./build-created"), exports);
130
130
  __exportStar(require("./post-game-creation-delay-task"), exports);
131
+ __exportStar(require("./monitor-aws-artifacts-status-task"), exports);
131
132
  //# 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,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;AACrD,6EAA2D;AAC3D,+DAA6C;AAC7C,0DAAwC;AACxC,6DAA2C;AAC3C,+DAA6C;AAC7C,sEAAoD;AACpD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAChD,mEAAiD;AACjD,+DAA6C;AAC7C,gEAA8C;AAC9C,oEAAkD;AAClD,0DAAwC;AACxC,4DAA0C;AAC1C,mEAAiD;AACjD,wDAAsC;AACtC,0DAAwC;AACxC,2EAAyD;AACzD,iEAA+C;AAC/C,qEAAmD;AACnD,4EAA0D;AAC1D,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,oEAAkD;AAClD,8DAA4C;AAC5C,wDAAsC;AACtC,6DAA2C;AAC3C,4DAA0C;AAC1C,sEAAoD;AACpD,qEAAmD;AACnD,0DAAwC;AACxC,kEAAgD;AAChD,yDAAuC;AACvC,mEAAiD;AACjD,2DAAyC;AACzC,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"}
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,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uD;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"}
@@ -0,0 +1,12 @@
1
+ import { LudeoEvent } from "../../infra/ludeo-event";
2
+ import { AwsArtifacts, CloudBuild } from "../types/build";
3
+ export declare class MonitorAwsArtifactsStatusTaskPayload {
4
+ build: CloudBuild;
5
+ artifacts: AwsArtifacts;
6
+ }
7
+ export declare class MonitorAwsArtifactsStatusTask extends LudeoEvent {
8
+ static readonly EVENT_NAME = "cloud-builds.monitor-aws-artifacts-status-task";
9
+ constructor(payload: MonitorAwsArtifactsStatusTaskPayload);
10
+ context: never;
11
+ payload: MonitorAwsArtifactsStatusTaskPayload;
12
+ }
@@ -0,0 +1,39 @@
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.MonitorAwsArtifactsStatusTask = exports.MonitorAwsArtifactsStatusTaskPayload = void 0;
13
+ const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
14
+ const ludeo_event_1 = require("../../infra/ludeo-event");
15
+ const build_1 = require("../types/build");
16
+ class MonitorAwsArtifactsStatusTaskPayload {
17
+ }
18
+ exports.MonitorAwsArtifactsStatusTaskPayload = MonitorAwsArtifactsStatusTaskPayload;
19
+ __decorate([
20
+ (0, validate_nested_type_decorator_1.ValidateNestedType)(() => build_1.CloudBuild),
21
+ __metadata("design:type", build_1.CloudBuild)
22
+ ], MonitorAwsArtifactsStatusTaskPayload.prototype, "build", void 0);
23
+ __decorate([
24
+ (0, validate_nested_type_decorator_1.ValidateNestedType)(() => build_1.AwsArtifacts),
25
+ __metadata("design:type", build_1.AwsArtifacts)
26
+ ], MonitorAwsArtifactsStatusTaskPayload.prototype, "artifacts", void 0);
27
+ class MonitorAwsArtifactsStatusTask extends ludeo_event_1.LudeoEvent {
28
+ constructor(payload) {
29
+ super(MonitorAwsArtifactsStatusTask.EVENT_NAME);
30
+ this.payload = payload;
31
+ }
32
+ }
33
+ exports.MonitorAwsArtifactsStatusTask = MonitorAwsArtifactsStatusTask;
34
+ MonitorAwsArtifactsStatusTask.EVENT_NAME = "cloud-builds.monitor-aws-artifacts-status-task";
35
+ __decorate([
36
+ (0, validate_nested_type_decorator_1.ValidateNestedType)(() => MonitorAwsArtifactsStatusTaskPayload),
37
+ __metadata("design:type", MonitorAwsArtifactsStatusTaskPayload)
38
+ ], MonitorAwsArtifactsStatusTask.prototype, "payload", void 0);
39
+ //# sourceMappingURL=monitor-aws-artifacts-status-task.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monitor-aws-artifacts-status-task.js","sourceRoot":"","sources":["../../../src/v4/events/monitor-aws-artifacts-status-task.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oGAAqF;AACrF,yDAAqD;AACrD,0CAA0D;AAE1D,MAAa,oCAAoC;CAMhD;AAND,oFAMC;AAJC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,kBAAU,CAAC;8BAC9B,kBAAU;mEAAC;AAGlB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,oBAAY,CAAC;8BAC5B,oBAAY;uEAAC;AAG1B,MAAa,6BAA8B,SAAQ,wBAAU;IAG3D,YAAY,OAA6C;QACvD,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AANH,sEAYC;AAXiB,wCAAU,GAAG,gDAAgD,CAAC;AAU9E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.79-beta-yahil-1",
3
+ "version": "1.2.79-beta-yahil-2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
@@ -112,3 +112,4 @@ export * from "./build-artifacts-job-failed";
112
112
  export * from "./build-distributed";
113
113
  export * from "./build-created";
114
114
  export * from "./post-game-creation-delay-task";
115
+ export * from "./monitor-aws-artifacts-status-task";
@@ -0,0 +1,25 @@
1
+ import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
2
+ import { LudeoEvent } from "../../infra/ludeo-event";
3
+ import { AwsArtifacts, CloudBuild } from "../types/build";
4
+
5
+ export class MonitorAwsArtifactsStatusTaskPayload {
6
+ @ValidateNestedType(() => CloudBuild)
7
+ build: CloudBuild;
8
+
9
+ @ValidateNestedType(() => AwsArtifacts)
10
+ artifacts: AwsArtifacts;
11
+ }
12
+
13
+ export class MonitorAwsArtifactsStatusTask extends LudeoEvent {
14
+ static readonly EVENT_NAME = "cloud-builds.monitor-aws-artifacts-status-task";
15
+
16
+ constructor(payload: MonitorAwsArtifactsStatusTaskPayload) {
17
+ super(MonitorAwsArtifactsStatusTask.EVENT_NAME);
18
+ this.payload = payload;
19
+ }
20
+
21
+ context: never;
22
+
23
+ @ValidateNestedType(() => MonitorAwsArtifactsStatusTaskPayload)
24
+ payload: MonitorAwsArtifactsStatusTaskPayload;
25
+ }