feat(server): modularize backend and admin console
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class ChangeAdminTokenRequest(BaseModel):
|
||||
new_token: str
|
||||
|
||||
|
||||
class ClientConfigGenerateRequest(BaseModel):
|
||||
app_id: str
|
||||
channel: str = "stable"
|
||||
current_version: str = "1.0.0"
|
||||
client_protocol: int = 3
|
||||
license_key: str = ""
|
||||
api_base_url: str = ""
|
||||
main_executable: str = ""
|
||||
Reference in New Issue
Block a user