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 = {
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,