Skip to content

PluginSettingsImportResult

The outcome of PluginSettingsComponentBase.importFromJson.

Import:

import type { PluginSettingsImportResult } from '@mnaoumov/obsidian-lib/components/plugin-settings-component';

Signature:

export interface PluginSettingsImportResult

Properties

PropertyTypeDescription
invalidPropertyNamesreadonly string[]The settings the import set to a value that fails validation. They are kept as entered, like an invalid value read from data.json, and the plugin uses their defaults until they are fixed.
unknownPropertyNamesreadonly string[]The keys of the imported record that name no setting. They are ignored.

Links to this page: