@ai-matrx/records 0.58.122 → 0.58.123
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/CHANGELOG.md +6 -0
- package/dist/core/index.cjs +3 -1
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +3 -1
- package/dist/core/index.d.ts +3 -1
- package/dist/core/index.js +3 -1
- package/dist/core/index.js.map +1 -1
- package/dist/react/index.cjs +3 -1
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +3 -1
- package/dist/react/index.d.ts +3 -1
- package/dist/react/index.js +3 -1
- package/dist/react/index.js.map +1 -1
- package/package.json +1 -1
package/dist/react/index.cjs
CHANGED
|
@@ -40640,11 +40640,13 @@ function createRecordsClient(config) {
|
|
|
40640
40640
|
);
|
|
40641
40641
|
if (!result.ok) return result;
|
|
40642
40642
|
const map = {};
|
|
40643
|
+
const archived = [];
|
|
40643
40644
|
for (const row of result.data ?? []) {
|
|
40644
40645
|
const id = row?.record_id ?? row?.row_id;
|
|
40645
40646
|
if (id && typeof row.words === "string") map[id] = row.words;
|
|
40647
|
+
if (id && row.archived === true) archived.push(id);
|
|
40646
40648
|
}
|
|
40647
|
-
return { ok: true, data: map };
|
|
40649
|
+
return { ok: true, data: map, archived };
|
|
40648
40650
|
},
|
|
40649
40651
|
async tableDeclare({ spec, homeId }) {
|
|
40650
40652
|
return callDoor(
|