***`
@jupyterlite / @jupyterlite/contents / BrowserStorageDrive / IOptions
接口:IOptions#
定义于: packages/contents/src/drive.ts:997
用于创建 BrowserStorageDrive 的选项。
扩展#
IOptions
属性#
apiEndpoint?#
可选**apiEndpoint**:string
定义于: node_modules/@jupyterlab/services/lib/contents/index.d.ts:1022
驱动器请求的 REST 端点。如果未指定,则默认为 Jupyter Server API 给出的 Jupyter REST API。
继承自#
Drive.IOptions.apiEndpoint
`***
localforage#
localforage:LocalForage
定义于: packages/contents/src/drive.ts:1011
要使用的 localForage 实例。
***`
name?#
可选**name**:string
定义于: node_modules/@jupyterlab/services/lib/contents/index.d.ts:1012
Drive 的名称,用于文件路径中,以区分它与其他驱动器。
继承自#
Drive.IOptions.name
`***
serverSettings?#
可选serverSettings:ISettings
定义于: node_modules/@jupyterlab/services/lib/contents/index.d.ts:1016
服务器的服务器设置。
继承自#
Drive.IOptions.serverSettings
***`
storageDrivers?#
可选**storageDrivers**:null|string[]
定义于: packages/contents/src/drive.ts:1006
用于存储的驱动器。
`***
storageName?#
可选storageName:null|string
定义于: packages/contents/src/drive.ts:1001
存储实例的名称,例如在 IndexedDB, localStorage 中。