RxDBStoragePluginOptions
Defined in: packages/rxdb-plugin-storage/src/storage.helpers.ts:30
Storage 插件安装选项。
Properties
filesystem?
optional filesystem?: StorageFilesystemFactory;
Defined in: packages/rxdb-plugin-storage/src/storage.helpers.ts:41
文件内容落盘用的后端工厂;缺省即浏览器 OPFS。
Remarks
桌面宿主用它把内容写进应用数据目录(US-504),使 metadata 与文件同属一个备份域。
previewLimitBytes?
optional previewLimitBytes?: number;
Defined in: packages/rxdb-plugin-storage/src/storage.helpers.ts:34
允许创建预览 URL 的最大字节数;默认值为 50 MiB。
rootDir?
optional rootDir?: string;
Defined in: packages/rxdb-plugin-storage/src/storage.helpers.ts:32
存储根目录名;默认值为 files。