import { atom } from "jotai"; export type IRealtimeData = { status?: | "Publish" | "Review" | "Draft" | "Reject" // EVNET | "Peserta Event" // VOTING | "Voting Masuk"; appId: string; userId: string; pesan: string; title: string; kategoriApp: | "JOB" | "VOTING" | "EVENT" | "DONASI" | "INVESTASI" | "COLLABORATION" | "FORUM"; }; export const gs_realtimeData = atom(null); export const gs_admin_ntf = atom(0); export const gs_user_ntf = atom(0); export const gs_count_ntf = atom(0); // job export const gs_adminJob_triggerReview = atom(false); export const gs_jobTiggerBeranda = atom(false); // event export const gs_adminEvent_triggerReview = atom(false); export const gs_eventTriggerBeranda = atom(false); // voting export const gs_adminVoting_triggerReview = atom(false); export const gs_votingTiggerBeranda = atom(false); // donasi export const gs_adminDonasi_triggerReview = atom(false); export const gs_donasiTriggerBeranda = atom(false);