mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-03-22 23:30:36 +08:00
#### PR Dependency Tree * **PR #14569** 👈 This tree was auto-generated by [Charcoal](https://github.com/danerwilliams/charcoal) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Upgraded development test tooling to Vitest v4 and added Playwright browser test integration; normalized test configurations and CI shard matrix. * **Tests** * Added a large suite of new integration tests covering editor flows (edgeless, database, embeds, images, latex, code, clipboard, multi-editor, presentation, undo/redo, etc.). * Removed numerous end-to-end Playwright test suites across the same feature areas. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
24 lines
712 B
TypeScript
24 lines
712 B
TypeScript
export * from './adapter';
|
|
export * from './extension';
|
|
export * from './model';
|
|
export * from './reactive';
|
|
export * from './schema';
|
|
export * from './transformer';
|
|
export { type IdGenerator, nanoid, uuidv4 } from './utils/id-generator';
|
|
export * from './yjs';
|
|
|
|
const env = (typeof globalThis !== 'undefined'
|
|
? globalThis
|
|
: typeof window !== 'undefined'
|
|
? window
|
|
: {}) as unknown as Record<string, boolean>;
|
|
const importIdentifier = '__ $BLOCKSUITE_STORE$ __';
|
|
|
|
if (env[importIdentifier] === true) {
|
|
// https://github.com/yjs/yjs/issues/438
|
|
console.error(
|
|
'@blocksuite/store was already imported. This breaks constructor checks and will lead to issues!'
|
|
);
|
|
}
|
|
env[importIdentifier] = true;
|