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:
20
types/type-mobile-notification.ts
Normal file
20
types/type-mobile-notification.ts
Normal 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";
|
||||
Reference in New Issue
Block a user