Skip to content

SettingsRecoveryCopy

One kept copy of a plugin’s data.json.

Import:

import type { SettingsRecoveryCopy } from '@mnaoumov/obsidian-lib/settings-recovery';

Signature:

export interface SettingsRecoveryCopy

Properties

PropertyTypeDescription
idstringThe copy's id, unique within the plugin's store.
keptAtnumberWhen the copy was kept, in milliseconds since the Unix epoch.
pathstringThe vault-relative path of the file the copy was taken from.
rawTextstringThe file's raw text, byte for byte as it was read.
reasonSettingsRecoveryReasonWhy the copy was kept.

Links to this page: