@514labs/moose-lib 0.6.297-ci-25-g92aec239 → 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.
@@ -304,6 +304,7 @@ var init_view = __esm({
304
304
  "src/dmv2/sdk/view.ts"() {
305
305
  "use strict";
306
306
  init_sqlHelpers();
307
+ init_olapTable();
307
308
  init_internal();
308
309
  init_stackTrace();
309
310
  }
@@ -1992,7 +1993,7 @@ var init_internal = __esm({
1992
1993
  workflows: /* @__PURE__ */ new Map(),
1993
1994
  webApps: /* @__PURE__ */ new Map(),
1994
1995
  materializedViews: /* @__PURE__ */ new Map(),
1995
- customViews: /* @__PURE__ */ new Map()
1996
+ views: /* @__PURE__ */ new Map()
1996
1997
  };
1997
1998
  defaultRetentionPeriod = 60 * 60 * 24 * 7;
1998
1999
  toInfraMap = (registry) => {
@@ -2004,7 +2005,7 @@ var init_internal = __esm({
2004
2005
  const workflows = {};
2005
2006
  const webApps = {};
2006
2007
  const materializedViews = {};
2007
- const customViews = {};
2008
+ const views = {};
2008
2009
  registry.tables.forEach((table) => {
2009
2010
  const id = table.config.version ? `${table.name}_${table.config.version}` : table.name;
2010
2011
  let metadata = table.metadata;
@@ -2205,8 +2206,8 @@ var init_internal = __esm({
2205
2206
  metadata: mv.metadata
2206
2207
  };
2207
2208
  });
2208
- registry.customViews.forEach((view) => {
2209
- customViews[view.name] = {
2209
+ registry.views.forEach((view) => {
2210
+ views[view.name] = {
2210
2211
  name: view.name,
2211
2212
  selectSql: view.selectSql,
2212
2213
  sourceTables: view.sourceTables,
@@ -2222,7 +2223,7 @@ var init_internal = __esm({
2222
2223
  workflows,
2223
2224
  webApps,
2224
2225
  materializedViews,
2225
- customViews
2226
+ views
2226
2227
  };
2227
2228
  };
2228
2229
  getMooseInternal = () => globalThis.moose_internal;
@@ -2247,7 +2248,7 @@ var init_internal = __esm({
2247
2248
  registry.workflows.clear();
2248
2249
  registry.webApps.clear();
2249
2250
  registry.materializedViews.clear();
2250
- registry.customViews.clear();
2251
+ registry.views.clear();
2251
2252
  const appDir = `${import_process.default.cwd()}/${getSourceDir()}`;
2252
2253
  Object.keys(require.cache).forEach((key) => {
2253
2254
  if (key.startsWith(appDir)) {