UNPKG

@zextras/carbonio-shell-ui

Version:

The Zextras Carbonio web client

23 lines (22 loc) 733 B
export type PopupNotificationConfig = { title?: string; message?: string; icon?: string; vibrate?: Array<number>; tag?: string; onClick?: (event: Event) => void; }; export type AudioNotificationConfig = { sound?: string; }; export type NotificationConfig = { showPopup?: boolean; playSound?: boolean; } & PopupNotificationConfig & AudioNotificationConfig; export interface INotificationManager { playSound: (config: AudioNotificationConfig) => void; showPopup: (config: PopupNotificationConfig) => void; notify: (config: NotificationConfig) => void; multipleNotify: (config: NotificationConfig[]) => void; } export declare const getNotificationManager: () => INotificationManager;