chore: add NotificationItem for Notifications

Signed-off-by: Lachezar Lechev <lachezar@ambire.com>
This commit is contained in:
Lachezar Lechev 2023-08-11 08:55:00 +03:00
parent 98bfa20748
commit df05ead291
No known key found for this signature in database
GPG key ID: 69BDCB3ED8CE8037

View file

@ -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,