Files
lcbp3/frontend/types/notification.ts
T
admin 1aff83214f
CI / CD Pipeline / build (push) Failing after 17m29s
CI / CD Pipeline / deploy (push) Has been skipped
260326:1347 Fixing Refactor ADR-019 Naming convention uuid #01
2026-03-26 13:47:07 +07:00

16 lines
401 B
TypeScript

export interface Notification {
publicId: string; // ADR-019: exposed as 'id' in API responses
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;
}