mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
refactor(editor): extract data view block (#9452)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
// Import models only, the bundled file should not include anything else.
|
||||
import { DataViewBlockSchema } from '@blocksuite/affine-block-data-view';
|
||||
import { SurfaceBlockSchema } from '@blocksuite/affine-block-surface';
|
||||
import {
|
||||
AttachmentBlockSchema,
|
||||
@@ -26,8 +27,6 @@ import {
|
||||
import type { BlockSchema } from '@blocksuite/store';
|
||||
import type { z } from 'zod';
|
||||
|
||||
import { DataViewBlockSchema } from './data-view-block/data-view-model.js';
|
||||
|
||||
/** Built-in first party block models built for affine */
|
||||
export const AffineSchemas: z.infer<typeof BlockSchema>[] = [
|
||||
CodeBlockSchema,
|
||||
|
||||
Reference in New Issue
Block a user