feat(server): modularize backend and admin console
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class AppCreateRequest(BaseModel):
|
||||
app_id: str = ""
|
||||
app_name: str = ""
|
||||
|
||||
|
||||
class ChannelSaveRequest(BaseModel):
|
||||
app_id: str = ""
|
||||
channel_code: str = ""
|
||||
display_name: str = ""
|
||||
enabled: bool = True
|
||||
sort_order: int = 100
|
||||
Reference in New Issue
Block a user