- Expect file item id
- Check if file item exists (authorization check + get file sha)
- Delete file item
- Delete fs file
- Return deleted file item id
Concerns:
- Multiple calls in write transaction (+time on db lock)
Please let me know if I can improve this MR.