Skip to content

Commit 39be950

Browse files
committedAug 1, 2024·
refactor: renderer
1 parent ddc2473 commit 39be950

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+829
-885
lines changed
 

‎packages/designer/src/models/document/document-model.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { signal, uniqueId, ComponentTreeRoot } from '@alilc/lowcode-shared';
1+
import { Signals, uniqueId, ComponentTree } from '@alilc/lowcode-shared';
22
import { type Project } from '../project';
33
import { History } from './history';
44

5-
export interface DocumentSchema extends ComponentTreeRoot {
5+
export interface DocumentSchema extends ComponentTree {
66
id: string;
77
}
88

@@ -26,7 +26,7 @@ export interface DocumentModel {
2626

2727
export function createDocumentModel(project: Project) {
2828
const uid = uniqueId('doc');
29-
const currentDocumentSchema = signal<DocumentSchema>({});
29+
const currentDocumentSchema = Signals.signal<DocumentSchema>({});
3030

3131
const documentHistory = new History(currentDocumentSchema, () => {});
3232

‎packages/engine-core/src/index.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,3 @@ export * from './configuration';
22
export * from './extension/extension';
33
export * from './resource';
44
export * from './command';
5-
6-
// test
7-
export * from './extension/registry';
8-
export * from './main';
9-
export * from './keybinding/keybindingRegistry';
10-
export * from './keybinding/keybindingParser';
11-
export * from './keybinding/keybindingResolver';
12-
export * from './keybinding/keybindings';

0 commit comments

Comments
 (0)