@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.
@@ -1900,7 +1900,7 @@ declare class ETLPipeline<T, U> {
1900
1900
  */
1901
1901
  declare class View {
1902
1902
  /** @internal */
1903
- readonly kind = "CustomView";
1903
+ readonly kind = "View";
1904
1904
  /** The name of the view */
1905
1905
  name: string;
1906
1906
  /** The SELECT SQL statement that defines the view */
@@ -2157,16 +2157,16 @@ declare function getMaterializedViews(): Map<string, MaterializedView<any>>;
2157
2157
  */
2158
2158
  declare function getMaterializedView(name: string): MaterializedView<any> | undefined;
2159
2159
  /**
2160
- * Get all registered custom views.
2160
+ * Get all registered views.
2161
2161
  * @returns A Map of view name to View instance
2162
2162
  */
2163
- declare function getCustomViews(): Map<string, View>;
2163
+ declare function getViews(): Map<string, View>;
2164
2164
  /**
2165
- * Get a registered custom view by name.
2166
- * @param name - The name of the custom view
2165
+ * Get a registered view by name.
2166
+ * @param name - The name of the view
2167
2167
  * @returns The View instance or undefined if not found
2168
2168
  */
2169
- declare function getCustomView(name: string): View | undefined;
2169
+ declare function getView(name: string): View | undefined;
2170
2170
 
2171
2171
  /**
2172
2172
  * @module dmv2
@@ -2208,4 +2208,4 @@ type SimpleAggregated<AggregationFunction extends string, ArgType = any> = {
2208
2208
  _argType?: ArgType;
2209
2209
  };
2210
2210
 
2211
- export { type RawValue as $, type Aggregated as A, getWorkflows as B, ConsumptionApi as C, type DeadLetterModel as D, type EgressConfig as E, type FrameworkApp as F, getWorkflow as G, getWebApps as H, IngestApi as I, getWebApp as J, getCustomView as K, LifeCycle as L, MaterializedView as M, getCustomViews as N, OlapTable as O, getMaterializedView as P, getMaterializedViews as Q, type ApiUtil as R, type SimpleAggregated as S, Task as T, type ConsumptionUtil as U, View as V, Workflow as W, quoteIdentifier as X, type IdentifierBrandedString as Y, type NonIdentifierBrandedString as Z, type Value as _, type OlapConfig as a, sql as a0, Sql as a1, toStaticQuery as a2, toQuery as a3, toQueryPreview as a4, getValueFromParameter as a5, createClickhouseParameter as a6, mapToClickHouseType as a7, type MooseUtils as a8, MooseClient as a9, type Blocks as aa, ClickHouseEngines as ab, dropView as ac, createMaterializedView as ad, populateTable as ae, QueryClient as af, WorkflowClient as ag, getTemporalClient as ah, ApiHelpers as ai, ConsumptionHelpers as aj, joinQueries as ak, type ConsumerConfig as al, type TransformConfig as am, type TaskContext as an, type TaskConfig as ao, type IngestPipelineConfig as ap, type MaterializedViewConfig as aq, type S3QueueTableSettings as b, Stream as c, type StreamConfig as d, type DeadLetter as e, DeadLetterQueue as f, type IngestConfig as g, Api as h, type ApiConfig as i, IngestPipeline as j, SqlResource as k, ETLPipeline as l, type ETLPipelineConfig as m, WebApp as n, type WebAppConfig as o, type WebAppHandler as p, getTables as q, getTable as r, getStreams as s, getStream as t, getIngestApis as u, getIngestApi as v, getApis as w, getApi as x, getSqlResources as y, getSqlResource as z };
2211
+ export { type RawValue as $, type Aggregated as A, getWorkflows as B, ConsumptionApi as C, type DeadLetterModel as D, type EgressConfig as E, type FrameworkApp as F, getWorkflow as G, getWebApps as H, IngestApi as I, getWebApp as J, getView as K, LifeCycle as L, MaterializedView as M, getViews as N, OlapTable as O, getMaterializedView as P, getMaterializedViews as Q, type ApiUtil as R, type SimpleAggregated as S, Task as T, type ConsumptionUtil as U, View as V, Workflow as W, quoteIdentifier as X, type IdentifierBrandedString as Y, type NonIdentifierBrandedString as Z, type Value as _, type OlapConfig as a, sql as a0, Sql as a1, toStaticQuery as a2, toQuery as a3, toQueryPreview as a4, getValueFromParameter as a5, createClickhouseParameter as a6, mapToClickHouseType as a7, type MooseUtils as a8, MooseClient as a9, type Blocks as aa, ClickHouseEngines as ab, dropView as ac, createMaterializedView as ad, populateTable as ae, QueryClient as af, WorkflowClient as ag, getTemporalClient as ah, ApiHelpers as ai, ConsumptionHelpers as aj, joinQueries as ak, type ConsumerConfig as al, type TransformConfig as am, type TaskContext as an, type TaskConfig as ao, type IngestPipelineConfig as ap, type MaterializedViewConfig as aq, type S3QueueTableSettings as b, Stream as c, type StreamConfig as d, type DeadLetter as e, DeadLetterQueue as f, type IngestConfig as g, Api as h, type ApiConfig as i, IngestPipeline as j, SqlResource as k, ETLPipeline as l, type ETLPipelineConfig as m, WebApp as n, type WebAppConfig as o, type WebAppHandler as p, getTables as q, getTable as r, getStreams as s, getStream as t, getIngestApis as u, getIngestApi as v, getApis as w, getApi as x, getSqlResources as y, getSqlResource as z };
@@ -1900,7 +1900,7 @@ declare class ETLPipeline<T, U> {
1900
1900
  */
1901
1901
  declare class View {
1902
1902
  /** @internal */
1903
- readonly kind = "CustomView";
1903
+ readonly kind = "View";
1904
1904
  /** The name of the view */
1905
1905
  name: string;
1906
1906
  /** The SELECT SQL statement that defines the view */
@@ -2157,16 +2157,16 @@ declare function getMaterializedViews(): Map<string, MaterializedView<any>>;
2157
2157
  */
2158
2158
  declare function getMaterializedView(name: string): MaterializedView<any> | undefined;
2159
2159
  /**
2160
- * Get all registered custom views.
2160
+ * Get all registered views.
2161
2161
  * @returns A Map of view name to View instance
2162
2162
  */
2163
- declare function getCustomViews(): Map<string, View>;
2163
+ declare function getViews(): Map<string, View>;
2164
2164
  /**
2165
- * Get a registered custom view by name.
2166
- * @param name - The name of the custom view
2165
+ * Get a registered view by name.
2166
+ * @param name - The name of the view
2167
2167
  * @returns The View instance or undefined if not found
2168
2168
  */
2169
- declare function getCustomView(name: string): View | undefined;
2169
+ declare function getView(name: string): View | undefined;
2170
2170
 
2171
2171
  /**
2172
2172
  * @module dmv2
@@ -2208,4 +2208,4 @@ type SimpleAggregated<AggregationFunction extends string, ArgType = any> = {
2208
2208
  _argType?: ArgType;
2209
2209
  };
2210
2210
 
2211
- export { type RawValue as $, type Aggregated as A, getWorkflows as B, ConsumptionApi as C, type DeadLetterModel as D, type EgressConfig as E, type FrameworkApp as F, getWorkflow as G, getWebApps as H, IngestApi as I, getWebApp as J, getCustomView as K, LifeCycle as L, MaterializedView as M, getCustomViews as N, OlapTable as O, getMaterializedView as P, getMaterializedViews as Q, type ApiUtil as R, type SimpleAggregated as S, Task as T, type ConsumptionUtil as U, View as V, Workflow as W, quoteIdentifier as X, type IdentifierBrandedString as Y, type NonIdentifierBrandedString as Z, type Value as _, type OlapConfig as a, sql as a0, Sql as a1, toStaticQuery as a2, toQuery as a3, toQueryPreview as a4, getValueFromParameter as a5, createClickhouseParameter as a6, mapToClickHouseType as a7, type MooseUtils as a8, MooseClient as a9, type Blocks as aa, ClickHouseEngines as ab, dropView as ac, createMaterializedView as ad, populateTable as ae, QueryClient as af, WorkflowClient as ag, getTemporalClient as ah, ApiHelpers as ai, ConsumptionHelpers as aj, joinQueries as ak, type ConsumerConfig as al, type TransformConfig as am, type TaskContext as an, type TaskConfig as ao, type IngestPipelineConfig as ap, type MaterializedViewConfig as aq, type S3QueueTableSettings as b, Stream as c, type StreamConfig as d, type DeadLetter as e, DeadLetterQueue as f, type IngestConfig as g, Api as h, type ApiConfig as i, IngestPipeline as j, SqlResource as k, ETLPipeline as l, type ETLPipelineConfig as m, WebApp as n, type WebAppConfig as o, type WebAppHandler as p, getTables as q, getTable as r, getStreams as s, getStream as t, getIngestApis as u, getIngestApi as v, getApis as w, getApi as x, getSqlResources as y, getSqlResource as z };
2211
+ export { type RawValue as $, type Aggregated as A, getWorkflows as B, ConsumptionApi as C, type DeadLetterModel as D, type EgressConfig as E, type FrameworkApp as F, getWorkflow as G, getWebApps as H, IngestApi as I, getWebApp as J, getView as K, LifeCycle as L, MaterializedView as M, getViews as N, OlapTable as O, getMaterializedView as P, getMaterializedViews as Q, type ApiUtil as R, type SimpleAggregated as S, Task as T, type ConsumptionUtil as U, View as V, Workflow as W, quoteIdentifier as X, type IdentifierBrandedString as Y, type NonIdentifierBrandedString as Z, type Value as _, type OlapConfig as a, sql as a0, Sql as a1, toStaticQuery as a2, toQuery as a3, toQueryPreview as a4, getValueFromParameter as a5, createClickhouseParameter as a6, mapToClickHouseType as a7, type MooseUtils as a8, MooseClient as a9, type Blocks as aa, ClickHouseEngines as ab, dropView as ac, createMaterializedView as ad, populateTable as ae, QueryClient as af, WorkflowClient as ag, getTemporalClient as ah, ApiHelpers as ai, ConsumptionHelpers as aj, joinQueries as ak, type ConsumerConfig as al, type TransformConfig as am, type TaskContext as an, type TaskConfig as ao, type IngestPipelineConfig as ap, type MaterializedViewConfig as aq, type S3QueueTableSettings as b, Stream as c, type StreamConfig as d, type DeadLetter as e, DeadLetterQueue as f, type IngestConfig as g, Api as h, type ApiConfig as i, IngestPipeline as j, SqlResource as k, ETLPipeline as l, type ETLPipelineConfig as m, WebApp as n, type WebAppConfig as o, type WebAppHandler as p, getTables as q, getTable as r, getStreams as s, getStream as t, getIngestApis as u, getIngestApi as v, getApis as w, getApi as x, getSqlResources as y, getSqlResource as z };
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
- export { C as ClickHouseByteSize, q as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, p as ClickHouseMaterialized, f as ClickHouseMultiLineString, h as ClickHouseMultiPolygon, b as ClickHouseNamedTuple, c as ClickHousePoint, g as ClickHousePolygon, i as ClickHousePrecision, d as ClickHouseRing, o as ClickHouseTTL, D as DateTime, r as DateTime64, t as DateTime64String, s as DateTimeString, E as Decimal, F as FixedString, u as Float32, v as Float64, w as Int16, x as Int32, y as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, z as UInt16, A as UInt32, B as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-CkJwv4dC.mjs';
2
- import { a8 as MooseUtils, R as ApiUtil, a9 as MooseClient } from './index-CdKEq7FH.mjs';
3
- export { A as Aggregated, h as Api, i as ApiConfig, ai as ApiHelpers, aa as Blocks, ab as ClickHouseEngines, C as ConsumptionApi, aj as ConsumptionHelpers, U as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Y as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, Z as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, af as QueryClient, $ as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, a1 as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, _ as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, ag as WorkflowClient, a6 as createClickhouseParameter, ad as createMaterializedView, ac as dropView, x as getApi, w as getApis, K as getCustomView, N as getCustomViews, v as getIngestApi, u as getIngestApis, P as getMaterializedView, Q as getMaterializedViews, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, ah as getTemporalClient, a5 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, ak as joinQueries, a7 as mapToClickHouseType, ae as populateTable, X as quoteIdentifier, a0 as sql, a3 as toQuery, a4 as toQueryPreview, a2 as toStaticQuery } from './index-CdKEq7FH.mjs';
1
+ export { C as ClickHouseByteSize, q as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, p as ClickHouseMaterialized, f as ClickHouseMultiLineString, h as ClickHouseMultiPolygon, b as ClickHouseNamedTuple, c as ClickHousePoint, g as ClickHousePolygon, i as ClickHousePrecision, d as ClickHouseRing, o as ClickHouseTTL, D as DateTime, r as DateTime64, t as DateTime64String, s as DateTimeString, E as Decimal, F as FixedString, u as Float32, v as Float64, w as Int16, x as Int32, y as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, z as UInt16, A as UInt32, B as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-Dfx6yRB5.mjs';
2
+ import { a8 as MooseUtils, R as ApiUtil, a9 as MooseClient } from './index-CI9e2hZ2.mjs';
3
+ export { A as Aggregated, h as Api, i as ApiConfig, ai as ApiHelpers, aa as Blocks, ab as ClickHouseEngines, C as ConsumptionApi, aj as ConsumptionHelpers, U as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Y as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, Z as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, af as QueryClient, $ as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, a1 as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, _ as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, ag as WorkflowClient, a6 as createClickhouseParameter, ad as createMaterializedView, ac as dropView, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, P as getMaterializedView, Q as getMaterializedViews, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, ah as getTemporalClient, a5 as getValueFromParameter, K as getView, N as getViews, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, ak as joinQueries, a7 as mapToClickHouseType, ae as populateTable, X as quoteIdentifier, a0 as sql, a3 as toQuery, a4 as toQueryPreview, a2 as toStaticQuery } from './index-CI9e2hZ2.mjs';
4
4
  import * as _clickhouse_client from '@clickhouse/client';
5
5
  import { KafkaJS } from '@514labs/kafka-javascript';
6
6
  import http from 'http';
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- export { C as ClickHouseByteSize, q as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, p as ClickHouseMaterialized, f as ClickHouseMultiLineString, h as ClickHouseMultiPolygon, b as ClickHouseNamedTuple, c as ClickHousePoint, g as ClickHousePolygon, i as ClickHousePrecision, d as ClickHouseRing, o as ClickHouseTTL, D as DateTime, r as DateTime64, t as DateTime64String, s as DateTimeString, E as Decimal, F as FixedString, u as Float32, v as Float64, w as Int16, x as Int32, y as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, z as UInt16, A as UInt32, B as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-Dqfdy6x5.js';
2
- import { a8 as MooseUtils, R as ApiUtil, a9 as MooseClient } from './index-CdKEq7FH.js';
3
- export { A as Aggregated, h as Api, i as ApiConfig, ai as ApiHelpers, aa as Blocks, ab as ClickHouseEngines, C as ConsumptionApi, aj as ConsumptionHelpers, U as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Y as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, Z as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, af as QueryClient, $ as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, a1 as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, _ as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, ag as WorkflowClient, a6 as createClickhouseParameter, ad as createMaterializedView, ac as dropView, x as getApi, w as getApis, K as getCustomView, N as getCustomViews, v as getIngestApi, u as getIngestApis, P as getMaterializedView, Q as getMaterializedViews, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, ah as getTemporalClient, a5 as getValueFromParameter, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, ak as joinQueries, a7 as mapToClickHouseType, ae as populateTable, X as quoteIdentifier, a0 as sql, a3 as toQuery, a4 as toQueryPreview, a2 as toStaticQuery } from './index-CdKEq7FH.js';
1
+ export { C as ClickHouseByteSize, q as ClickHouseCodec, j as ClickHouseDecimal, n as ClickHouseDefault, k as ClickHouseFixedStringSize, l as ClickHouseFloat, a as ClickHouseInt, m as ClickHouseJson, e as ClickHouseLineString, p as ClickHouseMaterialized, f as ClickHouseMultiLineString, h as ClickHouseMultiPolygon, b as ClickHouseNamedTuple, c as ClickHousePoint, g as ClickHousePolygon, i as ClickHousePrecision, d as ClickHouseRing, o as ClickHouseTTL, D as DateTime, r as DateTime64, t as DateTime64String, s as DateTimeString, E as Decimal, F as FixedString, u as Float32, v as Float64, w as Int16, x as Int32, y as Int64, I as Int8, J as JWT, K as Key, L as LowCardinality, z as UInt16, A as UInt32, B as UInt64, U as UInt8, W as WithDefault } from './browserCompatible-Cs3UY_5a.js';
2
+ import { a8 as MooseUtils, R as ApiUtil, a9 as MooseClient } from './index-CI9e2hZ2.js';
3
+ export { A as Aggregated, h as Api, i as ApiConfig, ai as ApiHelpers, aa as Blocks, ab as ClickHouseEngines, C as ConsumptionApi, aj as ConsumptionHelpers, U as ConsumptionUtil, e as DeadLetter, D as DeadLetterModel, f as DeadLetterQueue, l as ETLPipeline, m as ETLPipelineConfig, E as EgressConfig, F as FrameworkApp, Y as IdentifierBrandedString, I as IngestApi, g as IngestConfig, j as IngestPipeline, L as LifeCycle, M as MaterializedView, Z as NonIdentifierBrandedString, a as OlapConfig, O as OlapTable, af as QueryClient, $ as RawValue, b as S3QueueTableSettings, S as SimpleAggregated, a1 as Sql, k as SqlResource, c as Stream, d as StreamConfig, T as Task, _ as Value, V as View, n as WebApp, o as WebAppConfig, p as WebAppHandler, W as Workflow, ag as WorkflowClient, a6 as createClickhouseParameter, ad as createMaterializedView, ac as dropView, x as getApi, w as getApis, v as getIngestApi, u as getIngestApis, P as getMaterializedView, Q as getMaterializedViews, z as getSqlResource, y as getSqlResources, t as getStream, s as getStreams, r as getTable, q as getTables, ah as getTemporalClient, a5 as getValueFromParameter, K as getView, N as getViews, J as getWebApp, H as getWebApps, G as getWorkflow, B as getWorkflows, ak as joinQueries, a7 as mapToClickHouseType, ae as populateTable, X as quoteIdentifier, a0 as sql, a3 as toQuery, a4 as toQueryPreview, a2 as toStaticQuery } from './index-CI9e2hZ2.js';
4
4
  import * as _clickhouse_client from '@clickhouse/client';
5
5
  import { KafkaJS } from '@514labs/kafka-javascript';
6
6
  import http from 'http';
package/dist/index.js CHANGED
@@ -564,7 +564,7 @@ var init_internal = __esm({
564
564
  workflows: /* @__PURE__ */ new Map(),
565
565
  webApps: /* @__PURE__ */ new Map(),
566
566
  materializedViews: /* @__PURE__ */ new Map(),
567
- customViews: /* @__PURE__ */ new Map()
567
+ views: /* @__PURE__ */ new Map()
568
568
  };
569
569
  defaultRetentionPeriod = 60 * 60 * 24 * 7;
570
570
  getMooseInternal = () => globalThis.moose_internal;
@@ -581,7 +581,7 @@ var init_internal = __esm({
581
581
  registry.workflows.clear();
582
582
  registry.webApps.clear();
583
583
  registry.materializedViews.clear();
584
- registry.customViews.clear();
584
+ registry.views.clear();
585
585
  const appDir = `${import_process.default.cwd()}/${getSourceDir()}`;
586
586
  Object.keys(require.cache).forEach((key) => {
587
587
  if (key.startsWith(appDir)) {
@@ -2648,7 +2648,7 @@ var init_view = __esm({
2648
2648
  init_stackTrace();
2649
2649
  View = class {
2650
2650
  /** @internal */
2651
- kind = "CustomView";
2651
+ kind = "View";
2652
2652
  /** The name of the view */
2653
2653
  name;
2654
2654
  /** The SELECT SQL statement that defines the view */
@@ -2679,11 +2679,11 @@ var init_view = __esm({
2679
2679
  this.metadata.source = { file: sourceInfo };
2680
2680
  }
2681
2681
  }
2682
- const customViews = getMooseInternal().customViews;
2683
- if (!isClientOnlyMode() && customViews.has(this.name)) {
2682
+ const views = getMooseInternal().views;
2683
+ if (!isClientOnlyMode() && views.has(this.name)) {
2684
2684
  throw new Error(`View with name ${this.name} already exists`);
2685
2685
  }
2686
- customViews.set(this.name, this);
2686
+ views.set(this.name, this);
2687
2687
  }
2688
2688
  };
2689
2689
  }
@@ -2893,11 +2893,11 @@ function getMaterializedViews() {
2893
2893
  function getMaterializedView(name) {
2894
2894
  return getMooseInternal().materializedViews.get(name);
2895
2895
  }
2896
- function getCustomViews() {
2897
- return getMooseInternal().customViews;
2896
+ function getViews() {
2897
+ return getMooseInternal().views;
2898
2898
  }
2899
- function getCustomView(name) {
2900
- return getMooseInternal().customViews.get(name);
2899
+ function getView(name) {
2900
+ return getMooseInternal().views.get(name);
2901
2901
  }
2902
2902
  var init_registry = __esm({
2903
2903
  "src/dmv2/registry.ts"() {
@@ -3781,8 +3781,6 @@ __export(index_exports, {
3781
3781
  getApi: () => getApi,
3782
3782
  getApis: () => getApis,
3783
3783
  getClickhouseClient: () => getClickhouseClient,
3784
- getCustomView: () => getCustomView,
3785
- getCustomViews: () => getCustomViews,
3786
3784
  getFileName: () => getFileName,
3787
3785
  getIngestApi: () => getIngestApi,
3788
3786
  getIngestApis: () => getIngestApis,
@@ -3802,6 +3800,8 @@ __export(index_exports, {
3802
3800
  getTables: () => getTables,
3803
3801
  getTemporalClient: () => getTemporalClient,
3804
3802
  getValueFromParameter: () => getValueFromParameter,
3803
+ getView: () => getView,
3804
+ getViews: () => getViews,
3805
3805
  getWebApp: () => getWebApp,
3806
3806
  getWebApps: () => getWebApps,
3807
3807
  getWorkflow: () => getWorkflow,
@@ -3893,8 +3893,6 @@ init_index();
3893
3893
  getApi,
3894
3894
  getApis,
3895
3895
  getClickhouseClient,
3896
- getCustomView,
3897
- getCustomViews,
3898
3896
  getFileName,
3899
3897
  getIngestApi,
3900
3898
  getIngestApis,
@@ -3914,6 +3912,8 @@ init_index();
3914
3912
  getTables,
3915
3913
  getTemporalClient,
3916
3914
  getValueFromParameter,
3915
+ getView,
3916
+ getViews,
3917
3917
  getWebApp,
3918
3918
  getWebApps,
3919
3919
  getWorkflow,