@theoplayer/react-native-engage
Version:
Engage connector for @theoplayer/react-native
55 lines (45 loc) • 1.02 kB
text/typescript
import { Availability, Price, RatingSystem } from '../types';
import { ClusterEntity, EntityType } from './Entity';
/**
* An object representing a tv show.
*
* {@link https://developer.android.com/guide/playcore/engage/watch#tvshowentity | TvShowEntity}
*/
export interface TvShow extends ClusterEntity {
/**
* The entity type.
*/
type: EntityType.TvShow;
/**
* The deep link to the provider app to show details about the entity.
*/
infoPageUri: string;
/**
* The air date of the first episode, in epoch milliseconds.
*/
firstEpisodeAirDate: number;
/**
* The availability of the entity.
*/
availability: Availability;
/**
* Season count.
*/
seasonCount: number;
/**
* A list of genres.
*/
genres: string[];
/**
* A list of content ratings.
*/
contentRating: RatingSystem[];
/**
* The air date of the last episode, in epoch milliseconds.
*/
lastEpisodeAirDate?: number;
/**
* The entity's price.
*/
price?: Price;
}