MCPcopy Create free account
hub / github.com/Fibi66/FeiControl / Notification

Interface Notification

src/components/NotificationDropdown.tsx:8–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import { useIsMobile } from "@/hooks/useIsMobile";
7
8export interface Notification {
9 id: string;
10 timestamp: string;
11 title: string;
12 message: string;
13 type: "info" | "success" | "warning" | "error";
14 read: boolean;
15 link?: string;
16 metadata?: Record<string, unknown>;
17}
18
19const typeConfig: Record<
20 Notification["type"],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected