Skip to content

Commit

Permalink
Merge pull request #149 from MeasureAuthoringTool/MAT-7390
Browse files Browse the repository at this point in the history
MAT-7390 update editor sync method return type
  • Loading branch information
adongare authored Jul 1, 2024
2 parents ccde31d + cc513a7 commit 97aa7f1
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/types/madie-madie-editor.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ValidationResult>;
export const synchingEditorCqlContent: (
Expand All @@ -74,7 +81,7 @@ declare module "@madie/madie-editor" {
usingName: string,
usingVersion: string,
triggeredFrom: string
) => any;
) => Promise<UpdatedCqlObject>;

export function isUsingEmpty(editorVal: string): boolean;

Expand Down

0 comments on commit 97aa7f1

Please sign in to comment.