diff --git a/packages/engine/src/modules/classes.ts b/packages/engine/src/modules/classes.ts index 3b7627deb..950c31989 100644 --- a/packages/engine/src/modules/classes.ts +++ b/packages/engine/src/modules/classes.ts @@ -11,6 +11,7 @@ export { Prop, SimulatorHost, SkeletonItem, + SettingField, } from '@alilc/lowcode-shell'; export { Node as InnerNode } from '@alilc/lowcode-designer'; diff --git a/packages/engine/src/modules/symbols.ts b/packages/engine/src/modules/symbols.ts index 55c70e5dc..cb46b1f36 100644 --- a/packages/engine/src/modules/symbols.ts +++ b/packages/engine/src/modules/symbols.ts @@ -34,4 +34,5 @@ export default { simulatorHostSymbol, skeletonItemSymbol, simulatorRenderSymbol, + settingFieldSymbol, }; diff --git a/packages/types/src/shell/model/window.ts b/packages/types/src/shell/model/window.ts index 95ab738bc..8cb2380fb 100644 --- a/packages/types/src/shell/model/window.ts +++ b/packages/types/src/shell/model/window.ts @@ -1,5 +1,5 @@ import { ReactElement } from 'react'; -import { IPublicTypeDisposable, IPublicTypeNodeSchema } from '../type'; +import { IPublicTypeDisposable, IPublicTypeRootSchema } from '../type'; import { IPublicModelResource } from './resource'; import { IPublicModelEditorView } from './editor-view'; @@ -32,7 +32,7 @@ export interface IPublicModelWindow< editorViews: IPublicModelEditorView[]; /** 当前窗口导入 schema */ - importSchema(schema: IPublicTypeNodeSchema): void; + importSchema(schema: IPublicTypeRootSchema): void; /** 修改当前窗口视图类型 */ changeViewType(viewName: string): void;