Interface VaultCollectionIndex<C>
interface VaultCollectionIndex<C extends Collection> {
collection: DeepReadonly<C>;
getNotes(): string[];
getNotesFromInterval(interval: Interval): string[];
}
collection: DeepReadonly<C>;
getNotes(): string[];
getNotesFromInterval(interval: Interval): string[];
}
Type Parameters
- C extends Collection
Index
Properties
Methods
Methods
getNotes
Returns string[]
all paths in the vault corresponding to this indexed collection.
getNotesFromInterval
Parameters
- interval: Interval
Returns string[]
all paths in the vault corresponding to the given interval, if applicable.
Provides an API for efficiently querying a Collection for its notes.