@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog — @ai-matrx/records
2
2
 
3
+ ## 0.58.123
4
+
5
+ Automatic changed-only republish (docs/metadata drift since the last tag — see
6
+ `git diff npm/records/v0.58.122..npm/records/v0.58.123 -- apps/shared/records`).
7
+ No source changes intended and no consumer action required.
8
+
3
9
  ## 0.58.122
4
10
 
5
11
  Automatic changed-only republish (docs/metadata drift since the last tag — see
@@ -41719,11 +41719,13 @@ function createRecordsClient(config) {
41719
41719
  );
41720
41720
  if (!result.ok) return result;
41721
41721
  const map = {};
41722
+ const archived = [];
41722
41723
  for (const row of result.data ?? []) {
41723
41724
  const id = row?.record_id ?? row?.row_id;
41724
41725
  if (id && typeof row.words === "string") map[id] = row.words;
41726
+ if (id && row.archived === true) archived.push(id);
41725
41727
  }
41726
- return { ok: true, data: map };
41728
+ return { ok: true, data: map, archived };
41727
41729
  },
41728
41730
  async tableDeclare({ spec, homeId }) {
41729
41731
  return callDoor(