@ludeo/cloud-common 1.2.169-beta-yahil-2 → 1.2.169-beta-yahil-3

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.
@@ -1,4 +1,3 @@
1
1
  export * as Events from "./events";
2
2
  export * as Types from "./types";
3
3
  export * as Contexts from "./contexts";
4
- export * as Consts from "./consts";
package/dist/v4/index.js CHANGED
@@ -1,8 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Consts = exports.Contexts = exports.Types = exports.Events = void 0;
3
+ exports.Contexts = exports.Types = exports.Events = void 0;
4
4
  exports.Events = require("./events");
5
5
  exports.Types = require("./types");
6
6
  exports.Contexts = require("./contexts");
7
- exports.Consts = require("./consts");
8
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v4/index.ts"],"names":[],"mappings":";;;AAAA,qCAAmC;AACnC,mCAAiC;AACjC,yCAAuC;AACvC,qCAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v4/index.ts"],"names":[],"mappings":";;;AAAA,qCAAmC;AACnC,mCAAiC;AACjC,yCAAuC"}
@@ -0,0 +1,24 @@
1
+ export declare enum CloudSettingsKeys {
2
+ GAME_LOADING_TIME = "gameLoadingTime",
3
+ FIRST_TIME_LUDEO_LOAD = "firstTimeLudeoLoad",
4
+ NON_PRELOADED_LUDEO_LOAD = "nonPreloadedLudeoLoad",
5
+ POST_GAME_LOAD_DELAY = "postGameLoadDelay",
6
+ ADDITIONAL_LAUNCH_ARGS = "additionalLaunchArgs",
7
+ ADDITIONAL_ENVIRONMENT_VARIABLES = "additionalEnvironmentVariables"
8
+ }
9
+ export declare const CLOUD_SETTINGS_DEFAULT_VALUES: ({
10
+ type: string;
11
+ key: CloudSettingsKeys;
12
+ displayKey: string;
13
+ defaultValue: number;
14
+ } | {
15
+ type: string;
16
+ key: CloudSettingsKeys;
17
+ displayKey: string;
18
+ defaultValue: any[];
19
+ } | {
20
+ type: string;
21
+ key: CloudSettingsKeys;
22
+ displayKey: string;
23
+ defaultValue: {};
24
+ })[];
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CLOUD_SETTINGS_DEFAULT_VALUES = exports.CloudSettingsKeys = void 0;
4
+ var CloudSettingsKeys;
5
+ (function (CloudSettingsKeys) {
6
+ CloudSettingsKeys["GAME_LOADING_TIME"] = "gameLoadingTime";
7
+ CloudSettingsKeys["FIRST_TIME_LUDEO_LOAD"] = "firstTimeLudeoLoad";
8
+ CloudSettingsKeys["NON_PRELOADED_LUDEO_LOAD"] = "nonPreloadedLudeoLoad";
9
+ CloudSettingsKeys["POST_GAME_LOAD_DELAY"] = "postGameLoadDelay";
10
+ CloudSettingsKeys["ADDITIONAL_LAUNCH_ARGS"] = "additionalLaunchArgs";
11
+ CloudSettingsKeys["ADDITIONAL_ENVIRONMENT_VARIABLES"] = "additionalEnvironmentVariables";
12
+ })(CloudSettingsKeys || (exports.CloudSettingsKeys = CloudSettingsKeys = {}));
13
+ exports.CLOUD_SETTINGS_DEFAULT_VALUES = [
14
+ {
15
+ type: "number",
16
+ key: CloudSettingsKeys.GAME_LOADING_TIME,
17
+ displayKey: "Game Loading Time (ms)",
18
+ defaultValue: 180000,
19
+ },
20
+ {
21
+ type: "number",
22
+ key: CloudSettingsKeys.FIRST_TIME_LUDEO_LOAD,
23
+ displayKey: "First Time Ludeo Load (ms)",
24
+ defaultValue: 40000,
25
+ },
26
+ {
27
+ type: "number",
28
+ key: CloudSettingsKeys.NON_PRELOADED_LUDEO_LOAD,
29
+ displayKey: "Non Preloaded Ludeo Load (ms)",
30
+ defaultValue: 40000,
31
+ },
32
+ {
33
+ type: "number",
34
+ key: CloudSettingsKeys.POST_GAME_LOAD_DELAY,
35
+ displayKey: "Post Game Load Delay (ms)",
36
+ defaultValue: 0,
37
+ },
38
+ {
39
+ type: "array",
40
+ key: CloudSettingsKeys.ADDITIONAL_LAUNCH_ARGS,
41
+ displayKey: "Additional Launch Args",
42
+ defaultValue: [],
43
+ },
44
+ {
45
+ type: "object",
46
+ key: CloudSettingsKeys.ADDITIONAL_ENVIRONMENT_VARIABLES,
47
+ displayKey: "Additional Environment Variables",
48
+ defaultValue: {},
49
+ },
50
+ ];
51
+ //# sourceMappingURL=cloud-configuration-settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloud-configuration-settings.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/cloud-configuration-settings.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IAC3B,0DAAqC,CAAA;IACrC,iEAA4C,CAAA;IAC5C,uEAAkD,CAAA;IAClD,+DAA0C,CAAA;IAC1C,oEAA+C,CAAA;IAC/C,wFAAmE,CAAA;AACrE,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAEY,QAAA,6BAA6B,GAAG;IAC3C;QACE,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,iBAAiB,CAAC,iBAAiB;QACxC,UAAU,EAAE,wBAAwB;QACpC,YAAY,EAAE,MAAM;KACrB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,iBAAiB,CAAC,qBAAqB;QAC5C,UAAU,EAAE,4BAA4B;QACxC,YAAY,EAAE,KAAK;KACpB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,iBAAiB,CAAC,wBAAwB;QAC/C,UAAU,EAAE,+BAA+B;QAC3C,YAAY,EAAE,KAAK;KACpB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,iBAAiB,CAAC,oBAAoB;QAC3C,UAAU,EAAE,2BAA2B;QACvC,YAAY,EAAE,CAAC;KAChB;IACD;QACE,IAAI,EAAE,OAAO;QACb,GAAG,EAAE,iBAAiB,CAAC,sBAAsB;QAC7C,UAAU,EAAE,wBAAwB;QACpC,YAAY,EAAE,EAAE;KACjB;IACD;QACE,IAAI,EAAE,QAAQ;QACd,GAAG,EAAE,iBAAiB,CAAC,gCAAgC;QACvD,UAAU,EAAE,kCAAkC;QAC9C,YAAY,EAAE,EAAE;KACjB;CACF,CAAC"}
@@ -10,4 +10,4 @@ export * from "./session";
10
10
  export * from "./mock";
