251205:0000 Just start debug backend/frontend
This commit is contained in:
14
frontend/types/notification.ts
Normal file
14
frontend/types/notification.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export interface Notification {
|
||||
notification_id: number;
|
||||
title: string;
|
||||
message: string;
|
||||
type: "INFO" | "SUCCESS" | "WARNING" | "ERROR";
|
||||
is_read: boolean;
|
||||
created_at: string;
|
||||
link?: string;
|
||||
}
|
||||
|
||||
export interface NotificationResponse {
|
||||
items: Notification[];
|
||||
unreadCount: number;
|
||||
}
|
||||
Reference in New Issue
Block a user