mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-30 00:29:46 +08:00
feat: bump blocksuite (#6010)
This commit is contained in:
@@ -25,10 +25,10 @@
|
||||
"@affine-test/kit": "workspace:*",
|
||||
"@affine/env": "workspace:*",
|
||||
"@affine/native": "workspace:*",
|
||||
"@blocksuite/blocks": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/lit": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/presets": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/store": "0.12.0-canary-202402271448-6d3a709",
|
||||
"@blocksuite/blocks": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@blocksuite/lit": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@blocksuite/presets": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@blocksuite/store": "0.12.0-canary-202403050308-3789d0e",
|
||||
"@electron-forge/cli": "^7.3.0",
|
||||
"@electron-forge/core": "^7.3.0",
|
||||
"@electron-forge/core-utils": "^7.3.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { resolve } from 'node:path';
|
||||
|
||||
import { SqliteConnection } from '@affine/native';
|
||||
import { __unstableSchemas, AffineSchemas } from '@blocksuite/blocks/models';
|
||||
import { AffineSchemas } from '@blocksuite/blocks/schemas';
|
||||
import { Schema } from '@blocksuite/store';
|
||||
import {
|
||||
forceUpgradePages,
|
||||
@@ -51,7 +51,7 @@ export const migrateToLatest = async (
|
||||
await connection.setVersion(version);
|
||||
}
|
||||
const schema = new Schema();
|
||||
schema.register(AffineSchemas).register(__unstableSchemas);
|
||||
schema.register(AffineSchemas);
|
||||
const rootDoc = new YDoc();
|
||||
const downloadBinary = async (doc: YDoc, isRoot: boolean): Promise<void> => {
|
||||
const update = (
|
||||
|
||||
Reference in New Issue
Block a user