同步新模板 schemas

This commit is contained in:
2025-04-15 01:58:19 +08:00
parent b78032b868
commit 1679576fb4
19 changed files with 267 additions and 167 deletions

View File

@@ -1,13 +1,11 @@
from typing import Literal
from pydantic import BaseModel
from .base import People
from .base import Base, People
class Bind(BaseModel):
class Bind(Base):
platform: Literal['TETR.IO', 'TOP', 'TOS']
status: Literal['error', 'success', 'unknown', 'unlink', 'unverified']
type: Literal['success', 'unknown', 'unlink', 'unverified', 'error']
user: People
bot: People
command: str
prompt: str