Skip to content

Commit d67eab0

Browse files
author
keuby
authored
feat(designer): add setRendererReady declaration (#2320)
1 parent 288dbd6 commit d67eab0

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

packages/designer/src/project/project.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ import { obx, computed, makeObservable, action, IEventBus, createModuleEventBus
22
import { IDesigner } from '../designer';
33
import { DocumentModel, isDocumentModel } from '../document';
44
import type { IDocumentModel } from '../document';
5-
import {
6-
IPublicTypeComponentsMap,
7-
IPublicEnumTransformStage,
8-
IBaseApiProject,
9-
} from '@alilc/lowcode-types';
5+
import { IPublicEnumTransformStage } from '@alilc/lowcode-types';
106
import type {
7+
IBaseApiProject,
118
IPublicTypeProjectSchema,
129
IPublicTypeRootSchema,
10+
IPublicTypeComponentsMap,
11+
IPublicTypeSimulatorRenderer,
1312
} from '@alilc/lowcode-types';
1413
import { isLowCodeComponentType, isProCodeComponentType } from '@alilc/lowcode-utils';
1514
import { ISimulatorHost } from '../simulator';
@@ -87,6 +86,8 @@ export interface IProject extends Omit<IBaseApiProject<
8786
get(key: string): unknown;
8887

8988
checkExclusive(activeDoc: DocumentModel): void;
89+
90+
setRendererReady(renderer: IPublicTypeSimulatorRenderer<any, any>): void;
9091
}
9192

9293
export class Project implements IProject {

0 commit comments

Comments
 (0)