radiator-web/src/api/types.ts
garionion 104d785d51
add sites
Signed-off-by: garionion <github@entr0py.de>
2021-04-03 23:22:01 +02:00

22 lines
310 B
TypeScript

export interface token {
jwt: string;
expiration: number;
}
export interface LoginResponse {
expiration: string;
message: string;
success: boolean;
token: string;
}
export interface Site {
default_prefix: string;
id: number;
name: string;
}
export interface cSite {
"site-id": number;
}