Skip to main content

Notification

Source: lyda-shared/src/Models/db/lyda/Notification.ts

Dependencies

import {NotificationReference} from "../../NotificationReference.ts";

Notification

Type: interface

export interface Notification {
references?: NotificationReference[];
id: number;
user_id: number;
track_id: number;
type: string;
search_key: string;
message: string;
is_read: boolean;
created_at: Date;
}

Properties

PropertyTypeRequiredDescription
referencesNotificationReference[]No-
idnumberYes-
user_idnumberYes-
track_idnumberYes-
typestringYes-
search_keystringYes-
messagestringYes-
is_readbooleanYes-
created_atD​a​t​eYes-