mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-05 03:19:52 +08:00
chore: prohibit import package itself (#2612)
Co-authored-by: Whitewater <me@waterwater.moe>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import type { SQLiteProvider } from '@affine/workspace/type';
|
||||
import { __unstableSchemas, AffineSchemas } from '@blocksuite/blocks/models';
|
||||
import type { Y as YType } from '@blocksuite/store';
|
||||
import { uuidv4, Workspace } from '@blocksuite/store';
|
||||
import { beforeEach, describe, expect, test, vi } from 'vitest';
|
||||
|
||||
import type { SQLiteProvider } from '../../type';
|
||||
import { createSQLiteProvider } from '../index';
|
||||
|
||||
const Y = Workspace.Y;
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { CallbackSet } from '@affine/workspace/utils';
|
||||
import { Workspace as BlockSuiteWorkspace } from '@blocksuite/store';
|
||||
import { assertExists } from '@blocksuite/store';
|
||||
import type { Awareness } from 'y-protocols/awareness';
|
||||
@@ -8,6 +7,7 @@ import {
|
||||
} from 'y-protocols/awareness';
|
||||
|
||||
import type { BroadCastChannelProvider } from '../../type';
|
||||
import { CallbackSet } from '../../utils';
|
||||
import { localProviderLogger } from '../logger';
|
||||
import type {
|
||||
AwarenessChanges,
|
||||
|
||||
Reference in New Issue
Block a user