feat(editor): Add SQL editor support (#5517)

This commit is contained in:
Jan Oberhauser
2023-04-25 18:18:27 +02:00
committed by GitHub
parent f9b11c73b9
commit 70aaf24784
15 changed files with 163 additions and 5 deletions

View File

@@ -1019,8 +1019,9 @@ export type NodePropertyTypes =
export type CodeAutocompleteTypes = 'function' | 'functionItem';
export type EditorType = 'code' | 'codeNodeEditor' | 'htmlEditor' | 'json';
export type EditorType = 'code' | 'codeNodeEditor' | 'htmlEditor' | 'sqlEditor' | 'json';
export type CodeNodeEditorLanguage = 'javaScript' | 'json'; //| 'python' | 'sql';
export type SQLDialect = 'mssql' | 'mysql' | 'postgres';
export interface ILoadOptions {
routing?: {
@@ -1035,6 +1036,7 @@ export interface INodePropertyTypeOptions {
codeAutocomplete?: CodeAutocompleteTypes; // Supported by: string
editor?: EditorType; // Supported by: string
editorLanguage?: CodeNodeEditorLanguage; // Supported by: string in combination with editor: codeNodeEditor
sqlDialect?: SQLDialect; // Supported by: sqlEditor
loadOptionsDependsOn?: string[]; // Supported by: options
loadOptionsMethod?: string; // Supported by: options
loadOptions?: ILoadOptions; // Supported by: options