1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00
pigallery2/src/common/entities/NotificationDTO.ts
2022-04-14 14:36:56 +02:00

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;
};
}