@ludeo/cloud-common 1.2.234-beta-yahil-4 → 1.2.234-beta-yahil-6
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/provisioner/supported-sites.d.ts +0 -1
- package/dist/v4/events/provisioner/supported-sites.js +0 -6
- package/dist/v4/events/provisioner/supported-sites.js.map +1 -1
- package/dist/v4/types/cloud/cloud-configuration-settings.d.ts +2 -2
- package/dist/v4/types/cloud/cloud-configuration-settings.js +4 -4
- package/dist/v4/types/cloud/cloud-configuration-settings.js.map +1 -1
- package/dist/v4/types/site-controller/create-machine.dto.d.ts +1 -1
- package/dist/v4/types/site-controller/create-machine.dto.js +1 -1
- package/dist/v4/types/site-controller/create-machine.dto.js.map +1 -1
- package/package.json +1 -1
- package/src/v4/events/provisioner/supported-sites.ts +0 -4
- package/src/v4/types/cloud/cloud-configuration-settings.ts +5 -5
- package/src/v4/types/site-controller/create-machine.dto.ts +1 -1
|
@@ -46,12 +46,6 @@ __decorate([
|
|
|
46
46
|
(0, class_validator_1.IsString)({ each: true }),
|
|
47
47
|
__metadata("design:type", Array)
|
|
48
48
|
], SupportedSiteRegionData.prototype, "machineClasses", void 0);
|
|
49
|
-
__decorate([
|
|
50
|
-
(0, class_validator_1.IsOptional)(),
|
|
51
|
-
(0, class_validator_1.IsArray)(),
|
|
52
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
53
|
-
__metadata("design:type", Array)
|
|
54
|
-
], SupportedSiteRegionData.prototype, "spotMachineClasses", void 0);
|
|
55
49
|
class SupportedSitesPayload {
|
|
56
50
|
}
|
|
57
51
|
exports.SupportedSitesPayload = SupportedSitesPayload;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supported-sites.js","sourceRoot":"","sources":["../../../../src/v4/events/provisioner/supported-sites.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA0E;AAE1E,MAAa,uBAAuB;
|
|
1
|
+
{"version":3,"file":"supported-sites.js","sourceRoot":"","sources":["../../../../src/v4/events/provisioner/supported-sites.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAA4C;AAC5C,oDAAyD;AACzD,qDAA0E;AAE1E,MAAa,uBAAuB;CAwBnC;AAxBD,0DAwBC;AAtBC;IADC,IAAA,0BAAQ,GAAE;;mDACA;AAGX;IADC,IAAA,0BAAQ,GAAE;;yDACM;AAGjB;IADC,IAAA,0BAAQ,GAAE;;0DACO;AAGlB;IADC,IAAA,0BAAQ,GAAE;;qDACE;AAGb;IADC,IAAA,0BAAQ,GAAE;;wDACK;AAGhB;IADC,IAAA,0BAAQ,GAAE;;uDACI;AAKf;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;+DACC;AAI5B,MAAa,qBAAqB;CAGjC;AAHD,sDAGC;AADC;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,uBAAuB,CAAC;;oDACH;AAGjD,MAAa,cAAe,SAAQ,kBAAU;IAG5C,YAAY,OAA8B;QACxC,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC;QACjC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;;AANH,wCAUC;AATiB,yBAAU,GAAG,6BAA6B,CAAC;AAQ3D;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,qBAAqB,CAAC;8BACvC,qBAAqB;+CAAC"}
|
|
@@ -7,7 +7,7 @@ export declare enum CloudSettingsKeys {
|
|
|
7
7
|
ADDITIONAL_LAUNCH_ARGS = "additionalLaunchArgs",
|
|
8
8
|
ADDITIONAL_ENVIRONMENT_VARIABLES = "additionalEnvironmentVariables",
|
|
9
9
|
MACHINE_CLASS_PRIORITY = "machineClassPriority",
|
|
10
|
-
|
|
10
|
+
SPOT_ROLLOUT = "spotRollout"
|
|
11
11
|
}
|
|
12
12
|
export interface CloudSettingsTypeMap {
|
|
13
13
|
[CloudSettingsKeys.GAME_LOADING_TIME]: number;
|
|
@@ -17,7 +17,7 @@ export interface CloudSettingsTypeMap {
|
|
|
17
17
|
[CloudSettingsKeys.ADDITIONAL_LAUNCH_ARGS]: string[];
|
|
18
18
|
[CloudSettingsKeys.ADDITIONAL_ENVIRONMENT_VARIABLES]: Record<string, string>;
|
|
19
19
|
[CloudSettingsKeys.MACHINE_CLASS_PRIORITY]: LudeoCastV2MachineClass[];
|
|
20
|
-
[CloudSettingsKeys.
|
|
20
|
+
[CloudSettingsKeys.SPOT_ROLLOUT]: number;
|
|
21
21
|
}
|
|
22
22
|
export declare const MACHINE_CLASS_PRIORITY_DEFAULT_VALUES: LudeoCastV2MachineClass[];
|
|
23
23
|
export type CloudSettings = {
|
|
@@ -11,7 +11,7 @@ var CloudSettingsKeys;
|
|
|
11
11
|
CloudSettingsKeys["ADDITIONAL_LAUNCH_ARGS"] = "additionalLaunchArgs";
|
|
12
12
|
CloudSettingsKeys["ADDITIONAL_ENVIRONMENT_VARIABLES"] = "additionalEnvironmentVariables";
|
|
13
13
|
CloudSettingsKeys["MACHINE_CLASS_PRIORITY"] = "machineClassPriority";
|
|
14
|
-
CloudSettingsKeys["
|
|
14
|
+
CloudSettingsKeys["SPOT_ROLLOUT"] = "spotRollout";
|
|
15
15
|
})(CloudSettingsKeys || (exports.CloudSettingsKeys = CloudSettingsKeys = {}));
|
|
16
16
|
exports.MACHINE_CLASS_PRIORITY_DEFAULT_VALUES = [
|
|
17
17
|
ludeocast_v2_1.LudeoCastV2MachineClass.N1_STANDARD_8,
|
|
@@ -71,10 +71,10 @@ exports.CLOUD_SETTINGS_DEFAULT_VALUES = {
|
|
|
71
71
|
displayKey: "Machine Class Priority",
|
|
72
72
|
defaultValue: exports.MACHINE_CLASS_PRIORITY_DEFAULT_VALUES
|
|
73
73
|
},
|
|
74
|
-
[CloudSettingsKeys.
|
|
74
|
+
[CloudSettingsKeys.SPOT_ROLLOUT]: {
|
|
75
75
|
type: "number",
|
|
76
|
-
key: CloudSettingsKeys.
|
|
77
|
-
displayKey: "Spot
|
|
76
|
+
key: CloudSettingsKeys.SPOT_ROLLOUT,
|
|
77
|
+
displayKey: "Spot Rollout (%)",
|
|
78
78
|
defaultValue: 0,
|
|
79
79
|
},
|
|
80
80
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cloud-configuration-settings.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/cloud-configuration-settings.ts"],"names":[],"mappings":";;;AAAA,iDAAyD;AAEzD,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,0DAAqC,CAAA;IACrC,iEAA4C,CAAA;IAC5C,uEAAkD,CAAA;IAClD,+DAA0C,CAAA;IAC1C,oEAA+C,CAAA;IAC/C,wFAAmE,CAAA;IACnE,oEAA+C,CAAA;IAC/C,
|
|
1
|
+
{"version":3,"file":"cloud-configuration-settings.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/cloud-configuration-settings.ts"],"names":[],"mappings":";;;AAAA,iDAAyD;AAEzD,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,0DAAqC,CAAA;IACrC,iEAA4C,CAAA;IAC5C,uEAAkD,CAAA;IAClD,+DAA0C,CAAA;IAC1C,oEAA+C,CAAA;IAC/C,wFAAmE,CAAA;IACnE,oEAA+C,CAAA;IAC/C,iDAA4B,CAAA;AAC9B,CAAC,EATW,iBAAiB,iCAAjB,iBAAiB,QAS5B;AAeY,QAAA,qCAAqC,GAAG;IACnD,sCAAuB,CAAC,aAAa;IACrC,sCAAuB,CAAC,YAAY;IACpC,sCAAuB,CAAC,cAAc;IACtC,sCAAuB,CAAC,YAAY;IACpC,sCAAuB,CAAC,cAAc;IACtC,sCAAuB,CAAC,UAAU;IAClC,sCAAuB,CAAC,UAAU;IAClC,sCAAuB,CAAC,cAAc;CAC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C,YAAY,EAAE,EAAE;KACjB;IACD,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,EAAE;QAC1C,IAAI,EAAE,OAAO;QACb,GAAG,EAAE,iBAAiB,CAAC,sBAAsB;QAC7C,UAAU,EAAE,wBAAwB;QACpC,YAAY,EAAE,6CAAqC;KACpD;IACD,CAAC,iBAAiB,CAAC,YAAY,CAAC,EAAE;QAChC,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,iBAAiB,CAAC,YAAY;QACnC,UAAU,EAAE,kBAAkB;QAC9B,YAAY,EAAE,CAAC;KAChB;CACF,CAAC"}
|
|
@@ -35,7 +35,7 @@ __decorate([
|
|
|
35
35
|
(0, class_validator_1.IsOptional)(),
|
|
36
36
|
(0, class_validator_1.IsBoolean)(),
|
|
37
37
|
__metadata("design:type", Boolean)
|
|
38
|
-
], CreateMachineRequestDto.prototype, "
|
|
38
|
+
], CreateMachineRequestDto.prototype, "isSpot", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, class_validator_1.IsOptional)(),
|
|
41
41
|
__metadata("design:type", Object)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-machine.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/create-machine.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAE1E,mCAAsC;AAEtC,MAAa,uBAAuB;CAmBnC;AAnBD,0DAmBC;AAjBC;IADC,IAAA,0BAAQ,GAAE;;kEACe;AAG1B;IADC,IAAA,0BAAQ,GAAE;;uDACI;AAGf;IADC,IAAA,wBAAM,EAAC,mBAAW,CAAC;;4DACK;AAGzB;IADC,IAAA,0BAAQ,GAAE;;4DACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;
|
|
1
|
+
{"version":3,"file":"create-machine.dto.js","sourceRoot":"","sources":["../../../../src/v4/types/site-controller/create-machine.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA0E;AAE1E,mCAAsC;AAEtC,MAAa,uBAAuB;CAmBnC;AAnBD,0DAmBC;AAjBC;IADC,IAAA,0BAAQ,GAAE;;kEACe;AAG1B;IADC,IAAA,0BAAQ,GAAE;;uDACI;AAGf;IADC,IAAA,wBAAM,EAAC,mBAAW,CAAC;;4DACK;AAGzB;IADC,IAAA,0BAAQ,GAAE;;4DACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;uDACK;AAGjB;IADC,IAAA,4BAAU,GAAE;;yDACqB"}
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@ export enum CloudSettingsKeys {
|
|
|
8
8
|
ADDITIONAL_LAUNCH_ARGS = "additionalLaunchArgs",
|
|
9
9
|
ADDITIONAL_ENVIRONMENT_VARIABLES = "additionalEnvironmentVariables",
|
|
10
10
|
MACHINE_CLASS_PRIORITY = "machineClassPriority",
|
|
11
|
-
|
|
11
|
+
SPOT_ROLLOUT = "spotRollout",
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
// Define the mapping of setting keys to their actual value types
|
|
@@ -20,7 +20,7 @@ export interface CloudSettingsTypeMap {
|
|
|
20
20
|
[CloudSettingsKeys.ADDITIONAL_LAUNCH_ARGS]: string[];
|
|
21
21
|
[CloudSettingsKeys.ADDITIONAL_ENVIRONMENT_VARIABLES]: Record<string, string>;
|
|
22
22
|
[CloudSettingsKeys.MACHINE_CLASS_PRIORITY]: LudeoCastV2MachineClass[];
|
|
23
|
-
[CloudSettingsKeys.
|
|
23
|
+
[CloudSettingsKeys.SPOT_ROLLOUT]: number;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
|
|
@@ -130,10 +130,10 @@ export const CLOUD_SETTINGS_DEFAULT_VALUES: Record<
|
|
|
130
130
|
displayKey: "Machine Class Priority",
|
|
131
131
|
defaultValue: MACHINE_CLASS_PRIORITY_DEFAULT_VALUES
|
|
132
132
|
},
|
|
133
|
-
[CloudSettingsKeys.
|
|
133
|
+
[CloudSettingsKeys.SPOT_ROLLOUT]: {
|
|
134
134
|
type: "number",
|
|
135
|
-
key: CloudSettingsKeys.
|
|
136
|
-
displayKey: "Spot
|
|
135
|
+
key: CloudSettingsKeys.SPOT_ROLLOUT,
|
|
136
|
+
displayKey: "Spot Rollout (%)",
|
|
137
137
|
defaultValue: 0,
|
|
138
138
|
},
|
|
139
139
|
};
|