From 419e08bc3a369a0c1138871184e1a30320032afd Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 13 Feb 2022 16:56:09 +0530 Subject: added functionality to update anime list of authenticated user --- user/anime/animelist.structs.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'user/anime/animelist.structs.go') 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"` +} -- cgit v1.2.3