feat(server): modularize backend and admin console

This commit is contained in:
2026-07-14 01:38:41 +00:00
parent 9a6ac1e4ed
commit 95dd32c75a
261 changed files with 39289 additions and 2156 deletions
+13
View File
@@ -0,0 +1,13 @@
from pydantic import BaseModel, Field
class PolicySaveRequest(BaseModel):
app_id: str = ""
channel: str = ""
force_update: bool = False
allow_rollback: bool = False
offline_allowed: bool = False
valid_until: str = ""
min_supported_version: str = ""
disabled_versions: list[str] = Field(default_factory=list)
message: str = ""