feat: optimized lowcode types

This commit is contained in:
knight.chen 2023-03-31 09:46:54 +08:00 committed by 刘菊萍(絮黎)
parent 579480c56c
commit 122f0b30a0
2 changed files with 6 additions and 4 deletions

View File

@ -133,11 +133,13 @@ export interface IPublicTypeLiveTextEditingConfig {
onSaveContent?: (content: string, prop: any) => any; onSaveContent?: (content: string, prop: any) => any;
} }
export type ConfigureSupportEvent = string | { export type ConfigureSupportEvent = string | ConfigureSupportEventConfig;
export interface ConfigureSupportEventConfig {
name: string; name: string;
propType?: IPublicTypePropType; propType?: IPublicTypePropType;
description?: string; description?: string;
}; }
/** /**
* *

View File

@ -1,3 +1,3 @@
import { IPublicTypeJSExpression, IPublicTypeNodeSchema, IPublicTypeDOMText } from './'; import { IPublicTypeJSExpression, IPublicTypeNodeSchema, IPublicTypeDOMText, IPublicTypeI18nData } from './';
export type IPublicTypeNodeData = IPublicTypeNodeSchema | IPublicTypeJSExpression | IPublicTypeDOMText; export type IPublicTypeNodeData = IPublicTypeNodeSchema | IPublicTypeJSExpression | IPublicTypeDOMText | IPublicTypeI18nData;