mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-18 06:47:02 +08:00
To support multiple instances, this PR removes some atoms and implements them using the new DI system. removed atom - `pageSettingsAtom` - `currentPageIdAtom` - `currentModeAtom`
19 lines
478 B
TypeScript
19 lines
478 B
TypeScript
export {
|
|
migratePages as forceUpgradePages,
|
|
migrateGuidCompatibility,
|
|
} from './migration/blocksuite'; // campatible with electron
|
|
export * from './migration/fixing';
|
|
export { migrateToSubdoc, upgradeV1ToV2 } from './migration/subdoc';
|
|
export * from './migration/workspace';
|
|
|
|
/**
|
|
* @deprecated
|
|
* Use workspace meta data to determine the workspace version.
|
|
*/
|
|
export enum WorkspaceVersion {
|
|
// v1 is treated as undefined
|
|
SubDoc = 2,
|
|
DatabaseV3 = 3,
|
|
Surface = 4,
|
|
}
|