added next airing episode
This commit is contained in:
parent
c8669da106
commit
d1cec22dcd
@ -93,6 +93,7 @@ const (
|
||||
isAdult
|
||||
userId
|
||||
}
|
||||
nextAiringEpisode
|
||||
}`
|
||||
|
||||
subSelectionFuzzyDate = `{
|
||||
|
65
types.go
65
types.go
@ -10,38 +10,39 @@ type User struct {
|
||||
}
|
||||
|
||||
type Media struct {
|
||||
ID int `json:"id"`
|
||||
Title MediaTitle `json:"title"`
|
||||
Type MediaType `json:"type"`
|
||||
Format MediaFormat `json:"format"`
|
||||
Status MediaStatus `json:"status"`
|
||||
Description string `json:"description"`
|
||||
StartDate FuzzyDate `json:"startDate"`
|
||||
EndDate FuzzyDate `json:"endDate"`
|
||||
Season MediaSeason `json:"season"`
|
||||
SeasonYear int `json:"seasonYear"`
|
||||
SeasonInt int `json:"seasonInt"`
|
||||
Episodes int `json:"episodes"`
|
||||
Duration Minutes `json:"duration"`
|
||||
Chapters int `json:"chapters"`
|
||||
Volumes int `json:"volumes"`
|
||||
CountryOfOrigin string `json:"countryOfOrigin"`
|
||||
Licensed bool `json:"isLicensed"`
|
||||
Source MediaSource `json:"source"`
|
||||
Hashtag string `json:"hashtag"`
|
||||
Trailer MediaTrailer `json:"trailer"`
|
||||
UpdatedAt UnixTime `json:"updatedAt"`
|
||||
CoverImage MediaCoverImage `json:"coverImage"`
|
||||
BannerImage string `json:"bannerImage"`
|
||||
Genres []string `json:"genres"`
|
||||
Synonyms []string `json:"synonyms"`
|
||||
AverageScore int `json:"averageScore"`
|
||||
MeanScore int `json:"meanScore"`
|
||||
Popularity int `json:"popularity"`
|
||||
Locked bool `json:"isLocked"`
|
||||
Trending int `json:"trending"`
|
||||
Favourites int `json:"favourites"`
|
||||
Tags []MediaTag `json:"tags"`
|
||||
ID int `json:"id"`
|
||||
Title MediaTitle `json:"title"`
|
||||
Type MediaType `json:"type"`
|
||||
Format MediaFormat `json:"format"`
|
||||
Status MediaStatus `json:"status"`
|
||||
Description string `json:"description"`
|
||||
StartDate FuzzyDate `json:"startDate"`
|
||||
EndDate FuzzyDate `json:"endDate"`
|
||||
Season MediaSeason `json:"season"`
|
||||
SeasonYear int `json:"seasonYear"`
|
||||
SeasonInt int `json:"seasonInt"`
|
||||
Episodes int `json:"episodes"`
|
||||
Duration Minutes `json:"duration"`
|
||||
Chapters int `json:"chapters"`
|
||||
Volumes int `json:"volumes"`
|
||||
CountryOfOrigin string `json:"countryOfOrigin"`
|
||||
Licensed bool `json:"isLicensed"`
|
||||
Source MediaSource `json:"source"`
|
||||
Hashtag string `json:"hashtag"`
|
||||
Trailer MediaTrailer `json:"trailer"`
|
||||
UpdatedAt UnixTime `json:"updatedAt"`
|
||||
CoverImage MediaCoverImage `json:"coverImage"`
|
||||
BannerImage string `json:"bannerImage"`
|
||||
Genres []string `json:"genres"`
|
||||
Synonyms []string `json:"synonyms"`
|
||||
AverageScore int `json:"averageScore"`
|
||||
MeanScore int `json:"meanScore"`
|
||||
Popularity int `json:"popularity"`
|
||||
Locked bool `json:"isLocked"`
|
||||
Trending int `json:"trending"`
|
||||
Favourites int `json:"favourites"`
|
||||
Tags []MediaTag `json:"tags"`
|
||||
NextAiringEpisode AiringSchedule `json:"nextAiringEpisode"`
|
||||
//TODO
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user