MCPcopy Create free account
hub / github.com/AmazingAng/PolyWorld / AlertManagerProps

Interface AlertManagerProps

src/components/AlertManager.tsx:24–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22];
23
24interface AlertManagerProps {
25 open: boolean;
26 onClose: () => void;
27 alerts: AlertConfig[];
28 history: AlertHistoryEntry[];
29 onAddAlert: (config: Omit<AlertConfig, "id" | "createdAt" | "enabled">) => void;
30 onRemoveAlert: (id: string) => void;
31 onToggleAlert: (id: string) => void;
32 onMarkRead: (id: string) => void;
33 onMarkAllRead: () => void;
34 onClearHistory: () => void;
35 allMarkets: ProcessedMarket[];
36 prefill?: { marketId?: string; marketTitle?: string };
37 notifPermission: NotificationPermission;
38 onRequestPermission: () => void;
39 onHoverEnter?: () => void;
40 onHoverLeave?: () => void;
41}
42
43type Tab = "alerts" | "settings";
44

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected