@bayoudhi/moose-lib-serverless 0.7.5 → 0.7.6
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/README.md +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -100,7 +100,7 @@ configureClickHouse({
|
|
|
100
100
|
port: process.env.CLICKHOUSE_PORT!, // string, e.g. "8443"
|
|
101
101
|
username: process.env.CLICKHOUSE_USER!,
|
|
102
102
|
password: process.env.CLICKHOUSE_PASSWORD!,
|
|
103
|
-
database: process.env.CLICKHOUSE_DATABASE
|
|
103
|
+
database: process.env.CLICKHOUSE_DATABASE, // optional — only if your OlapTable configs don't specify `database`
|
|
104
104
|
useSSL: true,
|
|
105
105
|
});
|
|
106
106
|
|
|
@@ -122,7 +122,7 @@ export async function handler(event: any) {
|
|
|
122
122
|
| `port` | `string` | `"8443"` |
|
|
123
123
|
| `username` | `string` | `"default"` |
|
|
124
124
|
| `password` | `string` | `"secret"` |
|
|
125
|
-
| `database` | `string
|
|
125
|
+
| `database` | `string?` | `"my_database"` (optional — only needed if your OlapTable configs don't specify `database`) |
|
|
126
126
|
| `useSSL` | `boolean` | `true` |
|
|
127
127
|
|
|
128
128
|
## What's Included
|
package/dist/index.d.mts
CHANGED
|
@@ -659,8 +659,8 @@ export interface ClickHouseConfig {
|
|
|
659
659
|
username: string;
|
|
660
660
|
/** ClickHouse password */
|
|
661
661
|
password: string;
|
|
662
|
-
/** ClickHouse database name */
|
|
663
|
-
database
|
|
662
|
+
/** ClickHouse database name (optional — only needed if your OlapTable configs don't specify `database`) */
|
|
663
|
+
database?: string;
|
|
664
664
|
/** Whether to use HTTPS/SSL for the connection */
|
|
665
665
|
useSSL: boolean;
|
|
666
666
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -659,8 +659,8 @@ export interface ClickHouseConfig {
|
|
|
659
659
|
username: string;
|
|
660
660
|
/** ClickHouse password */
|
|
661
661
|
password: string;
|
|
662
|
-
/** ClickHouse database name */
|
|
663
|
-
database
|
|
662
|
+
/** ClickHouse database name (optional — only needed if your OlapTable configs don't specify `database`) */
|
|
663
|
+
database?: string;
|
|
664
664
|
/** Whether to use HTTPS/SSL for the connection */
|
|
665
665
|
useSSL: boolean;
|
|
666
666
|
}
|