@kubb/plugin-ts 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-Bl4YfnWA.d.cts → types-De3dRAE2.d.ts} +7 -5
- package/dist/{types-EDONJgES.d.ts → types-WHo75HZq.d.cts} +7 -5
- package/package.json +8 -8
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as Schema, n as PluginTs, o as OasTypes, s as SchemaObject } from "./types-
|
|
1
|
+
import { i as Schema, n as PluginTs, o as OasTypes, s as SchemaObject } from "./types-WHo75HZq.cjs";
|
|
2
2
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/OasType.d.ts
|
package/dist/components.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as Schema, n as PluginTs, o as OasTypes, s as SchemaObject } from "./types-
|
|
1
|
+
import { i as Schema, n as PluginTs, o as OasTypes, s as SchemaObject } from "./types-De3dRAE2.js";
|
|
2
2
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/OasType.d.ts
|
package/dist/generators.d.cts
CHANGED
package/dist/generators.d.ts
CHANGED
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
2
|
+
import ts from "typescript";
|
|
1
3
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
2
4
|
import BaseOas from "oas";
|
|
3
5
|
import { Operation } from "oas/operation";
|
|
4
6
|
import * as OasTypes from "oas/types";
|
|
5
7
|
import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
|
|
6
8
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
7
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
8
9
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
9
|
-
import ts from "typescript";
|
|
10
10
|
|
|
11
11
|
//#region ../oas/src/types.d.ts
|
|
12
12
|
type contentType = 'application/json' | (string & {});
|
|
@@ -356,22 +356,24 @@ type Config<TInput = Input> = {
|
|
|
356
356
|
* @default prettier
|
|
357
357
|
*
|
|
358
358
|
* Possible values:
|
|
359
|
+
* - 'auto': Automatically detects and uses biome or prettier (in that order of preference).
|
|
359
360
|
* - 'prettier': Uses Prettier for code formatting.
|
|
360
361
|
* - 'biome': Uses Biome for code formatting.
|
|
361
362
|
*
|
|
362
363
|
*/
|
|
363
|
-
format?: 'prettier' | 'biome' | false;
|
|
364
|
+
format?: 'auto' | 'prettier' | 'biome' | false;
|
|
364
365
|
/**
|
|
365
366
|
* Specifies the linter that should be used to analyze the code.
|
|
366
367
|
* The accepted values indicate different linting tools.
|
|
367
368
|
*
|
|
368
369
|
* Possible values:
|
|
370
|
+
* - 'auto': Automatically detects and uses biome, oxlint, or eslint (in that order of preference).
|
|
369
371
|
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
370
372
|
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
371
373
|
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
372
374
|
*
|
|
373
375
|
*/
|
|
374
|
-
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
376
|
+
lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false;
|
|
375
377
|
/**
|
|
376
378
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
377
379
|
* @default { '.ts': '.ts'}
|
|
@@ -1270,4 +1272,4 @@ type ResolvedOptions = {
|
|
|
1270
1272
|
type PluginTs = PluginFactoryOptions<'plugin-ts', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1271
1273
|
//#endregion
|
|
1272
1274
|
export { UserPluginWithLifeCycle as a, Schema as i, PluginTs as n, OasTypes as o, ReactGenerator as r, SchemaObject$1 as s, Options as t };
|
|
1273
|
-
//# sourceMappingURL=types-
|
|
1275
|
+
//# sourceMappingURL=types-De3dRAE2.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
2
|
-
import ts from "typescript";
|
|
3
1
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
4
2
|
import BaseOas from "oas";
|
|
5
3
|
import { Operation } from "oas/operation";
|
|
6
4
|
import * as OasTypes from "oas/types";
|
|
7
5
|
import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
|
|
8
6
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
7
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
9
8
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
9
|
+
import ts from "typescript";
|
|
10
10
|
|
|
11
11
|
//#region ../oas/src/types.d.ts
|
|
12
12
|
type contentType = 'application/json' | (string & {});
|
|
@@ -356,22 +356,24 @@ type Config<TInput = Input> = {
|
|
|
356
356
|
* @default prettier
|
|
357
357
|
*
|
|
358
358
|
* Possible values:
|
|
359
|
+
* - 'auto': Automatically detects and uses biome or prettier (in that order of preference).
|
|
359
360
|
* - 'prettier': Uses Prettier for code formatting.
|
|
360
361
|
* - 'biome': Uses Biome for code formatting.
|
|
361
362
|
*
|
|
362
363
|
*/
|
|
363
|
-
format?: 'prettier' | 'biome' | false;
|
|
364
|
+
format?: 'auto' | 'prettier' | 'biome' | false;
|
|
364
365
|
/**
|
|
365
366
|
* Specifies the linter that should be used to analyze the code.
|
|
366
367
|
* The accepted values indicate different linting tools.
|
|
367
368
|
*
|
|
368
369
|
* Possible values:
|
|
370
|
+
* - 'auto': Automatically detects and uses biome, oxlint, or eslint (in that order of preference).
|
|
369
371
|
* - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
|
|
370
372
|
* - 'biome': Represents the Biome linter, a modern tool for code scanning.
|
|
371
373
|
* - 'oxlint': Represents the Oxlint tool for linting purposes.
|
|
372
374
|
*
|
|
373
375
|
*/
|
|
374
|
-
lint?: 'eslint' | 'biome' | 'oxlint' | false;
|
|
376
|
+
lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false;
|
|
375
377
|
/**
|
|
376
378
|
* Override the extension to the generated imports and exports, by default each plugin will add an extension
|
|
377
379
|
* @default { '.ts': '.ts'}
|
|
@@ -1270,4 +1272,4 @@ type ResolvedOptions = {
|
|
|
1270
1272
|
type PluginTs = PluginFactoryOptions<'plugin-ts', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1271
1273
|
//#endregion
|
|
1272
1274
|
export { UserPluginWithLifeCycle as a, Schema as i, PluginTs as n, OasTypes as o, ReactGenerator as r, SchemaObject$1 as s, Options as t };
|
|
1273
|
-
//# sourceMappingURL=types-
|
|
1275
|
+
//# sourceMappingURL=types-WHo75HZq.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-ts",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.13.0",
|
|
4
4
|
"description": "TypeScript code generation plugin for Kubb, transforming OpenAPI schemas into TypeScript interfaces, types, and utility functions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -64,17 +64,17 @@
|
|
|
64
64
|
}
|
|
65
65
|
],
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@kubb/fabric-core": "0.
|
|
68
|
-
"@kubb/react-fabric": "0.
|
|
67
|
+
"@kubb/fabric-core": "0.9.0",
|
|
68
|
+
"@kubb/react-fabric": "0.9.0",
|
|
69
69
|
"natural-orderby": "^5.0.0",
|
|
70
|
-
"remeda": "^2.
|
|
70
|
+
"remeda": "^2.33.1",
|
|
71
71
|
"typescript": "5.9.3",
|
|
72
|
-
"@kubb/core": "4.
|
|
73
|
-
"@kubb/oas": "4.
|
|
74
|
-
"@kubb/plugin-oas": "4.
|
|
72
|
+
"@kubb/core": "4.13.0",
|
|
73
|
+
"@kubb/oas": "4.13.0",
|
|
74
|
+
"@kubb/plugin-oas": "4.13.0"
|
|
75
75
|
},
|
|
76
76
|
"peerDependencies": {
|
|
77
|
-
"@kubb/react-fabric": "0.
|
|
77
|
+
"@kubb/react-fabric": "0.9.0",
|
|
78
78
|
"typescript": ">=5.9.0"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|