@cfm/sonar-types
Version:
shared components for server status main application
18 lines (17 loc) • 406 B
TypeScript
export declare type Environment = 'development' | 'staging' | 'production';
export interface ServerCoreInfo {
hostname: string;
environment: Environment;
}
export interface Server extends ServerCoreInfo {
occupied: boolean;
connections?: RDPConnection[];
}
export interface User {
name: string;
ip: string;
}
export interface RDPConnection {
hostname: string;
ip: string;
}