@ludeo/cloud-common 1.2.36 → 1.2.37
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/v3/events/game-resource-termination-failed-response.d.ts +1 -0
- package/dist/v3/events/game-resource-termination-failed-response.js +5 -0
- package/dist/v3/events/game-resource-termination-failed-response.js.map +1 -1
- package/dist/v3/events/terminate-game-resource-request.d.ts +1 -0
- package/dist/v3/events/terminate-game-resource-request.js +5 -0
- package/dist/v3/events/terminate-game-resource-request.js.map +1 -1
- package/dist/v4/events/game-resource-termination-failed-response.d.ts +1 -0
- package/dist/v4/events/game-resource-termination-failed-response.js +5 -0
- package/dist/v4/events/game-resource-termination-failed-response.js.map +1 -1
- package/dist/v4/events/terminate-game-resource-request.d.ts +1 -0
- package/dist/v4/events/terminate-game-resource-request.js +5 -0
- package/dist/v4/events/terminate-game-resource-request.js.map +1 -1
- package/package.json +1 -1
- package/src/v3/events/game-resource-termination-failed-response.ts +11 -1
- package/src/v3/events/terminate-game-resource-request.ts +11 -1
- package/src/v4/events/game-resource-termination-failed-response.ts +11 -1
- package/src/v4/events/terminate-game-resource-request.ts +11 -1
|
@@ -5,6 +5,7 @@ export declare class GameResourceTerminationFailedResponsePayload {
|
|
|
5
5
|
gamePoolId: string;
|
|
6
6
|
shouldDeallocateMachineResource: boolean;
|
|
7
7
|
errorMessage: string;
|
|
8
|
+
attemptNumber?: number;
|
|
8
9
|
}
|
|
9
10
|
export declare class GameResourceTerminationFailedResponse extends LudeoEvent {
|
|
10
11
|
static readonly EVENT_NAME = "cloud-resources.game-resource-termination-failed-response";
|
|
@@ -33,6 +33,11 @@ __decorate([
|
|
|
33
33
|
(0, class_validator_1.IsString)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
35
|
], GameResourceTerminationFailedResponsePayload.prototype, "errorMessage", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsNumber)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], GameResourceTerminationFailedResponsePayload.prototype, "attemptNumber", void 0);
|
|
36
41
|
class GameResourceTerminationFailedResponse extends ludeo_event_1.LudeoEvent {
|
|
37
42
|
constructor(payload, context) {
|
|
38
43
|
super(GameResourceTerminationFailedResponse.EVENT_NAME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"game-resource-termination-failed-response.js","sourceRoot":"","sources":["../../../src/v3/events/game-resource-termination-failed-response.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"game-resource-termination-failed-response.js","sourceRoot":"","sources":["../../../src/v3/events/game-resource-termination-failed-response.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AAEzB,0CAIqB;AACrB,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,4CAA4C;CAgBxD;AAhBD,oGAgBC;AAdC;IADC,IAAA,wBAAM,GAAE;;oFACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;gFACU;AAGnB;IADC,IAAA,2BAAS,GAAE;;qGAC6B;AAGzC;IADC,IAAA,0BAAQ,GAAE;;kFACU;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mFACU;AAGzB,MAAa,qCAAsC,SAAQ,wBAAU;IAInE,YACE,OAAqD,EACrD,OAAmD;QAEnD,KAAK,CAAC,qCAAqC,CAAC,UAAU,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,sFAkBC;AAjBiB,gDAAU,GACxB,2DAA2D,CAAC;AAY9D;IADC,IAAA,mDAAkB,EAAC,8BAAmB,CAAC;;sEACY;AAGpD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4CAA4C,CAAC;8BAC9D,4CAA4C;sEAAC"}
|
|
@@ -9,6 +9,7 @@ export declare class TerminateGameResourceRequestPayload {
|
|
|
9
9
|
providerSettings: CloudProviderSettings;
|
|
10
10
|
resourceProviderSettings: CloudResourceProviderSettings;
|
|
11
11
|
shouldDeallocateMachineResource: boolean;
|
|
12
|
+
attemptNumber?: number;
|
|
12
13
|
}
|
|
13
14
|
export declare class TerminateGameResourceRequest extends LudeoEvent {
|
|
14
15
|
static readonly EVENT_NAME = "cloud-pools.terminate-game-resource-request";
|
|
@@ -47,6 +47,11 @@ __decorate([
|
|
|
47
47
|
(0, class_validator_1.IsBoolean)(),
|
|
48
48
|
__metadata("design:type", Boolean)
|
|
49
49
|
], TerminateGameResourceRequestPayload.prototype, "shouldDeallocateMachineResource", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsNumber)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], TerminateGameResourceRequestPayload.prototype, "attemptNumber", void 0);
|
|
50
55
|
class TerminateGameResourceRequest extends ludeo_event_1.LudeoEvent {
|
|
51
56
|
constructor(payload, context) {
|
|
52
57
|
super(TerminateGameResourceRequest.EVENT_NAME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-game-resource-request.js","sourceRoot":"","sources":["../../../src/v3/events/terminate-game-resource-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"terminate-game-resource-request.js","sourceRoot":"","sources":["../../../src/v3/events/terminate-game-resource-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AAEzB,0CAIqB;AACrB,yDAAqD;AACrD,oGAAqF;AACrF,oCAMkB;AAElB,MAAa,mCAAmC;CA0B/C;AA1BD,kFA0BC;AAxBC;IADC,IAAA,wBAAM,GAAE;;2EACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;uEACU;AAInB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uEACQ;AAGrB;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;0EACO;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAmB,CAAC;;6EACN;AAGxC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;;qFACE;AAGxD;IADC,IAAA,2BAAS,GAAE;;4FAC6B;AAIzC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0EACU;AAGzB,MAAa,4BAA6B,SAAQ,wBAAU;IAG1D,YACE,OAA4C,EAC5C,OAAmD;QAEnD,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,oEAiBC;AAhBiB,uCAAU,GAAG,6CAA6C,CAAC;AAY3E;IADC,IAAA,mDAAkB,EAAC,8BAAmB,CAAC;;6DACY;AAGpD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,mCAAmC,CAAC;8BACrD,mCAAmC;6DAAC"}
|
|
@@ -5,6 +5,7 @@ export declare class GameResourceTerminationFailedResponsePayload {
|
|
|
5
5
|
gamePoolId: string;
|
|
6
6
|
shouldDeallocateMachineResource: boolean;
|
|
7
7
|
errorMessage: string;
|
|
8
|
+
attemptNumber?: number;
|
|
8
9
|
}
|
|
9
10
|
export declare class GameResourceTerminationFailedResponse extends LudeoEvent {
|
|
10
11
|
static readonly EVENT_NAME = "cloud-resources.game-resource-termination-failed-response";
|
|
@@ -33,6 +33,11 @@ __decorate([
|
|
|
33
33
|
(0, class_validator_1.IsString)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
35
|
], GameResourceTerminationFailedResponsePayload.prototype, "errorMessage", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsNumber)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], GameResourceTerminationFailedResponsePayload.prototype, "attemptNumber", void 0);
|
|
36
41
|
class GameResourceTerminationFailedResponse extends ludeo_event_1.LudeoEvent {
|
|
37
42
|
constructor(payload, context) {
|
|
38
43
|
super(GameResourceTerminationFailedResponse.EVENT_NAME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"game-resource-termination-failed-response.js","sourceRoot":"","sources":["../../../src/v4/events/game-resource-termination-failed-response.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"game-resource-termination-failed-response.js","sourceRoot":"","sources":["../../../src/v4/events/game-resource-termination-failed-response.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AAEzB,0CAIqB;AACrB,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,4CAA4C;CAgBxD;AAhBD,oGAgBC;AAdC;IADC,IAAA,wBAAM,GAAE;;oFACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;gFACU;AAGnB;IADC,IAAA,2BAAS,GAAE;;qGAC6B;AAGzC;IADC,IAAA,0BAAQ,GAAE;;kFACU;AAIrB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mFACU;AAGzB,MAAa,qCAAsC,SAAQ,wBAAU;IAInE,YACE,OAAqD,EACrD,OAAmD;QAEnD,KAAK,CAAC,qCAAqC,CAAC,UAAU,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,sFAkBC;AAjBiB,gDAAU,GACxB,2DAA2D,CAAC;AAY9D;IADC,IAAA,mDAAkB,EAAC,8BAAmB,CAAC;;sEACY;AAGpD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4CAA4C,CAAC;8BAC9D,4CAA4C;sEAAC"}
|
|
@@ -9,6 +9,7 @@ export declare class TerminateGameResourceRequestPayload {
|
|
|
9
9
|
providerSettings: CloudProviderSettings;
|
|
10
10
|
resourceProviderSettings: CloudResourceProviderSettings;
|
|
11
11
|
shouldDeallocateMachineResource: boolean;
|
|
12
|
+
attemptNumber?: number;
|
|
12
13
|
}
|
|
13
14
|
export declare class TerminateGameResourceRequest extends LudeoEvent {
|
|
14
15
|
static readonly EVENT_NAME = "cloud-pools.terminate-game-resource-request";
|
|
@@ -47,6 +47,11 @@ __decorate([
|
|
|
47
47
|
(0, class_validator_1.IsBoolean)(),
|
|
48
48
|
__metadata("design:type", Boolean)
|
|
49
49
|
], TerminateGameResourceRequestPayload.prototype, "shouldDeallocateMachineResource", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsNumber)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
__metadata("design:type", Number)
|
|
54
|
+
], TerminateGameResourceRequestPayload.prototype, "attemptNumber", void 0);
|
|
50
55
|
class TerminateGameResourceRequest extends ludeo_event_1.LudeoEvent {
|
|
51
56
|
constructor(payload, context) {
|
|
52
57
|
super(TerminateGameResourceRequest.EVENT_NAME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"terminate-game-resource-request.js","sourceRoot":"","sources":["../../../src/v4/events/terminate-game-resource-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"terminate-game-resource-request.js","sourceRoot":"","sources":["../../../src/v4/events/terminate-game-resource-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAMyB;AAEzB,0CAIqB;AACrB,yDAAqD;AACrD,oGAAqF;AACrF,oCAMkB;AAElB,MAAa,mCAAmC;CA0B/C;AA1BD,kFA0BC;AAxBC;IADC,IAAA,wBAAM,GAAE;;2EACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;uEACU;AAInB;IAFC,IAAA,2BAAS,GAAE;IACX,IAAA,4BAAU,GAAE;;uEACQ;AAGrB;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;0EACO;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAmB,CAAC;;6EACN;AAGxC;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;;qFACE;AAGxD;IADC,IAAA,2BAAS,GAAE;;4FAC6B;AAIzC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0EACU;AAGzB,MAAa,4BAA6B,SAAQ,wBAAU;IAG1D,YACE,OAA4C,EAC5C,OAAmD;QAEnD,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,oEAiBC;AAhBiB,uCAAU,GAAG,6CAA6C,CAAC;AAY3E;IADC,IAAA,mDAAkB,EAAC,8BAAmB,CAAC;;6DACY;AAGpD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,mCAAmC,CAAC;8BACrD,mCAAmC;6DAAC"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
IsUUID,
|
|
3
|
+
IsString,
|
|
4
|
+
IsBoolean,
|
|
5
|
+
IsNumber,
|
|
6
|
+
IsOptional,
|
|
7
|
+
} from "class-validator";
|
|
2
8
|
|
|
3
9
|
import {
|
|
4
10
|
CloudResourceContext,
|
|
@@ -20,6 +26,10 @@ export class GameResourceTerminationFailedResponsePayload {
|
|
|
20
26
|
|
|
21
27
|
@IsString()
|
|
22
28
|
errorMessage: string;
|
|
29
|
+
|
|
30
|
+
@IsNumber()
|
|
31
|
+
@IsOptional()
|
|
32
|
+
attemptNumber?: number;
|
|
23
33
|
}
|
|
24
34
|
|
|
25
35
|
export class GameResourceTerminationFailedResponse extends LudeoEvent {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
IsUUID,
|
|
3
|
+
IsBoolean,
|
|
4
|
+
IsOptional,
|
|
5
|
+
IsEnum,
|
|
6
|
+
IsNumber,
|
|
7
|
+
} from "class-validator";
|
|
2
8
|
|
|
3
9
|
import {
|
|
4
10
|
CloudResourceContext,
|
|
@@ -37,6 +43,10 @@ export class TerminateGameResourceRequestPayload {
|
|
|
37
43
|
|
|
38
44
|
@IsBoolean()
|
|
39
45
|
shouldDeallocateMachineResource: boolean;
|
|
46
|
+
|
|
47
|
+
@IsNumber()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
attemptNumber?: number;
|
|
40
50
|
}
|
|
41
51
|
|
|
42
52
|
export class TerminateGameResourceRequest extends LudeoEvent {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
IsUUID,
|
|
3
|
+
IsString,
|
|
4
|
+
IsBoolean,
|
|
5
|
+
IsNumber,
|
|
6
|
+
IsOptional,
|
|
7
|
+
} from "class-validator";
|
|
2
8
|
|
|
3
9
|
import {
|
|
4
10
|
CloudResourceContext,
|
|
@@ -20,6 +26,10 @@ export class GameResourceTerminationFailedResponsePayload {
|
|
|
20
26
|
|
|
21
27
|
@IsString()
|
|
22
28
|
errorMessage: string;
|
|
29
|
+
|
|
30
|
+
@IsNumber()
|
|
31
|
+
@IsOptional()
|
|
32
|
+
attemptNumber?: number;
|
|
23
33
|
}
|
|
24
34
|
|
|
25
35
|
export class GameResourceTerminationFailedResponse extends LudeoEvent {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
IsUUID,
|
|
3
|
+
IsBoolean,
|
|
4
|
+
IsOptional,
|
|
5
|
+
IsEnum,
|
|
6
|
+
IsNumber,
|
|
7
|
+
} from "class-validator";
|
|
2
8
|
|
|
3
9
|
import {
|
|
4
10
|
CloudResourceContext,
|
|
@@ -37,6 +43,10 @@ export class TerminateGameResourceRequestPayload {
|
|
|
37
43
|
|
|
38
44
|
@IsBoolean()
|
|
39
45
|
shouldDeallocateMachineResource: boolean;
|
|
46
|
+
|
|
47
|
+
@IsNumber()
|
|
48
|
+
@IsOptional()
|
|
49
|
+
attemptNumber?: number;
|
|
40
50
|
}
|
|
41
51
|
|
|
42
52
|
export class TerminateGameResourceRequest extends LudeoEvent {
|