@clickhouse/client 1.23.0-head.c8dc8d8.1 → 1.23.0-head.fae5998.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +8 -1
- package/dist/client.js.map +1 -1
- package/dist/common/index.d.ts +1 -1
- package/dist/common/index.js.map +1 -1
- package/dist/common/settings.d.ts +17 -0
- package/dist/common/settings.js.map +1 -1
- package/dist/config.d.ts +21 -1
- package/dist/config.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -12,8 +12,15 @@ class NodeClickHouseClient extends index_1.ClickHouseClient {
|
|
|
12
12
|
}
|
|
13
13
|
exports.NodeClickHouseClient = NodeClickHouseClient;
|
|
14
14
|
function createClient(config) {
|
|
15
|
+
// If the caller injected a pre-built Connection, override the
|
|
16
|
+
// default HTTP make_connection factory to return THAT connection
|
|
17
|
+
// instead. Used for the experimental integration with chDB only.
|
|
18
|
+
const injected = config?.connection;
|
|
19
|
+
const impl = injected !== undefined
|
|
20
|
+
? { ...config_1.NodeConfigImpl, make_connection: () => injected }
|
|
21
|
+
: config_1.NodeConfigImpl;
|
|
15
22
|
return new index_1.ClickHouseClient({
|
|
16
|
-
impl
|
|
23
|
+
impl,
|
|
17
24
|
...(config || {}),
|
|
18
25
|
});
|
|
19
26
|
}
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;AAwBA,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;AAwBA,oCAeC;AAtCD,0CAAkD;AAGlD,qCAA0C;AAW1C,MAAa,oBAAqB,SAAQ,wBAAiC;IACzE,0CAA0C;IACjC,KAAK,CACZ,MAAqC;QAErC,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,CAA+B,CAAC;IAC3D,CAAC;CACF;AAPD,oDAOC;AAED,SAAgB,YAAY,CAC1B,MAA0C;IAE1C,8DAA8D;IAC9D,iEAAiE;IACjE,iEAAiE;IACjE,MAAM,QAAQ,GAAG,MAAM,EAAE,UAAU,CAAC;IACpC,MAAM,IAAI,GACR,QAAQ,KAAK,SAAS;QACpB,CAAC,CAAC,EAAE,GAAG,uBAAc,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE;QACxD,CAAC,CAAC,uBAAc,CAAC;IACrB,OAAO,IAAI,wBAAgB,CAAkB;QAC3C,IAAI;QACJ,GAAG,CAAC,MAAM,IAAI,EAAE,CAAC;KAClB,CAAyB,CAAC;AAC7B,CAAC"}
|
package/dist/common/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ isProgressRow,
|
|
|
44
44
|
isRow,
|
|
45
45
|
/** @deprecated Import `isException` from `@clickhouse/client` (Node.js) or `@clickhouse/client-web` (Web) instead. Importing it from `@clickhouse/client-common` is deprecated. */
|
|
46
46
|
isException, } from "./clickhouse_types";
|
|
47
|
-
export { type ClickHouseSettings, type MergeTreeSettings,
|
|
47
|
+
export { type ClickHouseSettings, type ClickHouseSettingsInterface, type MergeTreeSettings,
|
|
48
48
|
/** @deprecated Import `SettingsMap` from `@clickhouse/client` (Node.js) or `@clickhouse/client-web` (Web) instead. Importing it from `@clickhouse/client-common` is deprecated. */
|
|
49
49
|
SettingsMap, } from "./settings";
|
|
50
50
|
export type { SimpleColumnType, ParsedColumnSimple, ParsedColumnEnum, ParsedColumnFixedString, ParsedColumnNullable, ParsedColumnDecimal, ParsedColumnDateTime, ParsedColumnDateTime64, ParsedColumnArray, ParsedColumnTuple, ParsedColumnMap, ParsedColumnType, JSONHandling, } from "./parse";
|
package/dist/common/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;AAEH,kDAAkD;AAClD,mCAgBkB;AAVhB,mOAAmO;AACnO,0GAAA,gBAAgB,OAAA;AA2BlB,mDAe0B;AAdxB,4LAA4L;AAC5L,sHAAA,oBAAoB,OAAA;AACpB,2LAA2L;AAC3L,qHAAA,mBAAmB,OAAA;AACnB,yLAAyL;AACzL,mHAAA,iBAAiB,OAAA;AACjB,6LAA6L;AAC7L,uHAAA,qBAAqB,OAAA;AACrB,iMAAiM;AACjM,2HAAA,yBAAyB,OAAA;AACzB,0LAA0L;AAC1L,oHAAA,kBAAkB,OAAA;AAClB,kLAAkL;AAClL,4GAAA,UAAU,OAAA;AAEZ,iCAKiB;AAJf,uLAAuL;AACvL,wGAAA,eAAe,OAAA;AACf,kLAAkL;AAClL,mGAAA,UAAU,OAAA;AAEZ,mCAOkB;AANhB,0LAA0L;AAC1L,4GAAA,kBAAkB,OAAA;AAoBpB,uDAO4B;AAN1B,qLAAqL;AACrL,iHAAA,aAAa,OAAA;AACb,6KAA6K;AAC7K,yGAAA,KAAK,OAAA;AACL,mLAAmL;AACnL,+GAAA,WAAW,OAAA;AAEb,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";AAAA;;;;;;;GAOG;;;;AAEH,kDAAkD;AAClD,mCAgBkB;AAVhB,mOAAmO;AACnO,0GAAA,gBAAgB,OAAA;AA2BlB,mDAe0B;AAdxB,4LAA4L;AAC5L,sHAAA,oBAAoB,OAAA;AACpB,2LAA2L;AAC3L,qHAAA,mBAAmB,OAAA;AACnB,yLAAyL;AACzL,mHAAA,iBAAiB,OAAA;AACjB,6LAA6L;AAC7L,uHAAA,qBAAqB,OAAA;AACrB,iMAAiM;AACjM,2HAAA,yBAAyB,OAAA;AACzB,0LAA0L;AAC1L,oHAAA,kBAAkB,OAAA;AAClB,kLAAkL;AAClL,4GAAA,UAAU,OAAA;AAEZ,iCAKiB;A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AAA,iBAAiB,OAAA;AACjB,kGAAA,SAAS,OAAA;AACT,oHAAA,2BAA2B,OAAA;AAC3B,qGAAA,YAAY,OAAA;AAEd,mCAA0E;AAAjE,mGAAA,SAAS,OAAA;AAAE,uGAAA,aAAa,OAAA;AACjC,iCAAkE;AAAzD,6GAAA,oBAAoB,OAAA;AAAE,0GAAA,iBAAiB,OAAA"}
|
|
@@ -1634,6 +1634,23 @@ interface ClickHouseHTTPSettings {
|
|
|
1634
1634
|
session_check: Bool;
|
|
1635
1635
|
}
|
|
1636
1636
|
export type ClickHouseSettings = Partial<ClickHouseServerSettings> & Partial<ClickHouseHTTPSettings> & Record<string, number | string | boolean | SettingsMap | undefined>;
|
|
1637
|
+
/**
|
|
1638
|
+
* A package-neutral, structural view of {@link ClickHouseSettings}.
|
|
1639
|
+
*
|
|
1640
|
+
* Identical to {@link ClickHouseSettings} except that the index signature does
|
|
1641
|
+
* not include {@link SettingsMap}. `SettingsMap` is a class with a private
|
|
1642
|
+
* member, so TypeScript compares it nominally; because `@clickhouse/client` and
|
|
1643
|
+
* `@clickhouse/client-web` each bundle their own copy of this module, their
|
|
1644
|
+
* `ClickHouseSettings` types are mutually unassignable. This interface omits the
|
|
1645
|
+
* only nominal member, so it is structurally identical across all three packages
|
|
1646
|
+
* and assignable into each package's `ClickHouseSettings`.
|
|
1647
|
+
*
|
|
1648
|
+
* Intended for consumers that share a single settings-producing helper across
|
|
1649
|
+
* both the Node.js and Web clients and therefore cannot import a single concrete
|
|
1650
|
+
* `ClickHouseSettings`. Note: values typed as {@link SettingsMap} cannot be
|
|
1651
|
+
* carried through this type — use {@link ClickHouseSettings} if you need them.
|
|
1652
|
+
*/
|
|
1653
|
+
export type ClickHouseSettingsInterface = Partial<ClickHouseServerSettings> & Partial<ClickHouseHTTPSettings> & Record<string, number | string | boolean | undefined>;
|
|
1637
1654
|
export interface MergeTreeSettings {
|
|
1638
1655
|
/** Allow floating point as partition key */
|
|
1639
1656
|
allow_floating_point_partition_key?: Bool;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/common/settings.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/common/settings.ts"],"names":[],"mappings":";;;AAm8DA,MAAa,WAAW;IACL,MAAM,CAAyB;IAChD,YAAoB,MAA8B;QAChD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC;aACnC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC;aAChC,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;IAClB,CAAC;IAED,MAAM,CAAC,IAAI,CAAC,MAA8B;QACxC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1B,CAAC;CACF;AAfD,kCAeC"}
|
package/dist/config.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ImplementationDetails } from "./common/index";
|
|
2
|
-
import { type BaseClickHouseClientConfigOptions } from "./common/index";
|
|
2
|
+
import { type BaseClickHouseClientConfigOptions, type Connection } from "./common/index";
|
|
3
3
|
import type http from "http";
|
|
4
4
|
import type https from "node:https";
|
|
5
5
|
import type Stream from "stream";
|
|
@@ -62,6 +62,26 @@ export type NodeClickHouseClientConfigOptions = BaseClickHouseClientConfigOption
|
|
|
62
62
|
* through to the request options.
|
|
63
63
|
* @default undefined */
|
|
64
64
|
max_response_headers_size?: number;
|
|
65
|
+
/** Pre-built backend connection to use for this client instead of the
|
|
66
|
+
* default HTTP(S) connection factory. When provided, the client routes
|
|
67
|
+
* every method (`query` / `insert` / `command` / `exec` / `ping` /
|
|
68
|
+
* `close`) through this connection's implementation of the internal
|
|
69
|
+
* {@link Connection} contract, and the HTTP-related options above
|
|
70
|
+
* (`tls`, `keep_alive`, `http_agent`, `max_open_connections`, …) are
|
|
71
|
+
* ignored.
|
|
72
|
+
*
|
|
73
|
+
* This is a deliberately narrow, internal experiment to unblock the chDB
|
|
74
|
+
* integration — NOT the start of a public pluggable-backend / plugin system.
|
|
75
|
+
* The {@link Connection} contract is intentionally not re-exported from the
|
|
76
|
+
* package entrypoint, so a backend must deep-import or structurally match its
|
|
77
|
+
* shape; that friction is by design and signals the API may change. Keeping
|
|
78
|
+
* the client's public surface slim avoids a second client family mirroring the
|
|
79
|
+
* whole public API.
|
|
80
|
+
*
|
|
81
|
+
* @experimental - unstable API; used only for integrating with chDB.
|
|
82
|
+
* @see https://github.com/chdb-io/chdb-node/pull/52
|
|
83
|
+
* @default undefined */
|
|
84
|
+
connection?: Connection<Stream.Readable>;
|
|
65
85
|
};
|
|
66
86
|
interface BasicTLSOptions {
|
|
67
87
|
ca_cert: Buffer;
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;;;;;AAOA,
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;;;;;AAOA,0CAMwB;AAIxB,gDAAwB;AACxB,6CAAqE;AACrE,6CAAyC;AACzC,mCAA4C;AA8F5C,SAAS,iBAAiB,CACxB,KAAa,EACb,SAAiC;IAEjC,OAAO,IAAI,KAAK,CACd,WAAW,SAAS,uBAAuB,KAAK,KAAK;QACnD,mCAAmC,CACtC,CAAC;AACJ,CAAC;AAED,oEAAoE;AACpE,gFAAgF;AAChF,8DAA8D;AAE9D;;;+EAG+E;AAC/E,SAAS,2BAA2B,CAAC,KAAwB;IAC3D,IAAI,KAAK,KAAK,MAAM,EAAE,CAAC;QACrB,IAAI,OAAO,cAAI,CAAC,kBAAkB,KAAK,UAAU,EAAE,CAAC;YAClD,MAAM,IAAI,KAAK,CAC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b,GAAG,UAAU,CAAC,GAAG;iBAClB,CAAC;YACJ,CAAC;QACH,CAAC;QACD,iEAAiE;QACjE,MAAM,UAAU,GAAG;YACjB,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,OAAO,IAAI,IAAI;YAChD,eAAe,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,IAAI,IAAI;SACjE,CAAC;QACF,OAAO,kCAAqB,CAAC,MAAM,CAAC;YAClC,iBAAiB,EAAE,MAAM;YACzB,qBAAqB,EAAE,UAAU,CAAC,qBAAqB,IAAI,IAAI;YAC/D,4BAA4B,EAC1B,UAAU,CAAC,4BAA4B,IAAI,KAAK;YAClD,6BAA6B,EAC3B,UAAU,CAAC,UAAU,EAAE,6BAA6B,IAAI,KAAK;YAC/D,UAAU,EAAE,UAAU,CAAC,UAAU;YACjC,UAAU;YACV,GAAG;YACH,yBAAyB,EAAE,UAAU,CAAC,yBAAyB;SAChE,CAAC,CAAC;IACL,CAAC;IACD,cAAc,EAAE,CAAC,YAA0B,EAAE,EAAE,CAC7C,IAAI,yBAAiB,CAAC,YAAY,CAAC;IACrC,eAAe,EAAE,CAAC,CAChB,MAAuB,EACvB,MAAkB,EAClB,QAAgB,EAChB,SAA+B,EAC/B,gBAAiC,EACjC,YAA0B,EAC1B,IAAqB,EACrB,EAAE,CACF,sBAAS,CAAC,QAAQ,CAAC;QACjB,MAAM;QACN,MAAM;QACN,QAAQ;QACR,SAAS;QACT,gBAAgB;QAChB,YAAY;QACZ,IAAI;KACL,CAAC,CAAQ;CACb,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { type NodeClickHouseClientConfigOptions as ClickHouseClientConfigOptions
|
|
|
4
4
|
export { ResultSet, type StreamReadable } from "./result_set";
|
|
5
5
|
export { drainStream } from "./connection/stream";
|
|
6
6
|
/** Re-export common (formerly @clickhouse/client-common) types */
|
|
7
|
-
export { type BaseClickHouseClientConfigOptions, type BaseQueryParams, type QueryParams, type ExecParams, type InsertParams, type InsertValues, type CommandParams, type CommandResult, type ExecResult, type InsertResult, type DataFormat, type RawDataFormat, type JSONDataFormat, type StreamableDataFormat, type StreamableJSONDataFormat, type SingleDocumentJSONFormat, type Logger, type LogParams, type ErrorLogParams, type WarnLogParams, type ClickHouseSettings, type MergeTreeSettings, type Row, type ResponseJSON, type InputJSON, type InputJSONObjectEachRow, type BaseResultSet, type PingResult, type ResponseHeaders, type SimpleColumnType, type ParsedColumnSimple, type ParsedColumnEnum, type ParsedColumnFixedString, type ParsedColumnNullable, type ParsedColumnDecimal, type ParsedColumnDateTime, type ParsedColumnDateTime64, type ParsedColumnArray, type ParsedColumnTuple, type ParsedColumnMap, type ParsedColumnType, type ProgressRow, type RowOrProgress, type ClickHouseAuth, type ClickHouseJWTAuth, type ClickHouseCredentialsAuth, type ClickHouseTracer, type ClickHouseSpan, type ClickHouseSpanOptions, type ClickHouseSpanAttributes, type ClickHouseSpanStatus, type ClickHouseSpanName, } from "./common/index";
|
|
7
|
+
export { type BaseClickHouseClientConfigOptions, type BaseQueryParams, type QueryParams, type ExecParams, type InsertParams, type InsertValues, type CommandParams, type CommandResult, type ExecResult, type InsertResult, type DataFormat, type RawDataFormat, type JSONDataFormat, type StreamableDataFormat, type StreamableJSONDataFormat, type SingleDocumentJSONFormat, type Logger, type LogParams, type ErrorLogParams, type WarnLogParams, type ClickHouseSettings, type ClickHouseSettingsInterface, type MergeTreeSettings, type Row, type ResponseJSON, type InputJSON, type InputJSONObjectEachRow, type BaseResultSet, type PingResult, type ResponseHeaders, type SimpleColumnType, type ParsedColumnSimple, type ParsedColumnEnum, type ParsedColumnFixedString, type ParsedColumnNullable, type ParsedColumnDecimal, type ParsedColumnDateTime, type ParsedColumnDateTime64, type ParsedColumnArray, type ParsedColumnTuple, type ParsedColumnMap, type ParsedColumnType, type ProgressRow, type RowOrProgress, type ClickHouseAuth, type ClickHouseJWTAuth, type ClickHouseCredentialsAuth, type ClickHouseTracer, type ClickHouseSpan, type ClickHouseSpanOptions, type ClickHouseSpanAttributes, type ClickHouseSpanStatus, type ClickHouseSpanName, } from "./common/index";
|
|
8
8
|
/**
|
|
9
9
|
* Re-export common (formerly @clickhouse/client-common) runtime values.
|
|
10
10
|
*
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAGkB;AAFhB,0GAAA,oBAAoB,OAAoB;AAG1C,mCAAwC;AAA/B,sGAAA,YAAY,OAAA;AAErB,2CAA8D;AAArD,uGAAA,SAAS,OAAA;AAClB,8CAAkD;AAAzC,qGAAA,WAAW,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,mCAGkB;AAFhB,0GAAA,oBAAoB,OAAoB;AAG1C,mCAAwC;AAA/B,sGAAA,YAAY,OAAA;AAErB,2CAA8D;AAArD,uGAAA,SAAS,OAAA;AAClB,8CAAkD;AAAzC,qGAAA,WAAW,OAAA;AA2DpB;;;;;;;GAOG;AACH,0CAqBwB;AAEX,QAAA,eAAe,GAAG,uBAAgB,CAAC;AAEnC,QAAA,UAAU,GAAG,kBAAW,CAAC;AACzB,QAAA,kBAAkB,GAAG,0BAAmB,CAAC;AAEzC,QAAA,WAAW,GAAG,mBAAY,CAAC;AAE3B,QAAA,oBAAoB,GAAG,4BAAqB,CAAC;AAC7C,QAAA,mBAAmB,GAAG,2BAAoB,CAAC;AAC3C,QAAA,iBAAiB,GAAG,yBAAkB,CAAC;AACvC,QAAA,qBAAqB,GAAG,6BAAsB,CAAC;AAC/C,QAAA,yBAAyB,GAAG,iCAA0B,CAAC;AACvD,QAAA,kBAAkB,GAAG,0BAAmB,CAAC;AACzC,QAAA,eAAe,GAAG,uBAAgB,CAAC;AACnC,QAAA,iBAAiB,GAAG,yBAAkB,CAAC;AACvC,QAAA,aAAa,GAAG,qBAAc,CAAC;AAC/B,QAAA,KAAK,GAAG,aAAM,CAAC;AACf,QAAA,WAAW,GAAG,mBAAY,CAAC;AAC3B,QAAA,UAAU,GAAG,kBAAW,CAAC;AAEzB,QAAA,mBAAmB,GAAG,2BAAoB,CAAC;AAC3C,QAAA,wBAAwB,GAAG,gCAAyB,CAAC;AACrD,QAAA,kBAAkB,GAAG,0BAAmB,CAAC;AACzC,QAAA,mBAAmB,GAAG,2BAAoB,CAAC"}
|
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.23.0-head.
|
|
1
|
+
declare const _default: "1.23.0-head.fae5998.1";
|
|
2
2
|
export default _default;
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@clickhouse/client",
|
|
3
3
|
"description": "Official JS client for ClickHouse DB - Node.js implementation",
|
|
4
4
|
"homepage": "https://clickhouse.com",
|
|
5
|
-
"version": "1.23.0-head.
|
|
5
|
+
"version": "1.23.0-head.fae5998.1",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"clickhouse",
|