mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat: bump blocksuite (#6010)
This commit is contained in:
@@ -22,14 +22,14 @@
|
||||
"storybook-addon-react-router-v6": "^2.0.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@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",
|
||||
"@storybook/addon-actions": "^7.6.17",
|
||||
"@storybook/addon-essentials": "^7.6.17",
|
||||
"@storybook/addon-interactions": "^7.6.17",
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { BlockSuiteEditor } from '@affine/core/components/blocksuite/block-suite-editor';
|
||||
import { __unstableSchemas, AffineSchemas } from '@blocksuite/blocks/models';
|
||||
import { AffineSchemas } from '@blocksuite/blocks/schemas';
|
||||
import { Workspace } from '@blocksuite/store';
|
||||
import { Schema } from '@blocksuite/store';
|
||||
import type { StoryFn } from '@storybook/react';
|
||||
import { initEmptyPage } from '@toeverything/infra';
|
||||
|
||||
const schema = new Schema();
|
||||
schema.register(AffineSchemas).register(__unstableSchemas);
|
||||
schema.register(AffineSchemas);
|
||||
|
||||
async function createAndInitPage(
|
||||
workspace: Workspace,
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
import { PagePropertiesTable } from '@affine/core/components/affine/page-properties';
|
||||
import { __unstableSchemas, AffineSchemas } from '@blocksuite/blocks/models';
|
||||
import { AffineSchemas } from '@blocksuite/blocks/schemas';
|
||||
import { Workspace } from '@blocksuite/store';
|
||||
import { Schema } from '@blocksuite/store';
|
||||
import type { StoryFn } from '@storybook/react';
|
||||
import { initEmptyPage } from '@toeverything/infra';
|
||||
|
||||
const schema = new Schema();
|
||||
schema.register(AffineSchemas).register(__unstableSchemas);
|
||||
schema.register(AffineSchemas);
|
||||
|
||||
async function createAndInitPage(
|
||||
workspace: Workspace,
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
type PageTagsProps,
|
||||
} from '@affine/core/components/page-list';
|
||||
import { workbenchRoutes } from '@affine/core/router';
|
||||
import { __unstableSchemas, AffineSchemas } from '@blocksuite/blocks/models';
|
||||
import { AffineSchemas } from '@blocksuite/blocks/schemas';
|
||||
import { PageIcon, TagsIcon } from '@blocksuite/icons';
|
||||
import { Schema, Workspace } from '@blocksuite/store';
|
||||
import { expect } from '@storybook/jest';
|
||||
@@ -250,7 +250,7 @@ async function createAndInitPage(
|
||||
PageListStory.loaders = [
|
||||
async () => {
|
||||
const schema = new Schema();
|
||||
schema.register(AffineSchemas).register(__unstableSchemas);
|
||||
schema.register(AffineSchemas);
|
||||
const workspace = new Workspace({
|
||||
id: 'test-workspace-id',
|
||||
schema,
|
||||
|
||||
Reference in New Issue
Block a user