MCPcopy
hub / github.com/Foundry376/Mailspring / IIPCNotificationOptions

Interface IIPCNotificationOptions

app/src/native-notifications.ts:47–62  ·  view source on GitHub ↗

* Options passed via IPC to the main process for displaying notifications. * This matches the NotificationOptions interface in notification-ipc.ts.

Source from the content-addressed store, hash-verified

45 * This matches the NotificationOptions interface in notification-ipc.ts.
46 */
47interface IIPCNotificationOptions {
48 id: string;
49 title: string;
50 subtitle?: string;
51 body?: string;
52 tag?: string;
53 icon?: string;
54 threadId?: string;
55 messageId?: string;
56 hasReply?: boolean;
57 replyPlaceholder?: string;
58 actions?: Array<{ type: 'button'; text: string }>;
59 urgency?: 'low' | 'normal' | 'critical';
60 timeoutType?: 'default' | 'never';
61 toastXml?: string;
62}
63
64class NativeNotifications {
65 private resolvedIcon: string = null;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected