You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
611 B
38 lines
611 B
export interface SSH {
|
|
[s: string]: string | number | boolean | undefined;
|
|
user: string;
|
|
host: string;
|
|
auth: string;
|
|
port: number;
|
|
knownHosts: string;
|
|
pass?: string;
|
|
key?: string;
|
|
config?: string;
|
|
}
|
|
|
|
export interface SSL {
|
|
key: string;
|
|
cert: string;
|
|
}
|
|
|
|
export interface SSLBuffer {
|
|
key?: Buffer;
|
|
cert?: Buffer;
|
|
}
|
|
|
|
export interface Server {
|
|
[s: string]: string | number | boolean;
|
|
port: number;
|
|
host: string;
|
|
title: string;
|
|
base: string;
|
|
allowIframe: boolean;
|
|
}
|
|
|
|
export interface Config {
|
|
ssh: SSH;
|
|
server: Server;
|
|
forceSSH: boolean;
|
|
command: string;
|
|
ssl?: SSL;
|
|
}
|
|
|