felicity-lims/webapp/models/notification.ts
2023-04-07 17:52:19 +02:00

21 lines
426 B
TypeScript

interface BaseNotification {
data: any;
ticks: number;
type: string;
message: string;
icon: string;
toast: boolean;
position: string;
showConfirmButton: boolean;
timer: number;
timerProgressBar: boolean;
}
export interface IAlert extends BaseNotification {}
export interface IToast extends BaseNotification {}
export interface INotification extends BaseNotification{
uid: number,
message: string;
}