aboutsummaryrefslogtreecommitdiff
path: root/user/anime/animelist.structs.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-13 16:56:09 +0530
committerVidhu Kant Sharma <vidhukant@protonmail.ch>2022-02-13 16:56:09 +0530
commit419e08bc3a369a0c1138871184e1a30320032afd (patch)
treec32a78c0c6f16416f42975cac86fbfc23d1b1735 /user/anime/animelist.structs.go
parent208cb52b47278315b5227251d5b65c07908cde23 (diff)
added functionality to update anime list of authenticated user
Diffstat (limited to 'user/anime/animelist.structs.go')
-rw-r--r--user/anime/animelist.structs.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/anime/animelist.structs.go b/user/anime/animelist.structs.go
index d43b47b..d874f7b 100644
--- a/user/anime/animelist.structs.go
+++ b/user/anime/animelist.structs.go
@@ -27,3 +27,16 @@ type AnimeListRaw struct {
} `json:"data"`
Paging anime.ListPaging `json:"paging"`
}
+
+type UpdateAnimeData struct {
+ Status string `json:"status"`
+ IsRewatching bool `json:"is_rewatching"`
+ Score int `json:"score"`
+ EpWatched int `json:"num_watched_episodes"`
+ Priority int `json:"priority"`
+ TimesRewatched int `json:"num_times_rewatched"`
+ // NOTE: idk what RewatchValue is
+ RewatchValue int `json:"rewatch_value"`
+ Tags string `json:"tags"`
+ Comments string `json:"comments"`
+}