diff --git a/web/.gitignore b/web/.gitignore index 40b878d..c2658d7 100644 --- a/web/.gitignore +++ b/web/.gitignore @@ -1 +1 @@ -node_modules/ \ No newline at end of file +node_modules/ diff --git a/web/main.js b/web/main.js index 2e9d7a1..3a995ec 100644 --- a/web/main.js +++ b/web/main.js @@ -85,7 +85,9 @@ async function get_areas() { /** * Get all services in HomeAssistant. - * @returns {Promise<[string, { name: string; description: string; fields: Record }][]>} [id, data] + * @returns {Promise<[string, { name: string; description: string; fields: + * Record }][]>} [id, data] */ async function get_services() { try { @@ -132,7 +134,9 @@ async function get_schema() { * @param {Record} entities * @param {Record} devices * @param {Record} areas - * @param {[string, { name: string; description: string; fields: Record }][]} services + * @param {[string, { name: string; description: string; fields: + * Record }][]} services * @param {{}} schema * @returns {Promise<{}>} */ @@ -952,7 +956,8 @@ require(['vs/editor/editor.main'], async () => { } const templates = []; /** - * @param {import('json-ast-comments').JsonAst | import('json-ast-comments').JsonProperty} node + * @param {import('json-ast-comments').JsonAst | + * import('json-ast-comments').JsonProperty} node * @param {string[]} path */ function recurse(node, path) { @@ -1047,7 +1052,8 @@ require(['vs/editor/editor.main'], async () => { const ast = json.parse(model.getValue()); const data = JSON.parse(model.getValue()); /** - * @param {import('json-ast-comments').JsonAst | import('json-ast-comments').JsonProperty} node + * @param {import('json-ast-comments').JsonAst | + * import('json-ast-comments').JsonProperty} node * @param {string[]} path */ function recurse(node, path) { diff --git a/web/package.json b/web/package.json index dd5300c..575a5cf 100644 --- a/web/package.json +++ b/web/package.json @@ -16,4 +16,4 @@ "monaco-editor": "0.45.0", "serve": "^14.2.1" } -} \ No newline at end of file +}