From b624a8f5264799cd2cfe0ca86285f84ef9eff7bc Mon Sep 17 00:00:00 2001 From: Dmitry Patsura Date: Mon, 23 Sep 2024 11:59:20 +0200 Subject: [PATCH] fix(typings): Missing declaration for OFF as LogLevel (#912) --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index c109991d5..deacf23c4 100644 --- a/index.d.ts +++ b/index.d.ts @@ -186,7 +186,7 @@ declare module 'snowflake-sdk' { export type StatementCallback = (err: SnowflakeError | undefined, stmt: RowStatement | FileAndStageBindStatement, rows?: Array | undefined) => void; export type ConnectionCallback = (err: SnowflakeError | undefined, conn: Connection) => void; export type RowMode = "object" | "array" | "object_with_renamed_duplicated_columns"; - export type LogLevel = "ERROR" | "WARN" | "INFO" | "DEBUG" | "TRACE"; + export type LogLevel = "ERROR" | "WARN" | "INFO" | "DEBUG" | "TRACE" | "OFF"; export type DataType = "String" | "Boolean" | "Number" | "Date" | "JSON" | "Buffer"; export type QueryStatus = "RUNNING" | "ABORTING" | "SUCCESS" | "FAILED_WITH_ERROR" | "ABORTED" | "QUEUED" | "FAILED_WITH_INCIDENT" | "DISCONNECTED" | "RESUMING_WAREHOUSE" | "QUEUED_REPARING_WAREHOUSE" | "RESTARTED" | "BLOCKED" | "NO_DATA"; export type StatementStatus = "fetching" | "complete";