@inixiative/json-rules 3.11.0 → 3.12.2
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/README.md +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -894,7 +894,8 @@ declare const toLensSelect: (lensOrNarrowing: Lens | LensNarrowing, options?: Le
|
|
|
894
894
|
/**
|
|
895
895
|
* Rows cut to what a lens shows, recursively from its base model: hidden columns, and relations
|
|
896
896
|
* hidden or off, removed, and every row a visit's `where` hides gone — a root or list row dropped, a to-one row
|
|
897
|
-
* null. `
|
|
897
|
+
* null. A `Decimal` column's value (a Decimal.js-like object or a numeric string) comes back a number.
|
|
898
|
+
* `keepClampColumns` also keeps the columns those `where`s read (hidden or not), and a hidden to-one row, or a hidden row of a list a clamp
|
|
898
899
|
* reads, as those columns alone, so a later `check(narrowRule(rule, lens), row)` re-tests the
|
|
899
900
|
* clamps as the database does for any rule the lens admits. Its output carries hidden values: it's for that re-check, never for
|
|
900
901
|
* a viewer. The rest of `options` is what each
|
package/dist/index.d.ts
CHANGED
|
@@ -894,7 +894,8 @@ declare const toLensSelect: (lensOrNarrowing: Lens | LensNarrowing, options?: Le
|
|
|
894
894
|
/**
|
|
895
895
|
* Rows cut to what a lens shows, recursively from its base model: hidden columns, and relations
|
|
896
896
|
* hidden or off, removed, and every row a visit's `where` hides gone — a root or list row dropped, a to-one row
|
|
897
|
-
* null. `
|
|
897
|
+
* null. A `Decimal` column's value (a Decimal.js-like object or a numeric string) comes back a number.
|
|
898
|
+
* `keepClampColumns` also keeps the columns those `where`s read (hidden or not), and a hidden to-one row, or a hidden row of a list a clamp
|
|
898
899
|
* reads, as those columns alone, so a later `check(narrowRule(rule, lens), row)` re-tests the
|
|
899
900
|
* clamps as the database does for any rule the lens admits. Its output carries hidden values: it's for that re-check, never for
|
|
900
901
|
* a viewer. The rest of `options` is what each
|