Skip to content

buildArchivedDemoVaultAppJsonContent

Builds the app.json content for the archived copy of a demo vault: the committed settings with the owned ones merged over them.

Import:

import { buildArchivedDemoVaultAppJsonContent } from 'obsidian-dev-utils/script-utils/demo-vault-app-json';

Signature:

function buildArchivedDemoVaultAppJsonContent(params: BuildArchivedDemoVaultAppJsonContentParams): string

Parameters:

ParameterTypeDescription
paramsBuildArchivedDemoVaultAppJsonContentParamsThe parameters for the build.

Returns: string — The JSON text to store as the archive’s .obsidian/app.json.


Links to this page: