@kubb/plugin-client 4.12.15 → 4.13.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-B7fgHEu5.d.cts → types-CeY3kW8u.d.ts} +6 -4
- package/dist/{types-CqQS7E3-.d.ts → types-sOuV7Vw-.d.cts} +6 -4
- package/package.json +8 -8
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-
|
|
1
|
+
import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-sOuV7Vw-.cjs";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/components.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-
|
|
1
|
+
import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-CeY3kW8u.js";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/generators.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginClient, r as ReactGenerator } from "./types-
|
|
1
|
+
import { n as PluginClient, r as ReactGenerator } from "./types-sOuV7Vw-.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/classClientGenerator.d.ts
|
|
4
4
|
declare const classClientGenerator: ReactGenerator<PluginClient>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginClient, r as ReactGenerator } from "./types-
|
|
1
|
+
import { n as PluginClient, r as ReactGenerator } from "./types-CeY3kW8u.js";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/classClientGenerator.d.ts
|
|
4
4
|
declare const classClientGenerator: ReactGenerator<PluginClient>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-
|
|
1
|
+
import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-sOuV7Vw-.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginClientName = "plugin-client";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-
|
|
1
|
+
import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-CeY3kW8u.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginClientName = "plugin-client";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
1
2
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
2
3
|
import BaseOas from "oas";
|
|
3
4
|
import { Operation } from "oas/operation";
|
|
4
5
|
import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
|
|
5
6
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
6
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
7
7
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
8
8
|
|
|
9
9
|
//#region ../oas/src/types.d.ts
|
|
@@ -354,22 +354,24 @@ type Config<TInput = Input> = {
|
|
|
354
354
|
* @default prettier
|
|
355
355
|
*
|
|
356
356
|
* Possible values:
|
|
357
|
+
* - 'auto': Automatically detects and uses biome or prettier (in that order of preference).
|
|
357
358
|
* - 'prettier': Uses Prettier for code formatting.
|
|
358
359
|
* - 'biome': Uses Biome for code formatting.
|
|
359
360
|
*
|
|
360
361
|
*/
|
|
361
|
-
format?: 'prettier' | 'biome' | false;
|
|
362
|
+
format?: 'auto' | 'prettier' | 'biome' | false;
|
|
362
363
|
/**
|
|
363
364
|
* Specifies the linter that should be used to analyze the code.
|
|
364
365
|
* The accepted values indicate different linting tools.
|
|
365
366
|
*
|
|
366
367
|
* Possible values:
|
|
368
|
+
* - 'auto': Automatically detects and uses biome, oxlint, or eslint (in that order of preference).
|
|
367
369
|
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
368
370
|
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
369
371
|
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
370
372
|
*
|
|
371
373
|
*/
|
|
372
|
-
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
374
|
+
lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false;
|
|
373
375
|
/**
|
|
374
376
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
375
377
|
* @default { '.ts': '.ts'}
|
|
@@ -1290,4 +1292,4 @@ type ResolvedOptions = {
|
|
|
1290
1292
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1291
1293
|
//#endregion
|
|
1292
1294
|
export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginClient as n, Operation$1 as o, ReactGenerator as r, Options as t };
|
|
1293
|
-
//# sourceMappingURL=types-
|
|
1295
|
+
//# sourceMappingURL=types-CeY3kW8u.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
2
1
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
3
2
|
import BaseOas from "oas";
|
|
4
3
|
import { Operation } from "oas/operation";
|
|
5
4
|
import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
|
|
6
5
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
6
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
7
7
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
8
8
|
|
|
9
9
|
//#region ../oas/src/types.d.ts
|
|
@@ -354,22 +354,24 @@ type Config<TInput = Input> = {
|
|
|
354
354
|
* @default prettier
|
|
355
355
|
*
|
|
356
356
|
* Possible values:
|
|
357
|
+
* - 'auto': Automatically detects and uses biome or prettier (in that order of preference).
|
|
357
358
|
* - 'prettier': Uses Prettier for code formatting.
|
|
358
359
|
* - 'biome': Uses Biome for code formatting.
|
|
359
360
|
*
|
|
360
361
|
*/
|
|
361
|
-
format?: 'prettier' | 'biome' | false;
|
|
362
|
+
format?: 'auto' | 'prettier' | 'biome' | false;
|
|
362
363
|
/**
|
|
363
364
|
* Specifies the linter that should be used to analyze the code.
|
|
364
365
|
* The accepted values indicate different linting tools.
|
|
365
366
|
*
|
|
366
367
|
* Possible values:
|
|
368
|
+
* - 'auto': Automatically detects and uses biome, oxlint, or eslint (in that order of preference).
|
|
367
369
|
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
368
370
|
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
369
371
|
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
370
372
|
*
|
|
371
373
|
*/
|
|
372
|
-
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
374
|
+
lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false;
|
|
373
375
|
/**
|
|
374
376
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
375
377
|
* @default { '.ts': '.ts'}
|
|
@@ -1290,4 +1292,4 @@ type ResolvedOptions = {
|
|
|
1290
1292
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1291
1293
|
//#endregion
|
|
1292
1294
|
export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginClient as n, Operation$1 as o, ReactGenerator as r, Options as t };
|
|
1293
|
-
//# sourceMappingURL=types-
|
|
1295
|
+
//# sourceMappingURL=types-sOuV7Vw-.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.13.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",
|
|
@@ -86,18 +86,18 @@
|
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@kubb/react-fabric": "0.
|
|
90
|
-
"@kubb/core": "4.
|
|
91
|
-
"@kubb/oas": "4.
|
|
92
|
-
"@kubb/plugin-oas": "4.
|
|
93
|
-
"@kubb/plugin-ts": "4.
|
|
94
|
-
"@kubb/plugin-zod": "4.
|
|
89
|
+
"@kubb/react-fabric": "0.9.0",
|
|
90
|
+
"@kubb/core": "4.13.0",
|
|
91
|
+
"@kubb/oas": "4.13.0",
|
|
92
|
+
"@kubb/plugin-oas": "4.13.0",
|
|
93
|
+
"@kubb/plugin-ts": "4.13.0",
|
|
94
|
+
"@kubb/plugin-zod": "4.13.0"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"axios": "^1.13.2"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@kubb/react-fabric": "0.
|
|
100
|
+
"@kubb/react-fabric": "0.9.0",
|
|
101
101
|
"axios": "^1.7.2"
|
|
102
102
|
},
|
|
103
103
|
"peerDependenciesMeta": {
|