refactor: make all() take filter and sort options

refactor: return unload item entries from all()/find()
This commit is contained in:
Andy Burke 2025-07-02 17:46:04 -07:00
parent 3214d17b80
commit 05178c924f
8 changed files with 308 additions and 206 deletions

View file

@ -67,7 +67,7 @@ export class FSDB_INDEXER_SYMLINKS<T> implements FSDB_INDEXER<T> {
return [value];
}
async lookup(value: string, options?: FSDB_SEARCH_OPTIONS): Promise<string[]> {
async lookup(value: string, options?: FSDB_SEARCH_OPTIONS<T>): Promise<string[]> {
if (typeof this.config.root !== 'string') {
throw new Error('root should have been set by FSDB instance');
}