@ludeo/cloud-common 1.2.223-beta-yahil-1 → 1.2.224
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 +1 -0
- package/dist/v4/events/cloud-resources/create-ludeocast-game-request.js +5 -0
- 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 +1 -0
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js +5 -0
- package/dist/v4/events/cloud-resources/create-ludeocast-machine-request.js.map +1 -1
- package/dist/v4/events/site-controller/game-ludeocast-creation-ended.d.ts +1 -0
- package/dist/v4/events/site-controller/game-ludeocast-creation-ended.js +5 -0
- package/dist/v4/events/site-controller/game-ludeocast-creation-ended.js.map +1 -1
- package/dist/v4/events/site-controller/ludeocast-resource-status-update.d.ts +1 -0
- package/dist/v4/events/site-controller/ludeocast-resource-status-update.js +5 -0
- package/dist/v4/events/site-controller/ludeocast-resource-status-update.js.map +1 -1
- package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.d.ts +1 -0
- package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.js +5 -0
- package/dist/v4/events/site-controller/machine-ludeocast-creation-ended.js.map +1 -1
- package/dist/v4/types/index.d.ts +1 -0
- package/dist/v4/types/index.js +1 -0
- package/dist/v4/types/index.js.map +1 -1
- package/dist/v4/types/test-machines/create-test-machine-request.dto.d.ts +6 -0
- package/dist/v4/types/test-machines/create-test-machine-request.dto.js +33 -0
- package/dist/v4/types/test-machines/create-test-machine-request.dto.js.map +1 -0
- package/dist/v4/types/test-machines/index.d.ts +2 -0
- package/dist/v4/types/test-machines/index.js +19 -0
- package/dist/v4/types/test-machines/index.js.map +1 -0
- package/dist/v4/types/test-machines/types.d.ts +20 -0
- package/dist/v4/types/test-machines/types.js +12 -0
- package/dist/v4/types/test-machines/types.js.map +1 -0
- package/package.json +1 -1
- package/src/v4/events/cloud-resources/create-ludeocast-game-request.ts +4 -0
- package/src/v4/events/cloud-resources/create-ludeocast-machine-request.ts +4 -0
- package/src/v4/events/site-controller/game-ludeocast-creation-ended.ts +4 -0
- package/src/v4/events/site-controller/ludeocast-resource-status-update.ts +4 -0
- package/src/v4/events/site-controller/machine-ludeocast-creation-ended.ts +4 -0
- package/src/v4/types/index.ts +1 -0
- package/src/v4/types/test-machines/create-test-machine-request.dto.ts +15 -0
- package/src/v4/types/test-machines/index.ts +2 -0
- package/src/v4/types/test-machines/types.ts +21 -0
|
@@ -10,6 +10,7 @@ export declare class CreateLudeocastGameRequestPayload {
|
|
|
10
10
|
providerSettings: LudeoCastV2ProviderSettings;
|
|
11
11
|
buildId: string;
|
|
12
12
|
site: string;
|
|
13
|
+
sourceService?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare class CreateLudeocastGameRequest extends LudeoEvent {
|
|
15
16
|
static readonly EVENT_NAME = "cloud-resources.create-ludeocast-game-request";
|
|
@@ -41,6 +41,11 @@ __decorate([
|
|
|
41
41
|
(0, class_validator_1.IsString)(),
|
|
42
42
|
__metadata("design:type", String)
|
|
43
43
|
], CreateLudeocastGameRequestPayload.prototype, "site", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], CreateLudeocastGameRequestPayload.prototype, "sourceService", void 0);
|
|
44
49
|
class CreateLudeocastGameRequest extends infra_1.LudeoEvent {
|
|
45
50
|
constructor(payload, context) {
|
|
46
51
|
super(CreateLudeocastGameRequest.EVENT_NAME);
|
|
@@ -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,6CAAsD;AAGtD,MAAa,iCAAiC;
|
|
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;CAwB7C;AAxBD,8EAwBC;AAtBC;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;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wEACY;AAGzB,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"}
|
|
@@ -10,6 +10,7 @@ export declare class CreateLudeocastMachineRequestPayload {
|
|
|
10
10
|
machineCreationPayload?: MachineCreationPayload;
|
|
11
11
|
providerSettings: LudeoCastV2ProviderSettings;
|
|
12
12
|
site: string;
|
|
13
|
+
sourceService?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare class CreateLudeocastMachineRequest extends LudeoEvent {
|
|
15
16
|
static readonly EVENT_NAME = "cloud-resources.create-ludeocast-machine-request";
|
|
@@ -37,6 +37,11 @@ __decorate([
|
|
|
37
37
|
(0, class_validator_1.IsString)(),
|
|
38
38
|
__metadata("design:type", String)
|
|
39
39
|
], CreateLudeocastMachineRequestPayload.prototype, "site", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], CreateLudeocastMachineRequestPayload.prototype, "sourceService", void 0);
|
|
40
45
|
class CreateLudeocastMachineRequest extends infra_1.LudeoEvent {
|
|
41
46
|
constructor(payload, context) {
|
|
42
47
|
super(CreateLudeocastMachineRequest.EVENT_NAME);
|
|
@@ -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,qDAA+D;AAC/D,6CAAsD;AAGtD,MAAa,6BAA6B;CAAG;AAA7C,sEAA6C;AAI7C,MAAa,oCAAoC;
|
|
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;CAmBhD;AAnBD,oFAmBC;AAjBC;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;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACY;AAGzB,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"}
|
|
@@ -8,6 +8,7 @@ export declare class GameLudeocastCreationEndedPayload {
|
|
|
8
8
|
operationStatus: SiteOperationStatus;
|
|
9
9
|
status: CloudResourceStatus;
|
|
10
10
|
reason?: string;
|
|
11
|
+
sourceService?: string;
|
|
11
12
|
}
|
|
12
13
|
export declare class GameLudeocastCreationEnded extends LudeoEvent {
|
|
13
14
|
static readonly EVENT_NAME = "site-controller.game-ludeocast-creation-ended";
|
|
@@ -40,6 +40,11 @@ __decorate([
|
|
|
40
40
|
(0, class_validator_1.IsString)(),
|
|
41
41
|
__metadata("design:type", String)
|
|
42
42
|
], GameLudeocastCreationEndedPayload.prototype, "reason", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsString)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], GameLudeocastCreationEndedPayload.prototype, "sourceService", void 0);
|
|
43
48
|
class GameLudeocastCreationEnded extends infra_1.LudeoEvent {
|
|
44
49
|
constructor(payload, context) {
|
|
45
50
|
super(GameLudeocastCreationEnded.EVENT_NAME);
|
|
@@ -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,6CAAsD;AACtD,iEAAkE;AAClE,6CAAwD;AAExD,MAAa,iCAAiC;
|
|
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;CAoB7C;AApBD,8EAoBC;AAlBC;IADC,IAAA,wBAAM,GAAE;;yEACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;qEACU;AAGnB;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;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wEACY;AAGzB,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"}
|
|
@@ -10,6 +10,7 @@ export declare class LudeocastResourceStatusUpdatePayload {
|
|
|
10
10
|
status?: CloudResourceStatus;
|
|
11
11
|
streamState?: LudeoCastStreamState;
|
|
12
12
|
reason?: string;
|
|
13
|
+
sourceService?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare class LudeocastResourceStatusUpdate extends LudeoEvent {
|
|
15
16
|
static readonly EVENT_NAME = "site-controller.ludeocast-resource-status-update";
|
|
@@ -54,6 +54,11 @@ __decorate([
|
|
|
54
54
|
(0, class_validator_1.IsString)(),
|
|
55
55
|
__metadata("design:type", String)
|
|
56
56
|
], LudeocastResourceStatusUpdatePayload.prototype, "reason", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsOptional)(),
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], LudeocastResourceStatusUpdatePayload.prototype, "sourceService", void 0);
|
|
57
62
|
class LudeocastResourceStatusUpdate extends infra_1.LudeoEvent {
|
|
58
63
|
constructor(payload, context) {
|
|
59
64
|
super(LudeocastResourceStatusUpdate.EVENT_NAME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ludeocast-resource-status-update.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/ludeocast-resource-status-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAsD;AACtD,uCAAkD;AAClD,sFAAyE;AAEzE,MAAa,oCAAoC;
|
|
1
|
+
{"version":3,"file":"ludeocast-resource-status-update.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/ludeocast-resource-status-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AACvE,6CAAsD;AACtD,uCAAkD;AAClD,sFAAyE;AAEzE,MAAa,oCAAoC;CAgChD;AAhCD,oFAgCC;AA7BC;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;+EACc;AAI3B;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;2EACU;AAIvB;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;4EACW;AAIxB;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;wEACO;AAIpB;IAFC,IAAA,wBAAM,EAAC,2BAAmB,CAAC;IAC3B,IAAA,4BAAU,GAAE;;oEACgB;AAI7B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qDAAoB,CAAC;;yEACM;AAInC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oEACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACY;AAIzB,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"}
|
|
@@ -11,6 +11,7 @@ export declare class MachineLudeocastCreationEndedPayload {
|
|
|
11
11
|
reason?: string;
|
|
12
12
|
machineResourceSettings?: MachineResourceSettings<LudeoCastV2MachineResourceProviderSettings>;
|
|
13
13
|
isRecoverable?: boolean;
|
|
14
|
+
sourceService?: string;
|
|
14
15
|
}
|
|
15
16
|
export declare class MachineLudeocastCreationEnded extends LudeoEvent {
|
|
16
17
|
static readonly EVENT_NAME = "site-controller.machine-ludeocast-creation-ended";
|
|
@@ -49,6 +49,11 @@ __decorate([
|
|
|
49
49
|
(0, class_validator_1.IsBoolean)(),
|
|
50
50
|
__metadata("design:type", Boolean)
|
|
51
51
|
], MachineLudeocastCreationEndedPayload.prototype, "isRecoverable", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, class_validator_1.IsOptional)(),
|
|
54
|
+
(0, class_validator_1.IsString)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], MachineLudeocastCreationEndedPayload.prototype, "sourceService", void 0);
|
|
52
57
|
class MachineLudeocastCreationEnded extends infra_1.LudeoEvent {
|
|
53
58
|
constructor(payload, context) {
|
|
54
59
|
super(MachineLudeocastCreationEnded.EVENT_NAME);
|
|
@@ -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,qDAAkF;AAClF,6CAAsD;AACtD,iEAAkE;AAClE,6CAAiF;AAGjF,MAAa,oCAAoC;
|
|
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,qDAAkF;AAClF,6CAAsD;AACtD,iEAAkE;AAClE,6CAAiF;AAGjF,MAAa,oCAAoC;CA2BhD;AA3BD,oFA2BC;AAzBC;IADC,IAAA,wBAAM,GAAE;;+EACiB;AAG1B;IADC,IAAA,wBAAM,GAAE;;2EACa;AAGtB;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;AAGhB;IADC,IAAA,4BAAU,GAAE;8BACa,+BAAuB;qFAA4C;AAI7F;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;2EACY;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACY;AAGzB,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"}
|
package/dist/v4/types/index.d.ts
CHANGED
package/dist/v4/types/index.js
CHANGED
|
@@ -19,4 +19,5 @@ __exportStar(require("./pools"), exports);
|
|
|
19
19
|
__exportStar(require("./build"), exports);
|
|
20
20
|
__exportStar(require("./site-controller"), exports);
|
|
21
21
|
__exportStar(require("./predictor"), exports);
|
|
22
|
+
__exportStar(require("./test-machines"), exports);
|
|
22
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v4/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,oDAAkC;AAClC,8CAA4B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v4/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,oDAAkC;AAClC,8CAA4B;AAC5B,kDAAgC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.CreateTestMachineRequestDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class CreateTestMachineRequestDto {
|
|
15
|
+
}
|
|
16
|
+
exports.CreateTestMachineRequestDto = CreateTestMachineRequestDto;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsUUID)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CreateTestMachineRequestDto.prototype, "gameEnvId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsUUID)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CreateTestMachineRequestDto.prototype, "buildId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsString)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], CreateTestMachineRequestDto.prototype, "machineType", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], CreateTestMachineRequestDto.prototype, "region", void 0);
|
|
33
|
+
//# sourceMappingURL=create-test-machine-request.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-test-machine-request.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/test-machines/create-test-machine-request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AAEnD,MAAa,2BAA2B;CAYvC;AAZD,kEAYC;AAVC;IADC,IAAA,wBAAM,GAAE;;8DACS;AAGlB;IADC,IAAA,wBAAM,GAAE;;4DACO;AAGhB;IADC,IAAA,0BAAQ,GAAE;;gEACS;AAGpB;IADC,IAAA,0BAAQ,GAAE;;2DACI"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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("./types"), exports);
|
|
18
|
+
__exportStar(require("./create-test-machine-request.dto"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/types/test-machines/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,oEAAkD"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare enum TestMachineStatus {
|
|
2
|
+
CREATING_MACHINE = "CREATING_MACHINE",
|
|
3
|
+
LOADING_GAME = "LOADING_GAME",
|
|
4
|
+
RUNNING = "RUNNING",
|
|
5
|
+
FAILED = "FAILED",
|
|
6
|
+
TERMINATED = "TERMINATED"
|
|
7
|
+
}
|
|
8
|
+
export interface TestMachineResponse {
|
|
9
|
+
id: string;
|
|
10
|
+
gameEnvId: string;
|
|
11
|
+
studioId: string;
|
|
12
|
+
createdBy: string;
|
|
13
|
+
status: TestMachineStatus;
|
|
14
|
+
statusReason?: string;
|
|
15
|
+
buildId: string;
|
|
16
|
+
machineType: string;
|
|
17
|
+
region: string;
|
|
18
|
+
createdAt: number;
|
|
19
|
+
updatedAt?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TestMachineStatus = void 0;
|
|
4
|
+
var TestMachineStatus;
|
|
5
|
+
(function (TestMachineStatus) {
|
|
6
|
+
TestMachineStatus["CREATING_MACHINE"] = "CREATING_MACHINE";
|
|
7
|
+
TestMachineStatus["LOADING_GAME"] = "LOADING_GAME";
|
|
8
|
+
TestMachineStatus["RUNNING"] = "RUNNING";
|
|
9
|
+
TestMachineStatus["FAILED"] = "FAILED";
|
|
10
|
+
TestMachineStatus["TERMINATED"] = "TERMINATED";
|
|
11
|
+
})(TestMachineStatus || (exports.TestMachineStatus = TestMachineStatus = {}));
|
|
12
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/v4/types/test-machines/types.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,0DAAqC,CAAA;IACrC,kDAA6B,CAAA;IAC7B,wCAAmB,CAAA;IACnB,sCAAiB,CAAA;IACjB,8CAAyB,CAAA;AAC3B,CAAC,EANW,iBAAiB,iCAAjB,iBAAiB,QAM5B"}
|
package/package.json
CHANGED
package/src/v4/types/index.ts
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export enum TestMachineStatus {
|
|
2
|
+
CREATING_MACHINE = 'CREATING_MACHINE',
|
|
3
|
+
LOADING_GAME = 'LOADING_GAME',
|
|
4
|
+
RUNNING = 'RUNNING',
|
|
5
|
+
FAILED = 'FAILED',
|
|
6
|
+
TERMINATED = 'TERMINATED',
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface TestMachineResponse {
|
|
10
|
+
id: string;
|
|
11
|
+
gameEnvId: string;
|
|
12
|
+
studioId: string;
|
|
13
|
+
createdBy: string;
|
|
14
|
+
status: TestMachineStatus;
|
|
15
|
+
statusReason?: string;
|
|
16
|
+
buildId: string;
|
|
17
|
+
machineType: string;
|
|
18
|
+
region: string;
|
|
19
|
+
createdAt: number;
|
|
20
|
+
updatedAt?: number;
|
|
21
|
+
}
|