11
11
  export * from "./machine-provider-settings";
12
12
  export * from "./ludeocast";
13
- export * from "./cloud-settings";
13
+ export * from "./cloud-configuration-settings";
@@ -26,5 +26,5 @@ __exportStar(require("./session"), exports);
26
26
  __exportStar(require("./mock"), exports);
27
27
  __exportStar(require("./machine-provider-settings"), exports);
28
28
  __exportStar(require("./ludeocast"), exports);
29
- __exportStar(require("./cloud-settings"), exports);
29
+ __exportStar(require("./cloud-configuration-settings"), exports);
30
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,uDAAqC;AACrC,wCAAsB;AACtB,2DAAyC;AACzC,qDAAmC;AACnC,sDAAoC;AACpC,6CAA2B;AAC3B,+DAA6C;AAC7C,4CAA0B;AAC1B,yCAAuB;AACvB,8DAA4C;AAC5C,8CAA4B;AAC5B,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,uDAAqC;AACrC,wCAAsB;AACtB,2DAAyC;AACzC,qDAAmC;AACnC,sDAAoC;AACpC,6CAA2B;AAC3B,+DAA6C;AAC7C,4CAA0B;AAC1B,yCAAuB;AACvB,8DAA4C;AAC5C,8CAA4B;AAC5B,iEAA+C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ludeo/cloud-common",
3
- "version": "1.2.169-beta-yahil-2",
3
+ "version": "1.2.169-beta-yahil-3",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Yahil Didi",
package/src/v4/index.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export * as Events from "./events";
2
2
  export * as Types from "./types";
3
3
  export * as Contexts from "./contexts";
