@514labs/moose-lib 0.6.249-ci-2-gc33238f0 → 0.6.249-ci-2-g7652377c

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/index.mjs CHANGED
@@ -613,6 +613,7 @@ var ClickHouseEngines = /* @__PURE__ */ ((ClickHouseEngines2) => {
613
613
  ClickHouseEngines2["Buffer"] = "Buffer";
614
614
  ClickHouseEngines2["Distributed"] = "Distributed";
615
615
  ClickHouseEngines2["IcebergS3"] = "IcebergS3";
616
+ ClickHouseEngines2["Kafka"] = "Kafka";
616
617
  ClickHouseEngines2["ReplicatedMergeTree"] = "ReplicatedMergeTree";
617
618
  ClickHouseEngines2["ReplicatedReplacingMergeTree"] = "ReplicatedReplacingMergeTree";
618
619
  ClickHouseEngines2["ReplicatedAggregatingMergeTree"] = "ReplicatedAggregatingMergeTree";
@@ -638,7 +639,6 @@ init_commons();
638
639
  function getSourceDir() {
639
640
  return process2.env.MOOSE_SOURCE_DIR || "app";
640
641
  }
641
- var isClientOnlyMode = () => process2.env.MOOSE_CLIENT_ONLY === "true";
642
642
  var moose_internal = {
643
643
  tables: /* @__PURE__ */ new Map(),
644
644
  streams: /* @__PURE__ */ new Map(),
@@ -840,7 +840,7 @@ var OlapTable = class extends TypedBase {
840
840
  this.name = name;
841
841
  const tables = getMooseInternal().tables;
842
842
  const registryKey = this.config.version ? `${name}_${this.config.version}` : name;
843
- if (!isClientOnlyMode() && tables.has(registryKey)) {
843
+ if (tables.has(registryKey)) {
844
844
  throw new Error(
845
845
  `OlapTable with name ${name} and version ${config?.version ?? "unversioned"} already exists`
846
846
  );
@@ -2322,7 +2322,7 @@ var SqlResource = class {
2322
2322
  */
2323
2323
  constructor(name, setup, teardown, options) {
2324
2324
  const sqlResources = getMooseInternal().sqlResources;
2325
- if (!isClientOnlyMode() && sqlResources.has(name)) {
2325
+ if (sqlResources.has(name)) {
2326
2326
  throw new Error(`SqlResource with name ${name} already exists`);
2327
2327
  }
2328
2328
  sqlResources.set(name, this);