immudb-node
Version:
Node.js SDK for immudb written in TypeScript
20 lines (19 loc) • 501 B
TypeScript
export interface Certs {
privateKey: string;
cercChain?: string;
}
export interface Config {
host: string;
port: string | number;
user?: string;
password?: string;
database?: string;
rootPath?: string;
certs?: Certs;
secure?: boolean;
autoLogin?: boolean;
autoDatabase?: boolean;
}
declare type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
export declare type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
export {};