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

This commit is contained in:
Alex Yang 2023-09-05 12:22:58 -07:00 committed by GitHub
parent 6af7aefe00
commit d2484d0b8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: [