t
This commit is contained in:
1 parent
1dde1311a3
commit
129c3dd164
12 files changed
+65
No files matched your search
@@ -44,6 +44,8 @@ export interface Profile extends ProfileCard {
|
||||
stats?: ProfileStats
|
||||
top: MediaItem[]
|
||||
recent: MediaItem[]
|
||||
watching: MediaItem[]
|
||||
watchlist: MediaItem[]
|
||||
}
|
||||
|
||||
export interface FeedEntry {
|
||||
@@ -113,6 +115,8 @@ function toProfile(raw: unknown): Profile | null {
|
||||
: undefined,
|
||||
top: toItems(raw.top),
|
||||
recent: toItems(raw.recent),
|
||||
watching: toItems(raw.watching),
|
||||
watchlist: toItems(raw.watchlist),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user