mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-07 14:18:21 +00:00
49 lines
725 B
TypeScript
49 lines
725 B
TypeScript
|
|
export interface EditorConfig {
|
|
|
|
};
|
|
|
|
export interface NpmConfig {
|
|
version: string,
|
|
package: string,
|
|
main?: string,
|
|
exportName?: string,
|
|
subName?: string,
|
|
destructuring?: boolean
|
|
};
|
|
|
|
export interface SkeletonConfig {
|
|
config: NpmConfig,
|
|
props?: object,
|
|
handler?: (EditorConfig) => EditorConfig
|
|
};
|
|
|
|
export interface FusionTheme {
|
|
package: string,
|
|
version: string
|
|
};
|
|
|
|
export interface ThemeConfig {
|
|
fusion?: FusionTheme
|
|
}
|
|
|
|
export interface PluginsConfig {
|
|
[key]: Array<PluginConfig>
|
|
};
|
|
|
|
export interface PluginConfig {
|
|
pluginKey: string,
|
|
type: string,
|
|
props: object,
|
|
config: NpmConfig,
|
|
pluginProps: object
|
|
};
|
|
|
|
export type HooksConfig = Array<HookConfig>;
|
|
|
|
export interface HookConfig {
|
|
|
|
};
|
|
|
|
|