mirror of https://github.com/morpheus65535/bazarr
20 lines
384 B
TypeScript
20 lines
384 B
TypeScript
declare namespace Server {
|
|
interface Notification {
|
|
type: "error" | "warning" | "info";
|
|
id: string;
|
|
message: string;
|
|
timeout: number;
|
|
}
|
|
}
|
|
|
|
declare namespace Site {
|
|
type Status = "uninitialized" | "unauthenticated" | "initialized" | "error";
|
|
interface Progress {
|
|
id: string;
|
|
header: string;
|
|
name: string;
|
|
value: number;
|
|
count: number;
|
|
}
|
|
}
|