Initial commit

This commit is contained in:
2026-01-14 20:23:10 +06:00
commit 954dd473d1
57 changed files with 8854 additions and 0 deletions

23
backend/models.py Normal file
View File

@@ -0,0 +1,23 @@
from pydantic import BaseModel
from typing import Optional, List
class UserRegister(BaseModel):
username: str
password: str
class UserLogin(BaseModel):
username: str
password: str
class Token(BaseModel):
access_token: str
token_type: str
username: str
role: str
class ServerAccess(BaseModel):
username: str
server_name: str
class ServerAccessList(BaseModel):
users: List[dict]