mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
14 lines
342 B
TypeScript
14 lines
342 B
TypeScript
|
|
||
|
declare type Handler = () => void;
|
||
|
|
||
|
export interface Handlers {
|
||
|
onFadedIn: Handler;
|
||
|
onFadedOut: Handler;
|
||
|
}
|
||
|
|
||
|
export interface INotifier {
|
||
|
success(msg: string, handlers?: Handlers): void;
|
||
|
error(msg: string, handlers?: Handlers): void;
|
||
|
warning(msg: string, handlers?: Handlers): void;
|
||
|
info(msg: string, handlers?: Handlers): void;
|
||
|
}
|