immudb-node
Version:
Node.js SDK for immudb written in TypeScript
21 lines (18 loc) • 474 B
text/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;
}
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>
export type PartialBy<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>