Retrieves a list of files in the Media Manager's trash bin.
The listDeletedFiles()
function returns a Promise that resolves to an array of the specified deleted files' descriptors and cursor information.
Note: The Media Manager's trash bin (TRASH_ROOT
folder) only contains temporarily deleted files, not permanently deleted files.
To retrieve a list of non-deleted files, use the listFiles()
function.
This function requires elevated permissions and runs only on the backend and on dashboard pages.
Options to use when listing deleted files from the trash bin.