cddb07a176
docs / deploy (push) Has been cancelled
docs / changes (push) Has been cancelled
docs / check-and-build (push) Has been cancelled
build container image / cpu (push) Has been cancelled
build container image / cuda (push) Has been cancelled
build container image / rocm (push) Has been cancelled
frontend checks / frontend-checks (push) Has been cancelled
frontend tests / frontend-tests (push) Has been cancelled
lfs checks / lfs-check (push) Has been cancelled
python checks / python-checks (push) Has been cancelled
python tests / py3.12: macos-default (push) Has been cancelled
python tests / py3.11: windows-cpu (push) Has been cancelled
python tests / py3.12: windows-cpu (push) Has been cancelled
python tests / py3.11: linux-cpu (push) Has been cancelled
typegen checks / typegen-checks (push) Has been cancelled
uv lock checks / uv-lock-checks (push) Has been cancelled
openapi checks / openapi-checks (push) Has been cancelled
python tests / py3.11: macos-default (push) Has been cancelled
python tests / py3.12: linux-cpu (push) Has been cancelled
15 lines
764 B
Python
15 lines
764 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
class VirtualSubBoardDTO(BaseModel):
|
|
"""A virtual sub-board computed from image metadata, not stored in the database."""
|
|
|
|
virtual_board_id: str = Field(description="The virtual board ID, e.g. 'by_date:2026-03-18'.")
|
|
board_name: str = Field(description="The display name of the virtual sub-board, e.g. '2026-03-18'.")
|
|
date: str = Field(description="The ISO date string, e.g. '2026-03-18'.")
|
|
image_count: int = Field(description="The number of general images for this date.")
|
|
asset_count: int = Field(description="The number of asset images for this date.")
|
|
cover_image_name: Optional[str] = Field(default=None, description="The most recent image name for this date.")
|