@514labs/moose-lib 0.6.459 → 0.6.460
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/browserCompatible.d.mts +5 -4
- package/dist/browserCompatible.d.ts +5 -4
- package/dist/browserCompatible.js +8 -5
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs +4 -1
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.d.mts +3 -2
- package/dist/dmv2/index.d.ts +3 -2
- package/dist/dmv2/index.js +7 -4
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs +4 -1
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index-Cs6mRtl7.d.ts +1305 -0
- package/dist/index-DBs6nRQN.d.mts +1305 -0
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +28 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -23
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js +67 -56
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs +70 -59
- package/dist/moose-runner.mjs.map +1 -1
- package/dist/testing/index.d.mts +99 -0
- package/dist/testing/index.d.ts +99 -0
- package/dist/testing/index.js +328 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/testing/index.mjs +295 -0
- package/dist/testing/index.mjs.map +1 -0
- package/dist/view-CNYx8kUh.d.mts +1327 -0
- package/dist/view-CNYx8kUh.d.ts +1327 -0
- package/package.json +7 -2
- package/dist/index-BkvEUvtm.d.mts +0 -2627
- package/dist/index-BkvEUvtm.d.ts +0 -2627
package/dist/dmv2/index.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { C as ClickHouseEngines, L as LifeCycle, a as OlapConfig, O as OlapTable, S as S3QueueTableSettings, V as View } from '../view-CNYx8kUh.mjs';
|
|
2
|
+
export { A as Aggregated, f as Api, g as ApiConfig, a6 as ConsumerConfig, C as ConsumptionApi, c as DeadLetter, D as DeadLetterModel, d as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, I as IngestApi, e as IngestConfig, h as IngestPipeline, aa as IngestPipelineConfig, M as MaterializedView, ab as MaterializedViewConfig, j as SelectRowPolicy, k as SelectRowPolicyConfig, S as SimpleAggregated, i as SqlResource, a as Stream, b as StreamConfig, T as Task, a9 as TaskConfig, a8 as TaskContext, a7 as TransformConfig, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, N as getMaterializedView, O as getMaterializedViews, P as getSelectRowPolicies, Q as getSelectRowPolicy, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, K as getView, L as getViews, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows } from '../index-DBs6nRQN.mjs';
|
|
3
|
+
import '@clickhouse/client';
|
|
2
4
|
import 'typia';
|
|
3
5
|
import 'typia/lib/tags';
|
|
4
6
|
import 'node:stream';
|
|
5
|
-
import '@clickhouse/client';
|
|
6
7
|
import '@temporalio/client';
|
|
7
8
|
import 'jose';
|
|
8
9
|
import 'http';
|
package/dist/dmv2/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { C as ClickHouseEngines, L as LifeCycle, a as OlapConfig, O as OlapTable, S as S3QueueTableSettings, V as View } from '../view-CNYx8kUh.js';
|
|
2
|
+
export { A as Aggregated, f as Api, g as ApiConfig, a6 as ConsumerConfig, C as ConsumptionApi, c as DeadLetter, D as DeadLetterModel, d as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, I as IngestApi, e as IngestConfig, h as IngestPipeline, aa as IngestPipelineConfig, M as MaterializedView, ab as MaterializedViewConfig, j as SelectRowPolicy, k as SelectRowPolicyConfig, S as SimpleAggregated, i as SqlResource, a as Stream, b as StreamConfig, T as Task, a9 as TaskConfig, a8 as TaskContext, a7 as TransformConfig, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, N as getMaterializedView, O as getMaterializedViews, P as getSelectRowPolicies, Q as getSelectRowPolicy, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, K as getView, L as getViews, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows } from '../index-Cs6mRtl7.js';
|
|
3
|
+
import '@clickhouse/client';
|
|
2
4
|
import 'typia';
|
|
3
5
|
import 'typia/lib/tags';
|
|
4
6
|
import 'node:stream';
|
|
5
|
-
import '@clickhouse/client';
|
|
6
7
|
import '@temporalio/client';
|
|
7
8
|
import 'jose';
|
|
8
9
|
import 'http';
|
package/dist/dmv2/index.js
CHANGED
|
@@ -842,6 +842,9 @@ init_commons();
|
|
|
842
842
|
|
|
843
843
|
// src/consumption-apis/helpers.ts
|
|
844
844
|
var import_client2 = require("@temporalio/client");
|
|
845
|
+
var import_node_crypto2 = require("crypto");
|
|
846
|
+
|
|
847
|
+
// src/consumption-apis/query-client.ts
|
|
845
848
|
var import_node_crypto = require("crypto");
|
|
846
849
|
|
|
847
850
|
// src/clients/redisClient.ts
|
|
@@ -1314,7 +1317,7 @@ var dlqColumns = [
|
|
|
1314
1317
|
|
|
1315
1318
|
// src/dmv2/sdk/olapTable.ts
|
|
1316
1319
|
var import_node_stream = require("stream");
|
|
1317
|
-
var
|
|
1320
|
+
var import_node_crypto3 = require("crypto");
|
|
1318
1321
|
var OlapTable = class extends TypedBase {
|
|
1319
1322
|
name;
|
|
1320
1323
|
/** @internal */
|
|
@@ -1379,7 +1382,7 @@ var OlapTable = class extends TypedBase {
|
|
|
1379
1382
|
createConfigHash(clickhouseConfig) {
|
|
1380
1383
|
const effectiveDatabase = this.config.database ?? clickhouseConfig.database;
|
|
1381
1384
|
const configString = `${clickhouseConfig.host}:${clickhouseConfig.port}:${clickhouseConfig.username}:${clickhouseConfig.password}:${effectiveDatabase}:${clickhouseConfig.useSSL}`;
|
|
1382
|
-
return (0,
|
|
1385
|
+
return (0, import_node_crypto3.createHash)("sha256").update(configString).digest("hex").substring(0, 16);
|
|
1383
1386
|
}
|
|
1384
1387
|
/**
|
|
1385
1388
|
* Gets or creates a memoized ClickHouse client.
|
|
@@ -2049,7 +2052,7 @@ var OlapTable = class extends TypedBase {
|
|
|
2049
2052
|
};
|
|
2050
2053
|
|
|
2051
2054
|
// src/dmv2/sdk/stream.ts
|
|
2052
|
-
var
|
|
2055
|
+
var import_node_crypto4 = require("crypto");
|
|
2053
2056
|
var RoutedMessage = class {
|
|
2054
2057
|
/** The destination stream for the message */
|
|
2055
2058
|
destination;
|
|
@@ -2123,7 +2126,7 @@ var Stream = class extends TypedBase {
|
|
|
2123
2126
|
kafkaConfig.securityProtocol,
|
|
2124
2127
|
kafkaConfig.namespace
|
|
2125
2128
|
].join(":");
|
|
2126
|
-
return (0,
|
|
2129
|
+
return (0, import_node_crypto4.createHash)("sha256").update(configString).digest("hex").substring(0, 16);
|
|
2127
2130
|
}
|
|
2128
2131
|
/**
|
|
2129
2132
|
* Gets or creates a memoized KafkaJS producer using runtime configuration.
|