mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
chore: bump blocksuite (#5138)
This commit is contained in:
@@ -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: [
|
||||
() => ({
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user