Fitur notifikasi dan foreground

Add:
- types/type-notification-category.ts

Fix:
- app/(application)/(user)/notifications/index.tsx
- app/(application)/(user)/test-notifications.tsx
- app/(application)/admin/notification/index.tsx
- components/Notification/NotificationInitializer.tsx
- hooks/use-notification-store.tsx
- service/api-notifications.ts
- utils/formatChatTime.ts

### No Issue
This commit is contained in:
2025-12-24 15:29:58 +08:00
parent 54611ef812
commit 7743a2467c
8 changed files with 260 additions and 89 deletions

View File

@@ -17,14 +17,14 @@ export default function TestNotification() {
console.log("[Data Dikirim]", data);
const response = await apiNotificationsSend({
data: {
title: "Test dari Backend (App Router)!",
title: "Test Notification !!",
body: data,
userLoginId: user?.id || "",
appId: "hipmi",
status: "publish",
kategoriApp: "EVENT",
kategoriApp: "JOB",
type: "announcement",
deepLink: "event/23189913801",
deepLink: "/job/cmhjz8u3h0005cfaxezyeilrr",
},
});