Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / databaseNotifications

Function: databaseNotifications()

databaseNotifications(options?): NotificationProvider

Defined in: admin/src/databaseNotifications.ts:87

Build a NotificationProvider reading from the notifications table.

Every method fails soft: a missing table, an unconfigured database or a signed-out user yields an empty bell rather than a broken panel, because a notification centre is never worth taking the page down for.

Parameters

options?

DatabaseNotificationOptions = {}

Returns

NotificationProvider