Setup notifikasi untuk android

Fix:
- modified:   service/api-notifications.ts
- modified:   types/type-notification-category.ts

### No Issue
This commit is contained in:
2026-01-05 12:27:23 +08:00
parent 73a473cdc7
commit d098b8ca16
2 changed files with 6 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
import { TypeNotificationCategoryApp } from "@/types/type-notification-category";
import { TypeNotificationCategoryApp, TypeOfTilteCategoryApp } from "@/types/type-notification-category";
import { apiConfig } from "./api-config";
type NotificationProp = {
title: string;
title: TypeOfTilteCategoryApp;
body: string;
userLoginId: string;
appId?: string;

View File

@@ -8,7 +8,9 @@ export type TypeNotificationCategoryApp =
| "FORUM"
| "ACCESS";
export const listOfcategoriesAppNotification = [
export type TypeOfTilteCategoryApp = "Pendaftaran User Baru" | "Other" | string;
export const listOfcategoriesAppNotification = [
{ value: "event", label: "Event" },
{ value: "job", label: "Job" },
{ value: "voting", label: "Voting" },
@@ -16,4 +18,4 @@ export type TypeNotificationCategoryApp =
{ value: "investasi", label: "Investasi" },
{ value: "forum", label: "Forum" },
{ value: "collaboration", label: "Collaboration" },
];
];