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;