Fix API notifikasi untuk job
### No Issue
This commit is contained in:
@@ -1,14 +1,30 @@
|
||||
// Jika semua custom type diawali "custom_"
|
||||
|
||||
export type NotificationMobilePayload = {
|
||||
title: string;
|
||||
body: string;
|
||||
title: NotificationMobileTitleType;
|
||||
body: NotificationMobileBodyType;
|
||||
userLoginId?: string;
|
||||
appId?: string;
|
||||
status?: string;
|
||||
type: "announcement" | "trigger";
|
||||
deepLink: string;
|
||||
kategoriApp: TypeNotificationCategoryApp
|
||||
kategoriApp: TypeNotificationCategoryApp;
|
||||
};
|
||||
|
||||
export type NotificationMobileTitleType =
|
||||
| (string & { __type: "NotificationMobileTitleType" })
|
||||
| "Pengajuan Review"
|
||||
| "Review Selesai";
|
||||
|
||||
export type NotificationMobileBodyType =
|
||||
// USER
|
||||
| (string & { __type: "NotificationMobileBodyType" })
|
||||
| "Terdapat pengajuan baru yang perlu direview"
|
||||
|
||||
// ADMIN
|
||||
| "Pengajuan data anda telah di tolak !"
|
||||
| "Selamat data anda telah terpublikasi"
|
||||
|
||||
export type TypeNotificationCategoryApp =
|
||||
| "EVENT"
|
||||
| "JOB"
|
||||
|
||||
Reference in New Issue
Block a user