feat: add version and release fields to canonical episode list
This commit is contained in:
@@ -24,14 +24,16 @@ type CanonicalEpisode struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type CanonicalEpisodeList struct {
|
type CanonicalEpisodeList struct {
|
||||||
AnimeID int `json:"anime_id"`
|
AnimeID int `json:"anime_id"`
|
||||||
Episodes []CanonicalEpisode `json:"episodes"`
|
Episodes []CanonicalEpisode `json:"episodes"`
|
||||||
Source string `json:"source"`
|
Source string `json:"source"`
|
||||||
NextRefreshAt string `json:"next_refresh_at,omitempty"`
|
AvailabilityVersion int `json:"availability_version,omitempty"`
|
||||||
RetryUntilAt string `json:"retry_until_at,omitempty"`
|
ReleaseChecked bool `json:"release_checked,omitempty"`
|
||||||
LastAttemptAt string `json:"last_attempt_at,omitempty"`
|
NextRefreshAt string `json:"next_refresh_at,omitempty"`
|
||||||
LastSuccessAt string `json:"last_success_at,omitempty"`
|
RetryUntilAt string `json:"retry_until_at,omitempty"`
|
||||||
FailureCount int64 `json:"failure_count,omitempty"`
|
LastAttemptAt string `json:"last_attempt_at,omitempty"`
|
||||||
|
LastSuccessAt string `json:"last_success_at,omitempty"`
|
||||||
|
FailureCount int64 `json:"failure_count,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type EpisodeService interface {
|
type EpisodeService interface {
|
||||||
|
|||||||
Reference in New Issue
Block a user