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