@ludeo/cloud-common 1.2.183 → 1.2.184-beta-yahil-2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.d.ts +3 -3
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js +2 -2
- 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 +3 -3
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js +2 -2
- 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 +3 -3
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js +2 -2
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js.map +1 -1
- package/dist/v4/events/ludeocast-agent/resource-update.d.ts +2 -0
- package/dist/v4/events/ludeocast-agent/resource-update.js +6 -0
- package/dist/v4/events/ludeocast-agent/resource-update.js.map +1 -1
- package/dist/v4/events/site-controller/game-ludeocast-creation-ended.d.ts +10 -8
- package/dist/v4/events/site-controller/game-ludeocast-creation-ended.js +21 -16
- package/dist/v4/events/site-controller/game-ludeocast-creation-ended.js.map +1 -1
- package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.d.ts +10 -8
- package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.js +21 -16
- package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.js.map +1 -1
- package/dist/v4/types/cloud/index.d.ts +1 -0
- package/dist/v4/types/cloud/index.js +1 -0
- package/dist/v4/types/cloud/index.js.map +1 -1
- package/dist/v4/types/cloud/ludeocast-v2/allocation-data.d.ts +3 -0
- package/dist/v4/types/cloud/ludeocast-v2/allocation-data.js +21 -0
- package/dist/v4/types/cloud/ludeocast-v2/allocation-data.js.map +1 -0
- package/dist/v4/types/cloud/ludeocast-v2/game-creation-response.d.ts +2 -0
- package/dist/v4/types/cloud/ludeocast-v2/game-creation-response.js +7 -0
- package/dist/v4/types/cloud/ludeocast-v2/game-creation-response.js.map +1 -0
- package/dist/v4/types/cloud/ludeocast-v2/index.d.ts +6 -0
- package/dist/v4/types/cloud/ludeocast-v2/index.js +23 -0
- package/dist/v4/types/cloud/ludeocast-v2/index.js.map +1 -0
- package/dist/v4/types/cloud/ludeocast-v2/machine-provider-settings.d.ts +3 -0
- package/dist/v4/types/cloud/ludeocast-v2/machine-provider-settings.js +21 -0
- package/dist/v4/types/cloud/ludeocast-v2/machine-provider-settings.js.map +1 -0
- package/dist/v4/types/cloud/ludeocast-v2/provider-settings.d.ts +11 -0
- package/dist/v4/types/cloud/ludeocast-v2/provider-settings.js +13 -0
- package/dist/v4/types/cloud/ludeocast-v2/provider-settings.js.map +1 -0
- package/dist/v4/types/cloud/ludeocast-v2/request-data.d.ts +3 -0
- package/dist/v4/types/cloud/ludeocast-v2/request-data.js +22 -0
- package/dist/v4/types/cloud/ludeocast-v2/request-data.js.map +1 -0
- package/dist/v4/types/cloud/ludeocast-v2/resource-provider-settings.d.ts +8 -0
- package/dist/v4/types/cloud/ludeocast-v2/resource-provider-settings.js +39 -0
- package/dist/v4/types/cloud/ludeocast-v2/resource-provider-settings.js.map +1 -0
- package/dist/v4/types/cloud/ludeocast-v2/site.d.ts +0 -0
- package/dist/v4/types/cloud/ludeocast-v2/site.js +1 -0
- package/dist/v4/types/cloud/ludeocast-v2/site.js.map +1 -0
- package/dist/v4/types/cloud/provider.d.ts +1 -0
- package/dist/v4/types/cloud/provider.js +1 -0
- package/dist/v4/types/cloud/provider.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/cloud-resources/create-ludeocast-game-request.ts +4 -4
- package/src/v4/events/cloud-resources/create-ludeocast-machine-request.ts +4 -4
- package/src/v4/events/cloud-resources/terminate-ludeocast-game-request.ts +4 -4
- package/src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts +4 -4
- package/src/v4/events/ludeocast-agent/resource-update.ts +5 -0
- package/src/v4/events/site-controller/game-ludeocast-creation-ended.ts +15 -11
- package/src/v4/events/site-controller/machine-ludeocast-creation-ended.ts +15 -11
- package/src/v4/types/cloud/index.ts +1 -0
- package/src/v4/types/cloud/ludeocast-v2/allocation-data.ts +6 -0
- package/src/v4/types/cloud/ludeocast-v2/game-creation-response.ts +1 -0
- package/src/v4/types/cloud/ludeocast-v2/index.ts +6 -0
- package/src/v4/types/cloud/ludeocast-v2/machine-provider-settings.ts +6 -0
- package/src/v4/types/cloud/ludeocast-v2/provider-settings.ts +25 -0
- package/src/v4/types/cloud/ludeocast-v2/request-data.ts +7 -0
- package/src/v4/types/cloud/ludeocast-v2/resource-provider-settings.ts +21 -0
- package/src/v4/types/cloud/ludeocast-v2/site.ts +7 -0
- package/src/v4/types/cloud/provider.ts +1 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
2
|
import { GameCreationPayload } from '../../types/site-controller';
|
|
3
|
-
import {
|
|
3
|
+
import { CloudResourceContext } from '../../contexts';
|
|
4
4
|
export declare class CreateLudeocastGameRequestPayload {
|
|
5
5
|
machineResourceId: string;
|
|
6
6
|
gameResourceId: string;
|
|
@@ -11,7 +11,7 @@ export declare class CreateLudeocastGameRequestPayload {
|
|
|
11
11
|
}
|
|
12
12
|
export declare class CreateLudeocastGameRequest extends LudeoEvent {
|
|
13
13
|
static readonly EVENT_NAME = "cloud-resources.create-ludeocast-game-request";
|
|
14
|
-
constructor(payload: CreateLudeocastGameRequestPayload, context:
|
|
14
|
+
constructor(payload: CreateLudeocastGameRequestPayload, context: CloudResourceContext);
|
|
15
15
|
payload: CreateLudeocastGameRequestPayload;
|
|
16
|
-
context:
|
|
16
|
+
context: CloudResourceContext;
|
|
17
17
|
}
|
|
@@ -52,7 +52,7 @@ __decorate([
|
|
|
52
52
|
__metadata("design:type", CreateLudeocastGameRequestPayload)
|
|
53
53
|
], CreateLudeocastGameRequest.prototype, "payload", void 0);
|
|
54
54
|
__decorate([
|
|
55
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
56
|
-
__metadata("design:type", contexts_1.
|
|
55
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
|
|
56
|
+
__metadata("design:type", contexts_1.CloudResourceContext)
|
|
57
57
|
], CreateLudeocastGameRequest.prototype, "context", void 0);
|
|
58
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,6CAAsD;AAEtD,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,OAA6B;QACnF,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,+BAAoB,CAAC;8BACtC,+BAAoB;2DAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
2
|
import { MachineMode } from '../../types/site-controller';
|
|
3
|
-
import {
|
|
3
|
+
import { CloudResourceContext } from '../../contexts';
|
|
4
4
|
export declare class AndroidMachineCreationPayload {
|
|
5
5
|
}
|
|
6
6
|
export type MachineCreationPayload = AndroidMachineCreationPayload;
|
|
@@ -14,7 +14,7 @@ export declare class CreateLudeocastMachineRequestPayload {
|
|
|
14
14
|
}
|
|
15
15
|
export declare class CreateLudeocastMachineRequest extends LudeoEvent {
|
|
16
16
|
static readonly EVENT_NAME = "cloud-resources.create-ludeocast-machine-request";
|
|
17
|
-
constructor(payload: CreateLudeocastMachineRequestPayload, context:
|
|
17
|
+
constructor(payload: CreateLudeocastMachineRequestPayload, context: CloudResourceContext);
|
|
18
18
|
payload: CreateLudeocastMachineRequestPayload;
|
|
19
|
-
context:
|
|
19
|
+
context: CloudResourceContext;
|
|
20
20
|
}
|
|
@@ -60,7 +60,7 @@ __decorate([
|
|
|
60
60
|
__metadata("design:type", CreateLudeocastMachineRequestPayload)
|
|
61
61
|
], CreateLudeocastMachineRequest.prototype, "payload", void 0);
|
|
62
62
|
__decorate([
|
|
63
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
64
|
-
__metadata("design:type", contexts_1.
|
|
63
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
|
|
64
|
+
__metadata("design:type", contexts_1.CloudResourceContext)
|
|
65
65
|
], CreateLudeocastMachineRequest.prototype, "context", void 0);
|
|
66
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,qDAAuE;AACvE,iEAA0D;AAC1D,
|
|
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,6CAAsD;AAEtD,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,OAA6B;QACtF,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,+BAAoB,CAAC;8BACtC,+BAAoB;8DAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import {
|
|
2
|
+
import { CloudResourceContext } 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: CloudResourceContext);
|
|
12
12
|
payload: TerminateLudeocastGameRequestPayload;
|
|
13
|
-
context:
|
|
13
|
+
context: CloudResourceContext;
|
|
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.CloudResourceContext),
|
|
51
|
+
__metadata("design:type", contexts_1.CloudResourceContext)
|
|
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,6CAAsD;AAEtD,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,OAA6B;QACtF,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,+BAAoB,CAAC;8BACtC,+BAAoB;8DAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import {
|
|
2
|
+
import { CloudResourceContext } from '../../contexts';
|
|
3
3
|
export declare class TerminateLudeocastMachineRequestPayload {
|
|
4
4
|
machineResourceId: string;
|
|
5
5
|
site: string;
|
|
@@ -7,7 +7,7 @@ export declare class TerminateLudeocastMachineRequestPayload {
|
|
|
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: CloudResourceContext);
|
|
11
11
|
payload: TerminateLudeocastMachineRequestPayload;
|
|
12
|
-
context:
|
|
12
|
+
context: CloudResourceContext;
|
|
13
13
|
}
|
|
@@ -43,7 +43,7 @@ __decorate([
|
|
|
43
43
|
__metadata("design:type", TerminateLudeocastMachineRequestPayload)
|
|
44
44
|
], TerminateLudeocastMachineRequest.prototype, "payload", void 0);
|
|
45
45
|
__decorate([
|
|
46
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
47
|
-
__metadata("design:type", contexts_1.
|
|
46
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
|
|
47
|
+
__metadata("design:type", contexts_1.CloudResourceContext)
|
|
48
48
|
], TerminateLudeocastMachineRequest.prototype, "context", void 0);
|
|
49
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,qDAAmD;AACnD,
|
|
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,6CAAsD;AAEtD,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,OAA6B;QACzF,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,+BAAoB,CAAC;8BACtC,+BAAoB;iEAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { BaseCommand, BaseCommandPayload } from '../base/base';
|
|
2
2
|
import { CloudResourceStatus } from '../../types/pools/resource/status';
|
|
3
|
+
import { LudeoCastStreamState } from '../ludeocast-stream-state-updated';
|
|
3
4
|
export declare class ResourceUpdatePayload extends BaseCommandPayload {
|
|
4
5
|
gameResourceId?: string;
|
|
5
6
|
status: CloudResourceStatus;
|
|
7
|
+
streamState?: LudeoCastStreamState;
|
|
6
8
|
reason?: string;
|
|
7
9
|
meta?: Record<string, any>;
|
|
8
10
|
}
|
|
@@ -15,6 +15,7 @@ const base_1 = require("../base/base");
|
|
|
15
15
|
const status_1 = require("../../types/pools/resource/status");
|
|
16
16
|
const validate_nested_type_decorator_1 = require("../../../decorators/validate-nested-type.decorator");
|
|
17
17
|
const constants_1 = require("../base/constants");
|
|
18
|
+
const ludeocast_stream_state_updated_1 = require("../ludeocast-stream-state-updated");
|
|
18
19
|
const RESOURCE_UPDATE = 'resource-update';
|
|
19
20
|
class ResourceUpdatePayload extends base_1.BaseCommandPayload {
|
|
20
21
|
}
|
|
@@ -28,6 +29,11 @@ __decorate([
|
|
|
28
29
|
(0, class_validator_1.IsEnum)(status_1.CloudResourceStatus),
|
|
29
30
|
__metadata("design:type", String)
|
|
30
31
|
], ResourceUpdatePayload.prototype, "status", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
(0, class_validator_1.IsEnum)(ludeocast_stream_state_updated_1.LudeoCastStreamState),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], ResourceUpdatePayload.prototype, "streamState", void 0);
|
|
31
37
|
__decorate([
|
|
32
38
|
(0, class_validator_1.IsOptional)(),
|
|
33
39
|
(0, class_validator_1.IsString)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-update.js","sourceRoot":"","sources":["../../../../src/v4/events/ludeocast-agent/resource-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,uCAA+D;AAC/D,8DAAwE;AACxE,uGAAwF;AACxF,iDAAuE;
|
|
1
|
+
{"version":3,"file":"resource-update.js","sourceRoot":"","sources":["../../../../src/v4/events/ludeocast-agent/resource-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,uCAA+D;AAC/D,8DAAwE;AACxE,uGAAwF;AACxF,iDAAuE;AACvE,sFAAyE;AAGzE,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAE1C,MAAa,qBAAsB,SAAQ,yBAAkB;CAkB5D;AAlBD,sDAkBC;AAfC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;6DACe;AAGxB;IADC,IAAA,wBAAM,EAAC,4BAAmB,CAAC;;qDACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qDAAoB,CAAC;;0DACM;AAInC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACK;AAGhB;IADC,IAAA,4BAAU,GAAE;;mDACc;AAG7B,MAAa,cAAe,SAAQ,kBAAkC;IAKpE,YAAY,OAA8B;QACxC,KAAK,CAAC,OAAO,CAAC,iBAAiB,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,QAAQ;QACN,OAAM,GAAG,wBAAY,IAAI,eAAe,IAAI,IAAI,CAAC,OAAO,CAAC,iBAAiB,EAAE,CAAA;IAC9E,CAAC;CACF;AAZD,wCAYC;AATC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;8BACvC,qBAAqB;+CAAC;AAWpB,QAAA,iCAAiC,GAAG,gCAAgC,wBAAY,IAAI,eAAe,IAAI,gCAAoB,EAAE,CAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import {
|
|
2
|
+
import { CloudResourceContext } from '../../contexts';
|
|
3
3
|
import { SiteOperationStatus } from '../../types/site-controller';
|
|
4
|
-
|
|
4
|
+
import { CloudResourceStatus } from '../../types/pools';
|
|
5
|
+
export declare class GameLudeocastCreationEndedPayload {
|
|
5
6
|
gameResourceId: string;
|
|
6
|
-
|
|
7
|
+
operationStatus: SiteOperationStatus;
|
|
8
|
+
status: CloudResourceStatus;
|
|
7
9
|
reason?: string;
|
|
8
10
|
}
|
|
9
|
-
export declare class
|
|
10
|
-
static readonly EVENT_NAME = "site-controller.game-creation-ended";
|
|
11
|
-
constructor(payload:
|
|
12
|
-
payload:
|
|
13
|
-
context:
|
|
11
|
+
export declare class GameLudeocastCreationEnded extends LudeoEvent {
|
|
12
|
+
static readonly EVENT_NAME = "site-controller.game-ludeocast-creation-ended";
|
|
13
|
+
constructor(payload: GameLudeocastCreationEndedPayload, context: CloudResourceContext);
|
|
14
|
+
payload: GameLudeocastCreationEndedPayload;
|
|
15
|
+
context: CloudResourceContext;
|
|
14
16
|
}
|
|
@@ -9,43 +9,48 @@ 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.GameLudeocastCreationEnded = exports.GameLudeocastCreationEndedPayload = 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
|
-
|
|
18
|
+
const pools_1 = require("../../types/pools");
|
|
19
|
+
class GameLudeocastCreationEndedPayload {
|
|
19
20
|
}
|
|
20
|
-
exports.
|
|
21
|
+
exports.GameLudeocastCreationEndedPayload = GameLudeocastCreationEndedPayload;
|
|
21
22
|
__decorate([
|
|
22
23
|
(0, class_validator_1.IsUUID)(),
|
|
23
24
|
__metadata("design:type", String)
|
|
24
|
-
],
|
|
25
|
+
], GameLudeocastCreationEndedPayload.prototype, "gameResourceId", void 0);
|
|
25
26
|
__decorate([
|
|
26
27
|
(0, class_validator_1.IsEnum)(site_controller_1.SiteOperationStatus),
|
|
27
28
|
__metadata("design:type", String)
|
|
28
|
-
],
|
|
29
|
+
], GameLudeocastCreationEndedPayload.prototype, "operationStatus", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(pools_1.CloudResourceStatus),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], GameLudeocastCreationEndedPayload.prototype, "status", void 0);
|
|
29
34
|
__decorate([
|
|
30
35
|
(0, class_validator_1.IsOptional)(),
|
|
31
36
|
(0, class_validator_1.IsString)(),
|
|
32
37
|
__metadata("design:type", String)
|
|
33
|
-
],
|
|
34
|
-
class
|
|
38
|
+
], GameLudeocastCreationEndedPayload.prototype, "reason", void 0);
|
|
39
|
+
class GameLudeocastCreationEnded extends infra_1.LudeoEvent {
|
|
35
40
|
constructor(payload, context) {
|
|
36
|
-
super(
|
|
41
|
+
super(GameLudeocastCreationEnded.EVENT_NAME);
|
|
37
42
|
this.payload = payload;
|
|
38
43
|
this.context = context;
|
|
39
44
|
}
|
|
40
45
|
}
|
|
41
|
-
exports.
|
|
42
|
-
|
|
46
|
+
exports.GameLudeocastCreationEnded = GameLudeocastCreationEnded;
|
|
47
|
+
GameLudeocastCreationEnded.EVENT_NAME = 'site-controller.game-ludeocast-creation-ended';
|
|
43
48
|
__decorate([
|
|
44
|
-
(0, decorators_1.ValidateNestedType)(() =>
|
|
45
|
-
__metadata("design:type",
|
|
46
|
-
],
|
|
49
|
+
(0, decorators_1.ValidateNestedType)(() => GameLudeocastCreationEndedPayload),
|
|
50
|
+
__metadata("design:type", GameLudeocastCreationEndedPayload)
|
|
51
|
+
], GameLudeocastCreationEnded.prototype, "payload", void 0);
|
|
47
52
|
__decorate([
|
|
48
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
49
|
-
__metadata("design:type", contexts_1.
|
|
50
|
-
],
|
|
53
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
|
|
54
|
+
__metadata("design:type", contexts_1.CloudResourceContext)
|
|
55
|
+
], GameLudeocastCreationEnded.prototype, "context", void 0);
|
|
51
56
|
//# 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,6CAAsD;AACtD,iEAAkE;AAClE,6CAAwD;AAExD,MAAa,iCAAiC;CAa7C;AAbD,8EAaC;AAXC;IADC,IAAA,wBAAM,GAAE;;yEACc;AAGvB;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;0EACS;AAGrC;IADC,IAAA,wBAAM,EAAC,2BAAmB,CAAC;;iEACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iEACK;AAGlB,MAAa,0BAA2B,SAAQ,kBAAU;IAGxD,YAAY,OAA0C,EAAE,OAA6B;QACnF,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,+BAAoB,CAAC;8BACtC,+BAAoB;2DAAC"}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { LudeoEvent } from '../../../infra';
|
|
2
|
-
import {
|
|
2
|
+
import { CloudResourceContext } from '../../contexts';
|
|
3
3
|
import { SiteOperationStatus } from '../../types/site-controller';
|
|
4
|
-
|
|
4
|
+
import { CloudResourceStatus } from '../../types/pools';
|
|
5
|
+
export declare class MachineLudeocastCreationEndedPayload {
|
|
5
6
|
machineResourceId: string;
|
|
6
|
-
|
|
7
|
+
operationStatus: SiteOperationStatus;
|
|
8
|
+
status: CloudResourceStatus;
|
|
7
9
|
reason?: string;
|
|
8
10
|
}
|
|
9
|
-
export declare class
|
|
10
|
-
static readonly EVENT_NAME = "site-controller.machine-creation-ended";
|
|
11
|
-
constructor(payload:
|
|
12
|
-
payload:
|
|
13
|
-
context:
|
|
11
|
+
export declare class MachineLudeocastCreationEnded extends LudeoEvent {
|
|
12
|
+
static readonly EVENT_NAME = "site-controller.machine-ludeocast-creation-ended";
|
|
13
|
+
constructor(payload: MachineLudeocastCreationEndedPayload, context: CloudResourceContext);
|
|
14
|
+
payload: MachineLudeocastCreationEndedPayload;
|
|
15
|
+
context: CloudResourceContext;
|
|
14
16
|
}
|
|
@@ -9,43 +9,48 @@ 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.MachineLudeocastCreationEnded = exports.MachineLudeocastCreationEndedPayload = 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
|
-
|
|
18
|
+
const pools_1 = require("../../types/pools");
|
|
19
|
+
class MachineLudeocastCreationEndedPayload {
|
|
19
20
|
}
|
|
20
|
-
exports.
|
|
21
|
+
exports.MachineLudeocastCreationEndedPayload = MachineLudeocastCreationEndedPayload;
|
|
21
22
|
__decorate([
|
|
22
23
|
(0, class_validator_1.IsUUID)(),
|
|
23
24
|
__metadata("design:type", String)
|
|
24
|
-
],
|
|
25
|
+
], MachineLudeocastCreationEndedPayload.prototype, "machineResourceId", void 0);
|
|
25
26
|
__decorate([
|
|
26
27
|
(0, class_validator_1.IsEnum)(site_controller_1.SiteOperationStatus),
|
|
27
28
|
__metadata("design:type", String)
|
|
28
|
-
],
|
|
29
|
+
], MachineLudeocastCreationEndedPayload.prototype, "operationStatus", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsEnum)(pools_1.CloudResourceStatus),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], MachineLudeocastCreationEndedPayload.prototype, "status", void 0);
|
|
29
34
|
__decorate([
|
|
30
35
|
(0, class_validator_1.IsOptional)(),
|
|
31
36
|
(0, class_validator_1.IsString)(),
|
|
32
37
|
__metadata("design:type", String)
|
|
33
|
-
],
|
|
34
|
-
class
|
|
38
|
+
], MachineLudeocastCreationEndedPayload.prototype, "reason", void 0);
|
|
39
|
+
class MachineLudeocastCreationEnded extends infra_1.LudeoEvent {
|
|
35
40
|
constructor(payload, context) {
|
|
36
|
-
super(
|
|
41
|
+
super(MachineLudeocastCreationEnded.EVENT_NAME);
|
|
37
42
|
this.payload = payload;
|
|
38
43
|
this.context = context;
|
|
39
44
|
}
|
|
40
45
|
}
|
|
41
|
-
exports.
|
|
42
|
-
|
|
46
|
+
exports.MachineLudeocastCreationEnded = MachineLudeocastCreationEnded;
|
|
47
|
+
MachineLudeocastCreationEnded.EVENT_NAME = 'site-controller.machine-ludeocast-creation-ended';
|
|
43
48
|
__decorate([
|
|
44
|
-
(0, decorators_1.ValidateNestedType)(() =>
|
|
45
|
-
__metadata("design:type",
|
|
46
|
-
],
|
|
49
|
+
(0, decorators_1.ValidateNestedType)(() => MachineLudeocastCreationEndedPayload),
|
|
50
|
+
__metadata("design:type", MachineLudeocastCreationEndedPayload)
|
|
51
|
+
], MachineLudeocastCreationEnded.prototype, "payload", void 0);
|
|
47
52
|
__decorate([
|
|
48
|
-
(0, decorators_1.ValidateNestedType)(() => contexts_1.
|
|
49
|
-
__metadata("design:type", contexts_1.
|
|
50
|
-
],
|
|
53
|
+
(0, decorators_1.ValidateNestedType)(() => contexts_1.CloudResourceContext),
|
|
54
|
+
__metadata("design:type", contexts_1.CloudResourceContext)
|
|
55
|
+
], MachineLudeocastCreationEnded.prototype, "context", void 0);
|
|
51
56
|
//# 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,6CAAsD;AACtD,iEAAkE;AAClE,6CAAwD;AAExD,MAAa,oCAAoC;CAahD;AAbD,oFAaC;AAXC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,EAAC,qCAAmB,CAAC;;6EACS;AAGrC;IADC,IAAA,wBAAM,EAAC,2BAAmB,CAAC;;oEACA;AAI5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oEACK;AAGlB,MAAa,6BAA8B,SAAQ,kBAAU;IAG3D,YAAY,OAA6C,EAAE,OAA6B;QACtF,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,+BAAoB,CAAC;8BACtC,+BAAoB;8DAAC"}
|
|
@@ -27,4 +27,5 @@ __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);
|
|
30
31
|
//# 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;AAC/C,iDAA+B"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.LudeoCastV2AllocationData = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class LudeoCastV2AllocationData {
|
|
15
|
+
}
|
|
16
|
+
exports.LudeoCastV2AllocationData = LudeoCastV2AllocationData;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], LudeoCastV2AllocationData.prototype, "signalingURI", void 0);
|
|
21
|
+
//# sourceMappingURL=allocation-data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allocation-data.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/allocation-data.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAE3C,MAAa,yBAAyB;CAGrC;AAHD,8DAGC;AADC;IADC,IAAA,0BAAQ,GAAE;;+DACU"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LudeoCastV2GameCreationResponse = void 0;
|
|
4
|
+
class LudeoCastV2GameCreationResponse {
|
|
5
|
+
}
|
|
6
|
+
exports.LudeoCastV2GameCreationResponse = LudeoCastV2GameCreationResponse;
|
|
7
|
+
//# sourceMappingURL=game-creation-response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"game-creation-response.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/game-creation-response.ts"],"names":[],"mappings":";;;AAAA,MAAa,+BAA+B;CAAG;AAA/C,0EAA+C"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resource-provider-settings"), exports);
|
|
18
|
+
__exportStar(require("./provider-settings"), exports);
|
|
19
|
+
__exportStar(require("./request-data"), exports);
|
|
20
|
+
__exportStar(require("./game-creation-response"), exports);
|
|
21
|
+
__exportStar(require("./allocation-data"), exports);
|
|
22
|
+
__exportStar(require("./machine-provider-settings"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+DAA6C;AAC7C,sDAAoC;AACpC,iDAA+B;AAC/B,2DAAyC;AACzC,oDAAkC;AAClC,8DAA4C"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.LudeoCastV2MachineResourceProviderSettings = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class LudeoCastV2MachineResourceProviderSettings {
|
|
15
|
+
}
|
|
16
|
+
exports.LudeoCastV2MachineResourceProviderSettings = LudeoCastV2MachineResourceProviderSettings;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], LudeoCastV2MachineResourceProviderSettings.prototype, "machineId", void 0);
|
|
21
|
+
//# sourceMappingURL=machine-provider-settings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machine-provider-settings.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/machine-provider-settings.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAE3C,MAAa,0CAA0C;CAGtD;AAHD,gGAGC;AADC;IADC,IAAA,0BAAQ,GAAE;;6EACO"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { MachineMode } from "../..";
|
|
2
|
+
import { CloudProviderSettings } from "../provider-settings";
|
|
3
|
+
import { LudeoCastSite } from "../ludeocast/site";
|
|
4
|
+
export declare class LudeoCastV2ProviderSettings {
|
|
5
|
+
site: LudeoCastSite;
|
|
6
|
+
region?: string;
|
|
7
|
+
mode: MachineMode;
|
|
8
|
+
machineClass?: string;
|
|
9
|
+
additionalEnvironmentVariables?: Record<string, string>;
|
|
10
|
+
}
|
|
11
|
+
export declare const isLudeoCastV2ProviderSettings: (settings: CloudProviderSettings) => settings is LudeoCastV2ProviderSettings;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isLudeoCastV2ProviderSettings = exports.LudeoCastV2ProviderSettings = void 0;
|
|
4
|
+
class LudeoCastV2ProviderSettings {
|
|
5
|
+
}
|
|
6
|
+
exports.LudeoCastV2ProviderSettings = LudeoCastV2ProviderSettings;
|
|
7
|
+
const isLudeoCastV2ProviderSettings = (settings) => {
|
|
8
|
+
return (settings &&
|
|
9
|
+
"mode" in settings &&
|
|
10
|
+
typeof settings.mode === "string");
|
|
11
|
+
};
|
|
12
|
+
exports.isLudeoCastV2ProviderSettings = isLudeoCastV2ProviderSettings;
|
|
13
|
+
//# sourceMappingURL=provider-settings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider-settings.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/provider-settings.ts"],"names":[],"mappings":";;;AAIA,MAAa,2BAA2B;CAUvC;AAVD,kEAUC;AAEM,MAAM,6BAA6B,GAAG,CAC3C,QAA+B,EACU,EAAE;IAC3C,OAAO,CACL,QAAQ;QACR,MAAM,IAAI,QAAQ;QAClB,OAAO,QAAQ,CAAC,IAAI,KAAK,QAAQ,CAClC,CAAC;AACJ,CAAC,CAAC;AARW,QAAA,6BAA6B,iCAQxC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.LudeoCastV2RequestData = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class LudeoCastV2RequestData {
|
|
15
|
+
}
|
|
16
|
+
exports.LudeoCastV2RequestData = LudeoCastV2RequestData;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], LudeoCastV2RequestData.prototype, "signalRequest", void 0);
|
|
22
|
+
//# sourceMappingURL=request-data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"request-data.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/request-data.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AADC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;6DACS"}
|