feat: persist and resume ZIP import jobs

This commit is contained in:
hailt 2026-11-12 22:54:59 +07:00
parent d35a88ed66
commit 49f3f4b133
4 changed files with 75 additions and 0 deletions

View file

@ -4,6 +4,8 @@ export interface StoredUpload {
jobId: string
files: File[]
createdAt: number
kind?: 'images' | 'zip' | 'zip-import'
r2Key?: string
}
const DB_NAME = 'danable-upload-queue'