Skip to main content

Interface: NotificationsApiInterface

Defined in: electron/preload/domains/notificationsApi.ts:28

Renderer-facing notification API exposed via the preload bridge.

Properties

notifyAppEvent()

notifyAppEvent: (request: AppNotificationRequest) => Promise<void>

Defined in: electron/preload/domains/notificationsApi.ts:36

Requests a generic app notification from the main process.

Parameters

request

AppNotificationRequest

Returns

Promise<void>

Remarks

Intended for user-initiated operations (e.g. cloud backup/sync actions). The main process applies user preferences and platform support checks.


updatePreferences()

updatePreferences: (preferences: NotificationPreferenceUpdate) => Promise<void>

Defined in: electron/preload/domains/notificationsApi.ts:43

Updates the system notification preferences stored in the main process.

Parameters

preferences

NotificationPreferenceUpdate

Notification preference payload.

Returns

Promise<void>