@zerotal/validator 1.9.0 → 1.10.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/api-surface.md CHANGED
@@ -341,7 +341,7 @@ interface FieldRuleDefinition = {
341
341
  }
342
342
 
343
343
  interface UniqueOptions = {
344
- ignoreId?: string | number
344
+ ignoreId?: string | number | undefined
345
345
  }
346
346
 
347
347
  interface ValidatorConfigShape = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerotal/validator",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "license": "MIT",
5
5
  "maturity": "stable",
6
6
  "private": false,
@@ -30,7 +30,7 @@
30
30
  "typecheck": "tsc --noEmit"
31
31
  },
32
32
  "dependencies": {
33
- "@zerotal/core": "1.9.0"
33
+ "@zerotal/core": "1.10.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "typescript": "^5.8.0"
package/src/dbRules.ts CHANGED
@@ -18,7 +18,7 @@ type DbRuleRunner = (
18
18
 
19
19
  export interface UniqueOptions {
20
20
  /** Ignore the row with this id — use on update to exclude the current record. */
21
- ignoreId?: number | string;
21
+ ignoreId?: number | string | undefined;
22
22
  }
23
23
 
24
24
  let _runner: DbRuleRunner | undefined;