@ludeo/cloud-common 1.2.250 → 1.2.252
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/.github/workflows/pr-check.yml +9 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/v4/events/gameplay-waiting-for-user.d.ts +1 -1
- package/dist/v4/events/gameplay-waiting-for-user.js +1 -0
- package/dist/v4/events/gameplay-waiting-for-user.js.map +1 -1
- package/dist/v4/events/swap-cloud-user-gameplay-request-failed.d.ts +2 -2
- package/dist/v4/events/swap-cloud-user-gameplay-request-failed.js +2 -0
- package/dist/v4/events/swap-cloud-user-gameplay-request-failed.js.map +1 -1
- package/dist/v4/events/swap-cloud-user-gameplay-request.d.ts +2 -2
- package/dist/v4/events/swap-cloud-user-gameplay-request.js +2 -0
- package/dist/v4/events/swap-cloud-user-gameplay-request.js.map +1 -1
- package/dist/v4/events/swap-cloud-user-request-failed.d.ts +1 -1
- package/dist/v4/events/swap-cloud-user-request-failed.js +1 -0
- package/dist/v4/events/swap-cloud-user-request-failed.js.map +1 -1
- package/dist/v4/events/swap-cloud-user-request.d.ts +1 -1
- package/dist/v4/events/swap-cloud-user-request.js +1 -0
- package/dist/v4/events/swap-cloud-user-request.js.map +1 -1
- package/dist/v4/events/swap-to-default-user-completed.d.ts +1 -1
- package/dist/v4/events/swap-to-default-user-completed.js +1 -0
- package/dist/v4/events/swap-to-default-user-completed.js.map +1 -1
- package/dist/v4/events/swap-to-default-user-request-failed.d.ts +1 -1
- package/dist/v4/events/swap-to-default-user-request-failed.js +1 -0
- package/dist/v4/events/swap-to-default-user-request-failed.js.map +1 -1
- package/dist/v4/events/swap-to-default-user.d.ts +1 -1
- package/dist/v4/events/swap-to-default-user.js +1 -0
- package/dist/v4/events/swap-to-default-user.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/gameplay-waiting-for-user.ts +2 -1
- package/src/v4/events/swap-cloud-user-gameplay-request-failed.ts +5 -3
- package/src/v4/events/swap-cloud-user-gameplay-request.ts +4 -2
- package/src/v4/events/swap-cloud-user-request-failed.ts +2 -1
- package/src/v4/events/swap-cloud-user-request.ts +2 -1
- package/src/v4/events/swap-to-default-user-completed.ts +2 -1
- package/src/v4/events/swap-to-default-user-request-failed.ts +2 -1
- package/src/v4/events/swap-to-default-user.ts +2 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
2
|
import { CloudResourceContext } from "../contexts";
|
|
3
3
|
export declare class GameplayWaitingForUserPayload {
|
|
4
|
-
ludeoResourceId
|
|
4
|
+
ludeoResourceId?: string;
|
|
5
5
|
gameResourceId?: string;
|
|
6
6
|
gameplayId: string;
|
|
7
7
|
}
|
|
@@ -18,6 +18,7 @@ class GameplayWaitingForUserPayload {
|
|
|
18
18
|
}
|
|
19
19
|
exports.GameplayWaitingForUserPayload = GameplayWaitingForUserPayload;
|
|
20
20
|
__decorate([
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
22
|
(0, class_validator_1.IsUUID)(),
|
|
22
23
|
__metadata("design:type", String)
|
|
23
24
|
], GameplayWaitingForUserPayload.prototype, "ludeoResourceId", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gameplay-waiting-for-user.js","sourceRoot":"","sources":["../../../src/v4/events/gameplay-waiting-for-user.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,yDAAqD;AACrD,oGAAqF;AACrF,0CAAmD;AAEnD,MAAa,6BAA6B;
|
|
1
|
+
{"version":3,"file":"gameplay-waiting-for-user.js","sourceRoot":"","sources":["../../../src/v4/events/gameplay-waiting-for-user.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,yDAAqD;AACrD,oGAAqF;AACrF,0CAAmD;AAEnD,MAAa,6BAA6B;CAWzC;AAXD,sEAWC;AARC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;sEACgB;AAIzB;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;qEACW;AAGxB;IADC,IAAA,wBAAM,GAAE;;iEACU;AAGrB,MAAa,sBAAuB,SAAQ,wBAAU;IAGpD,YACE,OAAsC,EACtC,OAA6B;QAE7B,KAAK,CAAC,sBAAsB,CAAC,UAAU,CAAC,CAAC;QACzC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,wDAiBC;AAhBiB,iCAAU,GAAG,qCAAqC,CAAC;AAYnE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;uDAAC;AAG9B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,6BAA6B,CAAC;8BAC/C,6BAA6B;uDAAC"}
|
|
@@ -5,8 +5,8 @@ export declare class SwapCloudUserGameplayRequestFailedPayload {
|
|
|
5
5
|
gameResourceId: string;
|
|
6
6
|
gameplayId: string;
|
|
7
7
|
errorMessage: string;
|
|
8
|
-
ludeoResourceId
|
|
9
|
-
cloudSessionId
|
|
8
|
+
ludeoResourceId?: string;
|
|
9
|
+
cloudSessionId?: string;
|
|
10
10
|
}
|
|
11
11
|
export declare class SwapCloudUserGameplayRequestFailed extends LudeoEvent {
|
|
12
12
|
static readonly EVENT_NAME = "cloud-resources.swap-cloud-user-gameplay-request-failed";
|
|
@@ -34,10 +34,12 @@ __decorate([
|
|
|
34
34
|
__metadata("design:type", String)
|
|
35
35
|
], SwapCloudUserGameplayRequestFailedPayload.prototype, "errorMessage", void 0);
|
|
36
36
|
__decorate([
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
38
|
(0, class_validator_1.IsUUID)(),
|
|
38
39
|
__metadata("design:type", String)
|
|
39
40
|
], SwapCloudUserGameplayRequestFailedPayload.prototype, "ludeoResourceId", void 0);
|
|
40
41
|
__decorate([
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
43
|
(0, class_validator_1.IsUUID)(),
|
|
42
44
|
__metadata("design:type", String)
|
|
43
45
|
], SwapCloudUserGameplayRequestFailedPayload.prototype, "cloudSessionId", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-cloud-user-gameplay-request-failed.js","sourceRoot":"","sources":["../../../src/v4/events/swap-cloud-user-gameplay-request-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"swap-cloud-user-gameplay-request-failed.js","sourceRoot":"","sources":["../../../src/v4/events/swap-cloud-user-gameplay-request-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,0CAAkD;AAClD,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,yCAAyC;CAoBrD;AApBD,8FAoBC;AAlBC;IADC,IAAA,wBAAM,GAAE;;yEACM;AAGf;IADC,IAAA,wBAAM,GAAE;;iFACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;6EACU;AAGnB;IADC,IAAA,0BAAQ,GAAE;;+EACU;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;kFACgB;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;iFACe;AAG1B,MAAa,kCAAmC,SAAQ,wBAAU;IAIhE,YACE,OAAkD,EAClD,OAA4B;QAE5B,KAAK,CAAC,kCAAkC,CAAC,UAAU,CAAC,CAAC;QACrD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,gFAkBC;AAjBiB,6CAAU,GACxB,yDAAyD,CAAC;AAY5D;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;mEAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,yCAAyC,CAAC;8BAC3D,yCAAyC;mEAAC"}
|
|
@@ -5,8 +5,8 @@ export declare class SwapCloudUserGameplayRequestPayload {
|
|
|
5
5
|
userId: string;
|
|
6
6
|
gameResourceId: string;
|
|
7
7
|
gameplayId: string;
|
|
8
|
-
ludeoResourceId
|
|
9
|
-
cloudSessionId
|
|
8
|
+
ludeoResourceId?: string;
|
|
9
|
+
cloudSessionId?: string;
|
|
10
10
|
actualUserSessionToken: string;
|
|
11
11
|
cloudProvider?: CloudProvider;
|
|
12
12
|
}
|
|
@@ -31,10 +31,12 @@ __decorate([
|
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], SwapCloudUserGameplayRequestPayload.prototype, "gameplayId", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
35
|
(0, class_validator_1.IsUUID)(),
|
|
35
36
|
__metadata("design:type", String)
|
|
36
37
|
], SwapCloudUserGameplayRequestPayload.prototype, "ludeoResourceId", void 0);
|
|
37
38
|
__decorate([
|
|
39
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
40
|
(0, class_validator_1.IsUUID)(),
|
|
39
41
|
__metadata("design:type", String)
|
|
40
42
|
], SwapCloudUserGameplayRequestPayload.prototype, "cloudSessionId", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-cloud-user-gameplay-request.js","sourceRoot":"","sources":["../../../src/v4/events/swap-cloud-user-gameplay-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,0CAAkD;AAClD,yDAAqD;AACrD,oGAAqF;AACrF,oCAAyC;AAEzC,MAAa,mCAAmC;
|
|
1
|
+
{"version":3,"file":"swap-cloud-user-gameplay-request.js","sourceRoot":"","sources":["../../../src/v4/events/swap-cloud-user-gameplay-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,0CAAkD;AAClD,yDAAqD;AACrD,oGAAqF;AACrF,oCAAyC;AAEzC,MAAa,mCAAmC;CAwB/C;AAxBD,kFAwBC;AAtBC;IADC,IAAA,wBAAM,GAAE;;mEACM;AAGf;IADC,IAAA,wBAAM,GAAE;;2EACc;AAGvB;IADC,IAAA,wBAAM,GAAE;;uEACU;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;4EACgB;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;2EACe;AAGxB;IADC,IAAA,0BAAQ,GAAE;;mFACoB;AAI/B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qBAAa,CAAC;;0EACQ;AAGhC,MAAa,4BAA6B,SAAQ,wBAAU;IAI1D,YACE,OAA4C,EAC5C,OAA4B;QAE5B,KAAK,CAAC,4BAA4B,CAAC,UAAU,CAAC,CAAC;QAC/C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAXH,oEAkBC;AAjBiB,uCAAU,GACxB,kDAAkD,CAAC;AAYrD;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;6DAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,mCAAmC,CAAC;8BACrD,mCAAmC;6DAAC"}
|
|
@@ -31,6 +31,7 @@ __decorate([
|
|
|
31
31
|
__metadata("design:type", String)
|
|
32
32
|
], SwapCloudUserRequestFailedPayload.prototype, "actualUserSessionToken", void 0);
|
|
33
33
|
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
35
|
(0, class_validator_1.IsUUID)(),
|
|
35
36
|
__metadata("design:type", String)
|
|
36
37
|
], SwapCloudUserRequestFailedPayload.prototype, "ludeoResourceId", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-cloud-user-request-failed.js","sourceRoot":"","sources":["../../../src/v4/events/swap-cloud-user-request-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,0CAAkD;AAClD,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,iCAAiC;
|
|
1
|
+
{"version":3,"file":"swap-cloud-user-request-failed.js","sourceRoot":"","sources":["../../../src/v4/events/swap-cloud-user-request-failed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,0CAAkD;AAClD,yDAAqD;AACrD,oGAAqF;AAErF,MAAa,iCAAiC;CAoB7C;AApBD,8EAoBC;AAlBC;IADC,IAAA,wBAAM,GAAE;;uEACY;AAGrB;IADC,IAAA,0BAAQ,GAAE;;kFACqB;AAIhC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iFACmB;AAIhC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;0EACgB;AAGzB;IADC,IAAA,0BAAQ,GAAE;;uEACU;AAGrB;IADC,IAAA,0BAAQ,GAAE;;wEACW;AAGxB,MAAa,0BAA2B,SAAQ,wBAAU;IAGxD,YACE,OAA0C,EAC1C,OAA4B;QAE5B,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,gEAiBC;AAhBiB,qCAAU,GAAG,gDAAgD,CAAC;AAY9E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;2DAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,0BAA0B,CAAC;8BAC5C,iCAAiC;2DAAC"}
|
|
@@ -5,7 +5,7 @@ export declare class SwapCloudUserRequestPayload {
|
|
|
5
5
|
connectionId: string;
|
|
6
6
|
defaultUserSessionToken: string;
|
|
7
7
|
actualUserSessionToken?: string;
|
|
8
|
-
ludeoResourceId
|
|
8
|
+
ludeoResourceId?: string;
|
|
9
9
|
cloudProvider?: CloudProvider;
|
|
10
10
|
}
|
|
11
11
|
export declare class SwapCloudUserRequest extends LudeoEvent {
|
|
@@ -32,6 +32,7 @@ __decorate([
|
|
|
32
32
|
__metadata("design:type", String)
|
|
33
33
|
], SwapCloudUserRequestPayload.prototype, "actualUserSessionToken", void 0);
|
|
34
34
|
__decorate([
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
36
|
(0, class_validator_1.IsUUID)(),
|
|
36
37
|
__metadata("design:type", String)
|
|
37
38
|
], SwapCloudUserRequestPayload.prototype, "ludeoResourceId", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-cloud-user-request.js","sourceRoot":"","sources":["../../../src/v4/events/swap-cloud-user-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,0CAAkD;AAClD,yDAAqD;AACrD,oGAAqF;AACrF,oCAAyC;AAEzC,MAAa,2BAA2B;
|
|
1
|
+
{"version":3,"file":"swap-cloud-user-request.js","sourceRoot":"","sources":["../../../src/v4/events/swap-cloud-user-request.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,0CAAkD;AAClD,yDAAqD;AACrD,oGAAqF;AACrF,oCAAyC;AAEzC,MAAa,2BAA2B;CAkBvC;AAlBD,kEAkBC;AAhBC;IADC,IAAA,wBAAM,GAAE;;iEACY;AAGrB;IADC,IAAA,0BAAQ,GAAE;;4EACqB;AAIhC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACqB;AAIhC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;oEACgB;AAIzB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,qBAAa,CAAC;;kEACQ;AAGhC,MAAa,oBAAqB,SAAQ,wBAAU;IAGlD,YACE,OAAoC,EACpC,OAA4B;QAE5B,KAAK,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;QACvC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,oDAiBC;AAhBiB,+BAAU,GAAG,yCAAyC,CAAC;AAYvE;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,8BAAmB,CAAC;8BACrC,8BAAmB;qDAAC;AAG7B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,2BAA2B,CAAC;8BAC7C,2BAA2B;qDAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
2
|
import { CloudResourceContext } from "../contexts";
|
|
3
3
|
export declare class SwapToDefaultUserCompletedPayload {
|
|
4
|
-
ludeoResourceId
|
|
4
|
+
ludeoResourceId?: string;
|
|
5
5
|
connectionId: string;
|
|
6
6
|
ludeoId?: string;
|
|
7
7
|
gameId: string;
|
|
@@ -19,6 +19,7 @@ class SwapToDefaultUserCompletedPayload {
|
|
|
19
19
|
}
|
|
20
20
|
exports.SwapToDefaultUserCompletedPayload = SwapToDefaultUserCompletedPayload;
|
|
21
21
|
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
22
23
|
(0, class_validator_1.IsUUID)(),
|
|
23
24
|
__metadata("design:type", String)
|
|
24
25
|
], SwapToDefaultUserCompletedPayload.prototype, "ludeoResourceId", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-to-default-user-completed.js","sourceRoot":"","sources":["../../../src/v4/events/swap-to-default-user-completed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,yDAAqD;AACrD,oGAAqF;AACrF,0CAAmD;AACnD,4FAA4E;AAE5E,MAAa,iCAAiC;
|
|
1
|
+
{"version":3,"file":"swap-to-default-user-completed.js","sourceRoot":"","sources":["../../../src/v4/events/swap-to-default-user-completed.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,yDAAqD;AACrD,oGAAqF;AACrF,0CAAmD;AACnD,4FAA4E;AAE5E,MAAa,iCAAiC;CAoB7C;AApBD,8EAoBC;AAjBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;0EACgB;AAGzB;IADC,IAAA,wBAAM,GAAE;;uEACY;AAIrB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0CAAa,GAAE;;kEACC;AAGjB;IADC,IAAA,wBAAM,GAAE;;iEACM;AAGf;IADC,IAAA,wBAAM,GAAE;;iEACM;AAGf;IADC,IAAA,0BAAQ,GAAE;;wEACW;AAGxB,MAAa,0BAA2B,SAAQ,wBAAU;IAGxD,YACE,OAA0C,EAC1C,OAA6B;QAE7B,KAAK,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AAVH,gEAiBC;AAhBiB,qCAAU,GAAG,+CAA+C,CAAC;AAY7E;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,+BAAoB,CAAC;8BACtC,+BAAoB;2DAAC;AAG9B;IADC,IAAA,mDAAkB,EAAC,GAAG,EAAE,CAAC,iCAAiC,CAAC;8BACnD,iCAAiC;2DAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
2
|
import { CloudResourceContext } from "../contexts";
|
|
3
3
|
export declare class SwapToDefaultUserRequestFailedPayload {
|
|
4
|
-
ludeoResourceId
|
|
4
|
+
ludeoResourceId?: string;
|
|
5
5
|
connectionId?: string;
|
|
6
6
|
defaultUserSessionToken?: string;
|
|
7
7
|
gameId: string;
|
|
@@ -18,6 +18,7 @@ class SwapToDefaultUserRequestFailedPayload {
|
|
|
18
18
|
}
|
|
19
19
|
exports.SwapToDefaultUserRequestFailedPayload = SwapToDefaultUserRequestFailedPayload;
|
|
20
20
|
__decorate([
|
|
21
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
22
|
(0, class_validator_1.IsUUID)(),
|
|
22
23
|
__metadata("design:type", String)
|
|
23
24
|
], SwapToDefaultUserRequestFailedPayload.prototype, "ludeoResourceId", 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,qDAA+D;AAE/D,yDAAqD;AACrD,oGAAqF;AACrF,0CAAmD;AAEnD,MAAa,qCAAqC;
|
|
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;CAwBjD;AAxBD,sFAwBC;AArBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;8EACgB;AAIzB;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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
2
2
|
import { CloudResourceContext } from "../contexts";
|
|
3
3
|
export declare class SwapToDefaultUserPayload {
|
|
4
|
-
ludeoResourceId
|
|
4
|
+
ludeoResourceId?: string;
|
|
5
5
|
connectionId: string;
|
|
6
6
|
gameId: string;
|
|
7
7
|
ludeoId?: string;
|
|
@@ -19,6 +19,7 @@ class SwapToDefaultUserPayload {
|
|
|
19
19
|
}
|
|
20
20
|
exports.SwapToDefaultUserPayload = SwapToDefaultUserPayload;
|
|
21
21
|
__decorate([
|
|
22
|
+
(0, class_validator_1.IsOptional)(),
|
|
22
23
|
(0, class_validator_1.IsUUID)(),
|
|
23
24
|
__metadata("design:type", String)
|
|
24
25
|
], SwapToDefaultUserPayload.prototype, "ludeoResourceId", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-to-default-user.js","sourceRoot":"","sources":["../../../src/v4/events/swap-to-default-user.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,yDAAqD;AACrD,oGAAqF;AACrF,0CAAmD;AACnD,4FAA4E;AAE5E,MAAa,wBAAwB;
|
|
1
|
+
{"version":3,"file":"swap-to-default-user.js","sourceRoot":"","sources":["../../../src/v4/events/swap-to-default-user.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,yDAAqD;AACrD,oGAAqF;AACrF,0CAAmD;AACnD,4FAA4E;AAE5E,MAAa,wBAAwB;CAoBpC;AApBD,4DAoBC;AAjBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;iEACgB;AAGzB;IADC,IAAA,wBAAM,GAAE;;8DACY;AAGrB;IADC,IAAA,wBAAM,GAAE;;wDACM;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0CAAa,GAAE;;yDACC;AAGjB;IADC,IAAA,wBAAM,GAAE;;wDACM;AAGf;IADC,IAAA,0BAAQ,GAAE;;yEACqB;AAGlC,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,sCAAsC,CAAC;AAYpE;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"}
|
package/package.json
CHANGED
|
@@ -4,8 +4,9 @@ import { ValidateNestedType } from "../../decorators/validate-nested-type.decora
|
|
|
4
4
|
import { CloudResourceContext } from "../contexts";
|
|
5
5
|
|
|
6
6
|
export class GameplayWaitingForUserPayload {
|
|
7
|
+
@IsOptional()
|
|
7
8
|
@IsUUID()
|
|
8
|
-
ludeoResourceId
|
|
9
|
+
ludeoResourceId?: string;
|
|
9
10
|
|
|
10
11
|
@IsUUID()
|
|
11
12
|
@IsOptional()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsString, IsUUID } from "class-validator";
|
|
1
|
+
import { IsOptional, IsString, IsUUID } from "class-validator";
|
|
2
2
|
|
|
3
3
|
import { CloudSessionContext } from "../contexts";
|
|
4
4
|
import { LudeoEvent } from "../../infra/ludeo-event";
|
|
@@ -17,11 +17,13 @@ export class SwapCloudUserGameplayRequestFailedPayload {
|
|
|
17
17
|
@IsString()
|
|
18
18
|
errorMessage: string;
|
|
19
19
|
|
|
20
|
+
@IsOptional()
|
|
20
21
|
@IsUUID()
|
|
21
|
-
ludeoResourceId
|
|
22
|
+
ludeoResourceId?: string;
|
|
22
23
|
|
|
24
|
+
@IsOptional()
|
|
23
25
|
@IsUUID()
|
|
24
|
-
cloudSessionId
|
|
26
|
+
cloudSessionId?: string;
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
export class SwapCloudUserGameplayRequestFailed extends LudeoEvent {
|
|
@@ -15,11 +15,13 @@ export class SwapCloudUserGameplayRequestPayload {
|
|
|
15
15
|
@IsUUID()
|
|
16
16
|
gameplayId: string;
|
|
17
17
|
|
|
18
|
+
@IsOptional()
|
|
18
19
|
@IsUUID()
|
|
19
|
-
ludeoResourceId
|
|
20
|
+
ludeoResourceId?: string;
|
|
20
21
|
|
|
22
|
+
@IsOptional()
|
|
21
23
|
@IsUUID()
|
|
22
|
-
cloudSessionId
|
|
24
|
+
cloudSessionId?: string;
|
|
23
25
|
|
|
24
26
|
@IsString()
|
|
25
27
|
actualUserSessionToken: string;
|
|
@@ -5,8 +5,9 @@ import { CloudResourceContext } from "../contexts";
|
|
|
5
5
|
import { IsUUIDOrEmpty } from "../../decorators/is-uuid-or-empty.decorator";
|
|
6
6
|
|
|
7
7
|
export class SwapToDefaultUserCompletedPayload {
|
|
8
|
+
@IsOptional()
|
|
8
9
|
@IsUUID()
|
|
9
|
-
ludeoResourceId
|
|
10
|
+
ludeoResourceId?: string;
|
|
10
11
|
|
|
11
12
|
@IsUUID()
|
|
12
13
|
connectionId: string;
|
|
@@ -5,8 +5,9 @@ import { ValidateNestedType } from "../../decorators/validate-nested-type.decora
|
|
|
5
5
|
import { CloudResourceContext } from "../contexts";
|
|
6
6
|
|
|
7
7
|
export class SwapToDefaultUserRequestFailedPayload {
|
|
8
|
+
@IsOptional()
|
|
8
9
|
@IsUUID()
|
|
9
|
-
ludeoResourceId
|
|
10
|
+
ludeoResourceId?: string;
|
|
10
11
|
|
|
11
12
|
@IsOptional()
|
|
12
13
|
@IsUUID()
|
|
@@ -5,8 +5,9 @@ import { CloudResourceContext } from "../contexts";
|
|
|
5
5
|
import { IsUUIDOrEmpty } from "../../decorators/is-uuid-or-empty.decorator";
|
|
6
6
|
|
|
7
7
|
export class SwapToDefaultUserPayload {
|
|
8
|
+
@IsOptional()
|
|
8
9
|
@IsUUID()
|
|
9
|
-
ludeoResourceId
|
|
10
|
+
ludeoResourceId?: string;
|
|
10
11
|
|
|
11
12
|
@IsUUID()
|
|
12
13
|
connectionId: string;
|