mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-28 15:55:19 +08:00
638f0b466f
Closes: BS-3382 Closes: BS-3381 Closes: BS-3380 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced new view extensions for document title, frame panel, and outline fragments, enhancing modularity and extensibility. - **Refactor** - Updated export structure for fragments to support directory-based modules and added dedicated view module exports. - Replaced a centralized view extension with individual fragment-based view extensions for improved clarity. - **Chores** - Updated dependencies and TypeScript project references to ensure compatibility and maintainability. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
13 lines
288 B
TypeScript
13 lines
288 B
TypeScript
import { ViewExtensionProvider } from '@blocksuite/affine-ext-loader';
|
|
|
|
import { effects } from './effects';
|
|
|
|
export class DocTitleViewExtension extends ViewExtensionProvider {
|
|
override name = 'affine-doc-title-fragment';
|
|
|
|
override effect() {
|
|
super.effect();
|
|
effects();
|
|
}
|
|
}
|