@geode/opengeodeweb-front 10.34.0-rc.5 → 10.34.0-rc.7
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.
|
@@ -91,14 +91,8 @@ async function importWorkflow(files: FileToImport[]): Promise<string[]> {
|
|
|
91
91
|
}
|
|
92
92
|
const chunk = chunks[chunkIndex] ?? [];
|
|
93
93
|
const chunk_results = await Promise.all(
|
|
94
|
-
chunk.map(async ({ filename, geode_object_type }) =>
|
|
95
|
-
|
|
96
|
-
loadedCount += 1;
|
|
97
|
-
if (typeof onProgress === "function") {
|
|
98
|
-
onProgress(loadedCount, files.length);
|
|
99
|
-
}
|
|
100
|
-
return res;
|
|
101
|
-
}),
|
|
94
|
+
chunk.map(async ({ filename, geode_object_type }) => await importFile(filename, geode_object_type)
|
|
95
|
+
),
|
|
102
96
|
);
|
|
103
97
|
results.push(...chunk_results);
|
|
104
98
|
await processChunk(chunkIndex + 1);
|
package/package.json
CHANGED