@ludeo/cloud-common 1.1.128 → 1.1.129-ybeta1
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 +12 -0
- package/dist/v3/events/aws-reactivate-stream-session-task.js +40 -0
- package/dist/v3/events/aws-reactivate-stream-session-task.js.map +1 -0
- package/package.json +1 -1
- package/src/v3/events/aws-reactivate-stream-session-task.ts +27 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra";
|
|
2
|
+
import { CreateGameResourceRequestPayload } from "./create-game-resource-request";
|
|
3
|
+
export declare class AwsReactivateStreamSessionTaskPayload {
|
|
4
|
+
creationPayload: CreateGameResourceRequestPayload;
|
|
5
|
+
streamSessionId: string;
|
|
6
|
+
}
|
|
7
|
+
export declare class AwsReactivateStreamSessionTask extends LudeoEvent {
|
|
8
|
+
static readonly EVENT_NAME = "cloud-resources.aws-reactivate-stream-session-task";
|
|
9
|
+
constructor(payload: AwsReactivateStreamSessionTaskPayload);
|
|
10
|
+
context: never;
|
|
11
|
+
payload: AwsReactivateStreamSessionTaskPayload;
|
|
12
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.AwsReactivateStreamSessionTask = exports.AwsReactivateStreamSessionTaskPayload = void 0;
|
|
13
|
+
const infra_1 = require("../../infra");
|
|
14
|
+
const decorators_1 = require("../../decorators");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
const create_game_resource_request_1 = require("./create-game-resource-request");
|
|
17
|
+
class AwsReactivateStreamSessionTaskPayload {
|
|
18
|
+
}
|
|
19
|
+
exports.AwsReactivateStreamSessionTaskPayload = AwsReactivateStreamSessionTaskPayload;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, decorators_1.ValidateNestedType)(() => create_game_resource_request_1.CreateGameResourceRequestPayload),
|
|
22
|
+
__metadata("design:type", create_game_resource_request_1.CreateGameResourceRequestPayload)
|
|
23
|
+
], AwsReactivateStreamSessionTaskPayload.prototype, "creationPayload", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], AwsReactivateStreamSessionTaskPayload.prototype, "streamSessionId", void 0);
|
|
28
|
+
class AwsReactivateStreamSessionTask extends infra_1.LudeoEvent {
|
|
29
|
+
constructor(payload) {
|
|
30
|
+
super(AwsReactivateStreamSessionTask.EVENT_NAME);
|
|
31
|
+
this.payload = payload;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.AwsReactivateStreamSessionTask = AwsReactivateStreamSessionTask;
|
|
35
|
+
AwsReactivateStreamSessionTask.EVENT_NAME = "cloud-resources.aws-reactivate-stream-session-task";
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, decorators_1.ValidateNestedType)(() => AwsReactivateStreamSessionTaskPayload),
|
|
38
|
+
__metadata("design:type", AwsReactivateStreamSessionTaskPayload)
|
|
39
|
+
], AwsReactivateStreamSessionTask.prototype, "payload", void 0);
|
|
40
|
+
//# sourceMappingURL=aws-reactivate-stream-session-task.js.map
|
|
@@ -0,0 +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,uCAAyC;AACzC,iDAAsD;AACtD,qDAA2C;AAC3C,iFAAkF;AAElF,MAAa,qCAAqC;CAMjD;AAND,sFAMC;AAJC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+DAAgC,CAAC;8BAC1C,+DAAgC;8EAAC;AAGlD;IADC,IAAA,0BAAQ,GAAE;;8EACa;AAG1B,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
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra";
|
|
2
|
+
import { ValidateNestedType } from "../../decorators";
|
|
3
|
+
import { IsString } from "class-validator";
|
|
4
|
+
import { CreateGameResourceRequestPayload } from "./create-game-resource-request";
|
|
5
|
+
|
|
6
|
+
export class AwsReactivateStreamSessionTaskPayload {
|
|
7
|
+
@ValidateNestedType(() => CreateGameResourceRequestPayload)
|
|
8
|
+
creationPayload: CreateGameResourceRequestPayload;
|
|
9
|
+
|
|
10
|
+
@IsString()
|
|
11
|
+
streamSessionId: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export class AwsReactivateStreamSessionTask extends LudeoEvent {
|
|
15
|
+
static readonly EVENT_NAME =
|
|
16
|
+
"cloud-resources.aws-reactivate-stream-session-task";
|
|
17
|
+
|
|
18
|
+
constructor(payload: AwsReactivateStreamSessionTaskPayload) {
|
|
19
|
+
super(AwsReactivateStreamSessionTask.EVENT_NAME);
|
|
20
|
+
this.payload = payload;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
context: never;
|
|
24
|
+
|
|
25
|
+
@ValidateNestedType(() => AwsReactivateStreamSessionTaskPayload)
|
|
26
|
+
payload: AwsReactivateStreamSessionTaskPayload;
|
|
27
|
+
}
|