@514labs/moose-lib 0.6.244-ci-6-gbb6c4d8d → 0.6.244-ci-4-g8bb466b6

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.
@@ -192,9 +192,7 @@ declare enum ClickHouseEngines {
192
192
  ReplicatedMergeTree = "ReplicatedMergeTree",
193
193
  ReplicatedReplacingMergeTree = "ReplicatedReplacingMergeTree",
194
194
  ReplicatedAggregatingMergeTree = "ReplicatedAggregatingMergeTree",
195
- ReplicatedSummingMergeTree = "ReplicatedSummingMergeTree",
196
- ReplicatedCollapsingMergeTree = "ReplicatedCollapsingMergeTree",
197
- ReplicatedVersionedCollapsingMergeTree = "ReplicatedVersionedCollapsingMergeTree"
195
+ ReplicatedSummingMergeTree = "ReplicatedSummingMergeTree"
198
196
  }
199
197
  /**
200
198
  * Drops an existing view if it exists.
@@ -492,23 +490,6 @@ type SummingMergeTreeConfig<T> = BaseOlapConfig<T> & {
492
490
  engine: ClickHouseEngines.SummingMergeTree;
493
491
  columns?: string[];
494
492
  };
495
- /**
496
- * Configuration for CollapsingMergeTree engine
497
- * @template T The data type of the records stored in the table.
498
- */
499
- type CollapsingMergeTreeConfig<T> = BaseOlapConfig<T> & {
500
- engine: ClickHouseEngines.CollapsingMergeTree;
501
- sign: keyof T & string;
502
- };
503
- /**
504
- * Configuration for VersionedCollapsingMergeTree engine
505
- * @template T The data type of the records stored in the table.
506
- */
507
- type VersionedCollapsingMergeTreeConfig<T> = BaseOlapConfig<T> & {
508
- engine: ClickHouseEngines.VersionedCollapsingMergeTree;
509
- sign: keyof T & string;
510
- ver: keyof T & string;
511
- };
512
493
  interface ReplicatedEngineProperties {
513
494
  keeperPath?: string;
514
495
  replicaName?: string;
@@ -557,28 +538,6 @@ type ReplicatedAggregatingMergeTreeConfig<T> = Omit<AggregatingMergeTreeConfig<T
557
538
  type ReplicatedSummingMergeTreeConfig<T> = Omit<SummingMergeTreeConfig<T>, "engine"> & ReplicatedEngineProperties & {
558
539
  engine: ClickHouseEngines.ReplicatedSummingMergeTree;
559
540
  };
560
- /**
561
- * Configuration for ReplicatedCollapsingMergeTree engine
562
- * @template T The data type of the records stored in the table.
563
- *
564
- * Note: keeperPath and replicaName are optional. Omit them for ClickHouse Cloud,
565
- * which manages replication automatically. For self-hosted with ClickHouse Keeper,
566
- * provide both parameters or neither (to use server defaults).
567
- */
568
- type ReplicatedCollapsingMergeTreeConfig<T> = Omit<CollapsingMergeTreeConfig<T>, "engine"> & ReplicatedEngineProperties & {
569
- engine: ClickHouseEngines.ReplicatedCollapsingMergeTree;
570
- };
571
- /**
572
- * Configuration for ReplicatedVersionedCollapsingMergeTree engine
573
- * @template T The data type of the records stored in the table.
574
- *
575
- * Note: keeperPath and replicaName are optional. Omit them for ClickHouse Cloud,
576
- * which manages replication automatically. For self-hosted with ClickHouse Keeper,
577
- * provide both parameters or neither (to use server defaults).
578
- */
579
- type ReplicatedVersionedCollapsingMergeTreeConfig<T> = Omit<VersionedCollapsingMergeTreeConfig<T>, "engine"> & ReplicatedEngineProperties & {
580
- engine: ClickHouseEngines.ReplicatedVersionedCollapsingMergeTree;
581
- };
582
541
  /**
583
542
  * Configuration for S3Queue engine - only non-alterable constructor parameters.
584
543
  * S3Queue-specific settings like 'mode', 'keeper_path', etc. should be specified
@@ -719,7 +678,7 @@ type IcebergS3Config<T> = Omit<BaseOlapConfig<T>, "orderByFields" | "orderByExpr
719
678
  * @template T The data type of the records stored in the table.
720
679
  */
721
680
  type LegacyOlapConfig<T> = BaseOlapConfig<T>;
722
- type EngineConfig<T> = MergeTreeConfig<T> | ReplacingMergeTreeConfig<T> | AggregatingMergeTreeConfig<T> | SummingMergeTreeConfig<T> | CollapsingMergeTreeConfig<T> | VersionedCollapsingMergeTreeConfig<T> | ReplicatedMergeTreeConfig<T> | ReplicatedReplacingMergeTreeConfig<T> | ReplicatedAggregatingMergeTreeConfig<T> | ReplicatedSummingMergeTreeConfig<T> | ReplicatedCollapsingMergeTreeConfig<T> | ReplicatedVersionedCollapsingMergeTreeConfig<T> | S3QueueConfig<T> | S3Config<T> | BufferConfig<T> | DistributedConfig<T> | IcebergS3Config<T>;
681
+ type EngineConfig<T> = MergeTreeConfig<T> | ReplacingMergeTreeConfig<T> | AggregatingMergeTreeConfig<T> | SummingMergeTreeConfig<T> | ReplicatedMergeTreeConfig<T> | ReplicatedReplacingMergeTreeConfig<T> | ReplicatedAggregatingMergeTreeConfig<T> | ReplicatedSummingMergeTreeConfig<T> | S3QueueConfig<T> | S3Config<T> | BufferConfig<T> | DistributedConfig<T> | IcebergS3Config<T>;
723
682
  /**
724
683
  * Union of all engine-specific configurations (new API)
725
684
  * @template T The data type of the records stored in the table.
@@ -192,9 +192,7 @@ declare enum ClickHouseEngines {
192
192
  ReplicatedMergeTree = "ReplicatedMergeTree",
193
193
  ReplicatedReplacingMergeTree = "ReplicatedReplacingMergeTree",
194
194
  ReplicatedAggregatingMergeTree = "ReplicatedAggregatingMergeTree",
195
- ReplicatedSummingMergeTree = "ReplicatedSummingMergeTree",
196
- ReplicatedCollapsingMergeTree = "ReplicatedCollapsingMergeTree",
197
- ReplicatedVersionedCollapsingMergeTree = "ReplicatedVersionedCollapsingMergeTree"
195
+ ReplicatedSummingMergeTree = "ReplicatedSummingMergeTree"
198
196
  }
199
197
  /**
200
198
  * Drops an existing view if it exists.
@@ -492,23 +490,6 @@ type SummingMergeTreeConfig<T> = BaseOlapConfig<T> & {
492
490
  engine: ClickHouseEngines.SummingMergeTree;
493
491
  columns?: string[];
494
492
  };
495
- /**
496
- * Configuration for CollapsingMergeTree engine
497
- * @template T The data type of the records stored in the table.
498
- */
499
- type CollapsingMergeTreeConfig<T> = BaseOlapConfig<T> & {
500
- engine: ClickHouseEngines.CollapsingMergeTree;
501
- sign: keyof T & string;
502
- };
503
- /**
504
- * Configuration for VersionedCollapsingMergeTree engine
505
- * @template T The data type of the records stored in the table.
506
- */
507
- type VersionedCollapsingMergeTreeConfig<T> = BaseOlapConfig<T> & {
508
- engine: ClickHouseEngines.VersionedCollapsingMergeTree;
509
- sign: keyof T & string;
510
- ver: keyof T & string;
511
- };
512
493
  interface ReplicatedEngineProperties {
513
494
  keeperPath?: string;
514
495
  replicaName?: string;
@@ -557,28 +538,6 @@ type ReplicatedAggregatingMergeTreeConfig<T> = Omit<AggregatingMergeTreeConfig<T
557
538
  type ReplicatedSummingMergeTreeConfig<T> = Omit<SummingMergeTreeConfig<T>, "engine"> & ReplicatedEngineProperties & {
558
539
  engine: ClickHouseEngines.ReplicatedSummingMergeTree;
559
540
  };
560
- /**
561
- * Configuration for ReplicatedCollapsingMergeTree engine
562
- * @template T The data type of the records stored in the table.
563
- *
564
- * Note: keeperPath and replicaName are optional. Omit them for ClickHouse Cloud,
565
- * which manages replication automatically. For self-hosted with ClickHouse Keeper,
566
- * provide both parameters or neither (to use server defaults).
567
- */
568
- type ReplicatedCollapsingMergeTreeConfig<T> = Omit<CollapsingMergeTreeConfig<T>, "engine"> & ReplicatedEngineProperties & {
569
- engine: ClickHouseEngines.ReplicatedCollapsingMergeTree;
570
- };
571
- /**
572
- * Configuration for ReplicatedVersionedCollapsingMergeTree engine
573
- * @template T The data type of the records stored in the table.
574
- *
575
- * Note: keeperPath and replicaName are optional. Omit them for ClickHouse Cloud,
576
- * which manages replication automatically. For self-hosted with ClickHouse Keeper,
577
- * provide both parameters or neither (to use server defaults).
578
- */
579
- type ReplicatedVersionedCollapsingMergeTreeConfig<T> = Omit<VersionedCollapsingMergeTreeConfig<T>, "engine"> & ReplicatedEngineProperties & {
580
- engine: ClickHouseEngines.ReplicatedVersionedCollapsingMergeTree;
581
- };
582
541
  /**
583
542
  * Configuration for S3Queue engine - only non-alterable constructor parameters.
584
543
  * S3Queue-specific settings like 'mode', 'keeper_path', etc. should be specified
@@ -719,7 +678,7 @@ type IcebergS3Config<T> = Omit<BaseOlapConfig<T>, "orderByFields" | "orderByExpr
719
678
  * @template T The data type of the records stored in the table.
720
679
  */
721
680
  type LegacyOlapConfig<T> = BaseOlapConfig<T>;
722
- type EngineConfig<T> = MergeTreeConfig<T> | ReplacingMergeTreeConfig<T> | AggregatingMergeTreeConfig<T> | SummingMergeTreeConfig<T> | CollapsingMergeTreeConfig<T> | VersionedCollapsingMergeTreeConfig<T> | ReplicatedMergeTreeConfig<T> | ReplicatedReplacingMergeTreeConfig<T> | ReplicatedAggregatingMergeTreeConfig<T> | ReplicatedSummingMergeTreeConfig<T> | ReplicatedCollapsingMergeTreeConfig<T> | ReplicatedVersionedCollapsingMergeTreeConfig<T> | S3QueueConfig<T> | S3Config<T> | BufferConfig<T> | DistributedConfig<T> | IcebergS3Config<T>;
681
+ type EngineConfig<T> = MergeTreeConfig<T> | ReplacingMergeTreeConfig<T> | AggregatingMergeTreeConfig<T> | SummingMergeTreeConfig<T> | ReplicatedMergeTreeConfig<T> | ReplicatedReplacingMergeTreeConfig<T> | ReplicatedAggregatingMergeTreeConfig<T> | ReplicatedSummingMergeTreeConfig<T> | S3QueueConfig<T> | S3Config<T> | BufferConfig<T> | DistributedConfig<T> | IcebergS3Config<T>;
723
682
  /**
724
683
  * Union of all engine-specific configurations (new API)
725
684
  * @template T The data type of the records stored in the table.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- export { C as ClickHouseByteSize, p as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, 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, q as DateTime64, s as DateTime64String, r as DateTimeString, B as Decimal, F as FixedString, t as Float32, u as Float64, v as Int16, w as Int32, x as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, y as UInt16, z as UInt32, A as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-BjzQVzW-.mjs';
2
- import { K as ApiUtil, a4 as MooseClient } from './index-CBTXNlql.mjs';
3
- export { A as Aggregated, h as Api, i as ApiConfig, ad as ApiHelpers, a5 as Blocks, a6 as ClickHouseEngines, C as ConsumptionApi, ae 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, aa 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, ab as WorkflowClient, a2 as createClickhouseParameter, a8 as createMaterializedView, a7 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, ac as getTemporalClient, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, af as joinQueries, a3 as mapToClickHouseType, a9 as populateTable, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-CBTXNlql.mjs';
1
+ export { C as ClickHouseByteSize, p as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, 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, q as DateTime64, s as DateTime64String, r as DateTimeString, B as Decimal, F as FixedString, t as Float32, u as Float64, v as Int16, w as Int32, x as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, y as UInt16, z as UInt32, A as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-bG7qUssc.mjs';
2
+ import { K as ApiUtil, a4 as MooseClient } from './index-DtHRzX8Z.mjs';
3
+ export { A as Aggregated, h as Api, i as ApiConfig, ad as ApiHelpers, a5 as Blocks, a6 as ClickHouseEngines, C as ConsumptionApi, ae 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, aa 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, ab as WorkflowClient, a2 as createClickhouseParameter, a8 as createMaterializedView, a7 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, ac as getTemporalClient, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, af as joinQueries, a3 as mapToClickHouseType, a9 as populateTable, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-DtHRzX8Z.mjs';
4
4
  import * as _clickhouse_client from '@clickhouse/client';
5
5
  import { KafkaJS } from '@confluentinc/kafka-javascript';
6
6
  import http from 'http';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { C as ClickHouseByteSize, p as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, 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, q as DateTime64, s as DateTime64String, r as DateTimeString, B as Decimal, F as FixedString, t as Float32, u as Float64, v as Int16, w as Int32, x as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, y as UInt16, z as UInt32, A as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-91E-CWRB.js';
2
- import { K as ApiUtil, a4 as MooseClient } from './index-CBTXNlql.js';
3
- export { A as Aggregated, h as Api, i as ApiConfig, ad as ApiHelpers, a5 as Blocks, a6 as ClickHouseEngines, C as ConsumptionApi, ae 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, aa 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, ab as WorkflowClient, a2 as createClickhouseParameter, a8 as createMaterializedView, a7 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, ac as getTemporalClient, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, af as joinQueries, a3 as mapToClickHouseType, a9 as populateTable, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-CBTXNlql.js';
1
+ export { C as ClickHouseByteSize, p as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, 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, q as DateTime64, s as DateTime64String, r as DateTimeString, B as Decimal, F as FixedString, t as Float32, u as Float64, v as Int16, w as Int32, x as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, y as UInt16, z as UInt32, A as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-mRmtV1to.js';
2
+ import { K as ApiUtil, a4 as MooseClient } from './index-DtHRzX8Z.js';
3
+ export { A as Aggregated, h as Api, i as ApiConfig, ad as ApiHelpers, a5 as Blocks, a6 as ClickHouseEngines, C as ConsumptionApi, ae 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, aa 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, ab as WorkflowClient, a2 as createClickhouseParameter, a8 as createMaterializedView, a7 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, ac as getTemporalClient, a1 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, af as joinQueries, a3 as mapToClickHouseType, a9 as populateTable, P as quoteIdentifier, Y as sql, $ as toQuery, a0 as toQueryPreview, _ as toStaticQuery } from './index-DtHRzX8Z.js';
4
4
  import * as _clickhouse_client from '@clickhouse/client';
5
5
  import { KafkaJS } from '@confluentinc/kafka-javascript';
6
6
  import http from 'http';
package/dist/index.js CHANGED
@@ -720,8 +720,6 @@ var ClickHouseEngines = /* @__PURE__ */ ((ClickHouseEngines2) => {
720
720
  ClickHouseEngines2["ReplicatedReplacingMergeTree"] = "ReplicatedReplacingMergeTree";
721
721
  ClickHouseEngines2["ReplicatedAggregatingMergeTree"] = "ReplicatedAggregatingMergeTree";
722
722
  ClickHouseEngines2["ReplicatedSummingMergeTree"] = "ReplicatedSummingMergeTree";
723
- ClickHouseEngines2["ReplicatedCollapsingMergeTree"] = "ReplicatedCollapsingMergeTree";
724
- ClickHouseEngines2["ReplicatedVersionedCollapsingMergeTree"] = "ReplicatedVersionedCollapsingMergeTree";
725
723
  return ClickHouseEngines2;
726
724
  })(ClickHouseEngines || {});
727
725
  function dropView(name) {