vovk-ajv 0.0.0-draft.44 → 0.0.0-draft.52
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/index.d.ts +3 -3
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -3,12 +3,12 @@ import { type VovkValidateOnClient } from 'vovk';
|
|
|
3
3
|
import ajvLocalize from 'ajv-i18n';
|
|
4
4
|
type Lang = keyof typeof ajvLocalize;
|
|
5
5
|
export type VovkAjvConfig = {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
options?: Options;
|
|
7
|
+
localize?: Lang;
|
|
8
8
|
};
|
|
9
9
|
declare const validateOnClientAjv: VovkValidateOnClient;
|
|
10
10
|
declare const configure: ({ options: givenOptions, localize: givenLocalize }: VovkAjvConfig) => VovkValidateOnClient;
|
|
11
11
|
export declare const validateOnClient: typeof validateOnClientAjv & {
|
|
12
|
-
|
|
12
|
+
configure: typeof configure;
|
|
13
13
|
};
|
|
14
14
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vovk-ajv",
|
|
3
|
-
"version": "0.0.0-draft.
|
|
3
|
+
"version": "0.0.0-draft.52",
|
|
4
4
|
"description": "Local validation for JSON schemas for vovk-zod and other validation libraries for Vovk.ts",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -33,6 +33,6 @@
|
|
|
33
33
|
"ajv-i18n": "^4.2.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"vovk": "^3.0.0-draft.
|
|
36
|
+
"vovk": "^3.0.0-draft.127"
|
|
37
37
|
}
|
|
38
38
|
}
|