Add folder wipe and drop broken still tiles from the library.

Delete all in this folder removes every still, clip, and track with files; list builders prune missing masters; select-all and delete no longer resurrect suppressed ids from later pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-10-12 13:34:31 -05:00
co-authored by Cursor
parent 97c7547da9
commit 4b22c95b4b
4 changed files with 398 additions and 31 deletions
@@ -0,0 +1,7 @@
export default defineEventHandler(async (event) => {
const { owner } = assertLibraryOwner(event)
const id = String(getRouterParam(event, 'id') || '')
assertFolderAccess(event, id)
const result = await wipeFolderContents(owner, id)
return { ...result, ...publicLibrary(event, { light: true }) }
})