* Options passed via IPC to the main process for displaying notifications. * This matches the NotificationOptions interface in notification-ipc.ts.
| 45 | * This matches the NotificationOptions interface in notification-ipc.ts. |
| 46 | */ |
| 47 | interface 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 | |
| 64 | class NativeNotifications { |
| 65 | private resolvedIcon: string = null; |
nothing calls this directly
no outgoing calls
no test coverage detected