import Store from "electron-store" const schema = { additionalProperties: false, windowConfig: { type: "object", properties: { width: {type: "number"}, height: {type: "number"}, x: {type: "number"}, y: {type: "number"}, isMaximized: {type: "boolean"}, isFullScreen: {type: "boolean"}, }, additionalProperties: false, }, keymap: { "enum": ["default", "emacs"] }, } export default new Store({schema})