@ludeo/cloud-common 1.2.185 → 1.2.186-beta-yahil-1
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.
|
@@ -4,14 +4,11 @@ export declare enum MachineMode {
|
|
|
4
4
|
}
|
|
5
5
|
export declare class ProtonGameCreationPayload {
|
|
6
6
|
exeRelativePath: string;
|
|
7
|
-
machineResourceId: string;
|
|
8
|
-
gameResourceId?: string;
|
|
9
7
|
additionalEnvironmentVariables?: Record<string, string>;
|
|
8
|
+
additionalLaunchArgs?: string[];
|
|
10
9
|
}
|
|
11
10
|
export declare class AndroidGameCreationPayload {
|
|
12
11
|
packageId: string;
|
|
13
|
-
machineResourceId: string;
|
|
14
|
-
gameResourceId?: string;
|
|
15
12
|
additionalEnvironmentVariables?: Record<string, string>;
|
|
16
13
|
}
|
|
17
14
|
export type GameCreationPayload = ProtonGameCreationPayload | AndroidGameCreationPayload;
|
|
@@ -23,20 +23,16 @@ __decorate([
|
|
|
23
23
|
(0, class_validator_1.IsString)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
25
|
], ProtonGameCreationPayload.prototype, "exeRelativePath", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsUUID)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], ProtonGameCreationPayload.prototype, "machineResourceId", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
(0, class_validator_1.IsUUID)(),
|
|
33
|
-
__metadata("design:type", String)
|
|
34
|
-
], ProtonGameCreationPayload.prototype, "gameResourceId", void 0);
|
|
35
26
|
__decorate([
|
|
36
27
|
(0, class_validator_1.IsOptional)(),
|
|
37
28
|
(0, class_validator_1.IsObject)(),
|
|
38
29
|
__metadata("design:type", Object)
|
|
39
30
|
], ProtonGameCreationPayload.prototype, "additionalEnvironmentVariables", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsOptional)(),
|
|
33
|
+
(0, class_validator_1.IsArray)(),
|
|
34
|
+
__metadata("design:type", Array)
|
|
35
|
+
], ProtonGameCreationPayload.prototype, "additionalLaunchArgs", void 0);
|
|
40
36
|
class AndroidGameCreationPayload {
|
|
41
37
|
}
|
|
42
38
|
exports.AndroidGameCreationPayload = AndroidGameCreationPayload;
|
|
@@ -44,15 +40,6 @@ __decorate([
|
|
|
44
40
|
(0, class_validator_1.IsString)(),
|
|
45
41
|
__metadata("design:type", String)
|
|
46
42
|
], AndroidGameCreationPayload.prototype, "packageId", void 0);
|
|
47
|
-
__decorate([
|
|
48
|
-
(0, class_validator_1.IsUUID)(),
|
|
49
|
-
__metadata("design:type", String)
|
|
50
|
-
], AndroidGameCreationPayload.prototype, "machineResourceId", void 0);
|
|
51
|
-
__decorate([
|
|
52
|
-
(0, class_validator_1.IsUUID)(),
|
|
53
|
-
(0, class_validator_1.IsOptional)(),
|
|
54
|
-
__metadata("design:type", String)
|
|
55
|
-
], AndroidGameCreationPayload.prototype, "gameResourceId", void 0);
|
|
56
43
|
__decorate([
|
|
57
44
|
(0, class_validator_1.IsOptional)(),
|
|
58
45
|
(0, class_validator_1.IsObject)(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/types.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/types.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkF;AAElF,IAAY,WAGX;AAHD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;AACrB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,MAAa,yBAAyB;CAWrC;AAXD,8DAWC;AATC;IADC,IAAA,0BAAQ,GAAE;;kEACa;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iFAC6C;AAIxD;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;uEACsB;AAGlC,MAAa,0BAA0B;CAOtC;AAPD,gEAOC;AALC;IADC,IAAA,0BAAQ,GAAE;;6DACO;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kFAC6C;AAM1D,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,sCAAe,CAAA;AACjB,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAED,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,sEAA+C,CAAA;IAC/C,oEAA6C,CAAA;IAC7C,oDAA6B,CAAA;AAC/B,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AAED,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,iDAA6B,CAAA;IAC7B,iDAA6B,CAAA;IAC7B,qDAAiC,CAAA;IACjC,iDAA6B,CAAA;AAC/B,CAAC,EALW,gBAAgB,gCAAhB,gBAAgB,QAK3B;AAED,IAAY,YAGX;AAHD,WAAY,YAAY;IACtB,yCAAyB,CAAA;IACzB,6CAA6B,CAAA;AAC/B,CAAC,EAHW,YAAY,4BAAZ,YAAY,QAGvB;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,8CAA2B,CAAA;AAC7B,CAAC,EAHW,eAAe,+BAAf,eAAe,QAG1B"}
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IsString, IsUUID, IsOptional, IsObject } from 'class-validator';
|
|
1
|
+
import { IsString, IsUUID, IsOptional, IsObject, IsArray } from 'class-validator';
|
|
2
2
|
|
|
3
3
|
export enum MachineMode {
|
|
4
4
|
PROTON = 'proton',
|
|
@@ -9,29 +9,19 @@ export class ProtonGameCreationPayload {
|
|
|
9
9
|
@IsString()
|
|
10
10
|
exeRelativePath: string;
|
|
11
11
|
|
|
12
|
-
@IsUUID()
|
|
13
|
-
machineResourceId: string;
|
|
14
|
-
|
|
15
|
-
@IsOptional()
|
|
16
|
-
@IsUUID()
|
|
17
|
-
gameResourceId?: string;
|
|
18
|
-
|
|
19
12
|
@IsOptional()
|
|
20
13
|
@IsObject()
|
|
21
14
|
additionalEnvironmentVariables?: Record<string, string>;
|
|
15
|
+
|
|
16
|
+
@IsOptional()
|
|
17
|
+
@IsArray()
|
|
18
|
+
additionalLaunchArgs?: string[];
|
|
22
19
|
}
|
|
23
20
|
|
|
24
21
|
export class AndroidGameCreationPayload {
|
|
25
22
|
@IsString()
|
|
26
23
|
packageId: string;
|
|
27
24
|
|
|
28
|
-
@IsUUID()
|
|
29
|
-
machineResourceId: string;
|
|
30
|
-
|
|
31
|
-
@IsUUID()
|
|
32
|
-
@IsOptional()
|
|
33
|
-
gameResourceId?: string;
|
|
34
|
-
|
|
35
25
|
@IsOptional()
|
|
36
26
|
@IsObject()
|
|
37
27
|
additionalEnvironmentVariables?: Record<string, string>;
|