#### PR Dependency Tree * **PR #15197** 👈 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 * **New Features** * Added a new import pipeline with “plan then commit” batch handling for Markdown, Notion HTML, Obsidian, and Bear backups. * Enabled native import sessions with progress, cancellation, and batch-by-batch committing (including assets, folders, icons, and tags). * Added web preflight limits for ZIP and multi-file imports. * **Bug Fixes** * Improved import error/warning reporting and continued processing when some items fail. * Strengthened snapshot-based file/directory picking to preserve paths. * **Chores** * Updated project packaging/configuration for the new import workflow. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
15 lines
499 B
TypeScript
15 lines
499 B
TypeScript
import '@affine/core/bootstrap/electron';
|
|
import '@affine/core/bootstrap/cleanup';
|
|
import '@affine/component/theme';
|
|
import './global.css';
|
|
import './native-import';
|
|
|
|
import { apis } from '@affine/electron-api';
|
|
import { bindNativeDBApis } from '@affine/nbstore/sqlite';
|
|
import { bindNativeDBV1Apis } from '@affine/nbstore/sqlite/v1';
|
|
|
|
// oxlint-disable-next-line no-non-null-assertion
|
|
bindNativeDBApis(apis!.nbstore);
|
|
// oxlint-disable-next-line no-non-null-assertion
|
|
bindNativeDBV1Apis(apis!.db);
|