refactor(core): use manual upgrade to replace auto migration when web setup (#5022)
1. Split logic in `packages/common/infra/src/blocksuite/index.ts` to multiple single files 2. Move migration logic from setup to upgrade module, to prevent auto migration problems and loading problem
This commit is contained in:
21 files changed
+947
-1026
No files matched your search
Vendored
-5
@@ -44,11 +44,6 @@ declare global {
|
||||
): this;
|
||||
};
|
||||
};
|
||||
$migrationDone: boolean | undefined;
|
||||
}
|
||||
|
||||
interface WindowEventMap {
|
||||
'migration-done': CustomEvent;
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-var
|
||||
|
||||
Reference in new issue
Block a user