@ludeo/cloud-common 1.2.191-beta-alex-3 → 1.2.191-beta-alex-5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/v4/events/site-controller/resource-status-update.d.ts +2 -0
- package/dist/v4/events/site-controller/resource-status-update.js +10 -0
- package/dist/v4/events/site-controller/resource-status-update.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/site-controller/resource-status-update.ts +8 -0
|
@@ -4,7 +4,9 @@ import { CloudResourceStatus } from '../../types';
|
|
|
4
4
|
import { LudeoCastStreamState } from '../ludeocast-stream-state-updated';
|
|
5
5
|
export declare class ResourceStatusUpdatePayload {
|
|
6
6
|
machineResourceId?: string;
|
|
7
|
+
machinePoolId?: string;
|
|
7
8
|
gameResourceId?: string;
|
|
9
|
+
gamePoolId?: string;
|
|
8
10
|
status?: CloudResourceStatus;
|
|
9
11
|
streamState?: LudeoCastStreamState;
|
|
10
12
|
reason?: string;
|
|
@@ -25,11 +25,21 @@ __decorate([
|
|
|
25
25
|
(0, class_validator_1.IsOptional)(),
|
|
26
26
|
__metadata("design:type", String)
|
|
27
27
|
], ResourceStatusUpdatePayload.prototype, "machineResourceId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsUUID)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], ResourceStatusUpdatePayload.prototype, "machinePoolId", void 0);
|
|
28
33
|
__decorate([
|
|
29
34
|
(0, class_validator_1.IsUUID)(),
|
|
30
35
|
(0, class_validator_1.IsOptional)(),
|
|
31
36
|
__metadata("design:type", String)
|
|
32
37
|
], ResourceStatusUpdatePayload.prototype, "gameResourceId", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsUUID)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], ResourceStatusUpdatePayload.prototype, "gamePoolId", void 0);
|
|
33
43
|
__decorate([
|
|
34
44
|
(0, class_validator_1.IsEnum)(types_1.CloudResourceStatus),
|
|
35
45
|
(0, class_validator_1.IsOptional)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource-status-update.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/resource-status-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AAAA,CAAC;AACxE,6CAAsD;AACtD,uCAAkD;AAClD,sFAAyE;AAEzE,MAAa,2BAA2B;
|
|
1
|
+
{"version":3,"file":"resource-status-update.js","sourceRoot":"","sources":["../../../../src/v4/events/site-controller/resource-status-update.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAAuE;AAAA,CAAC;AACxE,6CAAsD;AACtD,uCAAkD;AAClD,sFAAyE;AAEzE,MAAa,2BAA2B;CA4BvC;AA5BD,kEA4BC;AAzBC;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;sEACc;AAI3B;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;kEACU;AAIvB;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;mEACW;AAIxB;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;+DACO;AAIpB;IAFC,IAAA,wBAAM,EAAC,2BAAmB,CAAC;IAC3B,IAAA,4BAAU,GAAE;;2DACgB;AAI7B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qDAAoB,CAAC;;gEACM;AAInC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2DACK;AAIlB,MAAa,oBAAqB,SAAQ,kBAAU;IAGlD,YAAY,OAAoC,EAAE,OAA6B;QAC7E,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,+BAAoB,CAAC;8BACtC,+BAAoB;qDAAC"}
|
package/package.json
CHANGED
|
@@ -10,10 +10,18 @@ export class ResourceStatusUpdatePayload {
|
|
|
10
10
|
@IsOptional()
|
|
11
11
|
machineResourceId?: string;
|
|
12
12
|
|
|
13
|
+
@IsUUID()
|
|
14
|
+
@IsOptional()
|
|
15
|
+
machinePoolId?: string;
|
|
16
|
+
|
|
13
17
|
@IsUUID()
|
|
14
18
|
@IsOptional()
|
|
15
19
|
gameResourceId?: string;
|
|
16
20
|
|
|
21
|
+
@IsUUID()
|
|
22
|
+
@IsOptional()
|
|
23
|
+
gamePoolId?: string;
|
|
24
|
+
|
|
17
25
|
@IsEnum(CloudResourceStatus)
|
|
18
26
|
@IsOptional()
|
|
19
27
|
status?: CloudResourceStatus;
|