@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.
@@ -603,9 +603,6 @@ function createMaterializedView(options) {
603
603
  AS ${options.select}`.trim();
604
604
  }
605
605
 
606
- // src/dmv2/internal.ts
607
- import process2 from "process";
608
-
609
606
  // src/index.ts
610
607
  init_commons();
611
608
 
@@ -648,7 +645,6 @@ var DEFAULT_CSV_CONFIG = {
648
645
 
649
646
  // src/dmv2/internal.ts
650
647
  init_commons();
651
- var isClientOnlyMode = () => process2.env.MOOSE_CLIENT_ONLY === "true";
652
648
  var moose_internal = {
653
649
  tables: /* @__PURE__ */ new Map(),
654
650
  streams: /* @__PURE__ */ new Map(),
@@ -817,7 +813,7 @@ var OlapTable = class extends TypedBase {
817
813
  this.name = name;
818
814
  const tables = getMooseInternal().tables;
819
815
  const registryKey = this.config.version ? `${name}_${this.config.version}` : name;
820
- if (!isClientOnlyMode() && tables.has(registryKey)) {
816
+ if (tables.has(registryKey)) {
821
817
  throw new Error(
822
818
  `OlapTable with name ${name} and version ${config?.version ?? "unversioned"} already exists`
823
819
  );
@@ -2299,7 +2295,7 @@ var SqlResource = class {
2299
2295
  */
2300
2296
  constructor(name, setup, teardown, options) {
2301
2297
  const sqlResources = getMooseInternal().sqlResources;
2302
- if (!isClientOnlyMode() && sqlResources.has(name)) {
2298
+ if (sqlResources.has(name)) {
2303
2299
  throw new Error(`SqlResource with name ${name} already exists`);
2304
2300
  }
2305
2301
  sqlResources.set(name, this);