16 lines
352 B
TypeScript
16 lines
352 B
TypeScript
export interface Notification {
|
|
uuid: string;
|
|
notificationId?: number; // Excluded from API responses (ADR-019)
|
|
title: string;
|
|
message: string;
|
|
type: "INFO" | "SUCCESS" | "WARNING" | "ERROR";
|
|
isRead: boolean;
|
|
createdAt: string;
|
|
link?: string;
|
|
}
|
|
|
|
export interface NotificationResponse {
|
|
items: Notification[];
|
|
unreadCount: number;
|
|
}
|