notification
@tynd/plugin-notification enables the host notification API and exposes its typed client. The API itself is documented on the notification page.
Install
Section titled “Install”tynd add notificationimport { notification } from "@tynd/plugin-notification/client";Declaring the plugin compiles the matching api-notification Cargo feature into the app host on the next tynd dev or tynd build. Or by hand: bun add @tynd/plugin-notification and list it in plugins in tynd.config.ts.
Package
Section titled “Package”| Package | @tynd/plugin-notification |
| Kind | Host-backed official plugin (facade over a host API) |
| Host API | notification |
Aliases for tynd add |
notifications, notify |
| Catalog permission labels | host:notification |
| Estimated size | 90 KB |
| Client exports | DeliveredNotification, NotificationAction, NotificationActionEvent, NotificationClickEvent, NotificationCloseEvent, NotificationCloseReason, NotificationOptions, NotificationPermission, NotificationReplyEvent, NotificationReplyOptions, NotificationTimeout, NotificationUrgency, notification |