4
- export * as Consts from "./consts";
@@ -0,0 +1,47 @@
1
+ export enum CloudSettingsKeys {
2
+ GAME_LOADING_TIME = "gameLoadingTime",
3
+ FIRST_TIME_LUDEO_LOAD = "firstTimeLudeoLoad",
4
+ NON_PRELOADED_LUDEO_LOAD = "nonPreloadedLudeoLoad",
5
+ POST_GAME_LOAD_DELAY = "postGameLoadDelay",
6
+ ADDITIONAL_LAUNCH_ARGS = "additionalLaunchArgs",
7
+ ADDITIONAL_ENVIRONMENT_VARIABLES = "additionalEnvironmentVariables",
8
+ }
9
+
10
+ export const CLOUD_SETTINGS_DEFAULT_VALUES = [
11
+ {
12
+ type: "number",
13
+ key: CloudSettingsKeys.GAME_LOADING_TIME,
14
+ displayKey: "Game Loading Time (ms)",
15
+ defaultValue: 180000,
16
+ },
17
+ {
18
+ type: "number",
19
+ key: CloudSettingsKeys.FIRST_TIME_LUDEO_LOAD,
20
+ displayKey: "First Time Ludeo Load (ms)",
21
+ defaultValue: 40000,
22
+ },
23
+ {
24
+ type: "number",
25
+ key: CloudSettingsKeys.NON_PRELOADED_LUDEO_LOAD,
26
+ displayKey: "Non Preloaded Ludeo Load (ms)",
27
+ defaultValue: 40000,
28
+ },
29
+ {
30
+ type: "number",
31
+ key: CloudSettingsKeys.POST_GAME_LOAD_DELAY,
32
+ displayKey: "Post Game Load Delay (ms)",
33
+ defaultValue: 0,
34
+ },
35
+ {
36
+ type: "array",
37
+ key: CloudSettingsKeys.ADDITIONAL_LAUNCH_ARGS,
38
+ displayKey: "Additional Launch Args",
39
+ defaultValue: [],
40
+ },
41
+ {
42
+ type: "object",
43
+ key: CloudSettingsKeys.ADDITIONAL_ENVIRONMENT_VARIABLES,
44
+ displayKey: "Additional Environment Variables",
45
+ defaultValue: {},
46
+ },
47
+ ];
@@ -10,4 +10,4 @@ export * from "./session";
10
10
  export * from "./mock";
11
11
  export * from "./machine-provider-settings";
12
12
  export * from "./ludeocast";
13
- export * from "./cloud-settings";
13
+ export * from "./cloud-configuration-settings";
@@ -1,2 +0,0 @@
1
- import { CloudSettingsState } from "../types/cloud/cloud-settings";
2
- export declare const DEFAULT_CLOUD_SETTINGS: CloudSettingsState;
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DEFAULT_CLOUD_SETTINGS = void 0;
4
- exports.DEFAULT_CLOUD_SETTINGS = {
5
- gameLoadingTime: 180000,
6
- firstTimeLudeoLoad: 40000,
7
- nonPreloadedLudeoLoad: 40000,
8
- postGameLoadDelay: 0,
9
- additionalLaunchArgs: [],
10
- additionalEnvironmentVariables: {},
11
- };
12
- //# sourceMappingURL=cloud-settings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cloud-settings.js","sourceRoot":"","sources":["../../../src/v4/consts/cloud-settings.ts"],"names":[],"mappings":";;;AAEa,QAAA,sBAAsB,GAAuB;IACxD,eAAe,EAAE,MAAM;IACvB,kBAAkB,EAAE,KAAK;IACzB,qBAAqB,EAAE,KAAK;IAC5B,iBAAiB,EAAE,CAAC;IACpB,oBAAoB,EAAE,EAAE;IACxB,8BAA8B,EAAE,EAAE;CACnC,CAAC"}
@@ -1 +0,0 @@
1
- export * from "./cloud-settings";
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./cloud-settings"), exports);
18
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/v4/consts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC"}
@@ -1,8 +0,0 @@
1
- export interface CloudSettingsState {
2
- gameLoadingTime?: number;
3
- additionalLaunchArgs?: Array<string>;
4
- additionalEnvironmentVariables?: Record<string, string>;
5
- firstTimeLudeoLoad?: number;
6
- nonPreloadedLudeoLoad?: number;
7
- postGameLoadDelay?: number;
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=cloud-settings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cloud-settings.js","sourceRoot":"","sources":["../../../../src/v4/types/cloud/cloud-settings.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- import { CloudSettingsState } from "../types/cloud/cloud-settings";
2
-
3
- export const DEFAULT_CLOUD_SETTINGS: CloudSettingsState = {
4
- gameLoadingTime: 180000,
5
- firstTimeLudeoLoad: 40000,
6
- nonPreloadedLudeoLoad: 40000,
7
- postGameLoadDelay: 0,
8
- additionalLaunchArgs: [],
9
- additionalEnvironmentVariables: {},
10
- };
@@ -1 +0,0 @@
1
- export * from "./cloud-settings";
@@ -1,8 +0,0 @@
1
- export interface CloudSettingsState {
2
- gameLoadingTime?: number;
3
- additionalLaunchArgs?: Array<string>;
4
- additionalEnvironmentVariables?: Record<string, string>;
5
- firstTimeLudeoLoad?: number;
6
- nonPreloadedLudeoLoad?: number;
7
- postGameLoadDelay?: number;
8
- }