@514labs/moose-lib 0.6.297-ci-37-gf180cb49 → 0.6.297-ci-41-g35110912

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.
@@ -2157,6 +2157,18 @@ var init_internal = __esm({
2157
2157
  id: resource.name,
2158
2158
  kind: "SqlResource"
2159
2159
  };
2160
+ } else if (r.kind === "View") {
2161
+ const view = r;
2162
+ return {
2163
+ id: view.name,
2164
+ kind: "View"
2165
+ };
2166
+ } else if (r.kind === "MaterializedView") {
2167
+ const mv = r;
2168
+ return {
2169
+ id: mv.name,
2170
+ kind: "MaterializedView"
2171
+ };
2160
2172
  } else {
2161
2173
  throw new Error(`Unknown sql resource dependency type: ${r}`);
2162
2174
  }
@@ -2175,6 +2187,18 @@ var init_internal = __esm({
2175
2187
  id: resource.name,
2176
2188
  kind: "SqlResource"
2177
2189
  };
2190
+ } else if (r.kind === "View") {
2191
+ const view = r;
2192
+ return {
2193
+ id: view.name,
2194
+ kind: "View"
2195
+ };
2196
+ } else if (r.kind === "MaterializedView") {
2197
+ const mv = r;
2198
+ return {
2199
+ id: mv.name,
2200
+ kind: "MaterializedView"
2201
+ };
2178
2202
  } else {
2179
2203
  throw new Error(`Unknown sql resource dependency type: ${r}`);
2180
2204
  }