Improve Code-Editor in Function-Nodes

This commit is contained in:
Jan Oberhauser
2019-09-04 18:22:06 +02:00
parent 48ccb36536
commit 2b2113433f
7 changed files with 107 additions and 6 deletions

View File

@@ -296,8 +296,11 @@ export interface INodeParameters {
export type NodePropertyTypes = 'boolean' | 'collection' | 'color' | 'dateTime' | 'fixedCollection' | 'json' | 'multiOptions' | 'number' | 'options' | 'string';
export type EditorTypes = 'code';
export interface INodePropertyTypeOptions {
alwaysOpenEditWindow?: boolean; // Supported by: string
editor?: EditorTypes; // Supported by: string
loadOptionsMethod?: string; // Supported by: options
maxValue?: number; // Supported by: number
minValue?: number; // Supported by: number
@@ -307,7 +310,7 @@ export interface INodePropertyTypeOptions {
numberStepSize?: number; // Supported by: number
password?: boolean; // Supported by: string
rows?: number; // Supported by: string
[key: string]: boolean | number | string | undefined;
[key: string]: boolean | number | string | EditorTypes | undefined;
}
export interface IDisplayOptions {