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"; import { apiConfig } from "./api-config";
type NotificationProp = { type NotificationProp = {
title: string; title: TypeOfTilteCategoryApp;
body: string; body: string;
userLoginId: string; userLoginId: string;
appId?: string; appId?: string;

View File

@@ -8,7 +8,9 @@ export type TypeNotificationCategoryApp =
| "FORUM" | "FORUM"
| "ACCESS"; | "ACCESS";
export const listOfcategoriesAppNotification = [ export type TypeOfTilteCategoryApp = "Pendaftaran User Baru" | "Other" | string;
export const listOfcategoriesAppNotification = [
{ value: "event", label: "Event" }, { value: "event", label: "Event" },
{ value: "job", label: "Job" }, { value: "job", label: "Job" },
{ value: "voting", label: "Voting" }, { value: "voting", label: "Voting" },