notification #34

Merged
bagasbanuna merged 3 commits from notification/6-jan-26 into staging 2026-01-06 17:49:21 +08:00
9 changed files with 309 additions and 83 deletions
Showing only changes of commit d098b8ca16 - Show all commits

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" },
];
];