UNPKG

@overseers/tch

Version:

Tedious Connection Handler

51 lines (50 loc) 1.47 kB
import { Connection as _Connection, ConnectionConfig as connectionConfig, Request as _Request, TediousType, TYPES } from 'tedious'; export { TYPES } from 'tedious'; export declare type types = typeof TYPES; export declare const types: import("tedious").TediousTypes; export interface TediousTypes extends TediousType { } export interface Request extends _Request { } export declare class Request extends _Request { } export interface Connection extends _Connection { } export declare class Connection extends _Connection { } export declare type PoolConfig = { min: number; max: number; timeout: number; }; export interface ConnectionConfig extends connectionConfig { } export declare type ConnectionObject = { connection: Connection; busy: boolean; ready: boolean; isTimed: boolean; id: number; ttl?: number; }; export declare const TediousStates: { INITIALIZED: string; CONNECTING: string; SENT_PRELOGIN: string; REROUTING: string; TRANSIENT_FAILURE_RETRY: string; SENT_TLSSSLNEGOTIATION: string; SENT_LOGIN7_WITH_STANDARD_LOGIN: string; SENT_LOGIN7_WITH_NTLM: string; SENT_LOGIN7_WITH_FEDAUTH: string; LOGGED_IN_SENDING_INITIAL_SQL: string; LOGGED_IN: string; SENT_CLIENT_REQUEST: string; SENT_ATTENTION: string; FINAL: string; }; export declare type params = { name: string; type: TediousTypes; value: any; };