rewrote the Anime.svelte to move out helper functions and clean up code

This commit is contained in:
2024-09-05 15:29:42 -04:00
parent aeec8f79b2
commit 77e361b5b2
20 changed files with 616 additions and 473 deletions

View File

@ -43,6 +43,12 @@ type AniListGetSingleAnime struct {
} `json:"data"`
}
type AniListUpdateReturn struct {
Data struct {
SaveMediaListEntry MediaList `json:"SaveMediaListEntry"`
}
}
type MediaList struct {
ID int `json:"id"`
MediaID int `json:"mediaId"`