mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
17 lines
253 B
TypeScript
17 lines
253 B
TypeScript
export enum NotificationType {
|
|
error = 1,
|
|
warning = 2,
|
|
info = 3,
|
|
}
|
|
|
|
export interface NotificationDTO {
|
|
type: NotificationType;
|
|
message: string;
|
|
details?: any;
|
|
request?: {
|
|
method: string;
|
|
url: string;
|
|
statusCode: number;
|
|
};
|
|
}
|