Setup notifikasi untuk android
Fix: - modified: service/api-notifications.ts - modified: types/type-notification-category.ts ### No Issue
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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" },
|
||||
];
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user