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:
@@ -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 }) }
|
||||
})
|
||||
Reference in New Issue
Block a user