优化
This commit is contained in:
truewhile
2026-08-24 17:00:18 +08:00
parent afae22ffe2
commit 0aff87c69d
39 changed files with 846 additions and 219 deletions
@@ -25,10 +25,10 @@ const (
// exactly one file (organize) or one library (ingest / scrape).
type TaskItemRecord struct {
ID string `json:"id"`
Kind string `json:"kind"` // organize / scan / scrape
Status string `json:"status"` // pending / running / succeeded / failed
Name string `json:"name"` // display name (file base name or library name)
Source string `json:"source,omitempty"` // source file path (organize)
Kind string `json:"kind"` // organize / scan / scrape
Status string `json:"status"` // pending / running / succeeded / failed
Name string `json:"name"` // display name (file base name or library name)
Source string `json:"source,omitempty"` // source file path (organize)
DestPath string `json:"dest_path,omitempty"`
LibraryID string `json:"library_id,omitempty"`
Error string `json:"error,omitempty"`