Commit graph

11 commits

Author SHA1 Message Date
Jesse Bate
429f97a60c perf: exclude unused fields from ItemDTO list and WebSocket serialization
Every item_updated WebSocket event and every history/queue list response
was serializing the full ItemDTO including fields the UI never reads.

Add ItemDTO.serialize_for_list() which excludes: options,
template_chapter, temp_dir, total_bytes, total_bytes_estimate,
tmpfilename, archive_id. The global Encoder now uses serialize_for_list()
for all list/event contexts; the full serialize() remains available for
detail endpoints (GET /api/history/{id}).

Mark the excluded fields optional in the TypeScript StoreItem type.
2026-06-10 20:09:13 +09:30
arabcoders
a09343938d refactor: conditions feature to db model 2026-01-18 22:17:07 +03:00
arabcoders
ed4bb1e440 finalizing removed features 2025-08-30 01:50:42 +03:00
ArabCoders
4ed7c26bb4 migrated all our emitter usage to EventBus 2025-03-22 02:05:52 +03:00
ArabCoders
ca00aff9e3 fix params Impersonate target 2025-03-16 21:24:00 +03:00
ArabCoders
b116d48da6 added converter for date range objects param 2025-03-16 20:12:18 +03:00
ArabCoders
b7b72cf21e try to direct play video first and fallback to hls if we encounter error. 2025-02-27 18:31:17 +03:00
ArabCoders
6b930bb388 added more info to media Metadata, and cleaned up itemDTO object. 2024-12-27 19:58:21 +03:00
ArabCoders
2d70de2032 updating python code to be little more clean and implements more type checks. 2024-12-20 21:20:51 +03:00
ArabCoders
c727ab3446 Finalizing migration to nuxt3 2024-12-17 17:07:52 +03:00
ArabCoders
51024c2a9b some minor app changes =) 2024-12-15 21:28:37 +03:00