feat: add STRM tree dry-run preview

This commit is contained in:
ShukeBta
2026-07-02 21:15:11 +08:00
parent c07290619c
commit d11f784438
8 changed files with 113 additions and 14 deletions
+2
View File
@@ -17,6 +17,7 @@ export type GenerateSTRMResult = {
updated: number
skipped: number
cleaned: number
previewed?: number
errors?: string[]
items?: Array<{
media_id: string
@@ -38,6 +39,7 @@ export type GenerateSTRMTreeInput = {
base_url?: string
overwrite?: boolean
cleanup?: boolean
dry_run?: boolean
}
export const strmAPI = {