Skip to content

Commit a0d3f44

Browse files
authored
refactor!: clean ESQLMessage interface (#83)
## Summary `ESQLMessage` interface should not be part of this package as it belongs to the validation domain. BREAKING CHANGE: `ESQLMessage` interface is not exported any more.
1 parent 8fe1f8a commit a0d3f44

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

src/types.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -702,16 +702,6 @@ export interface ESQLIdentifier extends ESQLAstBaseItem {
702702
type: 'identifier';
703703
}
704704

705-
export interface ESQLMessage {
706-
type: 'error' | 'warning';
707-
text: string;
708-
location: ESQLLocation;
709-
code: string;
710-
errorType?: 'semantic';
711-
requiresCallback?: 'getColumnsFor' | 'getSources' | 'getPolicies' | 'getJoinIndices' | string;
712-
underlinedWarning?: boolean;
713-
}
714-
715705
export interface EditorError {
716706
startLineNumber: number;
717707
endLineNumber: number;

0 commit comments

Comments
 (0)