Skip to content

Commit

Permalink
feat(designer): add setRendererReady declaration (#2320)
Browse files Browse the repository at this point in the history
  • Loading branch information
keuby authored Jul 26, 2023
1 parent 288dbd6 commit d67eab0
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/designer/src/project/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@ import { obx, computed, makeObservable, action, IEventBus, createModuleEventBus
import { IDesigner } from '../designer';
import { DocumentModel, isDocumentModel } from '../document';
import type { IDocumentModel } from '../document';
import {
IPublicTypeComponentsMap,
IPublicEnumTransformStage,
IBaseApiProject,
} from '@alilc/lowcode-types';
import { IPublicEnumTransformStage } from '@alilc/lowcode-types';
import type {
IBaseApiProject,
IPublicTypeProjectSchema,
IPublicTypeRootSchema,
IPublicTypeComponentsMap,
IPublicTypeSimulatorRenderer,
} from '@alilc/lowcode-types';
import { isLowCodeComponentType, isProCodeComponentType } from '@alilc/lowcode-utils';
import { ISimulatorHost } from '../simulator';
Expand Down Expand Up @@ -87,6 +86,8 @@ export interface IProject extends Omit<IBaseApiProject<
get(key: string): unknown;

checkExclusive(activeDoc: DocumentModel): void;

setRendererReady(renderer: IPublicTypeSimulatorRenderer<any, any>): void;
}

export class Project implements IProject {
Expand Down

0 comments on commit d67eab0

Please sign in to comment.