@inixiative/json-rules 3.15.0 → 3.15.1
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 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -621,8 +621,8 @@ declare const check: <TData extends CheckData>(conditions: Condition, data: TDat
|
|
|
621
621
|
* unit any relative date in the tree names, or the offset moving one (`{ ago: { hours: 2 } }` →
|
|
622
622
|
* `hour`, `{ this: 'week' }` → `week`), at any depth. Null when the rule reads no clock: absolute
|
|
623
623
|
* dates, column compares and their offsets, weekday lists. A bound value (`{ bind }`) is read as
|
|
624
|
-
* written, not as what a binding may supply. Throws
|
|
625
|
-
* `clock.finestUnit`, as evaluating the rule does.
|
|
624
|
+
* written, not as what a binding may supply. Throws when any unit the rule names, offsets
|
|
625
|
+
* included, is finer than the engine's `clock.finestUnit`, as evaluating the rule does.
|
|
626
626
|
*/
|
|
627
627
|
declare const clockUnit: (condition: Condition) => ClockUnit | null;
|
|
628
628
|
|
package/dist/index.d.ts
CHANGED
|
@@ -621,8 +621,8 @@ declare const check: <TData extends CheckData>(conditions: Condition, data: TDat
|
|
|
621
621
|
* unit any relative date in the tree names, or the offset moving one (`{ ago: { hours: 2 } }` →
|
|
622
622
|
* `hour`, `{ this: 'week' }` → `week`), at any depth. Null when the rule reads no clock: absolute
|
|
623
623
|
* dates, column compares and their offsets, weekday lists. A bound value (`{ bind }`) is read as
|
|
624
|
-
* written, not as what a binding may supply. Throws
|
|
625
|
-
* `clock.finestUnit`, as evaluating the rule does.
|
|
624
|
+
* written, not as what a binding may supply. Throws when any unit the rule names, offsets
|
|
625
|
+
* included, is finer than the engine's `clock.finestUnit`, as evaluating the rule does.
|
|
626
626
|
*/
|
|
627
627
|
declare const clockUnit: (condition: Condition) => ClockUnit | null;
|
|
628
628
|
|