- Add serialize_for_list() to ItemDTO that excludes fields never used by the UI:
options, template_chapter, temp_dir, total_bytes, total_bytes_estimate,
tmpfilename, archive_id
- Update Encoder to use serialize_for_list() for ItemDTO objects
- Full serialize() still available for detail endpoint (GET /api/history/{id})
- Update TypeScript types to mark excluded fields as optional
- Add tests for serialize_for_list()
Co-authored-by: jbatesy <51190172+jbatesy@users.noreply.github.com>
|
||
|---|---|---|
| .. | ||
| features | ||
| library | ||
| migrations | ||
| routes | ||
| schema | ||
| scripts | ||
| tests | ||
| yt_dlp_plugins | ||
| __init__.py | ||
| local.py | ||
| main.py | ||
| upgrader.py | ||