/**
 * Bundled canon lists - curated arrays of TMDB ids for well-known
 * "best films of all time" lists. Used by the home page's "Discover
 * canon" section to surface highly regarded works against the user's
 * library so missing entries are obvious.
 *
 * Each list keeps a small descriptive blurb plus the source (so the
 * row can credit it). Lists are intentionally short to avoid a wall of
 * unfamiliar titles; users who care can check the full list at the
 * source. Where a TMDB id couldn't be confirmed at curate time, the
 * entry was dropped rather than risk surfacing the wrong film.
 */

export interface CanonList {
  id: string
  title: string
  subtitle: string
  source: string
  /** Ordered TMDB movie ids, top of list first. */
  tmdbMovieIds: number[]
}

export const CANON_LISTS: CanonList[] = [
  {
    id: 'afi-classics',
    title: 'AFI canon',
    subtitle: 'American Film Institute "100 Years...100 Movies"',
    source: 'AFI',
    tmdbMovieIds: [
      15, // Citizen Kane
      238, // The Godfather
      289, // Casablanca
      1578, // Raging Bull
      872, // Singin' in the Rain
      11, // Star Wars
      85, // Raiders of the Lost Ark
      426, // Vertigo
      539, // Psycho
      599, // Sunset Boulevard
      278, // The Shawshank Redemption
      5894, // The Searchers
      424, // Schindler's List
      389, // 12 Angry Men
      769, // GoodFellas
      408, // Snow White and the Seven Dwarfs
      857, // Saving Private Ryan
      105, // Back to the Future
    ],
  },
  {
    id: 'sight-and-sound',
    title: 'Sight & Sound Greatest Films',
    subtitle: 'BFI critics poll',
    source: 'Sight & Sound / BFI',
    tmdbMovieIds: [
      426, // Vertigo
      15, // Citizen Kane
      843, // Tokyo Story
      62, // 2001: A Space Odyssey
      805, // Persona
      672, // Mulholland Drive
      11216, // Cinema Paradiso
      28, // Apocalypse Now
      346, // Seven Samurai
      872, // Singin' in the Rain
    ],
  },
  {
    id: 'imdb-top',
    title: 'IMDb Top 25',
    subtitle: 'Highest-rated by IMDb users',
    source: 'IMDb',
    tmdbMovieIds: [
      278, // The Shawshank Redemption
      238, // The Godfather
      155, // The Dark Knight
      240, // The Godfather Part II
      389, // 12 Angry Men
      424, // Schindler's List
      120, // LOTR: The Fellowship of the Ring
      121, // LOTR: The Two Towers
      122, // LOTR: The Return of the King
      680, // Pulp Fiction
      550, // Fight Club
      27205, // Inception
      603, // The Matrix
      769, // GoodFellas
      11, // Star Wars
      1891, // The Empire Strikes Back
      157336, // Interstellar
      346, // Seven Samurai
      129, // Spirited Away
      637, // Life Is Beautiful
    ],
  },
]
