mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 06:18:45 +08:00
refactor(editor): reduce dependency to doc collection (#9492)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
// oxlint-disable-next-line @typescript-eslint/triple-slash-reference
|
||||
/// <reference path="../shim.d.ts" />
|
||||
|
||||
export type { Y };
|
||||
export * from './adapter/index.js';
|
||||
export * from './reactive/index.js';
|
||||
export * from './schema/index.js';
|
||||
@@ -11,8 +10,6 @@ export { type IdGenerator, nanoid, uuidv4 } from './utils/id-generator.js';
|
||||
export * as Utils from './utils/utils.js';
|
||||
export * from './yjs/index.js';
|
||||
|
||||
import type * as Y from 'yjs';
|
||||
|
||||
const env =
|
||||
typeof globalThis !== 'undefined'
|
||||
? globalThis
|
||||
|
||||
Reference in New Issue
Block a user