@ludeo/cloud-common 1.1.129 → 1.1.130
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/aws-reactivate-stream-session-task.d.ts +4 -2
- package/dist/v3/events/aws-reactivate-stream-session-task.js +9 -4
- package/dist/v3/events/aws-reactivate-stream-session-task.js.map +1 -1
- package/package.json +1 -1
- package/src/v3/events/aws-reactivate-stream-session-task.ts +9 -5
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra";
|
|
2
|
+
import { AWSResourceProviderSettings } from "../types";
|
|
2
3
|
export declare class AwsReactivateStreamSessionTaskPayload {
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
gameResourceId: string;
|
|
5
|
+
gamePoolId: string;
|
|
6
|
+
providerSettings: AWSResourceProviderSettings;
|
|
5
7
|
}
|
|
6
8
|
export declare class AwsReactivateStreamSessionTask extends LudeoEvent {
|
|
7
9
|
static readonly EVENT_NAME = "cloud-resources.aws-reactivate-stream-session-task";
|
|
@@ -13,17 +13,22 @@ exports.AwsReactivateStreamSessionTask = exports.AwsReactivateStreamSessionTaskP
|
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
14
|
const infra_1 = require("../../infra");
|
|
15
15
|
const decorators_1 = require("../../decorators");
|
|
16
|
+
const types_1 = require("../types");
|
|
16
17
|
class AwsReactivateStreamSessionTaskPayload {
|
|
17
18
|
}
|
|
18
19
|
exports.AwsReactivateStreamSessionTaskPayload = AwsReactivateStreamSessionTaskPayload;
|
|
19
20
|
__decorate([
|
|
20
|
-
(0, class_validator_1.
|
|
21
|
+
(0, class_validator_1.IsUUID)(),
|
|
21
22
|
__metadata("design:type", String)
|
|
22
|
-
], AwsReactivateStreamSessionTaskPayload.prototype, "
|
|
23
|
+
], AwsReactivateStreamSessionTaskPayload.prototype, "gameResourceId", void 0);
|
|
23
24
|
__decorate([
|
|
24
|
-
(0, class_validator_1.
|
|
25
|
+
(0, class_validator_1.IsUUID)(),
|
|
25
26
|
__metadata("design:type", String)
|
|
26
|
-
], AwsReactivateStreamSessionTaskPayload.prototype, "
|
|
27
|
+
], AwsReactivateStreamSessionTaskPayload.prototype, "gamePoolId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, decorators_1.ValidateNestedType)(() => types_1.AWSResourceProviderSettings),
|
|
30
|
+
__metadata("design:type", types_1.AWSResourceProviderSettings)
|
|
31
|
+
], AwsReactivateStreamSessionTaskPayload.prototype, "providerSettings", void 0);
|
|
27
32
|
class AwsReactivateStreamSessionTask extends infra_1.LudeoEvent {
|
|
28
33
|
constructor(payload) {
|
|
29
34
|
super(AwsReactivateStreamSessionTask.EVENT_NAME);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aws-reactivate-stream-session-task.js","sourceRoot":"","sources":["../../../src/v3/events/aws-reactivate-stream-session-task.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"aws-reactivate-stream-session-task.js","sourceRoot":"","sources":["../../../src/v3/events/aws-reactivate-stream-session-task.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AAEzC,uCAAyC;AACzC,iDAAsD;AACtD,oCAAuD;AAEvD,MAAa,qCAAqC;CASjD;AATD,sFASC;AAPC;IADC,IAAA,wBAAM,GAAE;;6EACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;yEACU;AAGnB;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;8BACpC,mCAA2B;+EAAC;AAGhD,MAAa,8BAA+B,SAAQ,kBAAU;IAI5D,YAAY,OAA8C;QACxD,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAAC,CAAC;QACjD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAPH,wEAaC;AAZiB,yCAAU,GACxB,oDAAoD,CAAC;AAUvD;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,qCAAqC,CAAC;8BACvD,qCAAqC;+DAAC"}
|
package/package.json
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IsUUID } from "class-validator";
|
|
2
2
|
|
|
3
3
|
import { LudeoEvent } from "../../infra";
|
|
4
4
|
import { ValidateNestedType } from "../../decorators";
|
|
5
|
+
import { AWSResourceProviderSettings } from "../types";
|
|
5
6
|
|
|
6
7
|
export class AwsReactivateStreamSessionTaskPayload {
|
|
7
|
-
@
|
|
8
|
-
|
|
8
|
+
@IsUUID()
|
|
9
|
+
gameResourceId: string;
|
|
9
10
|
|
|
10
|
-
@
|
|
11
|
-
|
|
11
|
+
@IsUUID()
|
|
12
|
+
gamePoolId: string;
|
|
13
|
+
|
|
14
|
+
@ValidateNestedType(() => AWSResourceProviderSettings)
|
|
15
|
+
providerSettings: AWSResourceProviderSettings;
|
|
12
16
|
}
|
|
13
17
|
|
|
14
18
|
export class AwsReactivateStreamSessionTask extends LudeoEvent {
|