-
-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Labels
docsRelated to docsRelated to docs
Description
Thanks for the awesome library!
I noticed when building my own backend & driver for this that although DeleteResult is declared as:
src/adapters/types.ts
export interface DeleteResult {
deleted: DirEntry[];
}
Code elsewhere seems to be expecting:
export interface DeleteResult extends FsData {
deleted: DirEntry[];
}
and for example ArrayDriver's delete has:
// Also return updated listing so callers that expect files can update UI immediately
const op = this.resultForDir(params.path) as FileOperationResult;
return { ...op, deleted } as unknown as DeleteResult;
Which I don't think is currently covered in the docs at https://vuefinder.ozdemir.be/api-reference/drivers-interface.html#delete
n1crack
Metadata
Metadata
Assignees
Labels
docsRelated to docsRelated to docs