@kubb/swagger-ts 2.0.0-beta.7 → 2.0.0-beta.8
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.cjs +0 -1
- package/dist/components.cjs.map +1 -1
- package/dist/components.d.cts +5 -1
- package/dist/components.d.ts +5 -1
- package/dist/components.js +0 -1
- package/dist/components.js.map +1 -1
- package/dist/index.cjs +0 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
- package/src/plugin.ts +0 -1
- package/src/types.ts +5 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kubb/swagger-ts",
|
3
|
-
"version": "2.0.0-beta.
|
3
|
+
"version": "2.0.0-beta.8",
|
4
4
|
"description": "Generator swagger-ts",
|
5
5
|
"keywords": [
|
6
6
|
"typescript",
|
@@ -49,11 +49,11 @@
|
|
49
49
|
"json-schema-to-ts": "^2.9.2",
|
50
50
|
"hotscript": "^1.0.13",
|
51
51
|
"ts-toolbelt": "^9.6.0",
|
52
|
-
"@kubb/core": "2.0.0-beta.
|
53
|
-
"@kubb/parser": "2.0.0-beta.
|
54
|
-
"@kubb/react": "2.0.0-beta.
|
55
|
-
"@kubb/types": "2.0.0-beta.
|
56
|
-
"@kubb/swagger": "2.0.0-beta.
|
52
|
+
"@kubb/core": "2.0.0-beta.8",
|
53
|
+
"@kubb/parser": "2.0.0-beta.8",
|
54
|
+
"@kubb/react": "2.0.0-beta.8",
|
55
|
+
"@kubb/types": "2.0.0-beta.8",
|
56
|
+
"@kubb/swagger": "2.0.0-beta.8"
|
57
57
|
},
|
58
58
|
"devDependencies": {
|
59
59
|
"@types/react": "^18.2.38",
|
@@ -66,7 +66,7 @@
|
|
66
66
|
"@kubb/tsup-config": "1.1.8"
|
67
67
|
},
|
68
68
|
"peerDependencies": {
|
69
|
-
"@kubb/react": "2.0.0-beta.
|
69
|
+
"@kubb/react": "2.0.0-beta.8"
|
70
70
|
},
|
71
71
|
"packageManager": "pnpm@8.3.0",
|
72
72
|
"engines": {
|
package/src/plugin.ts
CHANGED
package/src/types.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { KubbPlugin, PluginFactoryOptions, ResolveNameParams } from '@kubb/core'
|
1
|
+
import type { KubbFile, KubbPlugin, PluginFactoryOptions, ResolveNameParams } from '@kubb/core'
|
2
2
|
import type { AppMeta as SwaggerAppMeta, Exclude, Include, Override, ResolvePathOptions } from '@kubb/swagger'
|
3
3
|
|
4
4
|
export type Options = {
|
@@ -13,6 +13,10 @@ export type Options = {
|
|
13
13
|
* Name to be used for the `export * as {{exportAs}} from './'`
|
14
14
|
*/
|
15
15
|
exportAs?: string
|
16
|
+
/**
|
17
|
+
* Add an extension to the generated imports and exports, default it will not use an extension
|
18
|
+
*/
|
19
|
+
extName?: KubbFile.Extname
|
16
20
|
}
|
17
21
|
/**
|
18
22
|
* Group the TypeScript types based on the provided name.
|