chore: bump blocksuite (#5138)

This commit is contained in:
Flrande
2023-12-04 12:02:35 +00:00
parent 7878ce5c2c
commit a2784c352f
26 changed files with 460 additions and 393 deletions

View File

@@ -1,4 +1,3 @@
import { isBrowser } from '@affine/env/constant';
import type { BlockSuiteFeatureFlags } from '@affine/env/global';
import { WorkspaceFlavour } from '@affine/env/workspace';
import { createAffinePublicProviders } from '@affine/workspace/providers';
@@ -25,10 +24,6 @@ function setEditorFlags(workspace: Workspace) {
value
);
});
workspace.awarenessStore.setFlag(
'enable_bookmark_operation',
environment.isDesktop
);
}
type UpdateCallback = (
@@ -116,7 +111,6 @@ export function getOrCreateWorkspace(
const workspace = new Workspace({
id,
isSSR: !isBrowser,
providerCreators: typeof window === 'undefined' ? [] : providerCreators,
blobStorages: [
() => ({

View File

@@ -25,7 +25,7 @@ describe('SyncEngine', () => {
{
const workspace = new Workspace({
id: 'test',
isSSR: true,
schema,
});
@@ -57,7 +57,7 @@ describe('SyncEngine', () => {
{
const workspace = new Workspace({
id: 'test',
isSSR: true,
schema,
});
const syncEngine = new SyncEngine(
@@ -76,7 +76,7 @@ describe('SyncEngine', () => {
{
const workspace = new Workspace({
id: 'test',
isSSR: true,
schema,
});
const syncEngine = new SyncEngine(
@@ -95,7 +95,7 @@ describe('SyncEngine', () => {
{
const workspace = new Workspace({
id: 'test',
isSSR: true,
schema,
});
const syncEngine = new SyncEngine(

View File

@@ -21,7 +21,7 @@ describe('SyncPeer', () => {
{
const workspace = new Workspace({
id: 'test',
isSSR: true,
schema,
});
@@ -49,7 +49,7 @@ describe('SyncPeer', () => {
{
const workspace = new Workspace({
id: 'test',
isSSR: true,
schema,
});
const syncPeer = new SyncPeer(
@@ -67,7 +67,7 @@ describe('SyncPeer', () => {
test('status', async () => {
const workspace = new Workspace({
id: 'test - status',
isSSR: true,
schema,
});