Files
xiaoxia-saas/apps/api/app/schemas/asset_diagnosis.py
T
Xiaoxia AI 37e849f90e
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Production Browser E2E (push) Failing after 2033h28m49s
Deploy / Build Production Runtime Images (push) Failing after 2033h38m1s
Deploy / Deploy Production (push) Failing after 2033h28m51s
feat(assets): track generation usage review state
2026-06-23 21:52:47 +08:00

35 lines
702 B
Python

from pydantic import BaseModel
class AssetSmartViewItem(BaseModel):
key: str
label: str
count: int
description: str
class AssetGapItem(BaseModel):
key: str
severity: str
message: str
recommendation: str
class ProjectAssetDiagnosisResponse(BaseModel):
workspace_id: str
project_id: str
readiness_score: int
readiness_label: str
total_assets: int
ready_assets: int
video_assets: int
image_assets: int
voice_assets: int
total_duration_seconds: float
estimated_video_count: int
used_assets: int
unused_assets: int
pending_review_assets: int
smart_views: list[AssetSmartViewItem]
gaps: list[AssetGapItem]