@kubb/plugin-client 3.17.1 → 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-Cpfa5PKO.d.cts → types-CX3qvh_y.d.cts} +22 -1
- package/dist/{types-CdM4kNiz.d.ts → types-Dff_FBev.d.ts} +22 -1
- package/package.json +8 -8
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
|
@@ -271,6 +271,27 @@ type Config<TInput = Input> = {
|
|
|
271
271
|
* @default true
|
|
272
272
|
*/
|
|
273
273
|
write?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* Specifies the formatting tool to be used.
|
|
276
|
+
* @default prettier
|
|
277
|
+
*
|
|
278
|
+
* Possible values:
|
|
279
|
+
* - 'prettier': Uses Prettier for code formatting.
|
|
280
|
+
* - 'biome': Uses Biome for code formatting.
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
format?: 'prettier' | 'biome' | false;
|
|
284
|
+
/**
|
|
285
|
+
* Specifies the linter that should be used to analyze the code.
|
|
286
|
+
* The accepted values indicate different linting tools.
|
|
287
|
+
*
|
|
288
|
+
* Possible values:
|
|
289
|
+
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
290
|
+
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
291
|
+
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
292
|
+
*
|
|
293
|
+
*/
|
|
294
|
+
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
274
295
|
/**
|
|
275
296
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
276
297
|
* @default { '.ts': '.ts'}
|
|
@@ -1271,4 +1292,4 @@ type ResolvedOptions = {
|
|
|
1271
1292
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options$1, ResolvedOptions, never, ResolvePathOptions>;
|
|
1272
1293
|
//#endregion
|
|
1273
1294
|
export { FunctionParams, Generator, KubbNode, type Operation$1 as Operation, OperationSchemas, Options$1 as Options, PluginClient, UserPluginWithLifeCycle };
|
|
1274
|
-
//# sourceMappingURL=types-
|
|
1295
|
+
//# sourceMappingURL=types-CX3qvh_y.d.cts.map
|
|
@@ -271,6 +271,27 @@ type Config<TInput = Input> = {
|
|
|
271
271
|
* @default true
|
|
272
272
|
*/
|
|
273
273
|
write?: boolean;
|
|
274
|
+
/**
|
|
275
|
+
* Specifies the formatting tool to be used.
|
|
276
|
+
* @default prettier
|
|
277
|
+
*
|
|
278
|
+
* Possible values:
|
|
279
|
+
* - 'prettier': Uses Prettier for code formatting.
|
|
280
|
+
* - 'biome': Uses Biome for code formatting.
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
format?: 'prettier' | 'biome' | false;
|
|
284
|
+
/**
|
|
285
|
+
* Specifies the linter that should be used to analyze the code.
|
|
286
|
+
* The accepted values indicate different linting tools.
|
|
287
|
+
*
|
|
288
|
+
* Possible values:
|
|
289
|
+
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
290
|
+
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
291
|
+
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
292
|
+
*
|
|
293
|
+
*/
|
|
294
|
+
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
274
295
|
/**
|
|
275
296
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
276
297
|
* @default { '.ts': '.ts'}
|
|
@@ -1271,4 +1292,4 @@ type ResolvedOptions = {
|
|
|
1271
1292
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options$1, ResolvedOptions, never, ResolvePathOptions>;
|
|
1272
1293
|
//#endregion
|
|
1273
1294
|
export { FunctionParams, Generator, KubbNode, type Operation$1 as Operation, OperationSchemas, Options$1 as Options, PluginClient, UserPluginWithLifeCycle };
|
|
1274
|
-
//# sourceMappingURL=types-
|
|
1295
|
+
//# sourceMappingURL=types-Dff_FBev.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-client",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.18.0",
|
|
4
4
|
"description": "API client generator plugin for Kubb, creating type-safe HTTP clients (Axios, Fetch) from OpenAPI specifications for making API requests.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api-client",
|
|
@@ -77,18 +77,18 @@
|
|
|
77
77
|
"!/**/__tests__/**"
|
|
78
78
|
],
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@kubb/core": "3.
|
|
81
|
-
"@kubb/oas": "3.
|
|
82
|
-
"@kubb/plugin-oas": "3.
|
|
83
|
-
"@kubb/plugin-ts": "3.
|
|
84
|
-
"@kubb/plugin-zod": "3.
|
|
85
|
-
"@kubb/react": "3.
|
|
80
|
+
"@kubb/core": "3.18.0",
|
|
81
|
+
"@kubb/oas": "3.18.0",
|
|
82
|
+
"@kubb/plugin-oas": "3.18.0",
|
|
83
|
+
"@kubb/plugin-ts": "3.18.0",
|
|
84
|
+
"@kubb/plugin-zod": "3.18.0",
|
|
85
|
+
"@kubb/react": "3.18.0"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"axios": "^1.11.0",
|
|
89
89
|
"tsdown": "^0.14.1",
|
|
90
90
|
"typescript": "^5.9.2",
|
|
91
|
-
"@kubb/config-ts": "3.
|
|
91
|
+
"@kubb/config-ts": "3.18.0"
|
|
92
92
|
},
|
|
93
93
|
"peerDependencies": {
|
|
94
94
|
"@kubb/react": "^3.0.0",
|