added ability to change simkl rating

This commit is contained in:
2024-08-11 18:32:44 -04:00
parent b11395a617
commit a6b26171d4
5 changed files with 81 additions and 7 deletions

View File

@ -88,3 +88,14 @@ type Ids struct {
Mal string `json:"mal" ts_type:"mal"`
Anilist string `json:"anilist" ts_type:"anilist"`
}
type ShowWithRating struct {
Title string `json:"title" ts_type:"title"`
Ids `json:"ids" ts_type:"ids"`
Rating int `json:"rating" ts_type:"rating"`
}
type ShowWithoutRating struct {
Title string `json:"title" ts_type:"title"`
Ids `json:"ids" ts_type:"ids"`
}