from pydantic import BaseModel


class RenameMaterialRequest(BaseModel):
    new_name: str


class MaterialItem(BaseModel):
    id: str
    name: str
    path: str
    size_mb: float
    type: str = "video"
    created_at: int = 0
