Skip to content

ObsidianIdeasOptions

Defined in: capabilities/ideas.ts:13

Options for the Obsidian ideas provider.

optional dir?: string

Defined in: capabilities/ideas.ts:18

The folder of notes (an Obsidian vault). May start with ~ for the home folder. HOLOCRON_IDEAS_DIR overrides it, since the path differs per machine.


optional env?: Record<string, string | undefined>

Defined in: capabilities/ideas.ts:26

The environment HOLOCRON_IDEAS_DIR is read from. Defaults to process.env.


optional io?: IdeasIo

Defined in: capabilities/ideas.ts:28

The disk. Defaults to the real one; a test supplies a fake.


optional vault?: string

Defined in: capabilities/ideas.ts:24

The name of an Obsidian vault kept in iCloud Drive, such as "The Holocron": the folder is ~/Library/Mobile Documents/iCloud~md~obsidian/Documents/<vault>. A single folder name, not a path. dir and HOLOCRON_IDEAS_DIR win over it when set.