cmvr-visual/backend/app/schemas/assets.py
zhanghao 88cf14d794 feat: consolidate story studio and editable automatic production
Restructure backend and frontend modules; add story, library, and editor schema migrations.

Support editable automatic production, manual confirmation modes, account and user lifecycle management, compact container scrolling, consistent forms, and per-task result previews.

Update inference and TTS scheduling, deployment guidance, and regression coverage; remove obsolete standalone pages and temporary acceptance artifacts.
2026-11-14 14:07:26 +08:00

14 lines
415 B
Python

from pydantic import BaseModel, Field
class SharedImport(BaseModel):
model_config = {"extra": "forbid"}
folder_id: str | None = None
class AssetPatch(BaseModel):
folder_ids: list[str] | None = Field(default=None, max_length=200)
name: str | None = Field(default=None, min_length=1, max_length=255)
tags: list[str] | None = Field(default=None, max_length=30)
favorite: bool | None = None