feat: add version and release fields to canonical episode list

This commit is contained in:
2026-07-01 18:53:28 +02:00
parent 886e412be5
commit 0bf78f1ea3

View File

@@ -27,6 +27,8 @@ 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"`
AvailabilityVersion int `json:"availability_version,omitempty"`
ReleaseChecked bool `json:"release_checked,omitempty"`
NextRefreshAt string `json:"next_refresh_at,omitempty"` NextRefreshAt string `json:"next_refresh_at,omitempty"`
RetryUntilAt string `json:"retry_until_at,omitempty"` RetryUntilAt string `json:"retry_until_at,omitempty"`
LastAttemptAt string `json:"last_attempt_at,omitempty"` LastAttemptAt string `json:"last_attempt_at,omitempty"`