feat(server): modularize backend and admin console
This commit is contained in:
@@ -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 = ""
|
||||
Reference in New Issue
Block a user