MCPcopy Create free account
hub / github.com/dailydotdev/apps / AlertContextData

Interface AlertContextData

packages/shared/src/contexts/AlertContext.tsx:26–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24};
25
26export interface AlertContextData {
27 alerts: Alerts;
28 isFetched?: boolean;
29 loadedAlerts?: boolean;
30 updateAlerts?: UseMutateAsyncFunction<
31 unknown,
32 unknown,
33 AlertsUpdate,
34 () => Promise<void>
35 >;
36 updateLastReferralReminder?: UseMutateAsyncFunction;
37 updateLastBootPopup?: UseMutateAsyncFunction;
38 updateHasSeenOpportunity?: UseMutateAsyncFunction;
39 clearOpportunityAlert?: UseMutateAsyncFunction;
40}
41
42const AlertContext = React.createContext<AlertContextData>({
43 alerts: ALERT_DEFAULTS,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected