Skip to content

Instantly share code, notes, and snippets.

@HenryKun55
Created August 31, 2021 16:07
Show Gist options
  • Save HenryKun55/32da1e52665d27fa42007513eb45a8a2 to your computer and use it in GitHub Desktop.
Save HenryKun55/32da1e52665d27fa42007513eb45a8a2 to your computer and use it in GitHub Desktop.
Movie Typed ( TMDB ) 2021-08-31
export type IMovie = {
adult: boolean
backdrop_path: string | null
belongs_to_collection: Record<string, unknown> | null
budget: number
genres: [
{
id: number
name: string
}
]
homepage: string | null
id: number
imdb_id: string | null
original_language: string
original_title: string
overview: string | null
popularity: number
poster_path: string | null
production_companies: [
{
id: number
logo_path: string | null
name: string
origin_country: string
}
]
production_countries: [
{
iso_3166_1: string
name: string
}
]
release_date: string
revenue: number
runtime: number
spoken_languages: [
{
iso_639_1: string
name: string
}
]
status: string
tagline: string | null
title: string
video: boolean
vote_average: number
vote_count: number
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment