Skip to content

ParseDemoVaultAppJsonParams

Parameters for parseDemoVaultAppJson.

Import:

import type { ParseDemoVaultAppJsonParams } from '@mnaoumov/obsidian-dev-toolkit/demo-vault-app-json';

Signature:

export interface ParseDemoVaultAppJsonParams

Properties

PropertyTypeDescription
contentnull | stringThe raw file content, or null when the vault commits no app.json at all — which is the expected state for a vault that has nothing else to configure.
pathstringThe path the content was read from, named in the error when it does not parse.

Links to this page: