Notifikasi mobile job

Add:
 src/lib/mobile/
 types/type-mobile-notification.ts

Fix:
src/app/api/auth/mobile-register/route.ts
src/app/api/mobile/job/route.ts

### No Issue
This commit is contained in:
2026-01-06 17:52:28 +08:00
parent 44d6788f6e
commit 87515ae19f
5 changed files with 212 additions and 47 deletions

View File

@@ -0,0 +1,20 @@
export type NotificationMobilePayload = {
title: string;
body: string;
userLoginId?: string;
appId?: string;
status?: string;
type: "announcement" | "trigger";
deepLink: string;
kategoriApp: TypeNotificationCategoryApp
};
export type TypeNotificationCategoryApp =
| "EVENT"
| "JOB"
| "VOTING"
| "DONASI"
| "INVESTASI"
| "COLLABORATION"
| "FORUM"
| "OTHER";