created simkl user and watch types

This commit is contained in:
2024-07-30 20:35:49 -04:00
parent 54d5932d8a
commit 2f272fe7af
2 changed files with 117 additions and 6 deletions

View File

@ -0,0 +1,59 @@
export type SimklUser = {
user: {
name: string,
joined_at: string,
gender: string,
avatar: string,
bio: string,
loc: string,
age: string,
},
account: {
id: number,
timezone: string,
type: string,
},
connections: {
facebook: boolean
}
}
export type SimklWatchList = {
anime: [{
last_watched_at: string,
status: string
user_rating: number,
last_watched: string,
next_to_watch: string,
watched_episodes_count: number,
total_episodes_count: number,
not_aired_episodes_count: number,
show: {
title: string,
poster: string,
ids: {
simkl: number,
slug: string,
offjp: string,
tw: string,
ann: string,
mal: string,
wikien: string,
wikijp: string,
allcin: string,
imdb: string,
offen: string,
crunchyroll: string,
tvdbslug: string,
anilist: string,
animeplanet: string,
anisearch: string,
kitsu: string,
livechart: string,
traktslug: string,
anidb: string,
}
},
anime_type: string
}]
}