Back to Trilium

Interface OptionRow

docs/Script API/interfaces/Backend_Script_API._internal_.OptionRow.html

0.102.21.2 KB
Original Source

Interface OptionRow

Database representation of an option.

Options are key-value pairs that are used to store information such as user preferences (for example the current theme, sync server information), but also information about the state of the application).

interface OptionRow {
isSynced: boolean;
name: string;
utcDateModified?: string;
value: string;
}

Index

Properties

isSyncednameutcDateModified?value

Properties

isSynced

isSynced: boolean

true if the value should be synced across multiple instances (e.g. locale) or false if it should be local-only (e.g. theme).

name

name: string

The name of the option.

OptionalutcDateModified

utcDateModified?: string

value

value: string

The value of the option.

Settings

Member Visibility

  • Protected
  • Inherited
  • External

ThemeOSLightDark

On This Page

Properties isSyncednameutcDateModifiedvalue