SettingsRecoveryCopy
One kept copy of a plugin’s data.json.
Import:
import type { SettingsRecoveryCopy } from '@mnaoumov/obsidian-lib/settings-recovery';Signature:
export interface SettingsRecoveryCopyProperties
| Property | Type | Description |
|---|---|---|
| id | string | The copy's id, unique within the plugin's store. |
| keptAt | number | When the copy was kept, in milliseconds since the Unix epoch. |
| path | string | The vault-relative path of the file the copy was taken from. |
| rawText | string | The file's raw text, byte for byte as it was read. |
| reason | SettingsRecoveryReason | Why the copy was kept. |
Links to this page: