kanun 1.0.11 → 1.0.12

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -137,7 +137,7 @@ type ValidationRuleString = LiteralUnion<ValidationRuleName | ParamableRuleStrin
137
137
  /**
138
138
  * Single rule value (supports autocomplete + arbitrary strings + RuleContract instances)
139
139
  */
140
- type ValidationRuleEntry = ValidationRuleString | IRuleContract | MethodRules;
140
+ type ValidationRuleEntry = ValidationRuleString | IRuleContract | BaseRule | MethodRules;
141
141
  type ValidationRuleSet = ValidationRuleEntry | readonly ValidationRuleEntry[] | LiteralUnion<`${ValidationRuleName}${string & `|${string}`}` | `${ParamableRuleString}${string & `|${string}`}`>;
142
142
  //#endregion
143
143
  //#region src/payloads/replaceAttributePayload.d.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kanun",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "Framework-agnostic TypeScript-first validation library.",
5
5
  "type": "module",
6
6
  "files": [