mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-10 21:48:48 +08:00
feat: bump blocksuite (#6010)
This commit is contained in:
@@ -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