From 30438534990ab49106068ddc315d751c6dd34369 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 21 Jan 2022 20:09:04 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 2 ++ ayanova/src/views/ay-report-edit.vue | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index cbe5d782..d5b73af9 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -846,4 +846,6 @@ BUILD 8.0.0-beta.0.12 CHANGES OF NOTE - Report render timeout showed stack trace instead of proper error message due to changes at the back end, fixed - Client error log changed first column from epoch timestamp to local time instead so easier to troubleshoot with users as it's their own time and date easily readable - Changed "Scheduleable user notes" to "Service tech notes" in all stock translations +- case 4084 fixed Intl.DateTimeFormat... reference issues in my code, and also see notes on how to fix remaining regular javascript issues for each report + - TODO: 1 before this release handlebars utilities add to report edit functions https://handlebarsjs.com/api-reference/utilities.html \ No newline at end of file diff --git a/ayanova/src/views/ay-report-edit.vue b/ayanova/src/views/ay-report-edit.vue index a7f3ace9..1197b0c7 100644 --- a/ayanova/src/views/ay-report-edit.vue +++ b/ayanova/src/views/ay-report-edit.vue @@ -561,7 +561,7 @@ export default { diagnosticCodesToIgnore: [2393, 7044] //2393 hides a weird error about ayPrepareData being declared more than once which I think is more related to it being barebones in there, 7044 hides a useless prompt about ayData parameter not being strongly typed }); monaco.languages.typescript.javascriptDefaults.setCompilerOptions({ - target: monaco.languages.typescript.ScriptTarget.ES6, + target: monaco.languages.typescript.ScriptTarget.ES2020, allowNonTsExtensions: true }); monaco.languages.typescript.javascriptDefaults.addExtraLib( @@ -572,6 +572,7 @@ export default { "export declare global function ayGetFromAPI(route:string,token?:string): promise;", "export declare global function ayPostToAPI(route:string,data?:object,token?:string): promise;", "export declare global function ayGetTranslations(keys:Array): promise;", + "export declare global declare namespace AYMETA {export const ayClientMetaData; }", "export declare global declare namespace Handlebars {export function registerHelper(name: string, fn: HelperDelegate): void; export function registerHelper(name: HelperDeclareSpec): void;}" ].join("\n"), "filename/facts.d.ts"