Interface VaultCollectionIndex<C>

Provides an API for efficiently querying a Collection for its notes.

interface VaultCollectionIndex<C extends Collection> {
    collection: DeepReadonly<C>;
    getNotes(): string[];
    getNotesFromInterval(interval: Interval): string[];
}

Type Parameters

Properties

collection: DeepReadonly<C>

The collection that has been indexed.

Methods

  • Returns string[]

    all paths in the vault corresponding to this indexed collection.