refactor(editor): remove global types in model (#10082)

Closes: [BS-2249](https://linear.app/affine-design/issue/BS-2249/remove-global-types-in-model)

```ts
// before
matchFlavours(model, ['affine:page']);
// after
matchFlavours(model, [PageBlockModel]);
```
This commit is contained in:
Saul-Mirone
2025-02-11 08:18:57 +00:00
parent 64bb6c5a71
commit 652865c7cf
97 changed files with 492 additions and 323 deletions
@@ -35,7 +35,7 @@ export interface LinkedWidgetConfig {
* [[ -> @
*/
convertTriggerKey: boolean;
ignoreBlockTypes: (keyof BlockSuite.BlockModels)[];
ignoreBlockTypes: string[];
ignoreSelector: string;
getMenus: (
query: string,