feat(infra): page infra (#5618)

This commit is contained in:
EYHN
2024-01-30 06:31:26 +00:00
parent 2e71c980cf
commit 1e3499c323
8 changed files with 173 additions and 0 deletions

View File

@@ -4,12 +4,14 @@ export * from './blocksuite';
export * from './command';
export * from './di';
export * from './livedata';
export * from './page';
export * from './storage';
export * from './utils';
export * from './workspace';
import type { ServiceCollection } from './di';
import { CleanupService } from './lifecycle';
import { configurePageServices } from './page';
import { GlobalCache, GlobalState, MemoryMemento } from './storage';
import {
configureTestingWorkspaceServices,
@@ -19,6 +21,7 @@ import {
export function configureInfraServices(services: ServiceCollection) {
services.add(CleanupService);
configureWorkspaceServices(services);
configurePageServices(services);
}
export function configureTestingInfraServices(services: ServiceCollection) {