@terraforge/core 0.0.25 → 0.0.27
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.
- package/dist/index.mjs +4 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1114,7 +1114,7 @@ const hydrate = async (app, opt) => {
|
|
|
1114
1114
|
const refresh = async (app, opt) => {
|
|
1115
1115
|
const appState = await opt.backend.state.get(app.urn);
|
|
1116
1116
|
const queue = createConcurrencyQueue(opt.concurrency ?? 10);
|
|
1117
|
-
let filteredStacks =
|
|
1117
|
+
let filteredStacks = Object.values(appState?.stacks ?? {});
|
|
1118
1118
|
if (opt.filters && opt.filters.length > 0) filteredStacks = Object.entries(appState?.stacks ?? {}).filter(([stackName]) => {
|
|
1119
1119
|
return opt.filters.includes(stackName);
|
|
1120
1120
|
}).map(([_, state]) => state);
|
|
@@ -1133,6 +1133,9 @@ const refresh = async (app, opt) => {
|
|
|
1133
1133
|
type: nodeState.type,
|
|
1134
1134
|
state: nodeState.output
|
|
1135
1135
|
});
|
|
1136
|
+
console.log(urn);
|
|
1137
|
+
console.log(nodeState.output);
|
|
1138
|
+
console.log(result?.state);
|
|
1136
1139
|
if (!result) return {
|
|
1137
1140
|
urn,
|
|
1138
1141
|
operation: "delete",
|