@ai-matrx/records-ui 0.110.10 → 0.110.11
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/first-page.cjs +7 -7
- package/dist/first-page.cjs.map +1 -1
- package/dist/first-page.js +7 -7
- package/dist/first-page.js.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records-ui
|
|
2
2
|
|
|
3
|
+
## 0.110.11
|
|
4
|
+
|
|
5
|
+
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
|
6
|
+
`git diff npm/records-ui/v0.110.10..npm/records-ui/v0.110.11 -- apps/shared/records-ui`).
|
|
7
|
+
No source changes intended and no consumer action required.
|
|
8
|
+
|
|
3
9
|
## 0.110.10
|
|
4
10
|
|
|
5
11
|
Automatic changed-only republish (docs/metadata drift since the last tag — see
|
package/dist/first-page.cjs
CHANGED
|
@@ -1274,13 +1274,13 @@ async function askTablePageSeed(input) {
|
|
|
1274
1274
|
const unversioned = page.data.rows.filter((row) => ownVersion(row) === null).map((row) => row.id);
|
|
1275
1275
|
if (unversioned.length > 0) reads.push(client.recordHeaders({ ids: unversioned }));
|
|
1276
1276
|
reads.push(
|
|
1277
|
-
client.reverseColumns({ table_id: input.tableId }).then(
|
|
1278
|
-
(columns
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
) :
|
|
1283
|
-
)
|
|
1277
|
+
client.reverseColumns({ table_id: input.tableId }).then(async (columns) => {
|
|
1278
|
+
if (!columns.ok || columns.data.length === 0) return null;
|
|
1279
|
+
const record_ids = page.data.rows.map((row) => row.id);
|
|
1280
|
+
const all = await client.reverseLinksFields({ table_id: input.tableId, source_field_ids: columns.data.map((c) => c.source_field_id), record_ids, limit: REVERSE_CELL_CHIPS });
|
|
1281
|
+
if (all.ok || all.error.code !== "door_absent") return null;
|
|
1282
|
+
return Promise.all(columns.data.map((c) => client.reverseLinksMany({ table_id: input.tableId, source_field_id: c.source_field_id, record_ids, limit: REVERSE_CELL_CHIPS })));
|
|
1283
|
+
})
|
|
1284
1284
|
);
|
|
1285
1285
|
await Promise.all(reads.map((read) => read.catch(() => null)));
|
|
1286
1286
|
}
|