@ludeo/cloud-common 1.2.276-beta-yahil-3 → 1.2.276
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/allocate-cloud-session-request.d.ts +1 -1
- package/dist/v4/events/allocate-cloud-session-request.js +0 -1
- package/dist/v4/events/allocate-cloud-session-request.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/allocate-cloud-session-request.ts +2 -3
|
@@ -3,7 +3,7 @@ import { CloudSessionContext } from "../contexts";
|
|
|
3
3
|
import { AllocationRequestData } from "../types";
|
|
4
4
|
export declare class AllocateCloudSessionRequestData {
|
|
5
5
|
requestData: AllocationRequestData;
|
|
6
|
-
socketId
|
|
6
|
+
socketId: string;
|
|
7
7
|
}
|
|
8
8
|
export declare class AllocateCloudSessionRequest extends LudeoEvent {
|
|
9
9
|
static readonly EVENT_NAME = "cloud-sessions.allocate-cloud-session-request";
|
|
@@ -24,7 +24,6 @@ __decorate([
|
|
|
24
24
|
], AllocateCloudSessionRequestData.prototype, "requestData", void 0);
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, class_validator_1.IsString)(),
|
|
27
|
-
(0, class_validator_1.IsOptional)(),
|
|
28
27
|
__metadata("design:type", String)
|
|
29
28
|
], AllocateCloudSessionRequestData.prototype, "socketId", void 0);
|
|
30
29
|
class AllocateCloudSessionRequest extends infra_1.LudeoEvent {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"allocate-cloud-session-request.js","sourceRoot":"","sources":["../../../src/v4/events/allocate-cloud-session-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"allocate-cloud-session-request.js","sourceRoot":"","sources":["../../../src/v4/events/allocate-cloud-session-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2C;AAE3C,uCAAyC;AACzC,0CAAkD;AAClD,iDAAsD;AACtD,oCAAiD;AAEjD,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AALC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,6BAAqB,CAAC;8BACnC,6BAAqB;oEAAC;AAInC;IADC,IAAA,0BAAQ,GAAE;;iEACM;AAGnB,MAAa,2BAA4B,SAAQ,kBAAU;IAGzD,YACE,OAAwC,EACxC,OAA4B;QAE5B,KAAK,CAAC,2BAA2B,CAAC,UAAU,CAAC,CAAC;QAC9C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,kEAiBC;AAhBiB,sCAAU,GAAG,+CAA+C,CAAC;AAY7E;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAA+B,CAAC;8BACjD,+BAA+B;4DAAC;AAGzC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;4DAAC"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IsString } from "class-validator";
|
|
2
2
|
|
|
3
3
|
import { LudeoEvent } from "../../infra";
|
|
4
4
|
import { CloudSessionContext } from "../contexts";
|
|
@@ -11,8 +11,7 @@ export class AllocateCloudSessionRequestData {
|
|
|
11
11
|
|
|
12
12
|
// The player's realtime (Echo) socket — the allocator saves it on the allocation request to push queue updates.
|
|
13
13
|
@IsString()
|
|
14
|
-
|
|
15
|
-
socketId?: string;
|
|
14
|
+
socketId: string;
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
export class AllocateCloudSessionRequest extends LudeoEvent {
|