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

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.
@@ -508,9 +508,6 @@ function createMaterializedView(options) {
508
508
  AS ${options.select}`.trim();
509
509
  }
510
510
 
511
- // src/dmv2/internal.ts
512
- import process2 from "process";
513
-
514
511
  // src/index.ts
515
512
  init_commons();
516
513
 
@@ -553,7 +550,6 @@ var DEFAULT_CSV_CONFIG = {
553
550
 
554
551
  // src/dmv2/internal.ts
555
552
  init_commons();
556
- var isClientOnlyMode = () => process2.env.MOOSE_CLIENT_ONLY === "true";
557
553
  var moose_internal = {
558
554
  tables: /* @__PURE__ */ new Map(),
559
555
  streams: /* @__PURE__ */ new Map(),
@@ -722,7 +718,7 @@ var OlapTable = class extends TypedBase {
722
718
  this.name = name;
723
719
  const tables = getMooseInternal().tables;
724
720
  const registryKey = this.config.version ? `${name}_${this.config.version}` : name;
725
- if (!isClientOnlyMode() && tables.has(registryKey)) {
721
+ if (tables.has(registryKey)) {
726
722
  throw new Error(
727
723
  `OlapTable with name ${name} and version ${config?.version ?? "unversioned"} already exists`
728
724
  );
@@ -2204,7 +2200,7 @@ var SqlResource = class {
2204
2200
  */
2205
2201
  constructor(name, setup, teardown, options) {
2206
2202
  const sqlResources = getMooseInternal().sqlResources;
2207
- if (!isClientOnlyMode() && sqlResources.has(name)) {
2203
+ if (sqlResources.has(name)) {
2208
2204
  throw new Error(`SqlResource with name ${name} already exists`);
2209
2205
  }
2210
2206
  sqlResources.set(name, this);