mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-01 06:50:42 +00:00
20 lines
507 B
TypeScript
20 lines
507 B
TypeScript
export type ServerAuthorization = 'basic' | 'none';
|
|
export type ServerLocation = 'local' | 'remote' | 'bundled';
|
|
export type ServerStatus = 'stopped' | 'starting' | 'running';
|
|
export type ServerProtocol = 'http:' | 'https:';
|
|
|
|
export class Server {
|
|
id: number;
|
|
name: string;
|
|
location: ServerLocation;
|
|
host: string;
|
|
port: number;
|
|
path: string;
|
|
ubridge_path: string;
|
|
authorization: ServerAuthorization;
|
|
login: string;
|
|
password: string;
|
|
status: ServerStatus;
|
|
protocol: ServerProtocol;
|
|
}
|