StandardXtreamMovieListing: {
    id: string;
    name: string;
    plot: string | null;
    voteAverage: number;
    poster: string;
    releaseDate: Date | null;
    duration: number;
    youtubeId: string | null;
    cast: string[];
    director: string[];
    genre: string[];
    createdAt: Date;
    categoryIds?: string[];
    url?: string;
}

Standardized Xtream movie listing

This type represents a movie in the Xtream system in a standardized format

Type declaration

  • id: string

    The unique identifier for the movie

  • name: string

    The title of the movie

  • plot: string | null

    The synopsis/description of the movie

  • voteAverage: number

    The movie's rating

  • poster: string

    The URL for the movie's poster

  • releaseDate: Date | null

    The release date of the movie

  • duration: number

    The runtime of the movie in seconds

  • youtubeId: string | null

    Youtube ID of trailer

  • cast: string[]

    The cast of the movie as an array

  • director: string[]

    The director(s) of the movie as an array

  • genre: string[]

    The genres of the movie as an array

  • createdAt: Date

    The date when the movie was added to the system

  • OptionalcategoryIds?: string[]

    All category IDs the movie belongs to

  • Optionalurl?: string

    URL to access the stream