@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.
@@ -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(