@inixiative/json-rules 3.23.0 → 4.0.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/README.md +2 -2
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -920,10 +920,10 @@ type RuleSourceDescription = {
|
|
|
920
920
|
/**
|
|
921
921
|
* Which values a rule names at each source the lens declares — the lens owns the
|
|
922
922
|
* vocabulary, so it answers questions about it; callers never spell a path. A leaf reaches a
|
|
923
|
-
* source
|
|
924
|
-
* condition: { field: 'sku' } }`
|
|
925
|
-
*
|
|
926
|
-
* all apply, so a source declared in `mapDefaults` answers wherever a declared path reaches its model. Quantifier-blind on
|
|
923
|
+
* source walked as the gate walks it (`stepIntoField`, scope by scope): `{ field: 'orders',
|
|
924
|
+
* arrayOperator, condition: { field: 'sku' } }` reaches `orders.sku`, and a plain path the gate
|
|
925
|
+
* refuses (one continuing past a to-many relation, `{ field: 'orders.sku' }`) is silent. Declared
|
|
926
|
+
* relations, visibility, `mapDefaults`, and the Json boundary all apply, so a source declared in `mapDefaults` answers wherever a declared path reaches its model. Quantifier-blind on
|
|
927
927
|
* purpose — a `none` relation names its value as much as an `any` one, `notIn` as much as `in` —
|
|
928
928
|
* but shape-aware via the operator catalog: only literal-naming shapes contribute `values`;
|
|
929
929
|
* substring / pattern / range / window operators, and operators the catalog does not know, mark
|
package/dist/index.d.ts
CHANGED
|
@@ -920,10 +920,10 @@ type RuleSourceDescription = {
|
|
|
920
920
|
/**
|
|
921
921
|
* Which values a rule names at each source the lens declares — the lens owns the
|
|
922
922
|
* vocabulary, so it answers questions about it; callers never spell a path. A leaf reaches a
|
|
923
|
-
* source
|
|
924
|
-
* condition: { field: 'sku' } }`
|
|
925
|
-
*
|
|
926
|
-
* all apply, so a source declared in `mapDefaults` answers wherever a declared path reaches its model. Quantifier-blind on
|
|
923
|
+
* source walked as the gate walks it (`stepIntoField`, scope by scope): `{ field: 'orders',
|
|
924
|
+
* arrayOperator, condition: { field: 'sku' } }` reaches `orders.sku`, and a plain path the gate
|
|
925
|
+
* refuses (one continuing past a to-many relation, `{ field: 'orders.sku' }`) is silent. Declared
|
|
926
|
+
* relations, visibility, `mapDefaults`, and the Json boundary all apply, so a source declared in `mapDefaults` answers wherever a declared path reaches its model. Quantifier-blind on
|
|
927
927
|
* purpose — a `none` relation names its value as much as an `any` one, `notIn` as much as `in` —
|
|
928
928
|
* but shape-aware via the operator catalog: only literal-naming shapes contribute `values`;
|
|
929
929
|
* substring / pattern / range / window operators, and operators the catalog does not know, mark
|