/opt/canhelp/node_modules/gel/dist
Edit: /opt/canhelp/node_modules/gel/dist/credentials.d.ts (561B)
import { type ServerUtils, type TlsSecurity } from "./conUtils";
export interface Credentials {
host?: string;
port?: number;
user: string;
password?: string;
database?: string;
branch?: string;
tlsCAData?: string;
tlsSecurity?: TlsSecurity;
}
export declare function getCredentialsPath(instanceName: string, serverUtils: ServerUtils): Promise
;
export declare function readCredentialsFile(file: string, serverUtils: ServerUtils): Promise;
export declare function validateCredentials(data: any): Credentials;