LocalSettingsRecoveryStoreConstructorParams
Constructor parameters for LocalSettingsRecoveryStore.
Import:
import type { LocalSettingsRecoveryStoreConstructorParams } from '@mnaoumov/obsidian-lib/settings-recovery';Signature:
export interface LocalSettingsRecoveryStoreConstructorParamsProperties
| Property | Type | Description |
|---|---|---|
| app | App | The Obsidian app; its device-local appId scopes the store to this vault. |
| factory? | IDBFactory | IndexedDB implementation, injectable for tests. |
| maxCopies? | number | How many copies to keep. Defaults to DEFAULT_MAX_SETTINGS_RECOVERY_COPIES. |
| now? | () => number | The clock, injectable for tests. Defaults to Date.now. |
| pluginId | string | The manifest.id of the plugin. |