@ludeo/cloud-common 1.2.19 → 1.2.21
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/load-ludeo-resource.d.ts +0 -2
- package/dist/v4/events/load-ludeo-resource.js +0 -8
- package/dist/v4/events/load-ludeo-resource.js.map +1 -1
- package/dist/v4/events/swap-to-default-user-request-failed.d.ts +2 -2
- package/dist/v4/events/swap-to-default-user-request-failed.js +2 -0
- package/dist/v4/events/swap-to-default-user-request-failed.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/load-ludeo-resource.ts +0 -6
- package/src/v4/events/swap-to-default-user-request-failed.ts +5 -3
|
@@ -7,8 +7,6 @@ export declare class LoadLudeoResourcePayload {
|
|
|
7
7
|
ludeoResourceId: string;
|
|
8
8
|
userId: string;
|
|
9
9
|
gameId: string;
|
|
10
|
-
connectionId: string;
|
|
11
|
-
defaultUserSessionToken: string;
|
|
12
10
|
ludeoPoolId: string;
|
|
13
11
|
providerSettings: CloudProviderSettings;
|
|
14
12
|
cloudProvider: CloudProvider;
|
|
@@ -38,14 +38,6 @@ __decorate([
|
|
|
38
38
|
(0, class_validator_1.IsUUID)(),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
40
|
], LoadLudeoResourcePayload.prototype, "gameId", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
(0, class_validator_1.IsUUID)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], LoadLudeoResourcePayload.prototype, "connectionId", void 0);
|
|
45
|
-
__decorate([
|
|
46
|
-
(0, class_validator_1.IsString)(),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], LoadLudeoResourcePayload.prototype, "defaultUserSessionToken", void 0);
|
|
49
41
|
__decorate([
|
|
50
42
|
(0, class_validator_1.IsUUID)(),
|
|
51
43
|
__metadata("design:type", String)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"load-ludeo-resource.js","sourceRoot":"","sources":["../../../src/v4/events/load-ludeo-resource.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAC3D,yDAAqD;AACrD,oGAAqF;AACrF,0CAAmD;AACnD,oCAIkB;AAElB,MAAa,wBAAwB;
|
|
1
|
+
{"version":3,"file":"load-ludeo-resource.js","sourceRoot":"","sources":["../../../src/v4/events/load-ludeo-resource.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA2D;AAC3D,yDAAqD;AACrD,oGAAqF;AACrF,0CAAmD;AACnD,oCAIkB;AAElB,MAAa,wBAAwB;CAwBpC;AAxBD,4DAwBC;AAtBC;IADC,IAAA,wBAAM,GAAE;;gEACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;4DACU;AAGnB;IADC,IAAA,wBAAM,GAAE;;iEACe;AAGxB;IADC,IAAA,wBAAM,GAAE;;wDACM;AAGf;IADC,IAAA,wBAAM,GAAE;;wDACM;AAGf;IADC,IAAA,wBAAM,GAAE;;6DACW;AAGpB;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAAmB,CAAC;;kEACN;AAGxC;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;+DACO;AAG/B,MAAa,iBAAkB,SAAQ,wBAAU;IAG/C,YACE,OAAiC,EACjC,OAA6B;QAE7B,KAAK,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;QACpC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,8CAiBC;AAhBiB,4BAAU,GAAG,iCAAiC,CAAC;AAY/D;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;kDAAC;AAG9B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,wBAAwB,CAAC;8BAC1C,wBAAwB;kDAAC"}
|
|
@@ -2,8 +2,8 @@ import { LudeoEvent } from "../../infra/ludeo-event";
|
|
|
2
2
|
import { CloudResourceContext } from "../contexts";
|
|
3
3
|
export declare class SwapToDefaultUserRequestFailedPayload {
|
|
4
4
|
ludeoResourceId: string;
|
|
5
|
-
connectionId
|
|
6
|
-
defaultUserSessionToken
|
|
5
|
+
connectionId?: string;
|
|
6
|
+
defaultUserSessionToken?: string;
|
|
7
7
|
gameId: string;
|
|
8
8
|
userId: string;
|
|
9
9
|
errorMessage: string;
|
|
@@ -22,10 +22,12 @@ __decorate([
|
|
|
22
22
|
__metadata("design:type", String)
|
|
23
23
|
], SwapToDefaultUserRequestFailedPayload.prototype, "ludeoResourceId", void 0);
|
|
24
24
|
__decorate([
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
26
|
(0, class_validator_1.IsUUID)(),
|
|
26
27
|
__metadata("design:type", String)
|
|
27
28
|
], SwapToDefaultUserRequestFailedPayload.prototype, "connectionId", void 0);
|
|
28
29
|
__decorate([
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
31
|
(0, class_validator_1.IsString)(),
|
|
30
32
|
__metadata("design:type", String)
|
|
31
33
|
], SwapToDefaultUserRequestFailedPayload.prototype, "defaultUserSessionToken", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-to-default-user-request-failed.js","sourceRoot":"","sources":["../../../src/v4/events/swap-to-default-user-request-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"swap-to-default-user-request-failed.js","sourceRoot":"","sources":["../../../src/v4/events/swap-to-default-user-request-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,yDAAqD;AACrD,oGAAqF;AACrF,0CAAmD;AAEnD,MAAa,qCAAqC;CAuBjD;AAvBD,sFAuBC;AArBC;IADC,IAAA,wBAAM,GAAE;;8EACe;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;2EACa;AAItB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sFACsB;AAGjC;IADC,IAAA,wBAAM,GAAE;;qEACM;AAGf;IADC,IAAA,wBAAM,GAAE;;qEACM;AAGf;IADC,IAAA,0BAAQ,GAAE;;2EACU;AAGrB;IADC,IAAA,0BAAQ,GAAE;;4EACW;AAGxB,MAAa,8BAA+B,SAAQ,wBAAU;IAI5D,YACE,OAA8C,EAC9C,OAA6B;QAE7B,KAAK,CAAC,8BAA8B,CAAC,UAAU,CAAC,CAAC;QACjD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,wEAkBC;AAjBiB,yCAAU,GACxB,qDAAqD,CAAC;AAYxD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;+DAAC;AAG9B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,qCAAqC,CAAC;8BACvD,qCAAqC;+DAAC"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsString, IsUUID } from "class-validator";
|
|
1
|
+
import { IsOptional, IsString, IsUUID } from "class-validator";
|
|
2
2
|
|
|
3
3
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
4
4
|
import { ValidateNestedType } from "../../decorators/validate-nested-type.decorator";
|
|
@@ -8,11 +8,13 @@ export class SwapToDefaultUserRequestFailedPayload {
|
|
|
8
8
|
@IsUUID()
|
|
9
9
|
ludeoResourceId: string;
|
|
10
10
|
|
|
11
|
+
@IsOptional()
|
|
11
12
|
@IsUUID()
|
|
12
|
-
connectionId
|
|
13
|
+
connectionId?: string;
|
|
13
14
|
|
|
15
|
+
@IsOptional()
|
|
14
16
|
@IsString()
|
|
15
|
-
defaultUserSessionToken
|
|
17
|
+
defaultUserSessionToken?: string;
|
|
16
18
|
|
|
17
19
|
@IsUUID()
|
|
18
20
|
gameId: string;
|