fixed simkl types
This commit is contained in:
parent
1dcf7ba5bd
commit
77289052e9
@ -30,7 +30,7 @@ type SimklWatchList struct {
|
|||||||
Anime []struct {
|
Anime []struct {
|
||||||
LastWatchedAt string `json:"last_watched_at" ts_type:"last_watched_at"`
|
LastWatchedAt string `json:"last_watched_at" ts_type:"last_watched_at"`
|
||||||
Status string `json:"status" ts_type:"status"`
|
Status string `json:"status" ts_type:"status"`
|
||||||
UserRating int `json:"user_rating" ts_type:"user_rating"`
|
UserRating float64 `json:"user_rating" ts_type:"user_rating"`
|
||||||
LastWatched string `json:"last_watched" ts_type:"last_watched"`
|
LastWatched string `json:"last_watched" ts_type:"last_watched"`
|
||||||
NextToWatch string `json:"next_to_watch" ts_type:"next_to_watch"`
|
NextToWatch string `json:"next_to_watch" ts_type:"next_to_watch"`
|
||||||
WatchedEpisodesCount int `json:"watched_episodes_count" ts_type:"watched_episodes_count"`
|
WatchedEpisodesCount int `json:"watched_episodes_count" ts_type:"watched_episodes_count"`
|
||||||
|
@ -19,7 +19,10 @@ export type SimklUser = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export type SimklWatchList = {
|
export type SimklWatchList = {
|
||||||
anime: [{
|
anime: [SimklAnime]
|
||||||
|
}
|
||||||
|
|
||||||
|
export type SimklAnime = {
|
||||||
last_watched_at: string,
|
last_watched_at: string,
|
||||||
status: string
|
status: string
|
||||||
user_rating: number,
|
user_rating: number,
|
||||||
@ -55,5 +58,4 @@ export type SimklWatchList = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
anime_type: string
|
anime_type: string
|
||||||
}]
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user