@kumori/aurora-backend-handler 1.0.6 → 1.0.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.
@@ -741,13 +741,13 @@ export const extractResourcesFromFilesystem = (
741
741
  Object.entries(filesystem).forEach(([key, value]: [string, any]) => {
742
742
  if (value.volume) {
743
743
  const existingResource = currentResources.find(
744
- (res) => res.value === value.volume,
744
+ (res) => res.name === value.volume,
745
745
  );
746
746
  resources.push({
747
747
  type: "volume",
748
748
  name: value.path || existingResource?.name,
749
- value: value.volume,
750
- kind: value.kind || "storage",
749
+ value: existingResource?.value || value.volume,
750
+ kind: (existingResource?.kind as "persistent" | "volatile" | "nonReplicated") || "storage",
751
751
  status: existingResource?.status || "available",
752
752
  tenant: "",
753
753
  });
package/package.json CHANGED
@@ -23,7 +23,7 @@
23
23
  "ws": "^8.18.2"
24
24
  },
25
25
  "name": "@kumori/aurora-backend-handler",
26
- "version": "1.0.6",
26
+ "version": "1.0.7",
27
27
  "description": "backend handler",
28
28
  "main": "backend-handler.ts",
29
29
  "repository": {