@514labs/moose-lib 0.6.297-ci-4-g8012f636 → 0.6.297-ci-20-gec2306d8
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-ZQ9mCsFj.d.ts → browserCompatible-CMEunMFq.d.ts} +1 -1
- package/dist/{browserCompatible-nqz7MwT7.d.mts → browserCompatible-FzU17dxm.d.mts} +1 -1
- package/dist/browserCompatible.d.mts +2 -2
- package/dist/browserCompatible.d.ts +2 -2
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.d.mts +1 -1
- package/dist/dmv2/index.d.ts +1 -1
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/{index-B9bvaKAq.d.mts → index-CcHF2cVT.d.mts} +0 -41
- package/dist/{index-B9bvaKAq.d.ts → index-CcHF2cVT.d.ts} +0 -41
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js +0 -6
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs +0 -6
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -259,42 +259,6 @@ interface TableIndex {
|
|
|
259
259
|
arguments?: string[];
|
|
260
260
|
granularity?: number;
|
|
261
261
|
}
|
|
262
|
-
/**
|
|
263
|
-
* Defines a ClickHouse projection for optimizing specific query patterns.
|
|
264
|
-
* Projections duplicate data with different sort orders or pre-computed aggregations.
|
|
265
|
-
*
|
|
266
|
-
* ClickHouse rules:
|
|
267
|
-
* - Non-aggregate projections: Must have ORDER BY
|
|
268
|
-
* - Aggregate projections (with GROUP BY): Cannot have ORDER BY (ordering is implicit from GROUP BY)
|
|
269
|
-
*/
|
|
270
|
-
type TableProjection<T = any> = {
|
|
271
|
-
/** Unique name for the projection */
|
|
272
|
-
name: string;
|
|
273
|
-
} & ({
|
|
274
|
-
/** List of column names to include in non-aggregate projection */
|
|
275
|
-
select: (keyof T & string)[];
|
|
276
|
-
/** Columns to order by (required for non-aggregate projections) */
|
|
277
|
-
orderBy: (keyof T & string)[];
|
|
278
|
-
groupBy?: never;
|
|
279
|
-
} | {
|
|
280
|
-
/** List of column names to include in aggregate projection */
|
|
281
|
-
select: (keyof T & string)[];
|
|
282
|
-
/** GROUP BY columns (for aggregate projections). ORDER BY is implicit from this. */
|
|
283
|
-
groupBy: (keyof T & string)[];
|
|
284
|
-
orderBy?: never;
|
|
285
|
-
} | {
|
|
286
|
-
/** SQL expression for SELECT clause (non-aggregate) */
|
|
287
|
-
select: string;
|
|
288
|
-
/** SQL expression for ORDER BY clause (required for non-aggregate projections) */
|
|
289
|
-
orderBy: string;
|
|
290
|
-
groupBy?: never;
|
|
291
|
-
} | {
|
|
292
|
-
/** SQL expression for SELECT clause (aggregate) */
|
|
293
|
-
select: string;
|
|
294
|
-
/** SQL expression for GROUP BY clause (for aggregate projections). ORDER BY is implicit from this. */
|
|
295
|
-
groupBy: string;
|
|
296
|
-
orderBy?: never;
|
|
297
|
-
});
|
|
298
262
|
/**
|
|
299
263
|
* Represents a failed record during insertion with error details
|
|
300
264
|
*/
|
|
@@ -494,11 +458,6 @@ type BaseOlapConfig<T> = ({
|
|
|
494
458
|
ttl?: string;
|
|
495
459
|
/** Optional secondary/data-skipping indexes */
|
|
496
460
|
indexes?: TableIndex[];
|
|
497
|
-
/**
|
|
498
|
-
* Optional projections for optimizing specific query patterns.
|
|
499
|
-
* Projections store duplicate data with different sort orders or pre-computed aggregations.
|
|
500
|
-
*/
|
|
501
|
-
projections?: TableProjection<T>[];
|
|
502
461
|
/**
|
|
503
462
|
* Optional database name for multi-database support.
|
|
504
463
|
* When not specified, uses the global ClickHouse config database.
|
|
@@ -259,42 +259,6 @@ interface TableIndex {
|
|
|
259
259
|
arguments?: string[];
|
|
260
260
|
granularity?: number;
|
|
261
261
|
}
|
|
262
|
-
/**
|
|
263
|
-
* Defines a ClickHouse projection for optimizing specific query patterns.
|
|
264
|
-
* Projections duplicate data with different sort orders or pre-computed aggregations.
|
|
265
|
-
*
|
|
266
|
-
* ClickHouse rules:
|
|
267
|
-
* - Non-aggregate projections: Must have ORDER BY
|
|
268
|
-
* - Aggregate projections (with GROUP BY): Cannot have ORDER BY (ordering is implicit from GROUP BY)
|
|
269
|
-
*/
|
|
270
|
-
type TableProjection<T = any> = {
|
|
271
|
-
/** Unique name for the projection */
|
|
272
|
-
name: string;
|
|
273
|
-
} & ({
|
|
274
|
-
/** List of column names to include in non-aggregate projection */
|
|
275
|
-
select: (keyof T & string)[];
|
|
276
|
-
/** Columns to order by (required for non-aggregate projections) */
|
|
277
|
-
orderBy: (keyof T & string)[];
|
|
278
|
-
groupBy?: never;
|
|
279
|
-
} | {
|
|
280
|
-
/** List of column names to include in aggregate projection */
|
|
281
|
-
select: (keyof T & string)[];
|
|
282
|
-
/** GROUP BY columns (for aggregate projections). ORDER BY is implicit from this. */
|
|
283
|
-
groupBy: (keyof T & string)[];
|
|
284
|
-
orderBy?: never;
|
|
285
|
-
} | {
|
|
286
|
-
/** SQL expression for SELECT clause (non-aggregate) */
|
|
287
|
-
select: string;
|
|
288
|
-
/** SQL expression for ORDER BY clause (required for non-aggregate projections) */
|
|
289
|
-
orderBy: string;
|
|
290
|
-
groupBy?: never;
|
|
291
|
-
} | {
|
|
292
|
-
/** SQL expression for SELECT clause (aggregate) */
|
|
293
|
-
select: string;
|
|
294
|
-
/** SQL expression for GROUP BY clause (for aggregate projections). ORDER BY is implicit from this. */
|
|
295
|
-
groupBy: string;
|
|
296
|
-
orderBy?: never;
|
|
297
|
-
});
|
|
298
262
|
/**
|
|
299
263
|
* Represents a failed record during insertion with error details
|
|
300
264
|
*/
|
|
@@ -494,11 +458,6 @@ type BaseOlapConfig<T> = ({
|
|
|
494
458
|
ttl?: string;
|
|
495
459
|
/** Optional secondary/data-skipping indexes */
|
|
496
460
|
indexes?: TableIndex[];
|
|
497
|
-
/**
|
|
498
|
-
* Optional projections for optimizing specific query patterns.
|
|
499
|
-
* Projections store duplicate data with different sort orders or pre-computed aggregations.
|
|
500
|
-
*/
|
|
501
|
-
projections?: TableProjection<T>[];
|
|
502
461
|
/**
|
|
503
462
|
* Optional database name for multi-database support.
|
|
504
463
|
* When not specified, uses the global ClickHouse config database.
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ClickHouseByteSize, q as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, p as ClickHouseMaterialized, f as ClickHouseMultiLineString, h as ClickHouseMultiPolygon, b as ClickHouseNamedTuple, c as ClickHousePoint, g as ClickHousePolygon, i as ClickHousePrecision, d as ClickHouseRing, o as ClickHouseTTL, D as DateTime, r as DateTime64, t as DateTime64String, s as DateTimeString, E as Decimal, F as FixedString, u as Float32, v as Float64, w as Int16, x as Int32, y as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, z as UInt16, A as UInt32, B as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-
|
|
2
|
-
import { a4 as MooseUtils, K as ApiUtil, a5 as MooseClient } from './index-
|
|
3
|
-
export { A as Aggregated, h as Api, i as ApiConfig, ae as ApiHelpers, a6 as Blocks, a7 as ClickHouseEngines, C as ConsumptionApi, af as ConsumptionHelpers, N as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Q as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, R as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, ab as QueryClient, X as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, Z as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, U as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, ac as WorkflowClient, a2 as createClickhouseParameter, a9 as createMaterializedView, a8 as dropView, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, ad as getTemporalClient, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, ag as joinQueries, a3 as mapToClickHouseType, aa as populateTable, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-
|
|
1
|
+
export { C as ClickHouseByteSize, q as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, p as ClickHouseMaterialized, f as ClickHouseMultiLineString, h as ClickHouseMultiPolygon, b as ClickHouseNamedTuple, c as ClickHousePoint, g as ClickHousePolygon, i as ClickHousePrecision, d as ClickHouseRing, o as ClickHouseTTL, D as DateTime, r as DateTime64, t as DateTime64String, s as DateTimeString, E as Decimal, F as FixedString, u as Float32, v as Float64, w as Int16, x as Int32, y as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, z as UInt16, A as UInt32, B as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-FzU17dxm.mjs';
|
|
2
|
+
import { a4 as MooseUtils, K as ApiUtil, a5 as MooseClient } from './index-CcHF2cVT.mjs';
|
|
3
|
+
export { A as Aggregated, h as Api, i as ApiConfig, ae as ApiHelpers, a6 as Blocks, a7 as ClickHouseEngines, C as ConsumptionApi, af as ConsumptionHelpers, N as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Q as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, R as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, ab as QueryClient, X as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, Z as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, U as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, ac as WorkflowClient, a2 as createClickhouseParameter, a9 as createMaterializedView, a8 as dropView, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, ad as getTemporalClient, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, ag as joinQueries, a3 as mapToClickHouseType, aa as populateTable, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-CcHF2cVT.mjs';
|
|
4
4
|
import * as _clickhouse_client from '@clickhouse/client';
|
|
5
5
|
import { KafkaJS } from '@514labs/kafka-javascript';
|
|
6
6
|
import http from 'http';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ClickHouseByteSize, q as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, p as ClickHouseMaterialized, f as ClickHouseMultiLineString, h as ClickHouseMultiPolygon, b as ClickHouseNamedTuple, c as ClickHousePoint, g as ClickHousePolygon, i as ClickHousePrecision, d as ClickHouseRing, o as ClickHouseTTL, D as DateTime, r as DateTime64, t as DateTime64String, s as DateTimeString, E as Decimal, F as FixedString, u as Float32, v as Float64, w as Int16, x as Int32, y as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, z as UInt16, A as UInt32, B as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-
|
|
2
|
-
import { a4 as MooseUtils, K as ApiUtil, a5 as MooseClient } from './index-
|
|
3
|
-
export { A as Aggregated, h as Api, i as ApiConfig, ae as ApiHelpers, a6 as Blocks, a7 as ClickHouseEngines, C as ConsumptionApi, af as ConsumptionHelpers, N as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Q as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, R as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, ab as QueryClient, X as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, Z as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, U as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, ac as WorkflowClient, a2 as createClickhouseParameter, a9 as createMaterializedView, a8 as dropView, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, ad as getTemporalClient, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, ag as joinQueries, a3 as mapToClickHouseType, aa as populateTable, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-
|
|
1
|
+
export { C as ClickHouseByteSize, q as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, p as ClickHouseMaterialized, f as ClickHouseMultiLineString, h as ClickHouseMultiPolygon, b as ClickHouseNamedTuple, c as ClickHousePoint, g as ClickHousePolygon, i as ClickHousePrecision, d as ClickHouseRing, o as ClickHouseTTL, D as DateTime, r as DateTime64, t as DateTime64String, s as DateTimeString, E as Decimal, F as FixedString, u as Float32, v as Float64, w as Int16, x as Int32, y as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, z as UInt16, A as UInt32, B as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-CMEunMFq.js';
|
|
2
|
+
import { a4 as MooseUtils, K as ApiUtil, a5 as MooseClient } from './index-CcHF2cVT.js';
|
|
3
|
+
export { A as Aggregated, h as Api, i as ApiConfig, ae as ApiHelpers, a6 as Blocks, a7 as ClickHouseEngines, C as ConsumptionApi, af as ConsumptionHelpers, N as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Q as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, R as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, ab as QueryClient, X as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, Z as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, U as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, ac as WorkflowClient, a2 as createClickhouseParameter, a9 as createMaterializedView, a8 as dropView, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, ad as getTemporalClient, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, ag as joinQueries, a3 as mapToClickHouseType, aa as populateTable, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-CcHF2cVT.js';
|
|
4
4
|
import * as _clickhouse_client from '@clickhouse/client';
|
|
5
5
|
import { KafkaJS } from '@514labs/kafka-javascript';
|
|
6
6
|
import http from 'http';
|