@ludeo/cloud-common 1.2.82-ygarbage2 → 1.2.82-ygarbage4
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/index.d.ts +2 -0
- package/dist/v4/events/index.js +2 -0
- package/dist/v4/events/index.js.map +1 -1
- package/dist/v4/events/pool-created.event.d.ts +9 -0
- package/dist/v4/events/pool-created.event.js +34 -0
- package/dist/v4/events/pool-created.event.js.map +1 -0
- package/dist/v4/events/pool-updated.event.d.ts +9 -0
- package/dist/v4/events/pool-updated.event.js +34 -0
- package/dist/v4/events/pool-updated.event.js.map +1 -0
- package/package.json +1 -1
- package/src/v4/events/index.ts +2 -0
- package/src/v4/events/pool-created.event.ts +20 -0
- package/src/v4/events/pool-updated.event.ts +20 -0
|
@@ -116,3 +116,5 @@ export * from "./monitor-aws-artifacts-status-task";
|
|
|
116
116
|
export * from "./build-artifacts-ready-for-creation";
|
|
117
117
|
export * from "./token-activated";
|
|
118
118
|
export * from "./cloud-session-sent-to-client";
|
|
119
|
+
export * from "./pool-updated.event";
|
|
120
|
+
export * from "./pool-created.event";
|
package/dist/v4/events/index.js
CHANGED
|
@@ -132,4 +132,6 @@ __exportStar(require("./monitor-aws-artifacts-status-task"), exports);
|
|
|
132
132
|
__exportStar(require("./build-artifacts-ready-for-creation"), exports);
|
|
133
133
|
__exportStar(require("./token-activated"), exports);
|
|
134
134
|
__exportStar(require("./cloud-session-sent-to-client"), exports);
|
|
135
|
+
__exportStar(require("./pool-updated.event"), exports);
|
|
136
|
+
__exportStar(require("./pool-created.event"), exports);
|
|
135
137
|
//# 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,uE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;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"}
|
|
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,4DAA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from "../contexts/cloud-pool-context";
|
|
3
|
+
import { CloudPool } from "../types/pools";
|
|
4
|
+
export declare class PoolCreatedEvent extends LudeoEvent {
|
|
5
|
+
static readonly EVENT_NAME = "cloud-pools.pool-created";
|
|
6
|
+
constructor(payload: CloudPool, context: CloudPoolContext);
|
|
7
|
+
context: CloudPoolContext;
|
|
8
|
+
payload: CloudPool;
|
|
9
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.PoolCreatedEvent = void 0;
|
|
13
|
+
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
14
|
+
const cloud_pool_context_1 = require("../contexts/cloud-pool-context");
|
|
15
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
16
|
+
const pools_1 = require("../types/pools");
|
|
17
|
+
class PoolCreatedEvent extends ludeo_event_1.LudeoEvent {
|
|
18
|
+
constructor(payload, context) {
|
|
19
|
+
super(PoolCreatedEvent.EVENT_NAME);
|
|
20
|
+
this.payload = payload;
|
|
21
|
+
this.context = context;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.PoolCreatedEvent = PoolCreatedEvent;
|
|
25
|
+
PoolCreatedEvent.EVENT_NAME = "cloud-pools.pool-created";
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => cloud_pool_context_1.CloudPoolContext),
|
|
28
|
+
__metadata("design:type", cloud_pool_context_1.CloudPoolContext)
|
|
29
|
+
], PoolCreatedEvent.prototype, "context", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => pools_1.CloudPool),
|
|
32
|
+
__metadata("design:type", pools_1.CloudPool)
|
|
33
|
+
], PoolCreatedEvent.prototype, "payload", void 0);
|
|
34
|
+
//# sourceMappingURL=pool-created.event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pool-created.event.js","sourceRoot":"","sources":["../../../src/v4/events/pool-created.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,uEAAkE;AAClE,oGAAqF;AACrF,0CAA2C;AAE3C,MAAa,gBAAiB,SAAQ,wBAAU;IAG9C,YAAY,OAAkB,EAAE,OAAyB;QACvD,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,4CAcC;AAbiB,2BAAU,GAAG,0BAA0B,CAAC;AASxD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qCAAgB,CAAC;8BAClC,qCAAgB;iDAAC;AAG1B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,iBAAS,CAAC;8BAC3B,iBAAS;iDAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
+
import { CloudPool } from "../types/pools";
|
|
3
|
+
import { CloudPoolContext } from "../contexts/cloud-pool-context";
|
|
4
|
+
export declare class PoolUpdatedEvent extends LudeoEvent {
|
|
5
|
+
static readonly EVENT_NAME = "cloud-pools.pool-updated";
|
|
6
|
+
constructor(payload: CloudPool, context: CloudPoolContext);
|
|
7
|
+
context: CloudPoolContext;
|
|
8
|
+
payload: CloudPool;
|
|
9
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.PoolUpdatedEvent = void 0;
|
|
13
|
+
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
14
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
15
|
+
const pools_1 = require("../types/pools");
|
|
16
|
+
const cloud_pool_context_1 = require("../contexts/cloud-pool-context");
|
|
17
|
+
class PoolUpdatedEvent extends ludeo_event_1.LudeoEvent {
|
|
18
|
+
constructor(payload, context) {
|
|
19
|
+
super(PoolUpdatedEvent.EVENT_NAME);
|
|
20
|
+
this.payload = payload;
|
|
21
|
+
this.context = context;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.PoolUpdatedEvent = PoolUpdatedEvent;
|
|
25
|
+
PoolUpdatedEvent.EVENT_NAME = "cloud-pools.pool-updated";
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => cloud_pool_context_1.CloudPoolContext),
|
|
28
|
+
__metadata("design:type", cloud_pool_context_1.CloudPoolContext)
|
|
29
|
+
], PoolUpdatedEvent.prototype, "context", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => pools_1.CloudPool),
|
|
32
|
+
__metadata("design:type", pools_1.CloudPool)
|
|
33
|
+
], PoolUpdatedEvent.prototype, "payload", void 0);
|
|
34
|
+
//# sourceMappingURL=pool-updated.event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pool-updated.event.js","sourceRoot":"","sources":["../../../src/v4/events/pool-updated.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAqD;AACrD,oGAAqF;AACrF,0CAA2C;AAC3C,uEAAkE;AAElE,MAAa,gBAAiB,SAAQ,wBAAU;IAG9C,YAAY,OAAkB,EAAE,OAAyB;QACvD,KAAK,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;QACnC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,4CAcC;AAbiB,2BAAU,GAAG,0BAA0B,CAAC;AASxD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qCAAgB,CAAC;8BAClC,qCAAgB;iDAAC;AAG1B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,iBAAS,CAAC;8BAC3B,iBAAS;iDAAC"}
|
package/package.json
CHANGED
package/src/v4/events/index.ts
CHANGED
|
@@ -116,3 +116,5 @@ export * from "./monitor-aws-artifacts-status-task";
|
|
|
116
116
|
export * from "./build-artifacts-ready-for-creation";
|
|
117
117
|
export * from "./token-activated";
|
|
118
118
|
export * from "./cloud-session-sent-to-client";
|
|
119
|
+
export * from "./pool-updated.event";
|
|
120
|
+
export * from "./pool-created.event";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
+
import { CloudPoolContext } from "../contexts/cloud-pool-context";
|
|
3
|
+
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
4
|
+
import { CloudPool } from "../types/pools";
|
|
5
|
+
|
|
6
|
+
export class PoolCreatedEvent extends LudeoEvent {
|
|
7
|
+
static readonly EVENT_NAME = "cloud-pools.pool-created";
|
|
8
|
+
|
|
9
|
+
constructor(payload: CloudPool, context: CloudPoolContext) {
|
|
10
|
+
super(PoolCreatedEvent.EVENT_NAME);
|
|
11
|
+
this.payload = payload;
|
|
12
|
+
this.context = context;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@ValidateNestedType(() => CloudPoolContext)
|
|
16
|
+
context: CloudPoolContext;
|
|
17
|
+
|
|
18
|
+
@ValidateNestedType(() => CloudPool)
|
|
19
|
+
payload: CloudPool;
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
+
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
3
|
+
import { CloudPool } from "../types/pools";
|
|
4
|
+
import { CloudPoolContext } from "../contexts/cloud-pool-context";
|
|
5
|
+
|
|
6
|
+
export class PoolUpdatedEvent extends LudeoEvent {
|
|
7
|
+
static readonly EVENT_NAME = "cloud-pools.pool-updated";
|
|
8
|
+
|
|
9
|
+
constructor(payload: CloudPool, context: CloudPoolContext) {
|
|
10
|
+
super(PoolUpdatedEvent.EVENT_NAME);
|
|
11
|
+
this.payload = payload;
|
|
12
|
+
this.context = context;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@ValidateNestedType(() => CloudPoolContext)
|
|
16
|
+
context: CloudPoolContext;
|
|
17
|
+
|
|
18
|
+
@ValidateNestedType(() => CloudPool)
|
|
19
|
+
payload: CloudPool;
|
|
20
|
+
}
|