docs: update project docs and evaluation history pagination
This commit is contained in:
@@ -61,10 +61,22 @@ class EvaluationListItem(BaseModel):
|
||||
pdf_exported: bool
|
||||
|
||||
|
||||
class PaginationMeta(BaseModel):
|
||||
"""分页信息:用于历史训练记录列表的前端分页展示。"""
|
||||
|
||||
page: int
|
||||
page_size: int
|
||||
total: int
|
||||
total_pages: int
|
||||
has_next: bool
|
||||
has_prev: bool
|
||||
|
||||
|
||||
class EvaluationListResponse(BaseModel):
|
||||
"""历史评价列表响应。"""
|
||||
|
||||
items: list[EvaluationListItem]
|
||||
pagination: PaginationMeta
|
||||
|
||||
|
||||
class ExportPdfResponse(BaseModel):
|
||||
|
||||
Reference in New Issue
Block a user