findOwnedDemoVaultAppJsonSettings
Finds the owned settings a demo vault has committed. They belong to this package, which injects them at release time, so a committed one is drift waiting to happen rather than a local preference.
Import:
import { findOwnedDemoVaultAppJsonSettings } from 'obsidian-dev-utils/script-utils/demo-vault-app-json';Signature:
function findOwnedDemoVaultAppJsonSettings(params: FindOwnedDemoVaultAppJsonSettingsParams): string[]Parameters:
| Parameter | Type | Description |
|---|---|---|
params | FindOwnedDemoVaultAppJsonSettingsParams | The parameters for the lookup. |
Returns: string[] — The names of the owned settings present in the committed app.json, in the order they are declared in DEMO_VAULT_APP_JSON_SETTINGS.
Links to this page: