@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.
@@ -2142,6 +2142,18 @@ var init_internal = __esm({
2142
2142
  id: resource.name,
2143
2143
  kind: "SqlResource"
2144
2144
  };
2145
+ } else if (r.kind === "View") {
2146
+ const view = r;
2147
+ return {
2148
+ id: view.name,
2149
+ kind: "View"
2150
+ };
2151
+ } else if (r.kind === "MaterializedView") {
2152
+ const mv = r;
2153
+ return {
2154
+ id: mv.name,
2155
+ kind: "MaterializedView"
2156
+ };
2145
2157
  } else {
2146
2158
  throw new Error(`Unknown sql resource dependency type: ${r}`);
2147
2159
  }
@@ -2160,6 +2172,18 @@ var init_internal = __esm({
2160
2172
  id: resource.name,
2161
2173
  kind: "SqlResource"
2162
2174
  };
2175
+ } else if (r.kind === "View") {
2176
+ const view = r;
2177
+ return {
2178
+ id: view.name,
2179
+ kind: "View"
2180
+ };
2181
+ } else if (r.kind === "MaterializedView") {
2182
+ const mv = r;
2183
+ return {
2184
+ id: mv.name,
2185
+ kind: "MaterializedView"
2186
+ };
2163
2187
  } else {
2164
2188
  throw new Error(`Unknown sql resource dependency type: ${r}`);
2165
2189
  }