mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 11:42: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 = {
|
type Notifications = {
|
||||||
uid: string,
|
uid: string,
|
||||||
created: string,
|
created: string,
|
||||||
items: Record<string, Video[]>,
|
items: Record<string, NotificationItem[]>,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
type NotificationItem = {
|
||||||
|
metaId: string,
|
||||||
|
videoId: string,
|
||||||
|
videoReleased: string,
|
||||||
|
}
|
||||||
|
|
||||||
type Ctx = {
|
type Ctx = {
|
||||||
profile: Profile,
|
profile: Profile,
|
||||||
notifications: Notifications,
|
notifications: Notifications,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue