import { GuidValue } from "@omnia/fx-models"; export interface RegisterNotificationPanelComponent { /** * Registration Title. Support localization : $Localize:A.B.C; */ title: string; /** * The component that will be rendered. */ componentManifestId: GuidValue; /** * The settings component that will be rendered */ settingsComponentManifestId?: GuidValue; } export interface RegisterNotificationProvider { /** * Indentity provider */ providerId: string; /** * Registration Title. Support localization : $Localize:A.B.C; */ title: string; /** * The method that will be trigger to receive notifications */ getNotificationsMethod: (callback: (notifications: Array) => void) => void; } export interface NewDataNotificationMsg { /** * identity source notification. * ex: from @Prop() settingsKey: string; */ id: string; /** * The notification count. */ notificationCount: number; } export interface ControlInNotificationMsg { /** * generated unique id of a control when added to notification panel. */ id: string; } export interface ControlStatusInNotificationMsg { /** * true if the control active, otherwise. */ active: boolean; } export interface NotificationPanelContainerVisible { /** * true if the control active, otherwise. */ visible: boolean; }