ObsidianIpcCurrentVault
Unofficial
The vault of the calling window, as Obsidian’s main process returns it on the vault IPC channel.
Both members are absent when the window belongs to no vault, such as the vault picker.
Import:
import type { ObsidianIpcCurrentVault } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ObsidianIpcCurrentVaultProperties
| Property | Type | Description | |
|---|---|---|---|
| id? | string | The vault's id, the key of its entry in the vault-list registry. | |
| path? | string | The absolute path of the vault folder. |
Links to this page: