@ludeo/cloud-common 1.2.184-beta-yahil-7 → 1.2.184
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/contexts/cloud-resource-context.d.ts +0 -1
- package/dist/v4/contexts/cloud-resource-context.js +0 -5
- package/dist/v4/contexts/cloud-resource-context.js.map +1 -1
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.d.ts +4 -7
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js +3 -11
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js.map +1 -1
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.d.ts +8 -6
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js +16 -8
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js.map +1 -1
- package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.d.ts +3 -3
- package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.js +2 -2
- package/dist/v4/events/cloud-resources/terminate-ludeocast-game-request.js.map +1 -1
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.d.ts +5 -5
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js +9 -6
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js.map +1 -1
- package/dist/v4/events/site-controller/game-ludeocast-creation-ended.d.ts +8 -11
- package/dist/v4/events/site-controller/game-ludeocast-creation-ended.js +16 -25
- package/dist/v4/events/site-controller/game-ludeocast-creation-ended.js.map +1 -1
- package/dist/v4/events/site-controller/index.d.ts +0 -2
- package/dist/v4/events/site-controller/index.js +0 -2
- package/dist/v4/events/site-controller/index.js.map +1 -1
- package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.d.ts +8 -11
- package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.js +16 -25
- package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.js.map +1 -1
- package/dist/v4/events/site-controller/start-game.command.d.ts +0 -1
- package/dist/v4/events/site-controller/start-game.command.js +0 -4
- package/dist/v4/events/site-controller/start-game.command.js.map +1 -1
- package/dist/v4/types/cloud/index.d.ts +0 -1
- package/dist/v4/types/cloud/index.js +0 -1
- package/dist/v4/types/cloud/index.js.map +1 -1
- package/dist/v4/types/cloud/provider.d.ts +0 -1
- package/dist/v4/types/cloud/provider.js +0 -1
- package/dist/v4/types/cloud/provider.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/contexts/cloud-resource-context.ts +0 -4
- package/src/v4/events/base/base.ts +1 -1
- package/src/v4/events/cloud-resources/create-ludeocast-game-request.ts +6 -12
- package/src/v4/events/cloud-resources/create-ludeocast-machine-request.ts +16 -10
- package/src/v4/events/cloud-resources/terminate-ludeocast-game-request.ts +4 -4
- package/src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts +10 -8
- package/src/v4/events/site-controller/game-ludeocast-creation-ended.ts +11 -18
- package/src/v4/events/site-controller/index.ts +0 -2
- package/src/v4/events/site-controller/machine-ludeocast-creation-ended.ts +11 -18
- package/src/v4/events/site-controller/start-game.command.ts +1 -4
- package/src/v4/types/cloud/index.ts +0 -1
- package/src/v4/types/cloud/provider.ts +0 -1
- package/dist/v4/events/site-controller/game-ludeocast-termination-ended.d.ts +0 -17
- package/dist/v4/events/site-controller/game-ludeocast-termination-ended.js +0 -60
- package/dist/v4/events/site-controller/game-ludeocast-termination-ended.js.map +0 -1
- package/dist/v4/events/site-controller/machine-ludeocast-termination-ended.d.ts +0 -17
- package/dist/v4/events/site-controller/machine-ludeocast-termination-ended.js +0 -60
- package/dist/v4/events/site-controller/machine-ludeocast-termination-ended.js.map +0 -1
- package/dist/v4/types/cloud/ludeocast-v2/allocation-data.d.ts +0 -3
- package/dist/v4/types/cloud/ludeocast-v2/allocation-data.js +0 -21
- package/dist/v4/types/cloud/ludeocast-v2/allocation-data.js.map +0 -1
- package/dist/v4/types/cloud/ludeocast-v2/game-creation-response.d.ts +0 -2
- package/dist/v4/types/cloud/ludeocast-v2/game-creation-response.js +0 -7
- package/dist/v4/types/cloud/ludeocast-v2/game-creation-response.js.map +0 -1
- package/dist/v4/types/cloud/ludeocast-v2/index.d.ts +0 -6
- package/dist/v4/types/cloud/ludeocast-v2/index.js +0 -23
- package/dist/v4/types/cloud/ludeocast-v2/index.js.map +0 -1
- package/dist/v4/types/cloud/ludeocast-v2/machine-provider-settings.d.ts +0 -3
- package/dist/v4/types/cloud/ludeocast-v2/machine-provider-settings.js +0 -21
- package/dist/v4/types/cloud/ludeocast-v2/machine-provider-settings.js.map +0 -1
- package/dist/v4/types/cloud/ludeocast-v2/provider-settings.d.ts +0 -13
- package/dist/v4/types/cloud/ludeocast-v2/provider-settings.js +0 -13
- package/dist/v4/types/cloud/ludeocast-v2/provider-settings.js.map +0 -1
- package/dist/v4/types/cloud/ludeocast-v2/request-data.d.ts +0 -3
- package/dist/v4/types/cloud/ludeocast-v2/request-data.js +0 -22
- package/dist/v4/types/cloud/ludeocast-v2/request-data.js.map +0 -1
- package/dist/v4/types/cloud/ludeocast-v2/resource-provider-settings.d.ts +0 -7
- package/dist/v4/types/cloud/ludeocast-v2/resource-provider-settings.js +0 -34
- package/dist/v4/types/cloud/ludeocast-v2/resource-provider-settings.js.map +0 -1
- package/dist/v4/types/cloud/ludeocast-v2/site.d.ts +0 -0
- package/dist/v4/types/cloud/ludeocast-v2/site.js +0 -1
- package/dist/v4/types/cloud/ludeocast-v2/site.js.map +0 -1
- package/src/v4/events/site-controller/game-ludeocast-termination-ended.ts +0 -41
- package/src/v4/events/site-controller/machine-ludeocast-termination-ended.ts +0 -41
- package/src/v4/types/cloud/ludeocast-v2/allocation-data.ts +0 -6
- package/src/v4/types/cloud/ludeocast-v2/game-creation-response.ts +0 -1
- package/src/v4/types/cloud/ludeocast-v2/index.ts +0 -6
- package/src/v4/types/cloud/ludeocast-v2/machine-provider-settings.ts +0 -6
- package/src/v4/types/cloud/ludeocast-v2/provider-settings.ts +0 -29
- package/src/v4/types/cloud/ludeocast-v2/request-data.ts +0 -7
- package/src/v4/types/cloud/ludeocast-v2/resource-provider-settings.ts +0 -18
- package/src/v4/types/cloud/ludeocast-v2/site.ts +0 -7
|
@@ -79,9 +79,4 @@ __decorate([
|
|
|
79
79
|
(0, class_validator_1.IsUUID)(),
|
|
80
80
|
__metadata("design:type", String)
|
|
81
81
|
], CloudResourceContext.prototype, "ludeoPoolId", void 0);
|
|
82
|
-
__decorate([
|
|
83
|
-
(0, class_validator_1.IsOptional)(),
|
|
84
|
-
(0, class_validator_1.IsUUID)(),
|
|
85
|
-
__metadata("design:type", String)
|
|
86
|
-
], CloudResourceContext.prototype, "gameId", void 0);
|
|
87
82
|
//# sourceMappingURL=cloud-resource-context.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloud-resource-context.js","sourceRoot":"","sources":["../../../src/v4/contexts/cloud-resource-context.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,0CAA+C;AAE/C,MAAa,oBAAoB;
|
|
1
|
+
{"version":3,"file":"cloud-resource-context.js","sourceRoot":"","sources":["../../../src/v4/contexts/cloud-resource-context.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,0CAA+C;AAE/C,MAAa,oBAAoB;CAqDhC;AArDD,oDAqDC;AAlDC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACY;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6DACc;AAGzB;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;2DACO;AAK7B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACS;AAKpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;wDACW;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;4DACe;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;2DACc;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;+DACkB;AAI3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;kEACqB;AAI9B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;qEACwB;AAIjC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;6DACgB;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;yDACY"}
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
2
|
import { GameCreationPayload } from '../../types/site-controller';
|
|
3
|
-
import {
|
|
4
|
-
import { LudeoCastV2ProviderSettings } from '../../types/cloud/ludeocast-v2/provider-settings';
|
|
3
|
+
import { SiteControllerContext } from '../../contexts';
|
|
5
4
|
export declare class CreateLudeocastGameRequestPayload {
|
|
6
5
|
machineResourceId: string;
|
|
7
6
|
gameResourceId: string;
|
|
8
|
-
gamePoolId: string;
|
|
9
7
|
gameCreationPayload: GameCreationPayload;
|
|
10
|
-
providerSettings: LudeoCastV2ProviderSettings;
|
|
11
8
|
site: string;
|
|
12
9
|
region: string;
|
|
13
|
-
buildId
|
|
10
|
+
buildId?: string;
|
|
14
11
|
}
|
|
15
12
|
export declare class CreateLudeocastGameRequest extends LudeoEvent {
|
|
16
13
|
static readonly EVENT_NAME = "cloud-resources.create-ludeocast-game-request";
|
|
17
|
-
constructor(payload: CreateLudeocastGameRequestPayload, context:
|
|
14
|
+
constructor(payload: CreateLudeocastGameRequestPayload, context: SiteControllerContext);
|
|
18
15
|
payload: CreateLudeocastGameRequestPayload;
|
|
19
|
-
context:
|
|
16
|
+
context: SiteControllerContext;
|
|
20
17
|
}
|
|
@@ -14,7 +14,6 @@ const infra_1 = require("../../../infra");
|
|
|
14
14
|
const decorators_1 = require("../../../decorators");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const contexts_1 = require("../../contexts");
|
|
17
|
-
const provider_settings_1 = require("../../types/cloud/ludeocast-v2/provider-settings");
|
|
18
17
|
class CreateLudeocastGameRequestPayload {
|
|
19
18
|
}
|
|
20
19
|
exports.CreateLudeocastGameRequestPayload = CreateLudeocastGameRequestPayload;
|
|
@@ -26,14 +25,6 @@ __decorate([
|
|
|
26
25
|
(0, class_validator_1.IsUUID)(),
|
|
27
26
|
__metadata("design:type", String)
|
|
28
27
|
], CreateLudeocastGameRequestPayload.prototype, "gameResourceId", void 0);
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsUUID)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], CreateLudeocastGameRequestPayload.prototype, "gamePoolId", void 0);
|
|
33
|
-
__decorate([
|
|
34
|
-
(0, decorators_1.ValidateNestedType)(() => provider_settings_1.LudeoCastV2ProviderSettings),
|
|
35
|
-
__metadata("design:type", provider_settings_1.LudeoCastV2ProviderSettings)
|
|
36
|
-
], CreateLudeocastGameRequestPayload.prototype, "providerSettings", void 0);
|
|
37
28
|
__decorate([
|
|
38
29
|
(0, class_validator_1.IsString)(),
|
|
39
30
|
__metadata("design:type", String)
|
|
@@ -43,6 +34,7 @@ __decorate([
|
|
|
43
34
|
__metadata("design:type", String)
|
|
44
35
|
], CreateLudeocastGameRequestPayload.prototype, "region", void 0);
|
|
45
36
|
__decorate([
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
38
|
(0, class_validator_1.IsUUID)(),
|
|
47
39
|
__metadata("design:type", String)
|
|
48
40
|
], CreateLudeocastGameRequestPayload.prototype, "buildId", void 0);
|
|
@@ -60,7 +52,7 @@ __decorate([
|
|
|
60
52
|
__metadata("design:type", CreateLudeocastGameRequestPayload)
|
|
61
53
|
], CreateLudeocastGameRequest.prototype, "payload", void 0);
|
|
62
54
|
__decorate([
|
|
63
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
64
|
-
__metadata("design:type", contexts_1.
|
|
55
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
56
|
+
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
65
57
|
], CreateLudeocastGameRequest.prototype, "context", void 0);
|
|
66
58
|
//# sourceMappingURL=create-ludeocast-game-request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA+D;AAE/D,
|
|
1
|
+
{"version":3,"file":"create-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA+D;AAE/D,6CAAuD;AAEvD,MAAa,iCAAiC;CAkB7C;AAlBD,8EAkBC;AAhBC;IADC,IAAA,wBAAM,GAAE;;4EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;yEACc;AAKvB;IADC,IAAA,0BAAQ,GAAE;;+DACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;iEACI;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;kEACQ;AAGnB,MAAa,0BAA2B,SAAQ,kBAAU;IAGxD,YAAY,OAA0C,EAAE,OAA8B;QACpF,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,gEAcC;AAbiB,qCAAU,GAAG,+CAA+C,CAAC;AAS7E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC;AAG3C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;2DAAC"}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { MachineMode } from '../../types/site-controller';
|
|
3
|
+
import { SiteControllerContext } from '../../contexts';
|
|
4
4
|
export declare class AndroidMachineCreationPayload {
|
|
5
5
|
}
|
|
6
6
|
export type MachineCreationPayload = AndroidMachineCreationPayload;
|
|
7
7
|
export declare class CreateLudeocastMachineRequestPayload {
|
|
8
8
|
machineResourceId: string;
|
|
9
|
-
|
|
9
|
+
mode: MachineMode;
|
|
10
10
|
machineCreationPayload?: MachineCreationPayload;
|
|
11
|
-
|
|
11
|
+
site: string;
|
|
12
|
+
region: string;
|
|
13
|
+
machineType: string;
|
|
12
14
|
}
|
|
13
15
|
export declare class CreateLudeocastMachineRequest extends LudeoEvent {
|
|
14
16
|
static readonly EVENT_NAME = "cloud-resources.create-ludeocast-machine-request";
|
|
15
|
-
constructor(payload: CreateLudeocastMachineRequestPayload, context:
|
|
17
|
+
constructor(payload: CreateLudeocastMachineRequestPayload, context: SiteControllerContext);
|
|
16
18
|
payload: CreateLudeocastMachineRequestPayload;
|
|
17
|
-
context:
|
|
19
|
+
context: SiteControllerContext;
|
|
18
20
|
}
|
|
@@ -13,8 +13,8 @@ exports.CreateLudeocastMachineRequest = exports.CreateLudeocastMachineRequestPay
|
|
|
13
13
|
const infra_1 = require("../../../infra");
|
|
14
14
|
const decorators_1 = require("../../../decorators");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
|
+
const site_controller_1 = require("../../types/site-controller");
|
|
16
17
|
const contexts_1 = require("../../contexts");
|
|
17
|
-
const types_1 = require("../../types");
|
|
18
18
|
class AndroidMachineCreationPayload {
|
|
19
19
|
}
|
|
20
20
|
exports.AndroidMachineCreationPayload = AndroidMachineCreationPayload;
|
|
@@ -26,18 +26,26 @@ __decorate([
|
|
|
26
26
|
__metadata("design:type", String)
|
|
27
27
|
], CreateLudeocastMachineRequestPayload.prototype, "machineResourceId", void 0);
|
|
28
28
|
__decorate([
|
|
29
|
-
(0, class_validator_1.
|
|
29
|
+
(0, class_validator_1.IsEnum)(site_controller_1.MachineMode),
|
|
30
30
|
__metadata("design:type", String)
|
|
31
|
-
], CreateLudeocastMachineRequestPayload.prototype, "
|
|
31
|
+
], CreateLudeocastMachineRequestPayload.prototype, "mode", void 0);
|
|
32
32
|
__decorate([
|
|
33
33
|
(0, class_validator_1.IsOptional)(),
|
|
34
34
|
(0, decorators_1.ValidateNestedType)(() => AndroidMachineCreationPayload),
|
|
35
35
|
__metadata("design:type", Object)
|
|
36
36
|
], CreateLudeocastMachineRequestPayload.prototype, "machineCreationPayload", void 0);
|
|
37
37
|
__decorate([
|
|
38
|
-
(0,
|
|
39
|
-
__metadata("design:type",
|
|
40
|
-
], CreateLudeocastMachineRequestPayload.prototype, "
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], CreateLudeocastMachineRequestPayload.prototype, "site", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CreateLudeocastMachineRequestPayload.prototype, "region", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], CreateLudeocastMachineRequestPayload.prototype, "machineType", void 0);
|
|
41
49
|
class CreateLudeocastMachineRequest extends infra_1.LudeoEvent {
|
|
42
50
|
constructor(payload, context) {
|
|
43
51
|
super(CreateLudeocastMachineRequest.EVENT_NAME);
|
|
@@ -52,7 +60,7 @@ __decorate([
|
|
|
52
60
|
__metadata("design:type", CreateLudeocastMachineRequestPayload)
|
|
53
61
|
], CreateLudeocastMachineRequest.prototype, "payload", void 0);
|
|
54
62
|
__decorate([
|
|
55
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
56
|
-
__metadata("design:type", contexts_1.
|
|
63
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
64
|
+
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
57
65
|
], CreateLudeocastMachineRequest.prototype, "context", void 0);
|
|
58
66
|
//# sourceMappingURL=create-ludeocast-machine-request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-ludeocast-machine-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"create-ludeocast-machine-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/create-ludeocast-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,iEAA0D;AAC1D,6CAAuD;AAEvD,MAAa,6BAA6B;CAAG;AAA7C,sEAA6C;AAI7C,MAAa,oCAAoC;CAmBhD;AAnBD,oFAmBC;AAjBC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,EAAC,6BAAW,CAAC;;kEACF;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;;oFACR;AAGhD;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;oEACI;AAGf;IADC,IAAA,0BAAQ,GAAE;;yEACS;AAGtB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YAAY,OAA6C,EAAE,OAA8B;QACvF,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sEAcC;AAbiB,wCAAU,GAAG,kDAAkD,CAAC;AAShF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC;AAG9C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;8DAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import {
|
|
2
|
+
import { SiteControllerContext } from '../../contexts';
|
|
3
3
|
export declare class TerminateLudeocastGameRequestPayload {
|
|
4
4
|
machineResourceId: string;
|
|
5
5
|
gameResourceId: string;
|
|
@@ -8,7 +8,7 @@ export declare class TerminateLudeocastGameRequestPayload {
|
|
|
8
8
|
}
|
|
9
9
|
export declare class TerminateLudeocastGameRequest extends LudeoEvent {
|
|
10
10
|
static readonly EVENT_NAME = "cloud-resources.terminate-ludeocast-game-request";
|
|
11
|
-
constructor(payload: TerminateLudeocastGameRequestPayload, context:
|
|
11
|
+
constructor(payload: TerminateLudeocastGameRequestPayload, context: SiteControllerContext);
|
|
12
12
|
payload: TerminateLudeocastGameRequestPayload;
|
|
13
|
-
context:
|
|
13
|
+
context: SiteControllerContext;
|
|
14
14
|
}
|
|
@@ -47,7 +47,7 @@ __decorate([
|
|
|
47
47
|
__metadata("design:type", TerminateLudeocastGameRequestPayload)
|
|
48
48
|
], TerminateLudeocastGameRequest.prototype, "payload", void 0);
|
|
49
49
|
__decorate([
|
|
50
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
51
|
-
__metadata("design:type", contexts_1.
|
|
50
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
51
|
+
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
52
52
|
], TerminateLudeocastGameRequest.prototype, "context", void 0);
|
|
53
53
|
//# sourceMappingURL=terminate-ludeocast-game-request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/terminate-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AACnD,
|
|
1
|
+
{"version":3,"file":"terminate-ludeocast-game-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/terminate-ludeocast-game-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AACnD,6CAAuD;AAEvD,MAAa,oCAAoC;CAYhD;AAZD,oFAYC;AAVC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;4EACc;AAGvB;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;oEACI;AAGjB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YAAY,OAA6C,EAAE,OAA8B;QACvF,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,sEAcC;AAbiB,wCAAU,GAAG,kDAAkD,CAAC;AAShF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,oCAAoC,CAAC;8BACtD,oCAAoC;8DAAC;AAG9C;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;8DAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import {
|
|
3
|
-
import { LudeoCastV2ProviderSettings } from '../../types';
|
|
2
|
+
import { SiteControllerContext } from '../../contexts';
|
|
4
3
|
export declare class TerminateLudeocastMachineRequestPayload {
|
|
5
4
|
machineResourceId: string;
|
|
6
|
-
|
|
5
|
+
site: string;
|
|
6
|
+
region: string;
|
|
7
7
|
}
|
|
8
8
|
export declare class TerminateLudeocastMachineRequest extends LudeoEvent {
|
|
9
9
|
static readonly EVENT_NAME = "cloud-resources.terminate-ludeocast-machine-request";
|
|
10
|
-
constructor(payload: TerminateLudeocastMachineRequestPayload, context:
|
|
10
|
+
constructor(payload: TerminateLudeocastMachineRequestPayload, context: SiteControllerContext);
|
|
11
11
|
payload: TerminateLudeocastMachineRequestPayload;
|
|
12
|
-
context:
|
|
12
|
+
context: SiteControllerContext;
|
|
13
13
|
}
|
|
@@ -14,7 +14,6 @@ const infra_1 = require("../../../infra");
|
|
|
14
14
|
const decorators_1 = require("../../../decorators");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const contexts_1 = require("../../contexts");
|
|
17
|
-
const types_1 = require("../../types");
|
|
18
17
|
class TerminateLudeocastMachineRequestPayload {
|
|
19
18
|
}
|
|
20
19
|
exports.TerminateLudeocastMachineRequestPayload = TerminateLudeocastMachineRequestPayload;
|
|
@@ -23,9 +22,13 @@ __decorate([
|
|
|
23
22
|
__metadata("design:type", String)
|
|
24
23
|
], TerminateLudeocastMachineRequestPayload.prototype, "machineResourceId", void 0);
|
|
25
24
|
__decorate([
|
|
26
|
-
(0,
|
|
27
|
-
__metadata("design:type",
|
|
28
|
-
], TerminateLudeocastMachineRequestPayload.prototype, "
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], TerminateLudeocastMachineRequestPayload.prototype, "site", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], TerminateLudeocastMachineRequestPayload.prototype, "region", void 0);
|
|
29
32
|
class TerminateLudeocastMachineRequest extends infra_1.LudeoEvent {
|
|
30
33
|
constructor(payload, context) {
|
|
31
34
|
super(TerminateLudeocastMachineRequest.EVENT_NAME);
|
|
@@ -40,7 +43,7 @@ __decorate([
|
|
|
40
43
|
__metadata("design:type", TerminateLudeocastMachineRequestPayload)
|
|
41
44
|
], TerminateLudeocastMachineRequest.prototype, "payload", void 0);
|
|
42
45
|
__decorate([
|
|
43
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
44
|
-
__metadata("design:type", contexts_1.
|
|
46
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
47
|
+
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
45
48
|
], TerminateLudeocastMachineRequest.prototype, "context", void 0);
|
|
46
49
|
//# sourceMappingURL=terminate-ludeocast-machine-request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-ludeocast-machine-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"terminate-ludeocast-machine-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAmD;AACnD,6CAAuD;AAEvD,MAAa,uCAAuC;CASnD;AATD,0FASC;AAPC;IADC,IAAA,wBAAM,GAAE;;kFACiB;AAG1B;IADC,IAAA,0BAAQ,GAAE;;qEACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;uEACI;AAGjB,MAAa,gCAAiC,SAAQ,kBAAU;IAG9D,YAAY,OAAgD,EAAE,OAA8B;QAC1F,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,4EAcC;AAbiB,2CAAU,GAAG,qDAAqD,CAAC;AASnF;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uCAAuC,CAAC;8BACzD,uCAAuC;iEAAC;AAGjD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAqB,CAAC;8BACvC,gCAAqB;iEAAC"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import {
|
|
2
|
+
import { SiteControllerContext } from '../../contexts';
|
|
3
3
|
import { SiteOperationStatus } from '../../types/site-controller';
|
|
4
|
-
|
|
5
|
-
export declare class GameLudeocastCreationEndedPayload {
|
|
4
|
+
export declare class GameCreationEndedPayload {
|
|
6
5
|
gameResourceId: string;
|
|
7
|
-
|
|
8
|
-
operationStatus: SiteOperationStatus;
|
|
9
|
-
status: CloudResourceStatus;
|
|
6
|
+
status: SiteOperationStatus;
|
|
10
7
|
reason?: string;
|
|
11
8
|
}
|
|
12
|
-
export declare class
|
|
13
|
-
static readonly EVENT_NAME = "site-controller.game-
|
|
14
|
-
constructor(payload:
|
|
15
|
-
payload:
|
|
16
|
-
context:
|
|
9
|
+
export declare class GameCreationEnded extends LudeoEvent {
|
|
10
|
+
static readonly EVENT_NAME = "site-controller.game-creation-ended";
|
|
11
|
+
constructor(payload: GameCreationEndedPayload, context: SiteControllerContext);
|
|
12
|
+
payload: GameCreationEndedPayload;
|
|
13
|
+
context: SiteControllerContext;
|
|
17
14
|
}
|
|
@@ -9,52 +9,43 @@ 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");
|
|
16
16
|
const contexts_1 = require("../../contexts");
|
|
17
17
|
const site_controller_1 = require("../../types/site-controller");
|
|
18
|
-
|
|
19
|
-
class GameLudeocastCreationEndedPayload {
|
|
18
|
+
class GameCreationEndedPayload {
|
|
20
19
|
}
|
|
21
|
-
exports.
|
|
20
|
+
exports.GameCreationEndedPayload = GameCreationEndedPayload;
|
|
22
21
|
__decorate([
|
|
23
22
|
(0, class_validator_1.IsUUID)(),
|
|
24
23
|
__metadata("design:type", String)
|
|
25
|
-
],
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsUUID)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], GameLudeocastCreationEndedPayload.prototype, "gamePoolId", void 0);
|
|
24
|
+
], GameCreationEndedPayload.prototype, "gameResourceId", void 0);
|
|
30
25
|
__decorate([
|
|
31
26
|
(0, class_validator_1.IsEnum)(site_controller_1.SiteOperationStatus),
|
|
32
27
|
__metadata("design:type", String)
|
|
33
|
-
],
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsEnum)(pools_1.CloudResourceStatus),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], GameLudeocastCreationEndedPayload.prototype, "status", void 0);
|
|
28
|
+
], GameCreationEndedPayload.prototype, "status", void 0);
|
|
38
29
|
__decorate([
|
|
39
30
|
(0, class_validator_1.IsOptional)(),
|
|
40
31
|
(0, class_validator_1.IsString)(),
|
|
41
32
|
__metadata("design:type", String)
|
|
42
|
-
],
|
|
43
|
-
class
|
|
33
|
+
], GameCreationEndedPayload.prototype, "reason", void 0);
|
|
34
|
+
class GameCreationEnded extends infra_1.LudeoEvent {
|
|
44
35
|
constructor(payload, context) {
|
|
45
|
-
super(
|
|
36
|
+
super(GameCreationEnded.EVENT_NAME);
|
|
46
37
|
this.payload = payload;
|
|
47
38
|
this.context = context;
|
|
48
39
|
}
|
|
49
40
|
}
|
|
50
|
-
exports.
|
|
51
|
-
|
|
41
|
+
exports.GameCreationEnded = GameCreationEnded;
|
|
42
|
+
GameCreationEnded.EVENT_NAME = 'site-controller.game-creation-ended';
|
|
52
43
|
__decorate([
|
|
53
|
-
(0, decorators_1.ValidateNestedType)(() =>
|
|
54
|
-
__metadata("design:type",
|
|
55
|
-
],
|
|
44
|
+
(0, decorators_1.ValidateNestedType)(() => GameCreationEndedPayload),
|
|
45
|
+
__metadata("design:type", GameCreationEndedPayload)
|
|
46
|
+
], GameCreationEnded.prototype, "payload", void 0);
|
|
56
47
|
__decorate([
|
|
57
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
58
|
-
__metadata("design:type", contexts_1.
|
|
59
|
-
],
|
|
48
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
49
|
+
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
50
|
+
], GameCreationEnded.prototype, "context", void 0);
|
|
60
51
|
//# sourceMappingURL=game-ludeocast-creation-ended.js.map
|
|
@@ -1 +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,
|
|
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,7 +1,5 @@
|
|
|
1
1
|
export * from './machine-ludeocast-creation-ended';
|
|
2
2
|
export * from './game-ludeocast-creation-ended';
|
|
3
|
-
export * from './game-ludeocast-termination-ended';
|
|
4
|
-
export * from './machine-ludeocast-termination-ended';
|
|
5
3
|
export * from './snapshot-ludeocast-creation-ended';
|
|
6
4
|
export * from './snapshot-ludeocast-termination-ended';
|
|
7
5
|
export * from './resource-status-update';
|
|
@@ -16,8 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./machine-ludeocast-creation-ended"), exports);
|
|
18
18
|
__exportStar(require("./game-ludeocast-creation-ended"), exports);
|
|
19
|
-
__exportStar(require("./game-ludeocast-termination-ended"), exports);
|
|
20
|
-
__exportStar(require("./machine-ludeocast-termination-ended"), exports);
|
|
21
19
|
__exportStar(require("./snapshot-ludeocast-creation-ended"), exports);
|
|
22
20
|
__exportStar(require("./snapshot-ludeocast-termination-ended"), exports);
|
|
23
21
|
__exportStar(require("./resource-status-update"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AACA,qEAAmD;AACnD,kEAAgD;
|
|
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"}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import {
|
|
2
|
+
import { SiteControllerContext } from '../../contexts';
|
|
3
3
|
import { SiteOperationStatus } from '../../types/site-controller';
|
|
4
|
-
|
|
5
|
-
export declare class MachineLudeocastCreationEndedPayload {
|
|
4
|
+
export declare class MachineCreationEndedPayload {
|
|
6
5
|
machineResourceId: string;
|
|
7
|
-
|
|
8
|
-
operationStatus: SiteOperationStatus;
|
|
9
|
-
status: CloudResourceStatus;
|
|
6
|
+
status: SiteOperationStatus;
|
|
10
7
|
reason?: string;
|
|
11
8
|
}
|
|
12
|
-
export declare class
|
|
13
|
-
static readonly EVENT_NAME = "site-controller.machine-
|
|
14
|
-
constructor(payload:
|
|
15
|
-
payload:
|
|
16
|
-
context:
|
|
9
|
+
export declare class MachineCreationEnded extends LudeoEvent {
|
|
10
|
+
static readonly EVENT_NAME = "site-controller.machine-creation-ended";
|
|
11
|
+
constructor(payload: MachineCreationEndedPayload, context: SiteControllerContext);
|
|
12
|
+
payload: MachineCreationEndedPayload;
|
|
13
|
+
context: SiteControllerContext;
|
|
17
14
|
}
|
|
@@ -9,52 +9,43 @@ 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");
|
|
16
16
|
const contexts_1 = require("../../contexts");
|
|
17
17
|
const site_controller_1 = require("../../types/site-controller");
|
|
18
|
-
|
|
19
|
-
class MachineLudeocastCreationEndedPayload {
|
|
18
|
+
class MachineCreationEndedPayload {
|
|
20
19
|
}
|
|
21
|
-
exports.
|
|
20
|
+
exports.MachineCreationEndedPayload = MachineCreationEndedPayload;
|
|
22
21
|
__decorate([
|
|
23
22
|
(0, class_validator_1.IsUUID)(),
|
|
24
23
|
__metadata("design:type", String)
|
|
25
|
-
],
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsUUID)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], MachineLudeocastCreationEndedPayload.prototype, "machinePoolId", void 0);
|
|
24
|
+
], MachineCreationEndedPayload.prototype, "machineResourceId", void 0);
|
|
30
25
|
__decorate([
|
|
31
26
|
(0, class_validator_1.IsEnum)(site_controller_1.SiteOperationStatus),
|
|
32
27
|
__metadata("design:type", String)
|
|
33
|
-
],
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsEnum)(pools_1.CloudResourceStatus),
|
|
36
|
-
__metadata("design:type", String)
|
|
37
|
-
], MachineLudeocastCreationEndedPayload.prototype, "status", void 0);
|
|
28
|
+
], MachineCreationEndedPayload.prototype, "status", void 0);
|
|
38
29
|
__decorate([
|
|
39
30
|
(0, class_validator_1.IsOptional)(),
|
|
40
31
|
(0, class_validator_1.IsString)(),
|
|
41
32
|
__metadata("design:type", String)
|
|
42
|
-
],
|
|
43
|
-
class
|
|
33
|
+
], MachineCreationEndedPayload.prototype, "reason", void 0);
|
|
34
|
+
class MachineCreationEnded extends infra_1.LudeoEvent {
|
|
44
35
|
constructor(payload, context) {
|
|
45
|
-
super(
|
|
36
|
+
super(MachineCreationEnded.EVENT_NAME);
|
|
46
37
|
this.payload = payload;
|
|
47
38
|
this.context = context;
|
|
48
39
|
}
|
|
49
40
|
}
|
|
50
|
-
exports.
|
|
51
|
-
|
|
41
|
+
exports.MachineCreationEnded = MachineCreationEnded;
|
|
42
|
+
MachineCreationEnded.EVENT_NAME = 'site-controller.machine-creation-ended';
|
|
52
43
|
__decorate([
|
|
53
|
-
(0, decorators_1.ValidateNestedType)(() =>
|
|
54
|
-
__metadata("design:type",
|
|
55
|
-
],
|
|
44
|
+
(0, decorators_1.ValidateNestedType)(() => MachineCreationEndedPayload),
|
|
45
|
+
__metadata("design:type", MachineCreationEndedPayload)
|
|
46
|
+
], MachineCreationEnded.prototype, "payload", void 0);
|
|
56
47
|
__decorate([
|
|
57
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
58
|
-
__metadata("design:type", contexts_1.
|
|
59
|
-
],
|
|
48
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.SiteControllerContext),
|
|
49
|
+
__metadata("design:type", contexts_1.SiteControllerContext)
|
|
50
|
+
], MachineCreationEnded.prototype, "context", void 0);
|
|
60
51
|
//# sourceMappingURL=machine-ludeocast-creation-ended.js.map
|
|
@@ -1 +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,
|
|
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"}
|
|
@@ -2,7 +2,6 @@ import { BaseCommand, BaseCommandPayload } from '../base/base';
|
|
|
2
2
|
import { GameCreationPayload, MachineMode } from '../../types/site-controller';
|
|
3
3
|
export declare class StartGameCommandPayload extends BaseCommandPayload {
|
|
4
4
|
payload: GameCreationPayload;
|
|
5
|
-
gameResourceId: string;
|
|
6
5
|
machineMode: MachineMode;
|
|
7
6
|
}
|
|
8
7
|
export declare class StartGameCommand extends BaseCommand<StartGameCommandPayload> {
|
|
@@ -17,10 +17,6 @@ const class_validator_1 = require("class-validator");
|
|
|
17
17
|
class StartGameCommandPayload extends base_1.BaseCommandPayload {
|
|
18
18
|
}
|
|
19
19
|
exports.StartGameCommandPayload = StartGameCommandPayload;
|
|
20
|
-
__decorate([
|
|
21
|
-
(0, class_validator_1.IsString)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], StartGameCommandPayload.prototype, "gameResourceId", void 0);
|
|
24
20
|
__decorate([
|
|
25
21
|
(0, class_validator_1.IsEnum)(site_controller_1.MachineMode),
|
|
26
22
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start-game.command.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/start-game.command.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA+D;AAC/D,iEAA+E;AAC/E,oDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"start-game.command.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/start-game.command.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uCAA+D;AAC/D,iEAA+E;AAC/E,oDAAyD;AACzD,qDAAyC;AAGzC,MAAa,uBAAwB,SAAQ,yBAAkB;CAK9D;AALD,0DAKC;AADC;IADC,IAAA,wBAAM,EAAC,6BAAW,CAAC;;4DACK;AAG3B,MAAa,gBAAiB,SAAQ,kBAAoC;IAIxE,YAAY,OAAgC;QAC1C,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;CACF;AAPD,4CAOC;AALC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC;8BACzC,uBAAuB;iDAAC"}
|
|
@@ -27,5 +27,4 @@ __exportStar(require("./mock"), exports);
|
|
|
27
27
|
__exportStar(require("./machine-provider-settings"), exports);
|
|
28
28
|
__exportStar(require("./ludeocast"), exports);
|
|
29
29
|
__exportStar(require("./cloud-configuration-settings"), exports);
|
|
30
|
-
__exportStar(require("./ludeocast-v2"), exports);
|
|
31
30
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,uDAAqC;AACrC,wCAAsB;AACtB,2DAAyC;AACzC,qDAAmC;AACnC,sDAAoC;AACpC,6CAA2B;AAC3B,+DAA6C;AAC7C,4CAA0B;AAC1B,yCAAuB;AACvB,8DAA4C;AAC5C,8CAA4B;AAC5B,iEAA+C
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,uDAAqC;AACrC,wCAAsB;AACtB,2DAAyC;AACzC,qDAAmC;AACnC,sDAAoC;AACpC,6CAA2B;AAC3B,+DAA6C;AAC7C,4CAA0B;AAC1B,yCAAuB;AACvB,8DAA4C;AAC5C,8CAA4B;AAC5B,iEAA+C"}
|
|
@@ -6,7 +6,6 @@ var CloudProvider;
|
|
|
6
6
|
CloudProvider["AWS"] = "aws";
|
|
7
7
|
CloudProvider["NVIDIA"] = "nvidia";
|
|
8
8
|
CloudProvider["LUDEOCAST"] = "ludeocast";
|
|
9
|
-
CloudProvider["LUDEOCAST_V2"] = "ludeocast-v2";
|
|
10
9
|
CloudProvider["MOCK"] = "mock";
|
|
11
10
|
CloudProvider["GAMELIFT"] = "gamelift";
|
|
12
11
|
})(CloudProvider || (exports.CloudProvider = CloudProvider = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/provider.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/provider.ts"],"names":[],"mappings":";;;AAAA,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,4BAAW,CAAA;IACX,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,8BAAa,CAAA;IACb,sCAAqB,CAAA;AACvB,CAAC,EANW,aAAa,6BAAb,aAAa,QAMxB"}
|