Add movies/series filmography to company detail
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
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
GET /companies/{id} showed only the company's own info. Adds movies
and series lists (any role: production, distribution, network),
ordered by release/first-air date, read straight off the existing
movie_companies/series_companies junction rows -- no separate sync
needed since those only ever exist as a side effect of ingesting the
movie or series itself.
Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
606d2532c4
commit
6956bf7406
+6
-1
@@ -57,7 +57,12 @@ else carries `job`. Series-level "Creator" credits and episode
|
||||
A single `companies` table serves production companies, studios, networks,
|
||||
and distributors, distinguished by `company_type` (section 8) — a TV network
|
||||
and a movie studio have the same shape (name, logo, country, parent
|
||||
company), so a separate `Network` entity would just duplicate columns.
|
||||
company), so a separate `Network` entity would just duplicate columns. A
|
||||
company's own filmography (`GET /api/v1/companies/{id}`'s `movies`/`series`
|
||||
lists) is read straight off `movie_companies`/`series_companies` — no
|
||||
separate sync step, since those rows only ever exist as a side effect of
|
||||
ingesting the movie or series itself (`app/repositories/company_repository.py`).
|
||||
|
||||
`collections` (franchises) are first-class, with their own artwork and
|
||||
`collection_relations` for shared-universe links between collections
|
||||
(section 9). A collection starts as a bare name-only stub the first time
|
||||
|
||||
Reference in New Issue
Block a user