Skip to content

DemoVaultInterfaceCoverageSpec

Reflects a single interface’s members and demonstrates them via `${receiver}.<member>` references.

Import:

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

Signature:

export interface DemoVaultInterfaceCoverageSpec

Properties

PropertyTypeDescription
interfaceNamestringThe name of the export interface, export class, or export enum to reflect.
kindDemoVaultInterfaceMemberKindWhether the demonstrated members are the reflected type's methods or its properties (enum members count as properties).
receiverstringThe identifier the notes call the members on (e.g. codeButtonContext).
sourcePathstringThe source file path (relative to the repo root) that declares the interface, class, or enum.

Links to this page: