Type: defineTVSeason(input?: TVSeason)
Describes a season of a TV series.
stringnumberNodeRelation<TVSeries>numberTVSeasondefineTVSeason({
seasonNumber: 2,
partOfSeries: {
name: 'Breaking Bad',
},
})
defineTVSeason({
name: 'Season 2',
seasonNumber: 2,
description: 'The second season of Breaking Bad',
numberOfEpisodes: 13,
partOfSeries: {
name: 'Breaking Bad',
},
image: 'https://example.com/shows/breaking-bad-season-2.jpg',
datePublished: new Date(2009, 2, 8),
startDate: new Date(2009, 2, 8),
endDate: new Date(2009, 4, 31),
})
export interface TVSeasonSimple extends Thing {
name?: string
description?: string
seasonNumber?: number
numberOfEpisodes?: number
partOfSeries?: NodeRelation<any>
episode?: NodeRelations<any>
datePublished?: ResolvableDate
startDate?: ResolvableDate
endDate?: ResolvableDate
image?: NodeRelations<string | ImageObject>
url?: string
actor?: NodeRelations<Person | string>
director?: NodeRelations<Person | string>
productionCompany?: NodeRelation<Organization | string>
aggregateRating?: NodeRelation<AggregateRating>
contentRating?: string
trailer?: NodeRelation<VideoObject | string>
}