Lukas 1ba4336291 feat: implement download queue Pydantic models
- Add comprehensive download queue models in src/server/models/download.py
  - DownloadStatus and DownloadPriority enums for type safety
  - EpisodeIdentifier for episode references
  - DownloadProgress for real-time progress tracking
  - DownloadItem for queue item representation with timestamps and error handling
  - QueueStatus for overall queue state management
  - QueueStats for aggregated queue statistics
  - DownloadRequest/DownloadResponse for API contracts
  - QueueOperationRequest and QueueReorderRequest for queue management
  - QueueStatusResponse for complete status endpoint responses

- Add comprehensive unit tests (47 tests, all passing)
  - Test validation constraints (positive numbers, ranges, etc.)
  - Test default values and optional fields
  - Test serialization/deserialization
  - Test model relationships and nested structures

- Update documentation
  - Add download models section to infrastructure.md
  - Remove completed task from instructions.md
  - Update models package __init__.py

All models follow PEP 8 style guide with proper type hints and validation.
2025-10-17 09:55:55 +02:00
2025-05-17 21:31:16 +02:00
2025-10-12 22:39:51 +02:00
2025-10-12 18:05:31 +02:00
2025-10-12 18:05:31 +02:00
2025-10-12 18:05:31 +02:00
2025-05-31 20:46:30 +02:00
2025-10-12 22:39:51 +02:00
2025-10-12 23:06:29 +02:00
Description
No description provided
179 MiB
Languages
Python 78.5%
JavaScript 14.7%
HTML 3.3%
CSS 2.9%
Shell 0.4%
Other 0.2%