mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
chore: add NotificationItem for Notifications
Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
This commit is contained in:
parent
98bfa20748
commit
df05ead291
1 changed files with 7 additions and 1 deletions
8
src/types/models/Ctx.d.ts
vendored
8
src/types/models/Ctx.d.ts
vendored
|
|
@ -45,9 +45,15 @@ type Profile = {
|
|||
type Notifications = {
|
||||
uid: string,
|
||||
created: string,
|
||||
items: Record<string, Video[]>,
|
||||
items: Record<string, NotificationItem[]>,
|
||||
};
|
||||
|
||||
type NotificationItem = {
|
||||
metaId: string,
|
||||
videoId: string,
|
||||
videoReleased: string,
|
||||
}
|
||||
|
||||
type Ctx = {
|
||||
profile: Profile,
|
||||
notifications: Notifications,
|
||||
|
|
|
|||
Loading…
Reference in a new issue