UNPKG

surrealdb-driver

Version:
56 lines (47 loc) 704 B
/** * @interface ClientOptions */ export interface ClientOptions { /** * @type {string} */ host: string; /** * @type {number} */ port: number; /** * @type {string} */ user: string; /** * @type {string} */ pass: string; /** * @type {string} */ db: string; /** * @type {string} */ ns: string; /** * @type {boolean} */ ssl: boolean; /** * @type {ClientOptionsLogger} */ logger?: { log?: boolean; factory: ClientOptionsLogger; }; } /** * @interface ClientOptionsLogger */ export interface ClientOptionsLogger { log?: Function; error?: Function; }