@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/dist/memory/index.js
CHANGED
|
@@ -657,6 +657,7 @@ var SHARED_BLOCK_IDS = Object.keys(SHARED_BLOCKS);
|
|
|
657
657
|
|
|
658
658
|
// src/templates/validate.ts
|
|
659
659
|
import { isUuidShape } from "@ai-matrx/kit/uuid";
|
|
660
|
+
import { FORMULA_FUNCTIONS as KIT_FORMULA_FUNCTIONS, parseFormula as parseFormulaText } from "@ai-matrx/kit/formula";
|
|
660
661
|
|
|
661
662
|
// src/templates/confidential.ts
|
|
662
663
|
var TABLE_KERNEL_ID = "11111111-0000-4000-8000-000000000001";
|
|
@@ -1738,6 +1739,7 @@ function resolveDateToken(token, today, timeZone) {
|
|
|
1738
1739
|
const local = `${day}T${m[6]}:${m[7]}`;
|
|
1739
1740
|
return `${local}:00${zoneOffset(local, timeZone)}`;
|
|
1740
1741
|
}
|
|
1742
|
+
var FORMULA_FUNCTION_NAMES = new Set(KIT_FORMULA_FUNCTIONS.map((f) => f.name));
|
|
1741
1743
|
var BEHAVIOR_OF = new Map([
|
|
1742
1744
|
...PARITY_FIELD_TYPES.map((t) => [t.parity_type, t.behavior]),
|
|
1743
1745
|
...DECLARABLE_FIELD_KINDS.map((k) => [k.kind, k.behavior]),
|