Register a new Collection into the index. All calls to this function will be treated as adding a brand new collection, regardless of whether the input has already been registered in an earlier call.
the collection to register with this index.
a VaultCollectionIndex that can be used to interact with the primary index.
the list of collections registered with this index.
the list of collections that claim to include the given file path.
API for efficiently accessing the notes of a Collection.