@ludeo/cloud-common 1.2.174-beta-yahil-7 → 1.2.176
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/{site-controller/create-snapshot-request.event.d.ts → cloud-builds/create-snapshot-request.d.ts} +1 -1
- package/dist/v4/events/{site-controller/create-snapshot-request.event.js → cloud-builds/create-snapshot-request.js} +8 -8
- package/dist/v4/events/cloud-builds/create-snapshot-request.js.map +1 -0
- package/dist/v4/events/cloud-builds/index.d.ts +2 -0
- package/dist/v4/events/cloud-builds/index.js +19 -0
- package/dist/v4/events/cloud-builds/index.js.map +1 -0
- package/dist/v4/events/{site-controller/terminate-snapshot-request.event.d.ts → cloud-builds/terminate-snapshot-request.d.ts} +1 -1
- package/dist/v4/events/{site-controller/terminate-snapshot-request.event.js → cloud-builds/terminate-snapshot-request.js} +8 -8
- package/dist/v4/events/cloud-builds/terminate-snapshot-request.js.map +1 -0
- package/dist/v4/events/{site-controller/create-game-request.event.d.ts → cloud-resources/create-ludeocast-game-request.d.ts} +5 -5
- package/dist/v4/events/{site-controller/create-game-request.event.js → cloud-resources/create-ludeocast-game-request.js} +16 -16
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js.map +1 -0
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.d.ts +15 -0
- package/dist/v4/events/{site-controller/create-machine-request.event.js → cloud-resources/create-ludeocast-machine-request.js} +16 -16
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js.map +1 -0
- package/dist/v4/events/cloud-resources/index.d.ts +4 -0
- package/dist/v4/events/cloud-resources/index.js +21 -0
- package/dist/v4/events/cloud-resources/index.js.map +1 -0
- package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.d.ts +14 -0
- package/dist/v4/events/{site-controller/terminate-game-request.event.js → cloud-resources/terminate-ludeocast-game-request.js} +16 -16
- package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.js.map +1 -0
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.d.ts +13 -0
- package/dist/v4/events/{site-controller/terminate-machine-request.event.js → cloud-resources/terminate-ludeocast-machine-request.js} +15 -15
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js.map +1 -0
- package/dist/v4/events/index.d.ts +2 -0
- package/dist/v4/events/index.js +3 -1
- package/dist/v4/events/index.js.map +1 -1
- package/dist/v4/events/ludeocast-agent/resource-update.d.ts +1 -1
- package/dist/v4/events/ludeocast-agent/resource-update.js +1 -1
- package/dist/v4/events/ludeocast-agent/resource-update.js.map +1 -1
- package/dist/v4/events/site-controller/{game-creation-ended.event.d.ts → game-ludeocast-creation-ended.d.ts} +1 -1
- package/dist/v4/events/site-controller/{game-creation-ended.event.js → game-ludeocast-creation-ended.js} +8 -8
- package/dist/v4/events/site-controller/game-ludeocast-creation-ended.js.map +1 -0
- package/dist/v4/events/site-controller/index.d.ts +5 -11
- package/dist/v4/events/site-controller/index.js +5 -11
- package/dist/v4/events/site-controller/index.js.map +1 -1
- package/dist/v4/events/site-controller/{machine-creation-ended.event.d.ts → machine-ludeocast-creation-ended.d.ts} +1 -1
- package/dist/v4/events/site-controller/{machine-creation-ended.event.js → machine-ludeocast-creation-ended.js} +8 -8
- package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.js.map +1 -0
- package/dist/v4/events/site-controller/{resource-status-update.event.d.ts → resource-status-update.d.ts} +1 -1
- package/dist/v4/events/site-controller/{resource-status-update.event.js → resource-status-update.js} +8 -8
- package/dist/v4/events/site-controller/resource-status-update.js.map +1 -0
- package/dist/v4/events/site-controller/{snapshot-creation-ended.event.d.ts → snapshot-ludeocast-creation-ended.d.ts} +1 -1
- package/dist/v4/events/site-controller/{snapshot-creation-ended.event.js → snapshot-ludeocast-creation-ended.js} +8 -8
- package/dist/v4/events/site-controller/snapshot-ludeocast-creation-ended.js.map +1 -0
- package/dist/v4/events/site-controller/{snapshot-termination-ended.event.d.ts → snapshot-ludeocast-termination-ended.d.ts} +1 -1
- package/dist/v4/events/site-controller/{snapshot-termination-ended.event.js → snapshot-ludeocast-termination-ended.js} +8 -8
- package/dist/v4/events/site-controller/snapshot-ludeocast-termination-ended.js.map +1 -0
- package/package.json +1 -1
- package/src/v4/events/{site-controller/create-snapshot-request.event.ts → cloud-builds/create-snapshot-request.ts} +2 -2
- package/src/v4/events/cloud-builds/index.ts +2 -0
- package/src/v4/events/{site-controller/terminate-snapshot-request.event.ts → cloud-builds/terminate-snapshot-request.ts} +2 -2
- package/src/v4/events/{site-controller/create-game-request.event.ts → cloud-resources/create-ludeocast-game-request.ts} +7 -8
- package/src/v4/events/{site-controller/create-machine-request.event.ts → cloud-resources/create-ludeocast-machine-request.ts} +7 -7
- package/src/v4/events/cloud-resources/index.ts +4 -0
- package/src/v4/events/{site-controller/terminate-game-request.event.ts → cloud-resources/terminate-ludeocast-game-request.ts} +7 -7
- package/src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts +32 -0
- package/src/v4/events/index.ts +2 -1
- package/src/v4/events/ludeocast-agent/resource-update.ts +1 -1
- package/src/v4/events/site-controller/{game-creation-ended.event.ts → game-ludeocast-creation-ended.ts} +2 -2
- package/src/v4/events/site-controller/index.ts +5 -12
- package/src/v4/events/site-controller/{machine-creation-ended.event.ts → machine-ludeocast-creation-ended.ts} +2 -2
- package/src/v4/events/site-controller/{resource-status-update.event.ts → resource-status-update.ts} +2 -2
- package/src/v4/events/site-controller/{snapshot-creation-ended.event.ts → snapshot-ludeocast-creation-ended.ts} +2 -2
- package/src/v4/events/site-controller/{snapshot-termination-ended.event.ts → snapshot-ludeocast-termination-ended.ts} +2 -2
- package/dist/v4/events/site-controller/create-game-request.event.js.map +0 -1
- package/dist/v4/events/site-controller/create-machine-request.event.d.ts +0 -15
- package/dist/v4/events/site-controller/create-machine-request.event.js.map +0 -1
- package/dist/v4/events/site-controller/create-snapshot-request.event.js.map +0 -1
- package/dist/v4/events/site-controller/game-creation-ended.event.js.map +0 -1
- package/dist/v4/events/site-controller/machine-creation-ended.event.js.map +0 -1
- package/dist/v4/events/site-controller/resource-status-update.event.js.map +0 -1
- package/dist/v4/events/site-controller/snapshot-creation-ended.event.js.map +0 -1
- package/dist/v4/events/site-controller/snapshot-termination-ended.event.js.map +0 -1
- package/dist/v4/events/site-controller/terminate-game-request.event.d.ts +0 -14
- package/dist/v4/events/site-controller/terminate-game-request.event.js.map +0 -1
- package/dist/v4/events/site-controller/terminate-machine-request.event.d.ts +0 -13
- package/dist/v4/events/site-controller/terminate-machine-request.event.js.map +0 -1
- package/dist/v4/events/site-controller/terminate-snapshot-request.event.js.map +0 -1
- package/src/v4/events/site-controller/terminate-machine-request.event.ts +0 -32
|
@@ -9,7 +9,7 @@ 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.GameCreationEnded = exports.GameCreationEndedPayload = 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");
|
|
@@ -31,21 +31,21 @@ __decorate([
|
|
|
31
31
|
(0, class_validator_1.IsString)(),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], GameCreationEndedPayload.prototype, "reason", void 0);
|
|
34
|
-
class
|
|
34
|
+
class GameCreationEnded extends infra_1.LudeoEvent {
|
|
35
35
|
constructor(payload, context) {
|
|
36
|
-
super(
|
|
36
|
+
super(GameCreationEnded.EVENT_NAME);
|
|
37
37
|
this.payload = payload;
|
|
38
38
|
this.context = context;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
42
|
-
|
|
41
|
+
exports.GameCreationEnded = GameCreationEnded;
|
|
42
|
+
GameCreationEnded.EVENT_NAME = 'site-controller.game-creation-ended';
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, decorators_1.ValidateNestedType)(() => GameCreationEndedPayload),
|
|
45
45
|
__metadata("design:type", GameCreationEndedPayload)
|
|
46
|
-
],
|
|
46
|
+
], GameCreationEnded.prototype, "payload", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
49
49
|
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
50
|
-
],
|
|
51
|
-
//# sourceMappingURL=game-creation-ended.
|
|
50
|
+
], GameCreationEnded.prototype, "context", void 0);
|
|
51
|
+
//# sourceMappingURL=game-ludeocast-creation-ended.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"game-ludeocast-creation-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/game-ludeocast-creation-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAuD;AACvD,iEAAkE;AAElE,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AARC;IADC,IAAA,wBAAM,GAAE;;gEACc;AAGvB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;wDACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACK;AAGlB,MAAa,iBAAkB,SAAQ,kBAAU;IAG/C,YAAY,OAAiC,EAAE,OAA8B;QAC3E,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,8CAcC;AAbiB,4BAAU,GAAG,qCAAqC,CAAC;AASnE;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,wBAAwB,CAAC;8BAC1C,wBAAwB;kDAAC;AAGlC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;kDAAC"}
|
|
@@ -1,14 +1,8 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './terminate-snapshot-request.event';
|
|
7
|
-
export * from './machine-creation-ended.event';
|
|
8
|
-
export * from './game-creation-ended.event';
|
|
9
|
-
export * from './snapshot-creation-ended.event';
|
|
10
|
-
export * from './snapshot-termination-ended.event';
|
|
11
|
-
export * from './resource-status-update.event';
|
|
1
|
+
export * from './machine-ludeocast-creation-ended';
|
|
2
|
+
export * from './game-ludeocast-creation-ended';
|
|
3
|
+
export * from './snapshot-ludeocast-creation-ended';
|
|
4
|
+
export * from './snapshot-ludeocast-termination-ended';
|
|
5
|
+
export * from './resource-status-update';
|
|
12
6
|
export * from '../base/base';
|
|
13
7
|
export * from '../base/constants';
|
|
14
8
|
export * from './init.command';
|
|
@@ -14,17 +14,11 @@ 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("./
|
|
18
|
-
__exportStar(require("./
|
|
19
|
-
__exportStar(require("./
|
|
20
|
-
__exportStar(require("./
|
|
21
|
-
__exportStar(require("./
|
|
22
|
-
__exportStar(require("./terminate-snapshot-request.event"), exports);
|
|
23
|
-
__exportStar(require("./machine-creation-ended.event"), exports);
|
|
24
|
-
__exportStar(require("./game-creation-ended.event"), exports);
|
|
25
|
-
__exportStar(require("./snapshot-creation-ended.event"), exports);
|
|
26
|
-
__exportStar(require("./snapshot-termination-ended.event"), exports);
|
|
27
|
-
__exportStar(require("./resource-status-update.event"), exports);
|
|
17
|
+
__exportStar(require("./machine-ludeocast-creation-ended"), exports);
|
|
18
|
+
__exportStar(require("./game-ludeocast-creation-ended"), exports);
|
|
19
|
+
__exportStar(require("./snapshot-ludeocast-creation-ended"), exports);
|
|
20
|
+
__exportStar(require("./snapshot-ludeocast-termination-ended"), exports);
|
|
21
|
+
__exportStar(require("./resource-status-update"), exports);
|
|
28
22
|
__exportStar(require("../base/base"), exports);
|
|
29
23
|
__exportStar(require("../base/constants"), exports);
|
|
30
24
|
__exportStar(require("./init.command"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,qEAAmD;AACnD,kEAAgD;AAEhD,sEAAoD;AACpD,yEAAuD;AAEvD,2DAAyC;AAGzC,+CAA6B;AAC7B,oDAAkC;AAClC,iDAA+B;AAC/B,2DAAyC;AACzC,uDAAqC;AACrC,qDAAmC;AACnC,wDAAsC"}
|
|
@@ -6,7 +6,7 @@ export declare class MachineCreationEndedPayload {
|
|
|
6
6
|
status: SiteOperationStatus;
|
|
7
7
|
reason?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class MachineCreationEnded extends LudeoEvent {
|
|
10
10
|
static readonly EVENT_NAME = "site-controller.machine-creation-ended";
|
|
11
11
|
constructor(payload: MachineCreationEndedPayload, context: SiteControllerContext);
|
|
12
12
|
payload: MachineCreationEndedPayload;
|
|
@@ -9,7 +9,7 @@ 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.MachineCreationEnded = exports.MachineCreationEndedPayload = 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");
|
|
@@ -31,21 +31,21 @@ __decorate([
|
|
|
31
31
|
(0, class_validator_1.IsString)(),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], MachineCreationEndedPayload.prototype, "reason", void 0);
|
|
34
|
-
class
|
|
34
|
+
class MachineCreationEnded extends infra_1.LudeoEvent {
|
|
35
35
|
constructor(payload, context) {
|
|
36
|
-
super(
|
|
36
|
+
super(MachineCreationEnded.EVENT_NAME);
|
|
37
37
|
this.payload = payload;
|
|
38
38
|
this.context = context;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
42
|
-
|
|
41
|
+
exports.MachineCreationEnded = MachineCreationEnded;
|
|
42
|
+
MachineCreationEnded.EVENT_NAME = 'site-controller.machine-creation-ended';
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, decorators_1.ValidateNestedType)(() => MachineCreationEndedPayload),
|
|
45
45
|
__metadata("design:type", MachineCreationEndedPayload)
|
|
46
|
-
],
|
|
46
|
+
], MachineCreationEnded.prototype, "payload", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
49
49
|
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
50
|
-
],
|
|
51
|
-
//# sourceMappingURL=machine-creation-ended.
|
|
50
|
+
], MachineCreationEnded.prototype, "context", void 0);
|
|
51
|
+
//# sourceMappingURL=machine-ludeocast-creation-ended.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machine-ludeocast-creation-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/machine-ludeocast-creation-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAuD;AACvD,iEAAkE;AAElE,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AARC;IADC,IAAA,wBAAM,GAAE;;sEACiB;AAG1B;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;2DACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACK;AAGlB,MAAa,oBAAqB,SAAQ,kBAAU;IAGlD,YAAY,OAAoC,EAAE,OAA8B;QAC9E,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,oDAcC;AAbiB,+BAAU,GAAG,wCAAwC,CAAC;AAStE;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC;8BAC7C,2BAA2B;qDAAC;AAGrC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;qDAAC"}
|
|
@@ -7,7 +7,7 @@ export declare class ResourceStatusUpdatePayload {
|
|
|
7
7
|
resourceStatus: CloudResourceStatus;
|
|
8
8
|
statusReason?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class ResourceStatusUpdate extends LudeoEvent {
|
|
11
11
|
static readonly EVENT_NAME = "site-controller.resource-status-update";
|
|
12
12
|
constructor(payload: ResourceStatusUpdatePayload, context: SiteControllerContext);
|
|
13
13
|
payload: ResourceStatusUpdatePayload;
|
package/dist/v4/events/site-controller/{resource-status-update.event.js → resource-status-update.js}
RENAMED
|
@@ -9,7 +9,7 @@ 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.ResourceStatusUpdate = exports.ResourceStatusUpdatePayload = 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");
|
|
@@ -37,21 +37,21 @@ __decorate([
|
|
|
37
37
|
(0, class_validator_1.IsString)(),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], ResourceStatusUpdatePayload.prototype, "statusReason", void 0);
|
|
40
|
-
class
|
|
40
|
+
class ResourceStatusUpdate extends infra_1.LudeoEvent {
|
|
41
41
|
constructor(payload, context) {
|
|
42
|
-
super(
|
|
42
|
+
super(ResourceStatusUpdate.EVENT_NAME);
|
|
43
43
|
this.payload = payload;
|
|
44
44
|
this.context = context;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
exports.
|
|
48
|
-
|
|
47
|
+
exports.ResourceStatusUpdate = ResourceStatusUpdate;
|
|
48
|
+
ResourceStatusUpdate.EVENT_NAME = 'site-controller.resource-status-update';
|
|
49
49
|
__decorate([
|
|
50
50
|
(0, decorators_1.ValidateNestedType)(() => ResourceStatusUpdatePayload),
|
|
51
51
|
__metadata("design:type", ResourceStatusUpdatePayload)
|
|
52
|
-
],
|
|
52
|
+
], ResourceStatusUpdate.prototype, "payload", void 0);
|
|
53
53
|
__decorate([
|
|
54
54
|
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
55
55
|
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
56
|
-
],
|
|
57
|
-
//# sourceMappingURL=resource-status-update.
|
|
56
|
+
], ResourceStatusUpdate.prototype, "context", void 0);
|
|
57
|
+
//# sourceMappingURL=resource-status-update.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resource-status-update.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/resource-status-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAuD;AACvD,uCAAkD;AAElD,MAAa,2BAA2B;CAevC;AAfD,kEAeC;AAZC;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;sEACc;AAI3B;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;mEACW;AAGxB;IADC,IAAA,wBAAM,EAAC,2BAAmB,CAAC;;mEACQ;AAIpC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iEACW;AAIxB,MAAa,oBAAqB,SAAQ,kBAAU;IAGlD,YAAY,OAAoC,EAAE,OAA8B;QAC9E,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,oDAcC;AAbiB,+BAAU,GAAG,wCAAwC,CAAC;AAStE;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC;8BAC7C,2BAA2B;qDAAC;AAGrC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;qDAAC"}
|
|
@@ -6,7 +6,7 @@ export declare class SnapshotCreationEndedPayload {
|
|
|
6
6
|
status: SiteOperationStatus;
|
|
7
7
|
reason?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class SnapshotCreationEnded extends LudeoEvent {
|
|
10
10
|
static readonly EVENT_NAME = "site-controller.snapshot-creation-ended";
|
|
11
11
|
constructor(payload: SnapshotCreationEndedPayload, context: SiteControllerContext);
|
|
12
12
|
payload: SnapshotCreationEndedPayload;
|
|
@@ -9,7 +9,7 @@ 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.SnapshotCreationEnded = exports.SnapshotCreationEndedPayload = 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");
|
|
@@ -31,21 +31,21 @@ __decorate([
|
|
|
31
31
|
(0, class_validator_1.IsString)(),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], SnapshotCreationEndedPayload.prototype, "reason", void 0);
|
|
34
|
-
class
|
|
34
|
+
class SnapshotCreationEnded extends infra_1.LudeoEvent {
|
|
35
35
|
constructor(payload, context) {
|
|
36
|
-
super(
|
|
36
|
+
super(SnapshotCreationEnded.EVENT_NAME);
|
|
37
37
|
this.payload = payload;
|
|
38
38
|
this.context = context;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
42
|
-
|
|
41
|
+
exports.SnapshotCreationEnded = SnapshotCreationEnded;
|
|
42
|
+
SnapshotCreationEnded.EVENT_NAME = 'site-controller.snapshot-creation-ended';
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, decorators_1.ValidateNestedType)(() => SnapshotCreationEndedPayload),
|
|
45
45
|
__metadata("design:type", SnapshotCreationEndedPayload)
|
|
46
|
-
],
|
|
46
|
+
], SnapshotCreationEnded.prototype, "payload", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
49
49
|
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
50
|
-
],
|
|
51
|
-
//# sourceMappingURL=snapshot-creation-ended.
|
|
50
|
+
], SnapshotCreationEnded.prototype, "context", void 0);
|
|
51
|
+
//# sourceMappingURL=snapshot-ludeocast-creation-ended.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot-ludeocast-creation-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/snapshot-ludeocast-creation-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA+D;AAC/D,6CAAuD;AACvD,iEAAkE;AAElE,MAAa,4BAA4B;CAUxC;AAVD,oEAUC;AARC;IADC,IAAA,0BAAQ,GAAE;;6DACK;AAGhB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;4DACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACK;AAGlB,MAAa,qBAAsB,SAAQ,kBAAU;IAGnD,YAAY,OAAqC,EAAE,OAA8B;QAC/E,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,CAAC;QACxC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sDAcC;AAbiB,gCAAU,GAAG,yCAAyC,CAAC;AASvE;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,4BAA4B,CAAC;8BAC9C,4BAA4B;sDAAC;AAGtC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;sDAAC"}
|
|
@@ -6,7 +6,7 @@ export declare class SnapshotTerminationEndedPayload {
|
|
|
6
6
|
status: SiteOperationStatus;
|
|
7
7
|
reason?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class SnapshotTerminationEnded extends LudeoEvent {
|
|
10
10
|
static readonly EVENT_NAME = "site-controller.snapshot-termination-ended";
|
|
11
11
|
constructor(payload: SnapshotTerminationEndedPayload, context: SiteControllerContext);
|
|
12
12
|
payload: SnapshotTerminationEndedPayload;
|
|
@@ -9,7 +9,7 @@ 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.SnapshotTerminationEnded = exports.SnapshotTerminationEndedPayload = 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");
|
|
@@ -31,21 +31,21 @@ __decorate([
|
|
|
31
31
|
(0, class_validator_1.IsString)(),
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], SnapshotTerminationEndedPayload.prototype, "reason", void 0);
|
|
34
|
-
class
|
|
34
|
+
class SnapshotTerminationEnded extends infra_1.LudeoEvent {
|
|
35
35
|
constructor(payload, context) {
|
|
36
|
-
super(
|
|
36
|
+
super(SnapshotTerminationEnded.EVENT_NAME);
|
|
37
37
|
this.payload = payload;
|
|
38
38
|
this.context = context;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
exports.
|
|
42
|
-
|
|
41
|
+
exports.SnapshotTerminationEnded = SnapshotTerminationEnded;
|
|
42
|
+
SnapshotTerminationEnded.EVENT_NAME = 'site-controller.snapshot-termination-ended';
|
|
43
43
|
__decorate([
|
|
44
44
|
(0, decorators_1.ValidateNestedType)(() => SnapshotTerminationEndedPayload),
|
|
45
45
|
__metadata("design:type", SnapshotTerminationEndedPayload)
|
|
46
|
-
],
|
|
46
|
+
], SnapshotTerminationEnded.prototype, "payload", void 0);
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
49
49
|
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
50
|
-
],
|
|
51
|
-
//# sourceMappingURL=snapshot-termination-ended.
|
|
50
|
+
], SnapshotTerminationEnded.prototype, "context", void 0);
|
|
51
|
+
//# sourceMappingURL=snapshot-ludeocast-termination-ended.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"snapshot-ludeocast-termination-ended.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/snapshot-ludeocast-termination-ended.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA+D;AAC/D,6CAAuD;AACvD,iEAAkE;AAElE,MAAa,+BAA+B;CAU3C;AAVD,0EAUC;AARC;IADC,IAAA,0BAAQ,GAAE;;gEACK;AAGhB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;+DACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+DACK;AAGlB,MAAa,wBAAyB,SAAQ,kBAAU;IAGtD,YAAY,OAAwC,EAAE,OAA8B;QAClF,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,4DAcC;AAbiB,mCAAU,GAAG,4CAA4C,CAAC;AAS1E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC;8BACjD,+BAA+B;yDAAC;AAGzC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;yDAAC"}
|
package/package.json
CHANGED
|
@@ -17,11 +17,11 @@ export class CreateSnapshotRequestPayload {
|
|
|
17
17
|
region: string;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export class
|
|
20
|
+
export class CreateSnapshotRequest extends LudeoEvent {
|
|
21
21
|
static readonly EVENT_NAME = 'cloud-builds.create-snapshot-request';
|
|
22
22
|
|
|
23
23
|
constructor(payload: CreateSnapshotRequestPayload, context: SiteControllerContext) {
|
|
24
|
-
super(
|
|
24
|
+
super(CreateSnapshotRequest.EVENT_NAME);
|
|
25
25
|
this.payload = payload;
|
|
26
26
|
this.context = context;
|
|
27
27
|
}
|
|
@@ -14,11 +14,11 @@ export class TerminateSnapshotRequestPayload {
|
|
|
14
14
|
region: string;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
export class
|
|
17
|
+
export class TerminateSnapshotRequest extends LudeoEvent {
|
|
18
18
|
static readonly EVENT_NAME = 'cloud-builds.terminate-snapshot-request';
|
|
19
19
|
|
|
20
20
|
constructor(payload: TerminateSnapshotRequestPayload, context: SiteControllerContext) {
|
|
21
|
-
super(
|
|
21
|
+
super(TerminateSnapshotRequest.EVENT_NAME);
|
|
22
22
|
this.payload = payload;
|
|
23
23
|
this.context = context;
|
|
24
24
|
}
|
|
@@ -4,14 +4,13 @@ import { IsString, IsUUID } from 'class-validator';
|
|
|
4
4
|
import { GameCreationPayload } from '../../types/site-controller';
|
|
5
5
|
import { SiteControllerContext } from '../../contexts';
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class CreateLudeocastGameRequestPayload {
|
|
8
8
|
@IsUUID()
|
|
9
9
|
machineResourceId: string;
|
|
10
10
|
|
|
11
11
|
@IsUUID()
|
|
12
12
|
gameResourceId: string;
|
|
13
13
|
|
|
14
|
-
// Note: Using any here since it's a union type - validation happens at runtime
|
|
15
14
|
gameCreationPayload: GameCreationPayload;
|
|
16
15
|
|
|
17
16
|
@IsString()
|
|
@@ -21,17 +20,17 @@ export class CreateGameRequestPayload {
|
|
|
21
20
|
region: string;
|
|
22
21
|
}
|
|
23
22
|
|
|
24
|
-
export class
|
|
25
|
-
static readonly EVENT_NAME = 'site-controller.create-game-request';
|
|
23
|
+
export class CreateLudeocastGameRequest extends LudeoEvent {
|
|
24
|
+
static readonly EVENT_NAME = 'site-controller.create-ludeocast-game-request';
|
|
26
25
|
|
|
27
|
-
constructor(payload:
|
|
28
|
-
super(
|
|
26
|
+
constructor(payload: CreateLudeocastGameRequestPayload, context: SiteControllerContext) {
|
|
27
|
+
super(CreateLudeocastGameRequest.EVENT_NAME);
|
|
29
28
|
this.payload = payload;
|
|
30
29
|
this.context = context;
|
|
31
30
|
}
|
|
32
31
|
|
|
33
|
-
@ValidateNestedType(() =>
|
|
34
|
-
payload:
|
|
32
|
+
@ValidateNestedType(() => CreateLudeocastGameRequestPayload)
|
|
33
|
+
payload: CreateLudeocastGameRequestPayload;
|
|
35
34
|
|
|
36
35
|
@ValidateNestedType(() => SiteControllerContext)
|
|
37
36
|
context: SiteControllerContext;
|
|
@@ -4,7 +4,7 @@ import { IsEnum, IsString, IsUUID } from 'class-validator';
|
|
|
4
4
|
import { MachineMode } from '../../types/site-controller';
|
|
5
5
|
import { SiteControllerContext } from '../../contexts';
|
|
6
6
|
|
|
7
|
-
export class
|
|
7
|
+
export class CreateLudeocastMachineRequestPayload {
|
|
8
8
|
@IsUUID()
|
|
9
9
|
machineResourceId: string;
|
|
10
10
|
|
|
@@ -18,17 +18,17 @@ export class CreateMachineRequestPayload {
|
|
|
18
18
|
region: string;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
export class
|
|
22
|
-
static readonly EVENT_NAME = 'site-controller.create-machine-request';
|
|
21
|
+
export class CreateLudeocastMachineRequest extends LudeoEvent {
|
|
22
|
+
static readonly EVENT_NAME = 'site-controller.create-ludeocast-machine-request';
|
|
23
23
|
|
|
24
|
-
constructor(payload:
|
|
25
|
-
super(
|
|
24
|
+
constructor(payload: CreateLudeocastMachineRequestPayload, context: SiteControllerContext) {
|
|
25
|
+
super(CreateLudeocastMachineRequest.EVENT_NAME);
|
|
26
26
|
this.payload = payload;
|
|
27
27
|
this.context = context;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
@ValidateNestedType(() =>
|
|
31
|
-
payload:
|
|
30
|
+
@ValidateNestedType(() => CreateLudeocastMachineRequestPayload)
|
|
31
|
+
payload: CreateLudeocastMachineRequestPayload;
|
|
32
32
|
|
|
33
33
|
@ValidateNestedType(() => SiteControllerContext)
|
|
34
34
|
context: SiteControllerContext;
|
|
@@ -3,7 +3,7 @@ import { ValidateNestedType } from '../../../decorators';
|
|
|
3
3
|
import { IsString, IsUUID } from 'class-validator';
|
|
4
4
|
import { SiteControllerContext } from '../../contexts';
|
|
5
5
|
|
|
6
|
-
export class
|
|
6
|
+
export class TerminateLudeocastGameRequestPayload {
|
|
7
7
|
@IsUUID()
|
|
8
8
|
machineResourceId: string;
|
|
9
9
|
|
|
@@ -17,17 +17,17 @@ export class TerminateGameRequestPayload {
|
|
|
17
17
|
region: string;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
-
export class
|
|
21
|
-
static readonly EVENT_NAME = 'site-controller.terminate-game-request';
|
|
20
|
+
export class TerminateLudeocastGameRequest extends LudeoEvent {
|
|
21
|
+
static readonly EVENT_NAME = 'site-controller.terminate-ludeocast-game-request';
|
|
22
22
|
|
|
23
|
-
constructor(payload:
|
|
24
|
-
super(
|
|
23
|
+
constructor(payload: TerminateLudeocastGameRequestPayload, context: SiteControllerContext) {
|
|
24
|
+
super(TerminateLudeocastGameRequest.EVENT_NAME);
|
|
25
25
|
this.payload = payload;
|
|
26
26
|
this.context = context;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
@ValidateNestedType(() =>
|
|
30
|
-
payload:
|
|
29
|
+
@ValidateNestedType(() => TerminateLudeocastGameRequestPayload)
|
|
30
|
+
payload: TerminateLudeocastGameRequestPayload;
|
|
31
31
|
|
|
32
32
|
@ValidateNestedType(() => SiteControllerContext)
|
|
33
33
|
context: SiteControllerContext;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { LudeoEvent } from '../../../infra';
|
|
2
|
+
import { ValidateNestedType } from '../../../decorators';
|
|
3
|
+
import { IsString, IsUUID } from 'class-validator';
|
|
4
|
+
import { SiteControllerContext } from '../../contexts';
|
|
5
|
+
|
|
6
|
+
export class TerminateLudeocastMachineRequestPayload {
|
|
7
|
+
@IsUUID()
|
|
8
|
+
machineResourceId: string;
|
|
9
|
+
|
|
10
|
+
@IsString()
|
|
11
|
+
site: string;
|
|
12
|
+
|
|
13
|
+
@IsString()
|
|
14
|
+
region: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export class TerminateLudeocastMachineRequest extends LudeoEvent {
|
|
18
|
+
static readonly EVENT_NAME = 'site-controller.terminate-ludeocast-machine-request';
|
|
19
|
+
|
|
20
|
+
constructor(payload: TerminateLudeocastMachineRequestPayload, context: SiteControllerContext) {
|
|
21
|
+
super(TerminateLudeocastMachineRequest.EVENT_NAME);
|
|
22
|
+
this.payload = payload;
|
|
23
|
+
this.context = context;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@ValidateNestedType(() => TerminateLudeocastMachineRequestPayload)
|
|
27
|
+
payload: TerminateLudeocastMachineRequestPayload;
|
|
28
|
+
|
|
29
|
+
@ValidateNestedType(() => SiteControllerContext)
|
|
30
|
+
context: SiteControllerContext;
|
|
31
|
+
}
|
|
32
|
+
|
package/src/v4/events/index.ts
CHANGED
|
@@ -174,6 +174,7 @@ export * from "./ludeocast-machine-resource-error-timeout-task";
|
|
|
174
174
|
|
|
175
175
|
|
|
176
176
|
export * as SiteController from "./site-controller";
|
|
177
|
-
|
|
177
|
+
export * as CloudResources from "./cloud-resources";
|
|
178
|
+
export * as CloudBuilds from "./cloud-builds";
|
|
178
179
|
export * as LudeocastAgent from "./ludeocast-agent";
|
|
179
180
|
|
|
@@ -38,5 +38,5 @@ export class ResourceUpdate extends BaseCommand<ResourceUpdatePayload> {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
export const RESOURCE_UPDATE_SUBSCRIBE_PATTERN = `${AGENT_STRING}/${RESOURCE_UPDATE}/${WILDCARD_MQTT_STRING}`;
|
|
41
|
+
export const RESOURCE_UPDATE_SUBSCRIBE_PATTERN = `$share/site-controller-group/${AGENT_STRING}/${RESOURCE_UPDATE}/${WILDCARD_MQTT_STRING}`;
|
|
42
42
|
|
|
@@ -16,11 +16,11 @@ export class GameCreationEndedPayload {
|
|
|
16
16
|
reason?: string;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
export class
|
|
19
|
+
export class GameCreationEnded extends LudeoEvent {
|
|
20
20
|
static readonly EVENT_NAME = 'site-controller.game-creation-ended';
|
|
21
21
|
|
|
22
22
|
constructor(payload: GameCreationEndedPayload, context: SiteControllerContext) {
|
|
23
|
-
super(
|
|
23
|
+
super(GameCreationEnded.EVENT_NAME);
|
|
24
24
|
this.payload = payload;
|
|
25
25
|
this.context = context;
|
|
26
26
|
}
|
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
export * from './create-machine-request.event';
|
|
2
|
-
export * from './terminate-machine-request.event';
|
|
3
|
-
export * from './create-game-request.event';
|
|
4
|
-
export * from './terminate-game-request.event';
|
|
5
1
|
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
2
|
+
export * from './machine-ludeocast-creation-ended';
|
|
3
|
+
export * from './game-ludeocast-creation-ended';
|
|
8
4
|
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
5
|
+
export * from './snapshot-ludeocast-creation-ended';
|
|
6
|
+
export * from './snapshot-ludeocast-termination-ended';
|
|
11
7
|
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './snapshot-termination-ended.event';
|
|
14
|
-
|
|
15
|
-
export * from './resource-status-update.event';
|
|
8
|
+
export * from './resource-status-update';
|
|
16
9
|
|
|
17
10
|
//commands
|
|
18
11
|
export * from '../base/base';
|
|
@@ -16,11 +16,11 @@ export class MachineCreationEndedPayload {
|
|
|
16
16
|
reason?: string;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
export class
|
|
19
|
+
export class MachineCreationEnded extends LudeoEvent {
|
|
20
20
|
static readonly EVENT_NAME = 'site-controller.machine-creation-ended';
|
|
21
21
|
|
|
22
22
|
constructor(payload: MachineCreationEndedPayload, context: SiteControllerContext) {
|
|
23
|
-
super(
|
|
23
|
+
super(MachineCreationEnded.EVENT_NAME);
|
|
24
24
|
this.payload = payload;
|
|
25
25
|
this.context = context;
|
|
26
26
|
}
|
package/src/v4/events/site-controller/{resource-status-update.event.ts → resource-status-update.ts}
RENAMED
|
@@ -22,11 +22,11 @@ export class ResourceStatusUpdatePayload {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
export class
|
|
25
|
+
export class ResourceStatusUpdate extends LudeoEvent {
|
|
26
26
|
static readonly EVENT_NAME = 'site-controller.resource-status-update';
|
|
27
27
|
|
|
28
28
|
constructor(payload: ResourceStatusUpdatePayload, context: SiteControllerContext) {
|
|
29
|
-
super(
|
|
29
|
+
super(ResourceStatusUpdate.EVENT_NAME);
|
|
30
30
|
this.payload = payload;
|
|
31
31
|
this.context = context;
|
|
32
32
|
}
|
|
@@ -16,11 +16,11 @@ export class SnapshotCreationEndedPayload {
|
|
|
16
16
|
reason?: string;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
export class
|
|
19
|
+
export class SnapshotCreationEnded extends LudeoEvent {
|
|
20
20
|
static readonly EVENT_NAME = 'site-controller.snapshot-creation-ended';
|
|
21
21
|
|
|
22
22
|
constructor(payload: SnapshotCreationEndedPayload, context: SiteControllerContext) {
|
|
23
|
-
super(
|
|
23
|
+
super(SnapshotCreationEnded.EVENT_NAME);
|
|
24
24
|
this.payload = payload;
|
|
25
25
|
this.context = context;
|
|
26
26
|
}
|
|
@@ -16,11 +16,11 @@ export class SnapshotTerminationEndedPayload {
|
|
|
16
16
|
reason?: string;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
export class
|
|
19
|
+
export class SnapshotTerminationEnded extends LudeoEvent {
|
|
20
20
|
static readonly EVENT_NAME = 'site-controller.snapshot-termination-ended';
|
|
21
21
|
|
|
22
22
|
constructor(payload: SnapshotTerminationEndedPayload, context: SiteControllerContext) {
|
|
23
|
-
super(
|
|
23
|
+
super(SnapshotTerminationEnded.EVENT_NAME);
|
|
24
24
|
this.payload = payload;
|
|
25
25
|
this.context = context;
|
|
26
26
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-game-request.event.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/create-game-request.event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AAEnD,6CAAuD;AAEvD,MAAa,wBAAwB;CAepC;AAfD,4DAeC;AAbC;IADC,IAAA,wBAAM,GAAE;;mEACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;gEACc;AAMvB;IADC,IAAA,0BAAQ,GAAE;;sDACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;wDACI;AAGjB,MAAa,sBAAuB,SAAQ,kBAAU;IAGpD,YAAY,OAAiC,EAAE,OAA8B;QAC3E,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,wDAcC;AAbiB,iCAAU,GAAG,qCAAqC,CAAC;AASnE;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,wBAAwB,CAAC;8BAC1C,wBAAwB;uDAAC;AAGlC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;uDAAC"}
|