@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.
@@ -653,7 +653,7 @@ var init_internal = __esm({
653
653
  workflows: /* @__PURE__ */ new Map(),
654
654
  webApps: /* @__PURE__ */ new Map(),
655
655
  materializedViews: /* @__PURE__ */ new Map(),
656
- customViews: /* @__PURE__ */ new Map()
656
+ views: /* @__PURE__ */ new Map()
657
657
  };
658
658
  defaultRetentionPeriod = 60 * 60 * 24 * 7;
659
659
  getMooseInternal = () => globalThis.moose_internal;
@@ -2702,7 +2702,7 @@ var init_view = __esm({
2702
2702
  init_stackTrace();
2703
2703
  View = class {
2704
2704
  /** @internal */
2705
- kind = "CustomView";
2705
+ kind = "View";
2706
2706
  /** The name of the view */
2707
2707
  name;
2708
2708
  /** The SELECT SQL statement that defines the view */
@@ -2733,11 +2733,11 @@ var init_view = __esm({
2733
2733
  this.metadata.source = { file: sourceInfo };
2734
2734
  }
2735
2735
  }
2736
- const customViews = getMooseInternal().customViews;
2737
- if (!isClientOnlyMode() && customViews.has(this.name)) {
2736
+ const views = getMooseInternal().views;
2737
+ if (!isClientOnlyMode() && views.has(this.name)) {
2738
2738
  throw new Error(`View with name ${this.name} already exists`);
2739
2739
  }
2740
- customViews.set(this.name, this);
2740
+ views.set(this.name, this);
2741
2741
  }
2742
2742
  };
2743
2743
  }
@@ -2947,11 +2947,11 @@ function getMaterializedViews() {
2947
2947
  function getMaterializedView(name) {
2948
2948
  return getMooseInternal().materializedViews.get(name);
2949
2949
  }
2950
- function getCustomViews() {
2951
- return getMooseInternal().customViews;
2950
+ function getViews() {
2951
+ return getMooseInternal().views;
2952
2952
  }
2953
- function getCustomView(name) {
2954
- return getMooseInternal().customViews.get(name);
2953
+ function getView(name) {
2954
+ return getMooseInternal().views.get(name);
2955
2955
  }
2956
2956
  var init_registry = __esm({
2957
2957
  "src/dmv2/registry.ts"() {
@@ -3009,8 +3009,6 @@ export {
3009
3009
  createClickhouseParameter,
3010
3010
  getApi,
3011
3011
  getApis2 as getApis,
3012
- getCustomView,
3013
- getCustomViews,
3014
3012
  getIngestApi,
3015
3013
  getIngestApis,
3016
3014
  getMaterializedView,
@@ -3022,6 +3020,8 @@ export {
3022
3020
  getTable,
3023
3021
  getTables,
3024
3022
  getValueFromParameter,
3023
+ getView,
3024
+ getViews,
3025
3025
  getWebApp,
3026
3026
  getWebApps2 as getWebApps,
3027
3027
  getWorkflow,