Skip to content

ObsidianIdeas

Defined in: capabilities/ideas.ts:37

The Obsidian implementation of the ideas capability: every Markdown note under the vault folder is an idea, its status: and issue: properties are its state and the issue it was filed as, and its key is its path relative to the folder. It reads and writes files only: no token, no network. It does not implement retire, because Obsidian’s trash is reachable only through the app.

  • Ideas

new ObsidianIdeas(options, io): ObsidianIdeas

Defined in: capabilities/ideas.ts:43

ObsidianIdeasOptions

IdeasIo

ObsidianIdeas

readonly key: "ideas"

Defined in: capabilities/ideas.ts:39

The capability this class provides, always "ideas".

Ideas.key


readonly providerName: "obsidian" = "obsidian"

Defined in: capabilities/ideas.ts:41

The provider name, "obsidian".

Ideas.providerName

list(): Promise<IdeaRecord[]>

Defined in: capabilities/ideas.ts:49

Every note in the folder as an idea, sorted by path; a note that cannot be read comes back with an error.

Promise<IdeaRecord[]>

Ideas.list


markFiled(key, issue): Promise<void>

Defined in: capabilities/ideas.ts:81

Sets the note’s issue: property, read again first because a sync client may have changed the note.

string

string

Promise<void>

Ideas.markFiled


notesDir(): string | undefined

Defined in: capabilities/ideas.ts:89

The folder of notes this provider reads, chosen by HOLOCRON_IDEAS_DIR, then dir, then vault; undefined when none is set. It touches no file.

string | undefined

Ideas.notesDir


setStatus(key, status): Promise<void>

Defined in: capabilities/ideas.ts:76

Sets the note’s status: property; the rest of the file stays as it was, byte for byte.

string

string

Promise<void>

Ideas.setStatus