@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/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 by its absolute path through the lens: nested (`{ field: 'orders', arrayOperator,
924
- * condition: { field: 'sku' } }`) and dotted (`{ field: 'orders.sku' }`) spellings are one path,
925
- * resolved by `lensPathEnd` — declared relations, visibility, `mapDefaults`, and the Json boundary
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 by its absolute path through the lens: nested (`{ field: 'orders', arrayOperator,
924
- * condition: { field: 'sku' } }`) and dotted (`{ field: 'orders.sku' }`) spellings are one path,
925
- * resolved by `lensPathEnd` — declared relations, visibility, `mapDefaults`, and the Json boundary
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