@ai-matrx/records 0.99.18 → 0.99.20
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 +14 -0
- package/dist/core/index.cjs +10 -0
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.js +10 -0
- package/dist/core/index.js.map +1 -1
- package/dist/data/index.cjs +10 -0
- package/dist/data/index.cjs.map +1 -1
- package/dist/data/index.js +10 -0
- package/dist/data/index.js.map +1 -1
- package/dist/react/index.cjs +10 -0
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.js +10 -0
- package/dist/react/index.js.map +1 -1
- package/dist/setup/index.cjs +10 -0
- package/dist/setup/index.cjs.map +1 -1
- package/dist/setup/index.js +10 -0
- package/dist/setup/index.js.map +1 -1
- package/dist/typed-table/index.cjs +10 -0
- package/dist/typed-table/index.cjs.map +1 -1
- package/dist/typed-table/index.js +10 -0
- package/dist/typed-table/index.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records
|
|
2
2
|
|
|
3
|
+
## 0.99.20
|
|
4
|
+
|
|
5
|
+
UNVERIFIED: this release has no Unreleased entry and the source comparison could not be made (the caller supplied no source comparison). Whether source changed is unknown; consumer action is unknown.
|
|
6
|
+
Check the package's gitHead on npm against this version's gitHead: `git diff <previous gitHead> <this gitHead> -- apps/shared/records/src`.
|
|
7
|
+
|
|
8
|
+
## 0.99.19
|
|
9
|
+
|
|
10
|
+
SOURCE CHANGED WITH NO RELEASE NOTE. This release shipped source changes that nobody described in an Unreleased entry,
|
|
11
|
+
so they may include breaking API changes. Consumer action is UNKNOWN: read the diff before upgrading.
|
|
12
|
+
Diff: `git diff 29b26c132f b4d74a0e98 -- apps/shared/records/src`
|
|
13
|
+
|
|
14
|
+
Changed shipped source files (1):
|
|
15
|
+
- `apps/shared/records/src/core/client.ts`
|
|
16
|
+
|
|
3
17
|
## 0.99.18
|
|
4
18
|
### Unreleased
|
|
5
19
|
|
package/dist/core/index.cjs
CHANGED
|
@@ -5788,6 +5788,10 @@ function takePrimedTablePageBundle(organizationId, tableId, viewId) {
|
|
|
5788
5788
|
primed.delete(key);
|
|
5789
5789
|
return Date.now() - held.at < PRIMED_TTL_MS ? held.answer : null;
|
|
5790
5790
|
}
|
|
5791
|
+
function forgetPrimedTablePageBundlesOf(tableId) {
|
|
5792
|
+
const primed = registry();
|
|
5793
|
+
for (const key of [...primed.keys()]) if (tableId === null || key.split("|")[1] === tableId) primed.delete(key);
|
|
5794
|
+
}
|
|
5791
5795
|
function forgetPrimedTablePageBundles() {
|
|
5792
5796
|
registry().clear();
|
|
5793
5797
|
}
|
|
@@ -7701,6 +7705,12 @@ function createRecordsClient(given) {
|
|
|
7701
7705
|
else scream({ code: refusal.code, message: refusal.message, ...refusal.hint ? { hint: refusal.hint } : {}, where });
|
|
7702
7706
|
return err(refusal);
|
|
7703
7707
|
}
|
|
7708
|
+
if (isWritingDoor(door) || LOOK_WRITES[door]) {
|
|
7709
|
+
const tableId = args["p_table_id"];
|
|
7710
|
+
bundleDrop(typeof tableId === "string" ? tableId : null);
|
|
7711
|
+
forgetPrimedTablePageBundlesOf(typeof tableId === "string" ? tableId : null);
|
|
7712
|
+
dropPrimedDoorAnswers(LOOK_WRITES[door]);
|
|
7713
|
+
}
|
|
7704
7714
|
return ok(response.data);
|
|
7705
7715
|
}
|
|
7706
7716
|
function structureMoved(tableId, result) {
|