@514labs/moose-lib 0.6.297-ci-30-g6530526d → 0.6.297-ci-32-g6119ebc8

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.
@@ -568,7 +568,7 @@ var init_internal = __esm({
568
568
  workflows: /* @__PURE__ */ new Map(),
569
569
  webApps: /* @__PURE__ */ new Map(),
570
570
  materializedViews: /* @__PURE__ */ new Map(),
571
- customViews: /* @__PURE__ */ new Map()
571
+ views: /* @__PURE__ */ new Map()
572
572
  };
573
573
  defaultRetentionPeriod = 60 * 60 * 24 * 7;
574
574
  getMooseInternal = () => globalThis.moose_internal;
@@ -2617,7 +2617,7 @@ var init_view = __esm({
2617
2617
  init_stackTrace();
2618
2618
  View = class {
2619
2619
  /** @internal */
2620
- kind = "CustomView";
2620
+ kind = "View";
2621
2621
  /** The name of the view */
2622
2622
  name;
2623
2623
  /** The SELECT SQL statement that defines the view */
@@ -2648,11 +2648,11 @@ var init_view = __esm({
2648
2648
  this.metadata.source = { file: sourceInfo };
2649
2649
  }
2650
2650
  }
2651
- const customViews = getMooseInternal().customViews;
2652
- if (!isClientOnlyMode() && customViews.has(this.name)) {
2651
+ const views = getMooseInternal().views;
2652
+ if (!isClientOnlyMode() && views.has(this.name)) {
2653
2653
  throw new Error(`View with name ${this.name} already exists`);
2654
2654
  }
2655
- customViews.set(this.name, this);
2655
+ views.set(this.name, this);
2656
2656
  }
2657
2657
  };
2658
2658
  }
@@ -2862,11 +2862,11 @@ function getMaterializedViews() {
2862
2862
  function getMaterializedView(name) {
2863
2863
  return getMooseInternal().materializedViews.get(name);
2864
2864
  }
2865
- function getCustomViews() {
2866
- return getMooseInternal().customViews;
2865
+ function getViews() {
2866
+ return getMooseInternal().views;
2867
2867
  }
2868
- function getCustomView(name) {
2869
- return getMooseInternal().customViews.get(name);
2868
+ function getView(name) {
2869
+ return getMooseInternal().views.get(name);
2870
2870
  }
2871
2871
  var init_registry = __esm({
2872
2872
  "src/dmv2/registry.ts"() {
@@ -2912,8 +2912,6 @@ export {
2912
2912
  Workflow,
2913
2913
  getApi,
2914
2914
  getApis,
2915
- getCustomView,
2916
- getCustomViews,
2917
2915
  getIngestApi,
2918
2916
  getIngestApis,
2919
2917
  getMaterializedView,
@@ -2924,6 +2922,8 @@ export {
2924
2922
  getStreams,
2925
2923
  getTable,
2926
2924
  getTables,
2925
+ getView,
2926
+ getViews,
2927
2927
  getWebApp,
2928
2928
  getWebApps,
2929
2929
  getWorkflow,