CI / lint (push) Canceled after 0s
CI / typecheck (push) Canceled after 0s
CI / unit-tests (push) Canceled after 0s
CI / integration-tests (push) Canceled after 0s
CI / container-build (push) Canceled after 0s
CI / dependency-audit (push) Canceled after 0s
Production-grade media metadata backend per docs/aurora-core-spec.md: Aurora-owned UUIDv7 identity system, normalized movie/TV/people/credits schema, provider abstraction with a TMDb adapter, an idempotent async ingestion pipeline (normalize -> match -> upsert -> provenance), a Postgres FTS/trigram search layer, a stateless FastAPI v1 API with Redis caching/rate-limiting, arq workers, dev/prod Docker Compose topologies, unit + integration + load tests, CI, and architecture/ database/API/ERD documentation. Co-Authored-By: Claude Sonnet 5 <[email protected]>
21 lines
592 B
Python
21 lines
592 B
Python
"""Search response schemas."""
|
|
|
|
from __future__ import annotations
|
|
|
|
from pydantic import BaseModel
|
|
|
|
from app.schemas.common import CollectionBriefOut, CompanyBriefOut
|
|
from app.schemas.movie import MovieSummaryOut
|
|
from app.schemas.person import PersonSummaryOut
|
|
from app.schemas.tv import SeriesSummaryOut
|
|
|
|
|
|
class SearchResultsOut(BaseModel):
|
|
query: str
|
|
movies: list[MovieSummaryOut] = []
|
|
series: list[SeriesSummaryOut] = []
|
|
people: list[PersonSummaryOut] = []
|
|
collections: list[CollectionBriefOut] = []
|
|
companies: list[CompanyBriefOut] = []
|
|
total_results: int = 0
|