@ludeo/cloud-common 1.2.197 → 1.2.198-ygbeta0
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-builds/create-ludeocast-build-distribution-request.d.ts +3 -3
- package/dist/v4/events/cloud-builds/create-ludeocast-build-distribution-request.js +1 -2
- package/dist/v4/events/cloud-builds/create-ludeocast-build-distribution-request.js.map +1 -1
- package/dist/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.d.ts +4 -4
- package/dist/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.js +1 -2
- package/dist/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.js.map +1 -1
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.d.ts +5 -4
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js +5 -1
- 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 +4 -3
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js +5 -1
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js.map +1 -1
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.d.ts +4 -3
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js +5 -1
- package/dist/v4/events/cloud-resources/terminate-ludeocast-machine-request.js.map +1 -1
- package/dist/v4/types/cloud/ludeocast-v2/allocation-data.d.ts +1 -0
- package/dist/v4/types/cloud/ludeocast-v2/allocation-data.js +5 -0
- package/dist/v4/types/cloud/ludeocast-v2/allocation-data.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/cloud-builds/create-ludeocast-build-distribution-request.ts +11 -9
- package/src/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.ts +13 -11
- package/src/v4/events/cloud-resources/create-ludeocast-game-request.ts +14 -9
- package/src/v4/events/cloud-resources/create-ludeocast-machine-request.ts +14 -8
- package/src/v4/events/cloud-resources/terminate-ludeocast-machine-request.ts +14 -8
- package/src/v4/types/cloud/ludeocast-v2/allocation-data.ts +5 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { LudeoEvent } from
|
|
2
|
-
import { BuildContext } from
|
|
1
|
+
import { LudeoEvent } from "../../../infra";
|
|
2
|
+
import { BuildContext } from "../../contexts";
|
|
3
3
|
export declare class CreateLudeocastBuildDistributionRequestPayload {
|
|
4
4
|
buildId: string;
|
|
5
5
|
downloadURL: string;
|
|
6
6
|
sizeGB: number;
|
|
7
|
-
site
|
|
7
|
+
site: string;
|
|
8
8
|
regions: string[];
|
|
9
9
|
}
|
|
10
10
|
export declare class CreateLudeocastBuildDistributionRequest extends LudeoEvent {
|
|
@@ -30,7 +30,6 @@ __decorate([
|
|
|
30
30
|
__metadata("design:type", Number)
|
|
31
31
|
], CreateLudeocastBuildDistributionRequestPayload.prototype, "sizeGB", void 0);
|
|
32
32
|
__decorate([
|
|
33
|
-
(0, class_validator_1.IsOptional)(),
|
|
34
33
|
(0, class_validator_1.IsString)(),
|
|
35
34
|
__metadata("design:type", String)
|
|
36
35
|
], CreateLudeocastBuildDistributionRequestPayload.prototype, "site", void 0);
|
|
@@ -47,7 +46,7 @@ class CreateLudeocastBuildDistributionRequest extends infra_1.LudeoEvent {
|
|
|
47
46
|
}
|
|
48
47
|
}
|
|
49
48
|
exports.CreateLudeocastBuildDistributionRequest = CreateLudeocastBuildDistributionRequest;
|
|
50
|
-
CreateLudeocastBuildDistributionRequest.EVENT_NAME =
|
|
49
|
+
CreateLudeocastBuildDistributionRequest.EVENT_NAME = "cloud-builds.create-ludeocast-build-distribution-request";
|
|
51
50
|
__decorate([
|
|
52
51
|
(0, decorators_1.ValidateNestedType)(() => CreateLudeocastBuildDistributionRequestPayload),
|
|
53
52
|
__metadata("design:type", CreateLudeocastBuildDistributionRequestPayload)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-ludeocast-build-distribution-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/create-ludeocast-build-distribution-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,
|
|
1
|
+
{"version":3,"file":"create-ludeocast-build-distribution-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/create-ludeocast-build-distribution-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA8D;AAC9D,6CAA8C;AAE9C,MAAa,8CAA8C;CAgB1D;AAhBD,wGAgBC;AAdC;IADC,IAAA,0BAAQ,GAAE;;+EACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;mFACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;8EACI;AAGf;IADC,IAAA,0BAAQ,GAAE;;4EACE;AAIb;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+EACP;AAGpB,MAAa,uCAAwC,SAAQ,kBAAU;IAIrE,YACE,OAAuD,EACvD,OAAqB;QAErB,KAAK,CAAC,uCAAuC,CAAC,UAAU,CAAC,CAAC;QAC1D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,0FAkBC;AAjBiB,kDAAU,GACxB,0DAA0D,CAAC;AAY7D;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,8CAA8C,CAAC;8BAChE,8CAA8C;wEAAC;AAGxD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAY,CAAC;8BAC9B,uBAAY;wEAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { LudeoEvent } from
|
|
2
|
-
import { BuildContext } from
|
|
3
|
-
import { LudeocastV2Distributions } from
|
|
1
|
+
import { LudeoEvent } from "../../../infra";
|
|
2
|
+
import { BuildContext } from "../../contexts";
|
|
3
|
+
import { LudeocastV2Distributions } from "../../types/build";
|
|
4
4
|
export declare class TerminateLudeocastBuildDistributionRequestPayload {
|
|
5
5
|
buildId: string;
|
|
6
|
-
site
|
|
6
|
+
site: string;
|
|
7
7
|
region?: string;
|
|
8
8
|
distributions?: LudeocastV2Distributions;
|
|
9
9
|
envIds?: string[];
|
|
@@ -23,7 +23,6 @@ __decorate([
|
|
|
23
23
|
__metadata("design:type", String)
|
|
24
24
|
], TerminateLudeocastBuildDistributionRequestPayload.prototype, "buildId", void 0);
|
|
25
25
|
__decorate([
|
|
26
|
-
(0, class_validator_1.IsOptional)(),
|
|
27
26
|
(0, class_validator_1.IsString)(),
|
|
28
27
|
__metadata("design:type", String)
|
|
29
28
|
], TerminateLudeocastBuildDistributionRequestPayload.prototype, "site", void 0);
|
|
@@ -51,7 +50,7 @@ class TerminateLudeocastBuildDistributionRequest extends infra_1.LudeoEvent {
|
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
52
|
exports.TerminateLudeocastBuildDistributionRequest = TerminateLudeocastBuildDistributionRequest;
|
|
54
|
-
TerminateLudeocastBuildDistributionRequest.EVENT_NAME =
|
|
53
|
+
TerminateLudeocastBuildDistributionRequest.EVENT_NAME = "cloud-builds.terminate-ludeocast-build-distribution-request";
|
|
55
54
|
__decorate([
|
|
56
55
|
(0, decorators_1.ValidateNestedType)(() => TerminateLudeocastBuildDistributionRequestPayload),
|
|
57
56
|
__metadata("design:type", TerminateLudeocastBuildDistributionRequestPayload)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-ludeocast-build-distribution-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAgE;AAChE,6CAA8C;AAC9C,6CAA6D;AAE7D,MAAa,iDAAiD;
|
|
1
|
+
{"version":3,"file":"terminate-ludeocast-build-distribution-request.js","sourceRoot":"","sources":["../../../../src/v4/events/cloud-builds/terminate-ludeocast-build-distribution-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAgE;AAChE,6CAA8C;AAC9C,6CAA6D;AAE7D,MAAa,iDAAiD;CAmB7D;AAnBD,8GAmBC;AAjBC;IADC,IAAA,0BAAQ,GAAE;;kFACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;+EACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iFACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAwB,CAAC;8BACnC,gCAAwB;wFAAC;AAKzC;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iFACP;AAGpB,MAAa,0CAA2C,SAAQ,kBAAU;IAIxE,YACE,OAA0D,EAC1D,OAAqB;QAErB,KAAK,CAAC,0CAA0C,CAAC,UAAU,CAAC,CAAC;QAC7D,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,gGAkBC;AAjBiB,qDAAU,GACxB,6DAA6D,CAAC;AAYhE;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,iDAAiD,CAAC;8BACnE,iDAAiD;2EAAC;AAG3D;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAY,CAAC;8BAC9B,uBAAY;2EAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { LudeoEvent } from
|
|
2
|
-
import { GameCreationPayload } from
|
|
3
|
-
import { CloudResourceContext } from
|
|
4
|
-
import { LudeoCastV2ProviderSettings } from
|
|
1
|
+
import { LudeoEvent } from "../../../infra";
|
|
2
|
+
import { GameCreationPayload } from "../../types/site-controller";
|
|
3
|
+
import { CloudResourceContext } from "../../contexts";
|
|
4
|
+
import { LudeoCastV2ProviderSettings } from "../../types/cloud/ludeocast-v2/provider-settings";
|
|
5
5
|
export declare class CreateLudeocastGameRequestPayload {
|
|
6
6
|
machineResourceId: string;
|
|
7
7
|
gameResourceId: string;
|
|
@@ -9,6 +9,7 @@ export declare class CreateLudeocastGameRequestPayload {
|
|
|
9
9
|
gameCreationPayload?: GameCreationPayload;
|
|
10
10
|
providerSettings: LudeoCastV2ProviderSettings;
|
|
11
11
|
buildId: string;
|
|
12
|
+
site: string;
|
|
12
13
|
}
|
|
13
14
|
export declare class CreateLudeocastGameRequest extends LudeoEvent {
|
|
14
15
|
static readonly EVENT_NAME = "cloud-resources.create-ludeocast-game-request";
|
|
@@ -37,6 +37,10 @@ __decorate([
|
|
|
37
37
|
(0, class_validator_1.IsUUID)(),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], CreateLudeocastGameRequestPayload.prototype, "buildId", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CreateLudeocastGameRequestPayload.prototype, "site", void 0);
|
|
40
44
|
class CreateLudeocastGameRequest extends infra_1.LudeoEvent {
|
|
41
45
|
constructor(payload, context) {
|
|
42
46
|
super(CreateLudeocastGameRequest.EVENT_NAME);
|
|
@@ -45,7 +49,7 @@ class CreateLudeocastGameRequest extends infra_1.LudeoEvent {
|
|
|
45
49
|
}
|
|
46
50
|
}
|
|
47
51
|
exports.CreateLudeocastGameRequest = CreateLudeocastGameRequest;
|
|
48
|
-
CreateLudeocastGameRequest.EVENT_NAME =
|
|
52
|
+
CreateLudeocastGameRequest.EVENT_NAME = "cloud-resources.create-ludeocast-game-request";
|
|
49
53
|
__decorate([
|
|
50
54
|
(0, decorators_1.ValidateNestedType)(() => CreateLudeocastGameRequestPayload),
|
|
51
55
|
__metadata("design:type", CreateLudeocastGameRequestPayload)
|
|
@@ -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,
|
|
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;AAGtD,MAAa,iCAAiC;CAoB7C;AApBD,8EAoBC;AAlBC;IADC,IAAA,wBAAM,GAAE;;4EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;yEACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;qEACU;AAGnB;IADC,IAAA,4BAAU,GAAE;;8EAC6B;AAK1C;IADC,IAAA,wBAAM,GAAE;;kEACO;AAGhB;IADC,IAAA,0BAAQ,GAAE;;+DACE;AAGf,MAAa,0BAA2B,SAAQ,kBAAU;IAGxD,YACE,OAA0C,EAC1C,OAA6B;QAE7B,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,gEAiBC;AAhBiB,qCAAU,GAAG,+CAA+C,CAAC;AAY7E;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
|
-
import { LudeoEvent } from
|
|
2
|
-
import { CloudResourceContext } from
|
|
3
|
-
import { LudeoCastV2ProviderSettings } from
|
|
1
|
+
import { LudeoEvent } from "../../../infra";
|
|
2
|
+
import { CloudResourceContext } from "../../contexts";
|
|
3
|
+
import { LudeoCastV2ProviderSettings } from "../../types";
|
|
4
4
|
export declare class AndroidMachineCreationPayload {
|
|
5
5
|
}
|
|
6
6
|
export type MachineCreationPayload = AndroidMachineCreationPayload;
|
|
@@ -9,6 +9,7 @@ export declare class CreateLudeocastMachineRequestPayload {
|
|
|
9
9
|
machinePoolId: string;
|
|
10
10
|
machineCreationPayload?: MachineCreationPayload;
|
|
11
11
|
providerSettings: LudeoCastV2ProviderSettings;
|
|
12
|
+
site: string;
|
|
12
13
|
}
|
|
13
14
|
export declare class CreateLudeocastMachineRequest extends LudeoEvent {
|
|
14
15
|
static readonly EVENT_NAME = "cloud-resources.create-ludeocast-machine-request";
|
|
@@ -33,6 +33,10 @@ __decorate([
|
|
|
33
33
|
(0, decorators_1.ValidateNestedType)(() => AndroidMachineCreationPayload),
|
|
34
34
|
__metadata("design:type", Object)
|
|
35
35
|
], CreateLudeocastMachineRequestPayload.prototype, "machineCreationPayload", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], CreateLudeocastMachineRequestPayload.prototype, "site", void 0);
|
|
36
40
|
class CreateLudeocastMachineRequest extends infra_1.LudeoEvent {
|
|
37
41
|
constructor(payload, context) {
|
|
38
42
|
super(CreateLudeocastMachineRequest.EVENT_NAME);
|
|
@@ -41,7 +45,7 @@ class CreateLudeocastMachineRequest extends infra_1.LudeoEvent {
|
|
|
41
45
|
}
|
|
42
46
|
}
|
|
43
47
|
exports.CreateLudeocastMachineRequest = CreateLudeocastMachineRequest;
|
|
44
|
-
CreateLudeocastMachineRequest.EVENT_NAME =
|
|
48
|
+
CreateLudeocastMachineRequest.EVENT_NAME = "cloud-resources.create-ludeocast-machine-request";
|
|
45
49
|
__decorate([
|
|
46
50
|
(0, decorators_1.ValidateNestedType)(() => CreateLudeocastMachineRequestPayload),
|
|
47
51
|
__metadata("design:type", CreateLudeocastMachineRequestPayload)
|
|
@@ -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,qDAA+D;AAC/D,6CAAsD;AAGtD,MAAa,6BAA6B;CAAG;AAA7C,sEAA6C;AAI7C,MAAa,oCAAoC;CAehD;AAfD,oFAeC;AAbC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;2EACa;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;;oFACR;AAKhD;IADC,IAAA,0BAAQ,GAAE;;kEACE;AAGf,MAAa,6BAA8B,SAAQ,kBAAU;IAI3D,YACE,OAA6C,EAC7C,OAA6B;QAE7B,KAAK,CAAC,6BAA6B,CAAC,UAAU,CAAC,CAAC;QAChD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,sEAkBC;AAjBiB,wCAAU,GACxB,kDAAkD,CAAC;AAYrD;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,9 +1,10 @@
|
|
|
1
|
-
import { LudeoEvent } from
|
|
2
|
-
import { CloudResourceContext } from
|
|
3
|
-
import { LudeoCastV2ProviderSettings } from
|
|
1
|
+
import { LudeoEvent } from "../../../infra";
|
|
2
|
+
import { CloudResourceContext } from "../../contexts";
|
|
3
|
+
import { LudeoCastV2ProviderSettings } from "../../types";
|
|
4
4
|
export declare class TerminateLudeocastMachineRequestPayload {
|
|
5
5
|
machineResourceId: string;
|
|
6
6
|
providerSettings: LudeoCastV2ProviderSettings;
|
|
7
|
+
site: string;
|
|
7
8
|
}
|
|
8
9
|
export declare class TerminateLudeocastMachineRequest extends LudeoEvent {
|
|
9
10
|
static readonly EVENT_NAME = "cloud-resources.terminate-ludeocast-machine-request";
|
|
@@ -26,6 +26,10 @@ __decorate([
|
|
|
26
26
|
(0, decorators_1.ValidateNestedType)(() => types_1.LudeoCastV2ProviderSettings),
|
|
27
27
|
__metadata("design:type", types_1.LudeoCastV2ProviderSettings)
|
|
28
28
|
], TerminateLudeocastMachineRequestPayload.prototype, "providerSettings", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TerminateLudeocastMachineRequestPayload.prototype, "site", void 0);
|
|
29
33
|
class TerminateLudeocastMachineRequest extends infra_1.LudeoEvent {
|
|
30
34
|
constructor(payload, context) {
|
|
31
35
|
super(TerminateLudeocastMachineRequest.EVENT_NAME);
|
|
@@ -34,7 +38,7 @@ class TerminateLudeocastMachineRequest extends infra_1.LudeoEvent {
|
|
|
34
38
|
}
|
|
35
39
|
}
|
|
36
40
|
exports.TerminateLudeocastMachineRequest = TerminateLudeocastMachineRequest;
|
|
37
|
-
TerminateLudeocastMachineRequest.EVENT_NAME =
|
|
41
|
+
TerminateLudeocastMachineRequest.EVENT_NAME = "cloud-resources.terminate-ludeocast-machine-request";
|
|
38
42
|
__decorate([
|
|
39
43
|
(0, decorators_1.ValidateNestedType)(() => TerminateLudeocastMachineRequestPayload),
|
|
40
44
|
__metadata("design:type", TerminateLudeocastMachineRequestPayload)
|
|
@@ -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,6CAAsD;AACtD,uCAA0D;AAE1D,MAAa,uCAAuC;CASnD;AATD,0FASC;AAPC;IADC,IAAA,wBAAM,GAAE;;kFACiB;AAG1B;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;8BACpC,mCAA2B;iFAAC;AAG9C;IADC,IAAA,0BAAQ,GAAE;;qEACE;AAGf,MAAa,gCAAiC,SAAQ,kBAAU;IAI9D,YACE,OAAgD,EAChD,OAA6B;QAE7B,KAAK,CAAC,gCAAgC,CAAC,UAAU,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,4EAkBC;AAjBiB,2CAAU,GACxB,qDAAqD,CAAC;AAYxD;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"}
|
|
@@ -18,4 +18,9 @@ __decorate([
|
|
|
18
18
|
(0, class_validator_1.IsString)(),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
20
|
], LudeoCastV2AllocationData.prototype, "signalingURI", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsArray)(),
|
|
23
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
24
|
+
__metadata("design:type", Array)
|
|
25
|
+
], LudeoCastV2AllocationData.prototype, "stunTurnServers", void 0);
|
|
21
26
|
//# sourceMappingURL=allocation-data.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allocation-data.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/allocation-data.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"allocation-data.js","sourceRoot":"","sources":["../../../../../src/v4/types/cloud/ludeocast-v2/allocation-data.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AAEpD,MAAa,yBAAyB;CAOrC;AAPD,8DAOC;AALC;IADC,IAAA,0BAAQ,GAAE;;+DACU;AAIrB;IAFC,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;kEACC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { LudeoEvent } from
|
|
2
|
-
import { ValidateNestedType } from
|
|
3
|
-
import { IsString,
|
|
4
|
-
import { BuildContext } from
|
|
1
|
+
import { LudeoEvent } from "../../../infra";
|
|
2
|
+
import { ValidateNestedType } from "../../../decorators";
|
|
3
|
+
import { IsString, IsNumber, IsArray } from "class-validator";
|
|
4
|
+
import { BuildContext } from "../../contexts";
|
|
5
5
|
|
|
6
6
|
export class CreateLudeocastBuildDistributionRequestPayload {
|
|
7
7
|
@IsString()
|
|
@@ -13,9 +13,8 @@ export class CreateLudeocastBuildDistributionRequestPayload {
|
|
|
13
13
|
@IsNumber()
|
|
14
14
|
sizeGB: number;
|
|
15
15
|
|
|
16
|
-
@IsOptional()
|
|
17
16
|
@IsString()
|
|
18
|
-
site
|
|
17
|
+
site: string;
|
|
19
18
|
|
|
20
19
|
@IsArray()
|
|
21
20
|
@IsString({ each: true })
|
|
@@ -23,9 +22,13 @@ export class CreateLudeocastBuildDistributionRequestPayload {
|
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
export class CreateLudeocastBuildDistributionRequest extends LudeoEvent {
|
|
26
|
-
static readonly EVENT_NAME =
|
|
25
|
+
static readonly EVENT_NAME =
|
|
26
|
+
"cloud-builds.create-ludeocast-build-distribution-request";
|
|
27
27
|
|
|
28
|
-
constructor(
|
|
28
|
+
constructor(
|
|
29
|
+
payload: CreateLudeocastBuildDistributionRequestPayload,
|
|
30
|
+
context: BuildContext
|
|
31
|
+
) {
|
|
29
32
|
super(CreateLudeocastBuildDistributionRequest.EVENT_NAME);
|
|
30
33
|
this.payload = payload;
|
|
31
34
|
this.context = context;
|
|
@@ -37,4 +40,3 @@ export class CreateLudeocastBuildDistributionRequest extends LudeoEvent {
|
|
|
37
40
|
@ValidateNestedType(() => BuildContext)
|
|
38
41
|
context: BuildContext;
|
|
39
42
|
}
|
|
40
|
-
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { LudeoEvent } from
|
|
2
|
-
import { ValidateNestedType } from
|
|
3
|
-
import { IsArray, IsOptional, IsString } from
|
|
4
|
-
import { BuildContext } from
|
|
5
|
-
import { LudeocastV2Distributions } from
|
|
1
|
+
import { LudeoEvent } from "../../../infra";
|
|
2
|
+
import { ValidateNestedType } from "../../../decorators";
|
|
3
|
+
import { IsArray, IsOptional, IsString } from "class-validator";
|
|
4
|
+
import { BuildContext } from "../../contexts";
|
|
5
|
+
import { LudeocastV2Distributions } from "../../types/build";
|
|
6
6
|
|
|
7
7
|
export class TerminateLudeocastBuildDistributionRequestPayload {
|
|
8
8
|
@IsString()
|
|
9
9
|
buildId: string;
|
|
10
10
|
|
|
11
|
-
@IsOptional()
|
|
12
11
|
@IsString()
|
|
13
|
-
site
|
|
12
|
+
site: string;
|
|
14
13
|
|
|
15
14
|
@IsOptional()
|
|
16
15
|
@IsString()
|
|
@@ -18,7 +17,7 @@ export class TerminateLudeocastBuildDistributionRequestPayload {
|
|
|
18
17
|
|
|
19
18
|
@IsOptional()
|
|
20
19
|
@ValidateNestedType(() => LudeocastV2Distributions)
|
|
21
|
-
distributions?: LudeocastV2Distributions;
|
|
20
|
+
distributions?: LudeocastV2Distributions;
|
|
22
21
|
|
|
23
22
|
@IsOptional()
|
|
24
23
|
@IsArray()
|
|
@@ -27,9 +26,13 @@ export class TerminateLudeocastBuildDistributionRequestPayload {
|
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
export class TerminateLudeocastBuildDistributionRequest extends LudeoEvent {
|
|
30
|
-
static readonly EVENT_NAME =
|
|
29
|
+
static readonly EVENT_NAME =
|
|
30
|
+
"cloud-builds.terminate-ludeocast-build-distribution-request";
|
|
31
31
|
|
|
32
|
-
constructor(
|
|
32
|
+
constructor(
|
|
33
|
+
payload: TerminateLudeocastBuildDistributionRequestPayload,
|
|
34
|
+
context: BuildContext
|
|
35
|
+
) {
|
|
33
36
|
super(TerminateLudeocastBuildDistributionRequest.EVENT_NAME);
|
|
34
37
|
this.payload = payload;
|
|
35
38
|
this.context = context;
|
|
@@ -41,4 +44,3 @@ export class TerminateLudeocastBuildDistributionRequest extends LudeoEvent {
|
|
|
41
44
|
@ValidateNestedType(() => BuildContext)
|
|
42
45
|
context: BuildContext;
|
|
43
46
|
}
|
|
44
|
-
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { LudeoEvent } from
|
|
2
|
-
import { ValidateNestedType } from
|
|
3
|
-
import { IsUUID, IsOptional } from
|
|
4
|
-
import { GameCreationPayload } from
|
|
5
|
-
import { CloudResourceContext } from
|
|
6
|
-
import { LudeoCastV2ProviderSettings } from
|
|
1
|
+
import { LudeoEvent } from "../../../infra";
|
|
2
|
+
import { ValidateNestedType } from "../../../decorators";
|
|
3
|
+
import { IsUUID, IsOptional, IsString } from "class-validator";
|
|
4
|
+
import { GameCreationPayload } from "../../types/site-controller";
|
|
5
|
+
import { CloudResourceContext } from "../../contexts";
|
|
6
|
+
import { LudeoCastV2ProviderSettings } from "../../types/cloud/ludeocast-v2/provider-settings";
|
|
7
7
|
|
|
8
8
|
export class CreateLudeocastGameRequestPayload {
|
|
9
9
|
@IsUUID()
|
|
@@ -22,12 +22,18 @@ export class CreateLudeocastGameRequestPayload {
|
|
|
22
22
|
|
|
23
23
|
@IsUUID()
|
|
24
24
|
buildId: string;
|
|
25
|
+
|
|
26
|
+
@IsString()
|
|
27
|
+
site: string;
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
export class CreateLudeocastGameRequest extends LudeoEvent {
|
|
28
|
-
static readonly EVENT_NAME =
|
|
31
|
+
static readonly EVENT_NAME = "cloud-resources.create-ludeocast-game-request";
|
|
29
32
|
|
|
30
|
-
constructor(
|
|
33
|
+
constructor(
|
|
34
|
+
payload: CreateLudeocastGameRequestPayload,
|
|
35
|
+
context: CloudResourceContext
|
|
36
|
+
) {
|
|
31
37
|
super(CreateLudeocastGameRequest.EVENT_NAME);
|
|
32
38
|
this.payload = payload;
|
|
33
39
|
this.context = context;
|
|
@@ -39,4 +45,3 @@ export class CreateLudeocastGameRequest extends LudeoEvent {
|
|
|
39
45
|
@ValidateNestedType(() => CloudResourceContext)
|
|
40
46
|
context: CloudResourceContext;
|
|
41
47
|
}
|
|
42
|
-
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { LudeoEvent } from
|
|
2
|
-
import { ValidateNestedType } from
|
|
3
|
-
import { IsOptional, IsUUID } from
|
|
4
|
-
import { CloudResourceContext } from
|
|
5
|
-
import { LudeoCastV2ProviderSettings } from
|
|
1
|
+
import { LudeoEvent } from "../../../infra";
|
|
2
|
+
import { ValidateNestedType } from "../../../decorators";
|
|
3
|
+
import { IsOptional, IsUUID, IsString } from "class-validator";
|
|
4
|
+
import { CloudResourceContext } from "../../contexts";
|
|
5
|
+
import { LudeoCastV2ProviderSettings } from "../../types";
|
|
6
6
|
|
|
7
7
|
export class AndroidMachineCreationPayload {}
|
|
8
8
|
|
|
@@ -20,12 +20,19 @@ export class CreateLudeocastMachineRequestPayload {
|
|
|
20
20
|
machineCreationPayload?: MachineCreationPayload;
|
|
21
21
|
|
|
22
22
|
providerSettings: LudeoCastV2ProviderSettings;
|
|
23
|
+
|
|
24
|
+
@IsString()
|
|
25
|
+
site: string;
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
export class CreateLudeocastMachineRequest extends LudeoEvent {
|
|
26
|
-
static readonly EVENT_NAME =
|
|
29
|
+
static readonly EVENT_NAME =
|
|
30
|
+
"cloud-resources.create-ludeocast-machine-request";
|
|
27
31
|
|
|
28
|
-
constructor(
|
|
32
|
+
constructor(
|
|
33
|
+
payload: CreateLudeocastMachineRequestPayload,
|
|
34
|
+
context: CloudResourceContext
|
|
35
|
+
) {
|
|
29
36
|
super(CreateLudeocastMachineRequest.EVENT_NAME);
|
|
30
37
|
this.payload = payload;
|
|
31
38
|
this.context = context;
|
|
@@ -37,4 +44,3 @@ export class CreateLudeocastMachineRequest extends LudeoEvent {
|
|
|
37
44
|
@ValidateNestedType(() => CloudResourceContext)
|
|
38
45
|
context: CloudResourceContext;
|
|
39
46
|
}
|
|
40
|
-
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { LudeoEvent } from
|
|
2
|
-
import { ValidateNestedType } from
|
|
3
|
-
import { IsUUID } from
|
|
4
|
-
import { CloudResourceContext } from
|
|
5
|
-
import { LudeoCastV2ProviderSettings } from
|
|
1
|
+
import { LudeoEvent } from "../../../infra";
|
|
2
|
+
import { ValidateNestedType } from "../../../decorators";
|
|
3
|
+
import { IsString, IsUUID } from "class-validator";
|
|
4
|
+
import { CloudResourceContext } from "../../contexts";
|
|
5
|
+
import { LudeoCastV2ProviderSettings } from "../../types";
|
|
6
6
|
|
|
7
7
|
export class TerminateLudeocastMachineRequestPayload {
|
|
8
8
|
@IsUUID()
|
|
@@ -10,12 +10,19 @@ export class TerminateLudeocastMachineRequestPayload {
|
|
|
10
10
|
|
|
11
11
|
@ValidateNestedType(() => LudeoCastV2ProviderSettings)
|
|
12
12
|
providerSettings: LudeoCastV2ProviderSettings;
|
|
13
|
+
|
|
14
|
+
@IsString()
|
|
15
|
+
site: string;
|
|
13
16
|
}
|
|
14
17
|
|
|
15
18
|
export class TerminateLudeocastMachineRequest extends LudeoEvent {
|
|
16
|
-
static readonly EVENT_NAME =
|
|
19
|
+
static readonly EVENT_NAME =
|
|
20
|
+
"cloud-resources.terminate-ludeocast-machine-request";
|
|
17
21
|
|
|
18
|
-
constructor(
|
|
22
|
+
constructor(
|
|
23
|
+
payload: TerminateLudeocastMachineRequestPayload,
|
|
24
|
+
context: CloudResourceContext
|
|
25
|
+
) {
|
|
19
26
|
super(TerminateLudeocastMachineRequest.EVENT_NAME);
|
|
20
27
|
this.payload = payload;
|
|
21
28
|
this.context = context;
|
|
@@ -27,4 +34,3 @@ export class TerminateLudeocastMachineRequest extends LudeoEvent {
|
|
|
27
34
|
@ValidateNestedType(() => CloudResourceContext)
|
|
28
35
|
context: CloudResourceContext;
|
|
29
36
|
}
|
|
30
|
-
|