Interface VaultIndex

API for efficiently accessing the notes of a Collection.

interface VaultIndex {
    addCollection<C extends Collection>(
        collection: C,
    ): VaultCollectionIndex<C>;
    getCollections(): Collection[];
    getCollectionsWithFile(filePath: string): Collection[];
}

Methods