Make it possible to define dependencies for loadOptions

This commit is contained in:
Jan Oberhauser
2020-01-04 22:28:09 -06:00
parent f4acd47f80
commit bf4c8bc3a2
5 changed files with 42 additions and 2 deletions

View File

@@ -332,6 +332,7 @@ export type EditorTypes = 'code';
export interface INodePropertyTypeOptions {
alwaysOpenEditWindow?: boolean; // Supported by: string
editor?: EditorTypes; // Supported by: string
loadOptionsDependsOn?: string[]; // Supported by: options
loadOptionsMethod?: string; // Supported by: options
maxValue?: number; // Supported by: number
minValue?: number; // Supported by: number
@@ -341,7 +342,7 @@ export interface INodePropertyTypeOptions {
numberStepSize?: number; // Supported by: number
password?: boolean; // Supported by: string
rows?: number; // Supported by: string
[key: string]: boolean | number | string | EditorTypes | undefined;
[key: string]: boolean | number | string | EditorTypes | undefined | string[];
}
export interface IDisplayOptions {