@kubb/plugin-zod 3.17.0 → 3.18.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/dist/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/generators.d.cts +1 -1
- package/dist/generators.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{types-B0UqdcbG.d.cts → types-BY-RtmUj.d.ts} +22 -1
- package/dist/{types-YpNWeJUW.d.ts → types-C4zDVwZ4.d.cts} +22 -1
- package/package.json +9 -9
package/dist/components.d.cts
CHANGED
package/dist/components.d.ts
CHANGED
package/dist/generators.d.cts
CHANGED
package/dist/generators.d.ts
CHANGED
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -270,6 +270,27 @@ type Config<TInput = Input> = {
|
|
|
270
270
|
* @default true
|
|
271
271
|
*/
|
|
272
272
|
write?: boolean;
|
|
273
|
+
/**
|
|
274
|
+
* Specifies the formatting tool to be used.
|
|
275
|
+
* @default prettier
|
|
276
|
+
*
|
|
277
|
+
* Possible values:
|
|
278
|
+
* - 'prettier': Uses Prettier for code formatting.
|
|
279
|
+
* - 'biome': Uses Biome for code formatting.
|
|
280
|
+
*
|
|
281
|
+
*/
|
|
282
|
+
format?: 'prettier' | 'biome' | false;
|
|
283
|
+
/**
|
|
284
|
+
* Specifies the linter that should be used to analyze the code.
|
|
285
|
+
* The accepted values indicate different linting tools.
|
|
286
|
+
*
|
|
287
|
+
* Possible values:
|
|
288
|
+
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
289
|
+
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
290
|
+
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
291
|
+
*
|
|
292
|
+
*/
|
|
293
|
+
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
273
294
|
/**
|
|
274
295
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
275
296
|
* @default { '.ts': '.ts'}
|
|
@@ -1234,4 +1255,4 @@ type ResolvedOptions = {
|
|
|
1234
1255
|
type PluginZod = PluginFactoryOptions<'plugin-zod', Options$1, ResolvedOptions, never, ResolvePathOptions>;
|
|
1235
1256
|
//#endregion
|
|
1236
1257
|
export { Generator, type Operation$1 as Operation, Options$1 as Options, PluginZod, Schema, SchemaObject$1 as SchemaObject, UserPluginWithLifeCycle };
|
|
1237
|
-
//# sourceMappingURL=types-
|
|
1258
|
+
//# sourceMappingURL=types-BY-RtmUj.d.ts.map
|
|
@@ -270,6 +270,27 @@ type Config<TInput = Input> = {
|
|
|
270
270
|
* @default true
|
|
271
271
|
*/
|
|
272
272
|
write?: boolean;
|
|
273
|
+
/**
|
|
274
|
+
* Specifies the formatting tool to be used.
|
|
275
|
+
* @default prettier
|
|
276
|
+
*
|
|
277
|
+
* Possible values:
|
|
278
|
+
* - 'prettier': Uses Prettier for code formatting.
|
|
279
|
+
* - 'biome': Uses Biome for code formatting.
|
|
280
|
+
*
|
|
281
|
+
*/
|
|
282
|
+
format?: 'prettier' | 'biome' | false;
|
|
283
|
+
/**
|
|
284
|
+
* Specifies the linter that should be used to analyze the code.
|
|
285
|
+
* The accepted values indicate different linting tools.
|
|
286
|
+
*
|
|
287
|
+
* Possible values:
|
|
288
|
+
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
289
|
+
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
290
|
+
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
291
|
+
*
|
|
292
|
+
*/
|
|
293
|
+
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
273
294
|
/**
|
|
274
295
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
275
296
|
* @default { '.ts': '.ts'}
|
|
@@ -1234,4 +1255,4 @@ type ResolvedOptions = {
|
|
|
1234
1255
|
type PluginZod = PluginFactoryOptions<'plugin-zod', Options$1, ResolvedOptions, never, ResolvePathOptions>;
|
|
1235
1256
|
//#endregion
|
|
1236
1257
|
export { Generator, type Operation$1 as Operation, Options$1 as Options, PluginZod, Schema, SchemaObject$1 as SchemaObject, UserPluginWithLifeCycle };
|
|
1237
|
-
//# sourceMappingURL=types-
|
|
1258
|
+
//# sourceMappingURL=types-C4zDVwZ4.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-zod",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"description": "Zod schema generator plugin for Kubb, creating type-safe validation schemas from OpenAPI specifications for runtime data validation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"zod",
|
|
@@ -73,20 +73,20 @@
|
|
|
73
73
|
"!/**/__tests__/**"
|
|
74
74
|
],
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@kubb/core": "3.
|
|
77
|
-
"@kubb/
|
|
78
|
-
"@kubb/
|
|
79
|
-
"@kubb/plugin-oas": "3.
|
|
80
|
-
"@kubb/plugin-ts": "3.
|
|
81
|
-
"@kubb/react": "3.
|
|
76
|
+
"@kubb/core": "3.18.0",
|
|
77
|
+
"@kubb/oas": "3.18.0",
|
|
78
|
+
"@kubb/parser-ts": "3.18.0",
|
|
79
|
+
"@kubb/plugin-oas": "3.18.0",
|
|
80
|
+
"@kubb/plugin-ts": "3.18.0",
|
|
81
|
+
"@kubb/react": "3.18.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"@asteasolutions/zod-to-openapi": "^7.3.4",
|
|
85
85
|
"@hono/zod-openapi": "0.19.2",
|
|
86
86
|
"tsdown": "^0.14.1",
|
|
87
87
|
"zod": "^3.25.76",
|
|
88
|
-
"@kubb/config-ts": "3.
|
|
89
|
-
"@kubb/plugin-oas": "3.
|
|
88
|
+
"@kubb/config-ts": "3.18.0",
|
|
89
|
+
"@kubb/plugin-oas": "3.18.0"
|
|
90
90
|
},
|
|
91
91
|
"peerDependencies": {
|
|
92
92
|
"@kubb/react": "^3.0.0"
|