feat: Phase 3 manufacturing + firmware management

This commit is contained in:
2026-02-27 02:47:08 +02:00
parent 2f610633c4
commit 32a2634739
25 changed files with 2266 additions and 52 deletions

View File

@@ -0,0 +1,31 @@
from pydantic import BaseModel
from typing import Optional, List
class FirmwareVersion(BaseModel):
id: str
hw_type: str # "vs", "vp", "vx"
channel: str # "stable", "beta", "alpha", "testing"
version: str # semver e.g. "1.4.2"
filename: str
size_bytes: int
sha256: str
uploaded_at: str
notes: Optional[str] = None
is_latest: bool = False
class FirmwareListResponse(BaseModel):
firmware: List[FirmwareVersion]
total: int
class FirmwareLatestResponse(BaseModel):
hw_type: str
channel: str
version: str
size_bytes: int
sha256: str
download_url: str
uploaded_at: str
notes: Optional[str] = None