mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 18:26:05 +08:00
refactor(editor): reorg code structure of store package (#9525)
This commit is contained in:
@@ -16,7 +16,6 @@ import { BLOCK_ID_ATTR } from '@blocksuite/block-std';
|
||||
import { assertExists } from '@blocksuite/global/utils';
|
||||
import type { InlineRootElement } from '@inline/inline-editor.js';
|
||||
import { expect, type Locator, type Page } from '@playwright/test';
|
||||
import { COLLECTION_VERSION, PAGE_VERSION } from '@store/consts.js';
|
||||
import type { BlockModel } from '@store/index.js';
|
||||
|
||||
import {
|
||||
@@ -88,8 +87,8 @@ export const defaultStore = {
|
||||
'affine:surface-ref': 1,
|
||||
'affine:edgeless-text': 1,
|
||||
},
|
||||
workspaceVersion: COLLECTION_VERSION,
|
||||
pageVersion: PAGE_VERSION,
|
||||
workspaceVersion: 2,
|
||||
pageVersion: 2,
|
||||
},
|
||||
spaces: {
|
||||
'doc:home': {
|
||||
|
||||
Reference in New Issue
Block a user