@ai-matrx/records 0.82.1 → 0.83.0
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 +12 -0
- package/dist/memory/index.cjs +2 -0
- package/dist/memory/index.cjs.map +1 -1
- package/dist/memory/index.js +2 -0
- package/dist/memory/index.js.map +1 -1
- package/dist/templates/index.cjs +29 -134
- package/dist/templates/index.cjs.map +1 -1
- package/dist/templates/index.d.cts +9 -5
- package/dist/templates/index.d.ts +9 -5
- package/dist/templates/index.js +29 -134
- package/dist/templates/index.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog — @ai-matrx/records
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
## 0.83.0 — the gate parses with the one formula language
|
|
5
|
+
|
|
6
|
+
- The template gate parses formulas with `@ai-matrx/kit/formula` (one parser, the store's 35
|
|
7
|
+
functions) and keeps only its exact-fraction evaluator (`evalFormula`, numbers read from the digits as
|
|
8
|
+
typed). `parseFormula` is renamed `parseGateFormula`; the function list is
|
|
9
|
+
`FORMULA_FUNCTION_NAMES` (from kit). An unknown function now reads "There is no function called
|
|
10
|
+
`FOO`. A column goes in braces, like {FOO}." (architecture D6).
|
|
11
|
+
|
|
12
|
+
Consumer action: `parseFormula` / `FORMULA_FUNCTIONS` from `@ai-matrx/records` → `parseGateFormula` /
|
|
13
|
+
`FORMULA_FUNCTION_NAMES` (no consumer imports them).
|
|
14
|
+
|
|
3
15
|
## 0.82.1
|
|
4
16
|
### lane DESCRIBE-BENCH2 (sweep): the mechanical wrong shapes are read, not refused
|
|
5
17
|
|
package/dist/memory/index.cjs
CHANGED
|
@@ -695,6 +695,7 @@ var SHARED_BLOCK_IDS = Object.keys(SHARED_BLOCKS);
|
|
|
695
695
|
|
|
696
696
|
// src/templates/validate.ts
|
|
697
697
|
var import_uuid = require("@ai-matrx/kit/uuid");
|
|
698
|
+
var import_formula = require("@ai-matrx/kit/formula");
|
|
698
699
|
|
|
699
700
|
// src/templates/confidential.ts
|
|
700
701
|
var TABLE_KERNEL_ID = "11111111-0000-4000-8000-000000000001";
|
|
@@ -1776,6 +1777,7 @@ function resolveDateToken(token, today, timeZone) {
|
|
|
1776
1777
|
const local = `${day}T${m[6]}:${m[7]}`;
|
|
1777
1778
|
return `${local}:00${zoneOffset(local, timeZone)}`;
|
|
1778
1779
|
}
|
|
1780
|
+
var FORMULA_FUNCTION_NAMES = new Set(import_formula.FORMULA_FUNCTIONS.map((f) => f.name));
|
|
1779
1781
|
var BEHAVIOR_OF = new Map([
|
|
1780
1782
|
...PARITY_FIELD_TYPES.map((t) => [t.parity_type, t.behavior]),
|
|
1781
1783
|
...DECLARABLE_FIELD_KINDS.map((k) => [k.kind, k.behavior]),
|