Available attendees for sharing
Fetch available file types
Handle folder creation
Handle file deletion
Handle folder deletion
Handle file download
Handle file type filter change
Handle file rename
Handle file sharing
Handle file upload from input change event. Supports multiple inputs —
uploads each selected file sequentially and refreshes once at the end.
Upload an arbitrary list of File objects (e.g. from a drag-and-drop drop event) into the current path. Sequential upload; one refresh at the end. Failures on individual files are logged but don't abort the batch.
Whether a create folder operation is in progress
Whether a delete operation is in progress
Whether a rename operation is in progress
Whether a share operation is in progress
Prepare attendees list for the sharing dialog.
Returns the resolved attendees (post-filter, excluding the current user) in addition to setting the internal state. Callers that want to branch their UX on the attendee count — e.g. skip the dialog and act directly when there's exactly one — can inspect the resolved list without waiting for a re-render.
Currently selected file type filter
Available file types for filtering
Result of the useFileOperations hook.