felicity-lims/webapp/models/notification.ts

22 lines
426 B
TypeScript
Raw Normal View History

2021-11-12 05:30:10 +08:00
interface BaseNotification {
2021-11-28 18:42:56 +08:00
data: any;
ticks: number;
type: string;
message: string;
icon: string;
toast: boolean;
position: string;
showConfirmButton: boolean;
timer: number;
timerProgressBar: boolean;
2021-11-12 05:30:10 +08:00
}
export interface IAlert extends BaseNotification {}
2021-12-13 00:20:48 +08:00
export interface IToast extends BaseNotification {}
2022-04-01 04:29:09 +08:00
export interface INotification extends BaseNotification{
2021-12-13 00:20:48 +08:00
uid: number,
message: string;
}