2021-08-14 12:59:08 +00:00
|
|
|
declare namespace Server {
|
|
|
|
interface Notification {
|
|
|
|
type: "error" | "warning" | "info";
|
|
|
|
id: string;
|
|
|
|
message: string;
|
|
|
|
timeout: number;
|
|
|
|
}
|
2021-08-21 16:44:52 +00:00
|
|
|
}
|
2021-08-14 12:59:08 +00:00
|
|
|
|
2021-08-21 16:44:52 +00:00
|
|
|
declare namespace Site {
|
2022-01-22 13:35:11 +00:00
|
|
|
type Status = "uninitialized" | "unauthenticated" | "initialized" | "error";
|
2021-08-14 12:59:08 +00:00
|
|
|
interface Progress {
|
|
|
|
id: string;
|
|
|
|
header: string;
|
|
|
|
name: string;
|
|
|
|
value: number;
|
|
|
|
count: number;
|
|
|
|
}
|
|
|
|
}
|