@ludeo/cloud-common 1.2.29 → 1.2.31
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/gameplay-ready-timeout-task.d.ts +10 -0
- package/dist/v3/events/gameplay-ready-timeout-task.js +36 -0
- package/dist/v3/events/gameplay-ready-timeout-task.js.map +1 -0
- package/dist/v3/events/index.d.ts +2 -0
- package/dist/v3/events/index.js +2 -0
- package/dist/v3/events/index.js.map +1 -1
- package/dist/v3/events/no-user-connection-timeout-task.d.ts +10 -0
- package/dist/v3/events/no-user-connection-timeout-task.js +36 -0
- package/dist/v3/events/no-user-connection-timeout-task.js.map +1 -0
- package/dist/v4/events/gameplay-ready-timeout-task.d.ts +10 -0
- package/dist/v4/events/gameplay-ready-timeout-task.js +36 -0
- package/dist/v4/events/gameplay-ready-timeout-task.js.map +1 -0
- package/dist/v4/events/index.d.ts +2 -0
- package/dist/v4/events/index.js +2 -0
- package/dist/v4/events/index.js.map +1 -1
- package/dist/v4/events/no-user-connection-timeout-task.d.ts +10 -0
- package/dist/v4/events/no-user-connection-timeout-task.js +36 -0
- package/dist/v4/events/no-user-connection-timeout-task.js.map +1 -0
- package/package.json +1 -1
- package/src/v3/events/gameplay-ready-timeout-task.ts +26 -0
- package/src/v3/events/index.ts +2 -0
- package/src/v3/events/no-user-connection-timeout-task.ts +26 -0
- package/src/v4/events/gameplay-ready-timeout-task.ts +26 -0
- package/src/v4/events/index.ts +2 -0
- package/src/v4/events/no-user-connection-timeout-task.ts +26 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
+
export declare class GameplayReadyTimeoutEventTaskEventPayload {
|
|
3
|
+
cloudSessionId: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class GameplayReadyTimeoutTask extends LudeoEvent {
|
|
6
|
+
static readonly EVENT_NAME = "cloud-sessions.gameplay-ready-timeout-task";
|
|
7
|
+
constructor(payload: GameplayReadyTimeoutEventTaskEventPayload, context: never);
|
|
8
|
+
context: never;
|
|
9
|
+
payload: GameplayReadyTimeoutEventTaskEventPayload;
|
|
10
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.GameplayReadyTimeoutTask = exports.GameplayReadyTimeoutEventTaskEventPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
15
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
16
|
+
class GameplayReadyTimeoutEventTaskEventPayload {
|
|
17
|
+
}
|
|
18
|
+
exports.GameplayReadyTimeoutEventTaskEventPayload = GameplayReadyTimeoutEventTaskEventPayload;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsUUID)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GameplayReadyTimeoutEventTaskEventPayload.prototype, "cloudSessionId", void 0);
|
|
23
|
+
class GameplayReadyTimeoutTask extends ludeo_event_1.LudeoEvent {
|
|
24
|
+
constructor(payload, context) {
|
|
25
|
+
super(GameplayReadyTimeoutTask.EVENT_NAME);
|
|
26
|
+
this.payload = payload;
|
|
27
|
+
this.context = context;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.GameplayReadyTimeoutTask = GameplayReadyTimeoutTask;
|
|
31
|
+
GameplayReadyTimeoutTask.EVENT_NAME = "cloud-sessions.gameplay-ready-timeout-task";
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => GameplayReadyTimeoutEventTaskEventPayload),
|
|
34
|
+
__metadata("design:type", GameplayReadyTimeoutEventTaskEventPayload)
|
|
35
|
+
], GameplayReadyTimeoutTask.prototype, "payload", void 0);
|
|
36
|
+
//# sourceMappingURL=gameplay-ready-timeout-task.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gameplay-ready-timeout-task.js","sourceRoot":"","sources":["../../../src/v3/events/gameplay-ready-timeout-task.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AACzC,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,yCAAyC;CAGrD;AAHD,8FAGC;AADC;IADC,IAAA,wBAAM,GAAE;;iFACc;AAGzB,MAAa,wBAAyB,SAAQ,wBAAU;IAGtD,YACE,OAAkD,EAClD,OAAc;QAEd,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,4DAgBC;AAfiB,mCAAU,GAAG,4CAA4C,CAAC;AAc1E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,yCAAyC,CAAC;8BAC3D,yCAAyC;yDAAC"}
|
|
@@ -71,3 +71,5 @@ export * from "./game-resource-ready-for-creation-failed";
|
|
|
71
71
|
export * from "./aws-stream-session-active";
|
|
72
72
|
export * from "./cloud-session-optimal-region-selected";
|
|
73
73
|
export * from "./mark-game-available";
|
|
74
|
+
export * from "./gameplay-ready-timeout-task";
|
|
75
|
+
export * from "./no-user-connection-timeout-task";
|
package/dist/v3/events/index.js
CHANGED
|
@@ -87,4 +87,6 @@ __exportStar(require("./game-resource-ready-for-creation-failed"), exports);
|
|
|
87
87
|
__exportStar(require("./aws-stream-session-active"), exports);
|
|
88
88
|
__exportStar(require("./cloud-session-optimal-region-selected"), exports);
|
|
89
89
|
__exportStar(require("./mark-game-available"), exports);
|
|
90
|
+
__exportStar(require("./gameplay-ready-timeout-task"), exports);
|
|
91
|
+
__exportStar(require("./no-user-connection-timeout-task"), exports);
|
|
90
92
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v3/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,uEAAqD;AACrD,4EAA0D;AAC1D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,yDAAuC;AACvC,0EAAwD;AACxD,oEAAkD;AAClD,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,4DAA0C;AAC1C,oEAAkD;AAClD,qEAAmD;AACnD,6EAA2D;AAC3D,mEAAiD;AACjD,2EAAyD;AACzD,sEAAoD;AACpD,8EAA4D;AAC5D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,+DAA6C;AAC7C,uEAAqD;AACrD,iEAA+C;AAC/C,yEAAuD;AACvD,+DAA6C;AAC7C,oFAAkE;AAClE,uFAAqE;AACrE,sEAAoD;AACpD,8EAA4D;AAC5D,yEAAuD;AACvD,6DAA2C;AAC3C,+DAA6C;AAC7C,gDAA8B;AAC9B,4DAA0C;AAC1C,6CAA2B;AAC3B,oDAAkC;AAClC,8DAA4C;AAC5C,mEAAiD;AACjD,4DAA0C;AAC1C,2DAAyC;AACzC,oEAAkD;AAClD,4DAA0C;AAC1C,uEAAqD;AACrD,6EAA2D;AAC3D,+DAA6C;AAC7C,0DAAwC;AACxC,6DAA2C;AAC3C,+DAA6C;AAC7C,sEAAoD;AACpD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAChD,mEAAiD;AACjD,+DAA6C;AAC7C,gEAA8C;AAC9C,oEAAkD;AAClD,0DAAwC;AACxC,4DAA0C;AAC1C,mEAAiD;AACjD,wDAAsC;AACtC,0DAAwC;AACxC,0EAAwD;AACxD,iEAA+C;AAC/C,qEAAmD;AACnD,4EAA0D;AAC1D,8DAA4C;AAC5C,0EAAwD;AACxD,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v3/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,uEAAqD;AACrD,4EAA0D;AAC1D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,yDAAuC;AACvC,0EAAwD;AACxD,oEAAkD;AAClD,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,4DAA0C;AAC1C,oEAAkD;AAClD,qEAAmD;AACnD,6EAA2D;AAC3D,mEAAiD;AACjD,2EAAyD;AACzD,sEAAoD;AACpD,8EAA4D;AAC5D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,+DAA6C;AAC7C,uEAAqD;AACrD,iEAA+C;AAC/C,yEAAuD;AACvD,+DAA6C;AAC7C,oFAAkE;AAClE,uFAAqE;AACrE,sEAAoD;AACpD,8EAA4D;AAC5D,yEAAuD;AACvD,6DAA2C;AAC3C,+DAA6C;AAC7C,gDAA8B;AAC9B,4DAA0C;AAC1C,6CAA2B;AAC3B,oDAAkC;AAClC,8DAA4C;AAC5C,mEAAiD;AACjD,4DAA0C;AAC1C,2DAAyC;AACzC,oEAAkD;AAClD,4DAA0C;AAC1C,uEAAqD;AACrD,6EAA2D;AAC3D,+DAA6C;AAC7C,0DAAwC;AACxC,6DAA2C;AAC3C,+DAA6C;AAC7C,sEAAoD;AACpD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAChD,mEAAiD;AACjD,+DAA6C;AAC7C,gEAA8C;AAC9C,oEAAkD;AAClD,0DAAwC;AACxC,4DAA0C;AAC1C,mEAAiD;AACjD,wDAAsC;AACtC,0DAAwC;AACxC,0EAAwD;AACxD,iEAA+C;AAC/C,qEAAmD;AACnD,4EAA0D;AAC1D,8DAA4C;AAC5C,0EAAwD;AACxD,wDAAsC;AACtC,gEAA8C;AAC9C,oEAAkD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
+
export declare class NoUserConnectionTimeoutEventTaskEventPayload {
|
|
3
|
+
cloudSessionId: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class NoUserConnectionTimeoutTask extends LudeoEvent {
|
|
6
|
+
static readonly EVENT_NAME = "cloud-sessions.no-user-connection-timeout-task";
|
|
7
|
+
constructor(payload: NoUserConnectionTimeoutEventTaskEventPayload, context: never);
|
|
8
|
+
context: never;
|
|
9
|
+
payload: NoUserConnectionTimeoutEventTaskEventPayload;
|
|
10
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.NoUserConnectionTimeoutTask = exports.NoUserConnectionTimeoutEventTaskEventPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
15
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
16
|
+
class NoUserConnectionTimeoutEventTaskEventPayload {
|
|
17
|
+
}
|
|
18
|
+
exports.NoUserConnectionTimeoutEventTaskEventPayload = NoUserConnectionTimeoutEventTaskEventPayload;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsUUID)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], NoUserConnectionTimeoutEventTaskEventPayload.prototype, "cloudSessionId", void 0);
|
|
23
|
+
class NoUserConnectionTimeoutTask extends ludeo_event_1.LudeoEvent {
|
|
24
|
+
constructor(payload, context) {
|
|
25
|
+
super(NoUserConnectionTimeoutTask.EVENT_NAME);
|
|
26
|
+
this.payload = payload;
|
|
27
|
+
this.context = context;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.NoUserConnectionTimeoutTask = NoUserConnectionTimeoutTask;
|
|
31
|
+
NoUserConnectionTimeoutTask.EVENT_NAME = "cloud-sessions.no-user-connection-timeout-task";
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => NoUserConnectionTimeoutEventTaskEventPayload),
|
|
34
|
+
__metadata("design:type", NoUserConnectionTimeoutEventTaskEventPayload)
|
|
35
|
+
], NoUserConnectionTimeoutTask.prototype, "payload", void 0);
|
|
36
|
+
//# sourceMappingURL=no-user-connection-timeout-task.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-user-connection-timeout-task.js","sourceRoot":"","sources":["../../../src/v3/events/no-user-connection-timeout-task.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AACzC,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,4CAA4C;CAGxD;AAHD,oGAGC;AADC;IADC,IAAA,wBAAM,GAAE;;oFACc;AAGzB,MAAa,2BAA4B,SAAQ,wBAAU;IAGzD,YACE,OAAqD,EACrD,OAAc;QAEd,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,kEAgBC;AAfiB,sCAAU,GAAG,gDAAgD,CAAC;AAc9E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4CAA4C,CAAC;8BAC9D,4CAA4C;4DAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
+
export declare class GameplayReadyTimeoutEventTaskEventPayload {
|
|
3
|
+
cloudSessionId: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class GameplayReadyTimeoutTask extends LudeoEvent {
|
|
6
|
+
static readonly EVENT_NAME = "cloud-sessions.gameplay-ready-timeout-task";
|
|
7
|
+
constructor(payload: GameplayReadyTimeoutEventTaskEventPayload, context: never);
|
|
8
|
+
context: never;
|
|
9
|
+
payload: GameplayReadyTimeoutEventTaskEventPayload;
|
|
10
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.GameplayReadyTimeoutTask = exports.GameplayReadyTimeoutEventTaskEventPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
15
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
16
|
+
class GameplayReadyTimeoutEventTaskEventPayload {
|
|
17
|
+
}
|
|
18
|
+
exports.GameplayReadyTimeoutEventTaskEventPayload = GameplayReadyTimeoutEventTaskEventPayload;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsUUID)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GameplayReadyTimeoutEventTaskEventPayload.prototype, "cloudSessionId", void 0);
|
|
23
|
+
class GameplayReadyTimeoutTask extends ludeo_event_1.LudeoEvent {
|
|
24
|
+
constructor(payload, context) {
|
|
25
|
+
super(GameplayReadyTimeoutTask.EVENT_NAME);
|
|
26
|
+
this.payload = payload;
|
|
27
|
+
this.context = context;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.GameplayReadyTimeoutTask = GameplayReadyTimeoutTask;
|
|
31
|
+
GameplayReadyTimeoutTask.EVENT_NAME = "cloud-sessions.gameplay-ready-timeout-task";
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => GameplayReadyTimeoutEventTaskEventPayload),
|
|
34
|
+
__metadata("design:type", GameplayReadyTimeoutEventTaskEventPayload)
|
|
35
|
+
], GameplayReadyTimeoutTask.prototype, "payload", void 0);
|
|
36
|
+
//# sourceMappingURL=gameplay-ready-timeout-task.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"gameplay-ready-timeout-task.js","sourceRoot":"","sources":["../../../src/v4/events/gameplay-ready-timeout-task.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AACzC,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,yCAAyC;CAGrD;AAHD,8FAGC;AADC;IADC,IAAA,wBAAM,GAAE;;iFACc;AAGzB,MAAa,wBAAyB,SAAQ,wBAAU;IAGtD,YACE,OAAkD,EAClD,OAAc;QAEd,KAAK,CAAC,wBAAwB,CAAC,UAAU,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,4DAgBC;AAfiB,mCAAU,GAAG,4CAA4C,CAAC;AAc1E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,yCAAyC,CAAC;8BAC3D,yCAAyC;yDAAC"}
|
|
@@ -90,3 +90,5 @@ export * from "./connection-id-timeout-task";
|
|
|
90
90
|
export * from "./swap-to-default-user-request-failed";
|
|
91
91
|
export * from "./cloud-session-stats-report";
|
|
92
92
|
export * from "./mark-game-available";
|
|
93
|
+
export * from "./gameplay-ready-timeout-task";
|
|
94
|
+
export * from "./no-user-connection-timeout-task";
|
package/dist/v4/events/index.js
CHANGED
|
@@ -106,4 +106,6 @@ __exportStar(require("./connection-id-timeout-task"), exports);
|
|
|
106
106
|
__exportStar(require("./swap-to-default-user-request-failed"), exports);
|
|
107
107
|
__exportStar(require("./cloud-session-stats-report"), exports);
|
|
108
108
|
__exportStar(require("./mark-game-available"), exports);
|
|
109
|
+
__exportStar(require("./gameplay-ready-timeout-task"), exports);
|
|
110
|
+
__exportStar(require("./no-user-connection-timeout-task"), exports);
|
|
109
111
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v4/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,uEAAqD;AACrD,4EAA0D;AAC1D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,yDAAuC;AACvC,0EAAwD;AACxD,oEAAkD;AAClD,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,4DAA0C;AAC1C,oEAAkD;AAClD,qEAAmD;AACnD,6EAA2D;AAC3D,mEAAiD;AACjD,2EAAyD;AACzD,sEAAoD;AACpD,8EAA4D;AAC5D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,+DAA6C;AAC7C,uEAAqD;AACrD,iEAA+C;AAC/C,yEAAuD;AACvD,+DAA6C;AAC7C,oFAAkE;AAClE,uFAAqE;AACrE,sEAAoD;AACpD,8EAA4D;AAC5D,yEAAuD;AACvD,6DAA2C;AAC3C,+DAA6C;AAC7C,gDAA8B;AAC9B,4DAA0C;AAC1C,6CAA2B;AAC3B,oDAAkC;AAClC,8DAA4C;AAC5C,mEAAiD;AACjD,4DAA0C;AAC1C,2DAAyC;AACzC,oEAAkD;AAClD,4DAA0C;AAC1C,uEAAqD;AACrD,6EAA2D;AAC3D,+DAA6C;AAC7C,0DAAwC;AACxC,6DAA2C;AAC3C,+DAA6C;AAC7C,sEAAoD;AACpD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAChD,mEAAiD;AACjD,+DAA6C;AAC7C,gEAA8C;AAC9C,oEAAkD;AAClD,0DAAwC;AACxC,4DAA0C;AAC1C,mEAAiD;AACjD,wDAAsC;AACtC,0DAAwC;AACxC,2EAAyD;AACzD,iEAA+C;AAC/C,qEAAmD;AACnD,4EAA0D;AAC1D,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,oEAAkD;AAClD,8DAA4C;AAC5C,wDAAsC;AACtC,6DAA2C;AAC3C,4DAA0C;AAC1C,sEAAoD;AACpD,qEAAmD;AACnD,0DAAwC;AACxC,kEAAgD;AAChD,yDAAuC;AACvC,mEAAiD;AACjD,2DAAyC;AACzC,oEAAkD;AAClD,6DAA2C;AAC3C,yDAAuC;AACvC,+DAA6C;AAC7C,wEAAsD;AACtD,+DAA6C;AAC7C,wDAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v4/events/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,mEAAiD;AACjD,6DAA2C;AAC3C,uEAAqD;AACrD,4EAA0D;AAC1D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,yDAAuC;AACvC,0EAAwD;AACxD,oEAAkD;AAClD,4DAA0C;AAC1C,+DAA6C;AAC7C,mDAAiC;AACjC,4DAA0C;AAC1C,oEAAkD;AAClD,qEAAmD;AACnD,6EAA2D;AAC3D,mEAAiD;AACjD,2EAAyD;AACzD,sEAAoD;AACpD,8EAA4D;AAC5D,6DAA2C;AAC3C,qEAAmD;AACnD,iEAA+C;AAC/C,+DAA6C;AAC7C,uEAAqD;AACrD,iEAA+C;AAC/C,yEAAuD;AACvD,+DAA6C;AAC7C,oFAAkE;AAClE,uFAAqE;AACrE,sEAAoD;AACpD,8EAA4D;AAC5D,yEAAuD;AACvD,6DAA2C;AAC3C,+DAA6C;AAC7C,gDAA8B;AAC9B,4DAA0C;AAC1C,6CAA2B;AAC3B,oDAAkC;AAClC,8DAA4C;AAC5C,mEAAiD;AACjD,4DAA0C;AAC1C,2DAAyC;AACzC,oEAAkD;AAClD,4DAA0C;AAC1C,uEAAqD;AACrD,6EAA2D;AAC3D,+DAA6C;AAC7C,0DAAwC;AACxC,6DAA2C;AAC3C,+DAA6C;AAC7C,sEAAoD;AACpD,yDAAuC;AACvC,6DAA2C;AAC3C,kEAAgD;AAChD,mEAAiD;AACjD,+DAA6C;AAC7C,gEAA8C;AAC9C,oEAAkD;AAClD,0DAAwC;AACxC,4DAA0C;AAC1C,mEAAiD;AACjD,wDAAsC;AACtC,0DAAwC;AACxC,2EAAyD;AACzD,iEAA+C;AAC/C,qEAAmD;AACnD,4EAA0D;AAC1D,8DAA4C;AAC5C,0EAAwD;AACxD,0DAAwC;AACxC,oEAAkD;AAClD,8DAA4C;AAC5C,wDAAsC;AACtC,6DAA2C;AAC3C,4DAA0C;AAC1C,sEAAoD;AACpD,qEAAmD;AACnD,0DAAwC;AACxC,kEAAgD;AAChD,yDAAuC;AACvC,mEAAiD;AACjD,2DAAyC;AACzC,oEAAkD;AAClD,6DAA2C;AAC3C,yDAAuC;AACvC,+DAA6C;AAC7C,wEAAsD;AACtD,+DAA6C;AAC7C,wDAAsC;AACtC,gEAA8C;AAC9C,oEAAkD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
|
+
export declare class NoUserConnectionTimeoutEventTaskEventPayload {
|
|
3
|
+
cloudSessionId: string;
|
|
4
|
+
}
|
|
5
|
+
export declare class NoUserConnectionTimeoutTask extends LudeoEvent {
|
|
6
|
+
static readonly EVENT_NAME = "cloud-sessions.no-user-connection-timeout-task";
|
|
7
|
+
constructor(payload: NoUserConnectionTimeoutEventTaskEventPayload, context: never);
|
|
8
|
+
context: never;
|
|
9
|
+
payload: NoUserConnectionTimeoutEventTaskEventPayload;
|
|
10
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.NoUserConnectionTimeoutTask = exports.NoUserConnectionTimeoutEventTaskEventPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const ludeo_event_1 = require("../../infra/ludeo-event");
|
|
15
|
+
const validate_nested_type_decorator_1 = require("../../decorators/validate-nested-type.decorator");
|
|
16
|
+
class NoUserConnectionTimeoutEventTaskEventPayload {
|
|
17
|
+
}
|
|
18
|
+
exports.NoUserConnectionTimeoutEventTaskEventPayload = NoUserConnectionTimeoutEventTaskEventPayload;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsUUID)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], NoUserConnectionTimeoutEventTaskEventPayload.prototype, "cloudSessionId", void 0);
|
|
23
|
+
class NoUserConnectionTimeoutTask extends ludeo_event_1.LudeoEvent {
|
|
24
|
+
constructor(payload, context) {
|
|
25
|
+
super(NoUserConnectionTimeoutTask.EVENT_NAME);
|
|
26
|
+
this.payload = payload;
|
|
27
|
+
this.context = context;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.NoUserConnectionTimeoutTask = NoUserConnectionTimeoutTask;
|
|
31
|
+
NoUserConnectionTimeoutTask.EVENT_NAME = "cloud-sessions.no-user-connection-timeout-task";
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, validate_nested_type_decorator_1.ValidateNestedType)(() => NoUserConnectionTimeoutEventTaskEventPayload),
|
|
34
|
+
__metadata("design:type", NoUserConnectionTimeoutEventTaskEventPayload)
|
|
35
|
+
], NoUserConnectionTimeoutTask.prototype, "payload", void 0);
|
|
36
|
+
//# sourceMappingURL=no-user-connection-timeout-task.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-user-connection-timeout-task.js","sourceRoot":"","sources":["../../../src/v4/events/no-user-connection-timeout-task.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AACzC,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,4CAA4C;CAGxD;AAHD,oGAGC;AADC;IADC,IAAA,wBAAM,GAAE;;oFACc;AAGzB,MAAa,2BAA4B,SAAQ,wBAAU;IAGzD,YACE,OAAqD,EACrD,OAAc;QAEd,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,kEAgBC;AAfiB,sCAAU,GAAG,gDAAgD,CAAC;AAc9E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,4CAA4C,CAAC;8BAC9D,4CAA4C;4DAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IsUUID } from "class-validator";
|
|
2
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
|
+
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
4
|
+
|
|
5
|
+
export class GameplayReadyTimeoutEventTaskEventPayload {
|
|
6
|
+
@IsUUID()
|
|
7
|
+
cloudSessionId: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export class GameplayReadyTimeoutTask extends LudeoEvent {
|
|
11
|
+
static readonly EVENT_NAME = "cloud-sessions.gameplay-ready-timeout-task";
|
|
12
|
+
|
|
13
|
+
constructor(
|
|
14
|
+
payload: GameplayReadyTimeoutEventTaskEventPayload,
|
|
15
|
+
context: never
|
|
16
|
+
) {
|
|
17
|
+
super(GameplayReadyTimeoutTask.EVENT_NAME);
|
|
18
|
+
this.payload = payload;
|
|
19
|
+
this.context = context;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
context: never;
|
|
23
|
+
|
|
24
|
+
@ValidateNestedType(() => GameplayReadyTimeoutEventTaskEventPayload)
|
|
25
|
+
payload: GameplayReadyTimeoutEventTaskEventPayload;
|
|
26
|
+
}
|
package/src/v3/events/index.ts
CHANGED
|
@@ -71,3 +71,5 @@ export * from "./game-resource-ready-for-creation-failed";
|
|
|
71
71
|
export * from "./aws-stream-session-active";
|
|
72
72
|
export * from "./cloud-session-optimal-region-selected";
|
|
73
73
|
export * from "./mark-game-available";
|
|
74
|
+
export * from "./gameplay-ready-timeout-task";
|
|
75
|
+
export * from "./no-user-connection-timeout-task";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IsUUID } from "class-validator";
|
|
2
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
|
+
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
4
|
+
|
|
5
|
+
export class NoUserConnectionTimeoutEventTaskEventPayload {
|
|
6
|
+
@IsUUID()
|
|
7
|
+
cloudSessionId: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export class NoUserConnectionTimeoutTask extends LudeoEvent {
|
|
11
|
+
static readonly EVENT_NAME = "cloud-sessions.no-user-connection-timeout-task";
|
|
12
|
+
|
|
13
|
+
constructor(
|
|
14
|
+
payload: NoUserConnectionTimeoutEventTaskEventPayload,
|
|
15
|
+
context: never
|
|
16
|
+
) {
|
|
17
|
+
super(NoUserConnectionTimeoutTask.EVENT_NAME);
|
|
18
|
+
this.payload = payload;
|
|
19
|
+
this.context = context;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
context: never;
|
|
23
|
+
|
|
24
|
+
@ValidateNestedType(() => NoUserConnectionTimeoutEventTaskEventPayload)
|
|
25
|
+
payload: NoUserConnectionTimeoutEventTaskEventPayload;
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IsUUID } from "class-validator";
|
|
2
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
|
+
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
4
|
+
|
|
5
|
+
export class GameplayReadyTimeoutEventTaskEventPayload {
|
|
6
|
+
@IsUUID()
|
|
7
|
+
cloudSessionId: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export class GameplayReadyTimeoutTask extends LudeoEvent {
|
|
11
|
+
static readonly EVENT_NAME = "cloud-sessions.gameplay-ready-timeout-task";
|
|
12
|
+
|
|
13
|
+
constructor(
|
|
14
|
+
payload: GameplayReadyTimeoutEventTaskEventPayload,
|
|
15
|
+
context: never
|
|
16
|
+
) {
|
|
17
|
+
super(GameplayReadyTimeoutTask.EVENT_NAME);
|
|
18
|
+
this.payload = payload;
|
|
19
|
+
this.context = context;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
context: never;
|
|
23
|
+
|
|
24
|
+
@ValidateNestedType(() => GameplayReadyTimeoutEventTaskEventPayload)
|
|
25
|
+
payload: GameplayReadyTimeoutEventTaskEventPayload;
|
|
26
|
+
}
|
package/src/v4/events/index.ts
CHANGED
|
@@ -90,3 +90,5 @@ export * from "./connection-id-timeout-task";
|
|
|
90
90
|
export * from "./swap-to-default-user-request-failed";
|
|
91
91
|
export * from "./cloud-session-stats-report";
|
|
92
92
|
export * from "./mark-game-available";
|
|
93
|
+
export * from "./gameplay-ready-timeout-task";
|
|
94
|
+
export * from "./no-user-connection-timeout-task";
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IsUUID } from "class-validator";
|
|
2
|
+
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
3
|
+
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
4
|
+
|
|
5
|
+
export class NoUserConnectionTimeoutEventTaskEventPayload {
|
|
6
|
+
@IsUUID()
|
|
7
|
+
cloudSessionId: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export class NoUserConnectionTimeoutTask extends LudeoEvent {
|
|
11
|
+
static readonly EVENT_NAME = "cloud-sessions.no-user-connection-timeout-task";
|
|
12
|
+
|
|
13
|
+
constructor(
|
|
14
|
+
payload: NoUserConnectionTimeoutEventTaskEventPayload,
|
|
15
|
+
context: never
|
|
16
|
+
) {
|
|
17
|
+
super(NoUserConnectionTimeoutTask.EVENT_NAME);
|
|
18
|
+
this.payload = payload;
|
|
19
|
+
this.context = context;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
context: never;
|
|
23
|
+
|
|
24
|
+
@ValidateNestedType(() => NoUserConnectionTimeoutEventTaskEventPayload)
|
|
25
|
+
payload: NoUserConnectionTimeoutEventTaskEventPayload;
|
|
26
|
+
}
|