mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: bump blocksuite (#6010)
This commit is contained in:
@@ -6,7 +6,7 @@ const require = createRequire(import.meta.url);
|
||||
const packageJson = require('../package.json');
|
||||
|
||||
const editorFlags: BlockSuiteFeatureFlags = {
|
||||
enable_synced_doc_block: false,
|
||||
enable_synced_doc_block: true,
|
||||
enable_expand_database_block: false,
|
||||
enable_bultin_ledits: false,
|
||||
};
|
||||
|
||||
@@ -25,14 +25,14 @@
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@affine/templates": "workspace:*",
|
||||
"@affine/workspace-impl": "workspace:*",
|
||||
"@blocksuite/block-std": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/blocks": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/global": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/block-std": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@blocksuite/blocks": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@blocksuite/global": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@blocksuite/icons": "2.1.44",
|
||||
"@blocksuite/inline": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/lit": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/presets": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/store": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/inline": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@blocksuite/lit": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@blocksuite/presets": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@blocksuite/store": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
"@dnd-kit/modifiers": "^7.0.0",
|
||||
"@dnd-kit/sortable": "^8.0.0",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
import 'fake-indexeddb/auto';
|
||||
|
||||
import { __unstableSchemas, AffineSchemas } from '@blocksuite/blocks/models';
|
||||
import { AffineSchemas } from '@blocksuite/blocks/schemas';
|
||||
import { assertExists } from '@blocksuite/global/utils';
|
||||
import type { Doc } from '@blocksuite/store';
|
||||
import { Schema, Workspace as BlockSuiteWorkspace } from '@blocksuite/store';
|
||||
@@ -16,7 +16,7 @@ import { useBlockSuitePagePreview } from '../use-block-suite-page-preview';
|
||||
let blockSuiteWorkspace: BlockSuiteWorkspace;
|
||||
|
||||
const schema = new Schema();
|
||||
schema.register(AffineSchemas).register(__unstableSchemas);
|
||||
schema.register(AffineSchemas);
|
||||
|
||||
beforeEach(async () => {
|
||||
vi.useFakeTimers({ toFake: ['requestIdleCallback'] });
|
||||
|
||||
Reference in New Issue
Block a user