@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.d.cts
CHANGED
|
@@ -11360,7 +11360,9 @@ interface RecordsClient {
|
|
|
11360
11360
|
* wherever a grid, board, list or picker resolves more than one chip: the
|
|
11361
11361
|
* per-id lane is what made a page of relation cells a page of requests.
|
|
11362
11362
|
*/
|
|
11363
|
-
relationWordsMany(args: RelationWordsManyArgs): Promise<RecordsResult<Record<string, string
|
|
11363
|
+
relationWordsMany(args: RelationWordsManyArgs): Promise<RecordsResult<Record<string, string>> & {
|
|
11364
|
+
archived?: readonly string[];
|
|
11365
|
+
}>;
|
|
11364
11366
|
/** Take a field off a table. Refuses the title field, the last field, and one another field reads through. */
|
|
11365
11367
|
fieldRetire(args: {
|
|
11366
11368
|
field_id: Uuid;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -11360,7 +11360,9 @@ interface RecordsClient {
|
|
|
11360
11360
|
* wherever a grid, board, list or picker resolves more than one chip: the
|
|
11361
11361
|
* per-id lane is what made a page of relation cells a page of requests.
|
|
11362
11362
|
*/
|
|
11363
|
-
relationWordsMany(args: RelationWordsManyArgs): Promise<RecordsResult<Record<string, string
|
|
11363
|
+
relationWordsMany(args: RelationWordsManyArgs): Promise<RecordsResult<Record<string, string>> & {
|
|
11364
|
+
archived?: readonly string[];
|
|
11365
|
+
}>;
|
|
11364
11366
|
/** Take a field off a table. Refuses the title field, the last field, and one another field reads through. */
|
|
11365
11367
|
fieldRetire(args: {
|
|
11366
11368
|
field_id: Uuid;
|
package/dist/react/index.js
CHANGED
|
@@ -40458,11 +40458,13 @@ function createRecordsClient(config) {
|
|
|
40458
40458
|
);
|
|
40459
40459
|
if (!result.ok) return result;
|
|
40460
40460
|
const map = {};
|
|
40461
|
+
const archived = [];
|
|
40461
40462
|
for (const row of result.data ?? []) {
|
|
40462
40463
|
const id = row?.record_id ?? row?.row_id;
|
|
40463
40464
|
if (id && typeof row.words === "string") map[id] = row.words;
|
|
40465
|
+
if (id && row.archived === true) archived.push(id);
|
|
40464
40466
|
}
|
|
40465
|
-
return { ok: true, data: map };
|
|
40467
|
+
return { ok: true, data: map, archived };
|
|
40466
40468
|
},
|
|
40467
40469
|
async tableDeclare({ spec, homeId }) {
|
|
40468
40470
|
return callDoor(
|