StandardXtreamShow: {
    id: string;
    name: string;
    plot: string | null;
    voteAverage: number;
    poster: string;
    cover: string;
    releaseDate: Date | null;
    duration: number;
    youtubeId: string | null;
    cast: string[];
    director: string[];
    genre: string[];
    updatedAt: Date;
    categoryIds?: string[];
    seasons: StandardXtreamSeason[];
}

Standardized Xtream show information

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

Type declaration

  • id: string

    The unique identifier for the show

  • name: string

    The title of the show

  • plot: string | null

    The synopsis/description of the show

  • voteAverage: number

    The show's rating

  • poster: string

    The URL for the show's poster image

  • cover: string

    The URL for the show's cover image

  • releaseDate: Date | null

    The release date of the show

  • duration: number

    The average runtime of episodes in seconds

  • youtubeId: string | null

    Youtube ID of trailer

  • cast: string[]

    The cast members of the show as an array

  • director: string[]

    The director(s) of the show as an array

  • genre: string[]

    The genre(s) of the show as an array

  • updatedAt: Date

    The date when the show was last updated

  • OptionalcategoryIds?: string[]

    All category IDs the show belongs to

  • seasons: StandardXtreamSeason[]

    Array of seasons in the show