feat(frontend) : add notification DTO and service

This commit is contained in:
2026-03-15 19:47:21 +01:00
parent 59b11f1225
commit 587733e6f9
2 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
export type NotificationType = 'ticket_created' | 'ticket_status_changed'
export type Notification = {
'@id'?: string
id: number
user: string
type: NotificationType
title: string
message: string
relatedTicket: string | null
isRead: boolean
createdAt: string
}