Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / AdminNotification

Interface: AdminNotification

Defined in: admin/src/notifications.ts:39

Properties

id

id: string

Defined in: admin/src/notifications.ts:40


title

title: string

Defined in: admin/src/notifications.ts:41


body?

optional body?: string

Defined in: admin/src/notifications.ts:42


href?

optional href?: string

Defined in: admin/src/notifications.ts:44

Optional link the notification points to (navigated on click).


icon?

optional icon?: string

Defined in: admin/src/notifications.ts:46

Optional icon key (see ui/icons).


read?

optional read?: boolean

Defined in: admin/src/notifications.ts:48

Whether the notification has been read.


time?

optional time?: string

Defined in: admin/src/notifications.ts:50

Human/ISO timestamp shown beside the title.