mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-06 10:38:26 +00:00
20 lines
466 B
TypeScript
20 lines
466 B
TypeScript
export type ServerLocation = 'local' | 'remote' | 'bundled';
|
|
export type ServerStatus = 'stopped' | 'starting' | 'running';
|
|
export type ServerProtocol = 'http:' | 'https:';
|
|
|
|
export class Server {
|
|
authToken: string;
|
|
id: number;
|
|
name: string;
|
|
location: ServerLocation;
|
|
host: string;
|
|
port: number;
|
|
path: string;
|
|
ubridge_path: string;
|
|
status: ServerStatus;
|
|
protocol: ServerProtocol;
|
|
username: string;
|
|
password: string;
|
|
tokenExpired: boolean;
|
|
}
|