mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 20:38:52 +00:00
feat: support save chat to block (#7481)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import { AffineSchemas } from '@blocksuite/blocks/schemas';
|
||||
import { AIChatBlockSchema } from '@blocksuite/presets';
|
||||
import { Schema } from '@blocksuite/store';
|
||||
|
||||
export const globalBlockSuiteSchema = new Schema();
|
||||
|
||||
globalBlockSuiteSchema.register(AffineSchemas);
|
||||
const schemas = [...AffineSchemas, AIChatBlockSchema];
|
||||
globalBlockSuiteSchema.register(schemas);
|
||||
|
||||
Reference in New Issue
Block a user