mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: support save chat to block (#7481)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
"@affine/templates": "workspace:*",
|
||||
"@blocksuite/blocks": "0.16.0-canary-202407230727-128fc57",
|
||||
"@blocksuite/global": "0.16.0-canary-202407230727-128fc57",
|
||||
"@blocksuite/presets": "0.16.0-canary-202407230727-128fc57",
|
||||
"@blocksuite/store": "0.16.0-canary-202407230727-128fc57",
|
||||
"@datastructures-js/binary-search-tree": "^5.3.2",
|
||||
"foxact": "^0.2.33",
|
||||
|
||||
@@ -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