@peopl-health/nexus 3.8.12 → 3.8.13
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.
|
@@ -46,7 +46,8 @@ async function getAllBoxes(force) {
|
|
|
46
46
|
async function getStatsById(cacheId) {
|
|
47
47
|
const detail = detailCache.get(cacheId);
|
|
48
48
|
if (!detail) return null;
|
|
49
|
-
|
|
49
|
+
const struct = boxCache.get(cacheId)?.config?.columns || [];
|
|
50
|
+
return { id: cacheId, struct, records: detail };
|
|
50
51
|
}
|
|
51
52
|
|
|
52
53
|
async function updateBox(id, data) {
|