@zerotal/validator 1.9.0 → 1.11.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 +1 -1
- package/package.json +2 -2
- package/src/dbRules.ts +1 -1
package/api-surface.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zerotal/validator",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.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.
|
|
33
|
+
"@zerotal/core": "1.11.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;
|