mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
14 lines
408 B
TypeScript
14 lines
408 B
TypeScript
import { RootBlockSchema } from '@blocksuite/affine-model';
|
|
import type { Viewport } from '@blocksuite/affine-shared/types';
|
|
import { Slot } from '@blocksuite/global/utils';
|
|
|
|
import { RootService } from '../root-service.js';
|
|
|
|
export class PageRootService extends RootService {
|
|
static override readonly flavour = RootBlockSchema.model.flavour;
|
|
|
|
slots = {
|
|
viewportUpdated: new Slot<Viewport>(),
|
|
};
|
|
}
|