Penerapan notifikasi pada event
Fix: - src/app/api/mobile/admin/event/[id]/route.ts - src/app/api/mobile/admin/job/[id]/route.ts - src/app/api/mobile/event/route.ts - src/app/api/mobile/job/route.ts - src/app/api/mobile/notification/[id]/route.ts - src/lib/mobile/notification/send-notification.ts - src/lib/mobile/route-page-mobile.ts - types/type-mobile-notification.ts ### No Issue
This commit is contained in:
@@ -13,18 +13,20 @@ export type NotificationMobilePayload = {
|
||||
|
||||
export type NotificationMobileTitleType =
|
||||
| (string & { __type: "NotificationMobileTitleType" })
|
||||
| "Pengajuan Review"
|
||||
// Admin
|
||||
| "Pengajuan Review Baru"
|
||||
// USER
|
||||
| "Pengajuan Review Ditolak"
|
||||
| "Review Selesai"
|
||||
// to ALL user
|
||||
| "Ada lowongan kerja baru"
|
||||
|
||||
export type NotificationMobileBodyType =
|
||||
// USER
|
||||
| (string & { __type: "NotificationMobileBodyType" })
|
||||
| "Terdapat pengajuan baru yang perlu direview"
|
||||
| "Ada pengajuan review" // tambah title
|
||||
|
||||
// ADMIN
|
||||
| "Pengajuan data anda telah di tolak !"
|
||||
| "Mohon perbaiki data sesuai catatan penolakan !"
|
||||
| "Selamat data anda telah terpublikasi"
|
||||
|
||||
export type TypeNotificationCategoryApp =
|
||||
|
||||
Reference in New Issue
Block a user