Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): remove write version (#4202)

Alex Yangd2484d0b8d4d
diff --git a/packages/infra/src/blocksuite/index.ts b/packages/infra/src/blocksuite/index.ts
index 3c537096c3..b5fa77b546 100644
--- a/packages/infra/src/blocksuite/index.ts
+++ b/packages/infra/src/blocksuite/index.ts
@@ -34,21 +34,6 @@ export async function buildShowcaseWorkspace(
store: ReturnType<typeof createStore>;
}
) {
- const showcaseWorkspaceVersions = {
- 'affine:code': 1,
- 'affine:paragraph': 1,
- 'affine:page': 2,
- 'affine:list': 1,
- 'affine:note': 1,
- 'affine:divider': 1,
- 'affine:image': 1,
- 'affine:surface': 3,
- 'affine:bookmark': 1,
- 'affine:database': 2,
- };
- workspace.doc
- .getMap('meta')
- .set('blockVersions', new YMap(Object.entries(showcaseWorkspaceVersions)));
const prototypes = {
tags: {
options: [