Variable: CONSTANTS
const CONSTANTS: {
DEFAULTS: {
WINDOW: {
height: 800;
minHeight: 600;
minWidth: 800;
width: 1200;
};
};
FILES: {
WINDOW_STATE: "window-state.json";
};
PATHS: {
HTML: {
INDEX: "index.html";
};
ICONS: {
FAVICON: "icons/favicon.ico";
};
PRELOAD: "preload.js";
};
WEB_PREFERENCES: {
contextIsolation: true;
nodeIntegration: false;
sandbox: true;
};
};
Defined in: windowStateUtils.ts:55
Type Declarationβ
DEFAULTSβ
readonly DEFAULTS: {
WINDOW: {
height: 800;
minHeight: 600;
minWidth: 800;
width: 1200;
};
};
DEFAULTS.WINDOWβ
readonly WINDOW: {
height: 800;
minHeight: 600;
minWidth: 800;
width: 1200;
};
DEFAULTS.WINDOW.heightβ
readonly height: 800 = 800;
DEFAULTS.WINDOW.minHeightβ
readonly minHeight: 600 = 600;
DEFAULTS.WINDOW.minWidthβ
readonly minWidth: 800 = 800;
DEFAULTS.WINDOW.widthβ
readonly width: 1200 = 1200;
FILESβ
readonly FILES: {
WINDOW_STATE: "window-state.json";
};
FILES.WINDOW_STATEβ
readonly WINDOW_STATE: "window-state.json" = "window-state.json";
PATHSβ
readonly PATHS: {
HTML: {
INDEX: "index.html";
};
ICONS: {
FAVICON: "icons/favicon.ico";
};
PRELOAD: "preload.js";
};
PATHS.HTMLβ
readonly HTML: {
INDEX: "index.html";
};
PATHS.HTML.INDEXβ
readonly INDEX: "index.html" = "index.html";
PATHS.ICONSβ
readonly ICONS: {
FAVICON: "icons/favicon.ico";
};
PATHS.ICONS.FAVICONβ
readonly FAVICON: "icons/favicon.ico" = "icons/favicon.ico";
PATHS.PRELOADβ
readonly PRELOAD: "preload.js" = "preload.js";
WEB_PREFERENCESβ
readonly WEB_PREFERENCES: {
contextIsolation: true;
nodeIntegration: false;
sandbox: true;
};
WEB_PREFERENCES.contextIsolationβ
readonly contextIsolation: true = true;
WEB_PREFERENCES.nodeIntegrationβ
readonly nodeIntegration: false = false;
WEB_PREFERENCES.sandboxβ
readonly sandbox: true = true;