Interfazhost
NotifyService
Notificaciones al usuario (permiso NOTIFY).
Firma
export interface NotifyService {
toast(args: { message: string; title?: string; level?: "info" | "success" | "warning" | "error"; url?: string; }): Promise<any>;
}Miembros (1)
| Nombre | Tipo | Descripción |
|---|---|---|
| toast | toast(args: { message: string; title?: string; level?: "info" | "success" | "warning" | "error"; url?: string; }): Promise<any> | NOTIFY. message 1..200; title max 80; url https o ruta interna. |
Ejemplos
await ctx.services.notify.toast({ message: "Informe listo", level: "success", url: "/calendar" });Usado en / Referenciado por
Fuente: bloomx-extensions/_shared/sdk/ctx.d.ts:512 · ctx.d.ts