@inixiative/json-rules 4.5.1 → 4.6.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
@@ -959,6 +959,9 @@ type ValidateRuleOptions = {
959
959
  /** Refuse every shape that can hold on a value the row doesn't carry: `if`/`then`/`else`,
960
960
  * array and aggregate rules, and the operators that hold on a missing value. */
961
961
  positive?: boolean;
962
+ /** Under `positive`, the column every row carries (`id`): a null check is accepted with an
963
+ * `exists` on its own row's key beside it in an `all`. Without it every null check is refused. */
964
+ rowKey?: string;
962
965
  };
963
966
  /** A rule's shape checked without data: every node well formed, and runnable on `target`
964
967
  * (operators, windows, scope refs, patterns). */
package/dist/index.d.ts CHANGED
@@ -959,6 +959,9 @@ type ValidateRuleOptions = {
959
959
  /** Refuse every shape that can hold on a value the row doesn't carry: `if`/`then`/`else`,
960
960
  * array and aggregate rules, and the operators that hold on a missing value. */
961
961
  positive?: boolean;
962
+ /** Under `positive`, the column every row carries (`id`): a null check is accepted with an
963
+ * `exists` on its own row's key beside it in an `all`. Without it every null check is refused. */
964
+ rowKey?: string;
962
965
  };
963
966
  /** A rule's shape checked without data: every node well formed, and runnable on `target`
964
967
  * (operators, windows, scope refs, patterns). */