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 DemoVaultInterfaceCoverageSpecProperties
| Property | Type | Description |
|---|---|---|
| interfaceName | string | The name of the export interface, export class, or export enum to reflect. |
| kind | DemoVaultInterfaceMemberKind | Whether the demonstrated members are the reflected type's methods or its properties (enum members count as properties). |
| receiver | string | The identifier the notes call the members on (e.g. codeButtonContext). |
| sourcePath | string | The source file path (relative to the repo root) that declares the interface, class, or enum. |
Links to this page: