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
21 lines
390 B
TypeScript
21 lines
390 B
TypeScript
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";
|