Skip to content

DemoVaultNonTrivialGuardSpec

Configures the guard that the reflected surface is non-trivial (protects against a parsing regression silently emptying every other check).

Import:

import type { DemoVaultNonTrivialGuardSpec } from 'obsidian-dev-utils/script-utils/demo-vault-coverage';

Signature:

export interface DemoVaultNonTrivialGuardSpec

Properties

PropertyTypeDescription
expectDemoNotestringA demo note (path relative to the demo vault) that must be present.
expectMemberstringA member that must be reflected from DemoVaultNonTrivialGuardSpec.interfaceName.
interfaceNamestringThe name of the export interface, export class, or export enum whose members are re-parsed for the guard.
sourcePathstringThe source file path (relative to the repo root) that declares the interface, class, or enum.

Links to this page: