From cc513a7ee38e32d98a5b0be3e2037197ec41e9e3 Mon Sep 17 00:00:00 2001 From: adongare Date: Mon, 1 Jul 2024 11:31:55 -0400 Subject: [PATCH] MAT-7390 update editor sync method return type --- src/types/madie-madie-editor.d.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/types/madie-madie-editor.d.ts b/src/types/madie-madie-editor.d.ts index 5671195..654bae9 100644 --- a/src/types/madie-madie-editor.d.ts +++ b/src/types/madie-madie-editor.d.ts @@ -63,6 +63,13 @@ declare module "@madie/madie-editor" { valueSets?: any; }; + export interface UpdatedCqlObject { + cql: string; + isLibraryStatementChanged?: boolean; + isUsingStatementChanged?: boolean; + isValueSetChanged?: boolean; + } + export const parseContent: (content: string) => CqlError[]; export const validateContent: (content: string) => Promise; export const synchingEditorCqlContent: ( @@ -74,7 +81,7 @@ declare module "@madie/madie-editor" { usingName: string, usingVersion: string, triggeredFrom: string - ) => any; + ) => Promise; export function isUsingEmpty(editorVal: string): boolean;