zod-nest 3.2.0 → 3.2.2
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/dist/chunk-26E2XEJU.js +294 -0
- package/dist/chunk-26E2XEJU.js.map +1 -0
- package/dist/chunk-4RXGLSPP.js +73 -0
- package/dist/chunk-4RXGLSPP.js.map +1 -0
- package/dist/chunk-FKXVNCDD.js +863 -0
- package/dist/chunk-FKXVNCDD.js.map +1 -0
- package/dist/chunk-LHNXO52A.mjs +838 -0
- package/dist/chunk-LHNXO52A.mjs.map +1 -0
- package/dist/chunk-LXRBMFWD.js +103 -0
- package/dist/chunk-LXRBMFWD.js.map +1 -0
- package/dist/chunk-RAF7JGS6.mjs +286 -0
- package/dist/chunk-RAF7JGS6.mjs.map +1 -0
- package/dist/chunk-WI4JKXT6.mjs +83 -0
- package/dist/chunk-WI4JKXT6.mjs.map +1 -0
- package/dist/chunk-ZZW54ETO.mjs +67 -0
- package/dist/chunk-ZZW54ETO.mjs.map +1 -0
- package/dist/express/index.d.mts +3 -3
- package/dist/express/index.d.ts +3 -3
- package/dist/express/index.js +33 -1118
- package/dist/express/index.js.map +1 -1
- package/dist/express/index.mjs +6 -1102
- package/dist/express/index.mjs.map +1 -1
- package/dist/fastify/index.d.mts +3 -3
- package/dist/fastify/index.d.ts +3 -3
- package/dist/fastify/index.js +18 -1109
- package/dist/fastify/index.js.map +1 -1
- package/dist/fastify/index.mjs +6 -1102
- package/dist/fastify/index.mjs.map +1 -1
- package/dist/helpers/index.js +81 -122
- package/dist/helpers/index.js.map +1 -1
- package/dist/helpers/index.mjs +4 -101
- package/dist/helpers/index.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +263 -1091
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -895
- package/dist/index.mjs.map +1 -1
- package/dist/{param-decorators-CX1cUqfY.d.ts → param-decorators-23pStLeF.d.ts} +1 -1
- package/dist/{param-decorators-DbgygRVn.d.mts → param-decorators-Dfd2Cy08.d.mts} +1 -1
- package/dist/{registry-C9xStKa6.d.mts → registry-Cs1Y0a-L.d.mts} +1 -1
- package/dist/{registry-C9xStKa6.d.ts → registry-Cs1Y0a-L.d.ts} +1 -1
- package/package.json +26 -33
|
@@ -43,7 +43,7 @@ interface ZodNestRegistry {
|
|
|
43
43
|
anonymousIds(): readonly string[];
|
|
44
44
|
}
|
|
45
45
|
declare const createRegistry: () => ZodNestRegistry;
|
|
46
|
-
/** Process-wide default registry
|
|
46
|
+
/** Process-wide default registry. Shared so subpath ids reach `applyZodNest`. */
|
|
47
47
|
declare const defaultRegistry: ZodNestRegistry;
|
|
48
48
|
interface RegisterSchemaOptions {
|
|
49
49
|
/** Forces this id, overriding any `.meta({ id })` already on the schema. */
|
|
@@ -43,7 +43,7 @@ interface ZodNestRegistry {
|
|
|
43
43
|
anonymousIds(): readonly string[];
|
|
44
44
|
}
|
|
45
45
|
declare const createRegistry: () => ZodNestRegistry;
|
|
46
|
-
/** Process-wide default registry
|
|
46
|
+
/** Process-wide default registry. Shared so subpath ids reach `applyZodNest`. */
|
|
47
47
|
declare const defaultRegistry: ZodNestRegistry;
|
|
48
48
|
interface RegisterSchemaOptions {
|
|
49
49
|
/** Forces this id, overriding any `.meta({ id })` already on the schema. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zod-nest",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"description": "Modern Zod v4-only NestJS + OpenAPI 3.1 integration. Successor to nestjs-zod.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Rodrigo Azevedo",
|
|
@@ -30,47 +30,40 @@
|
|
|
30
30
|
"types": "./dist/index.d.ts",
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
},
|
|
37
|
-
"require": {
|
|
38
|
-
"types": "./dist/index.d.ts",
|
|
39
|
-
"default": "./dist/index.js"
|
|
40
|
-
}
|
|
33
|
+
"types": "./dist/index.d.ts",
|
|
34
|
+
"import": "./dist/index.mjs",
|
|
35
|
+
"require": "./dist/index.js"
|
|
41
36
|
},
|
|
42
37
|
"./helpers": {
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
},
|
|
47
|
-
"require": {
|
|
48
|
-
"types": "./dist/helpers/index.d.ts",
|
|
49
|
-
"default": "./dist/helpers/index.js"
|
|
50
|
-
}
|
|
38
|
+
"types": "./dist/helpers/index.d.ts",
|
|
39
|
+
"import": "./dist/helpers/index.mjs",
|
|
40
|
+
"require": "./dist/helpers/index.js"
|
|
51
41
|
},
|
|
52
42
|
"./express": {
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
},
|
|
57
|
-
"require": {
|
|
58
|
-
"types": "./dist/express/index.d.ts",
|
|
59
|
-
"default": "./dist/express/index.js"
|
|
60
|
-
}
|
|
43
|
+
"types": "./dist/express/index.d.ts",
|
|
44
|
+
"import": "./dist/express/index.mjs",
|
|
45
|
+
"require": "./dist/express/index.js"
|
|
61
46
|
},
|
|
62
47
|
"./fastify": {
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
},
|
|
67
|
-
"require": {
|
|
68
|
-
"types": "./dist/fastify/index.d.ts",
|
|
69
|
-
"default": "./dist/fastify/index.js"
|
|
70
|
-
}
|
|
48
|
+
"types": "./dist/fastify/index.d.ts",
|
|
49
|
+
"import": "./dist/fastify/index.mjs",
|
|
50
|
+
"require": "./dist/fastify/index.js"
|
|
71
51
|
},
|
|
72
52
|
"./package.json": "./package.json"
|
|
73
53
|
},
|
|
54
|
+
"typesVersions": {
|
|
55
|
+
"*": {
|
|
56
|
+
"helpers": [
|
|
57
|
+
"dist/helpers/index.d.ts"
|
|
58
|
+
],
|
|
59
|
+
"express": [
|
|
60
|
+
"dist/express/index.d.ts"
|
|
61
|
+
],
|
|
62
|
+
"fastify": [
|
|
63
|
+
"dist/fastify/index.d.ts"
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
74
67
|
"files": [
|
|
75
68
|
"dist",
|
|
76
69
|
"LICENSE",
|