@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/dist/index.d.cts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as _kubb_core from '@kubb/core';
|
2
|
-
import { ResolveNameParams, KubbPlugin, PluginFactoryOptions } from '@kubb/core';
|
2
|
+
import { KubbFile, ResolveNameParams, KubbPlugin, PluginFactoryOptions } from '@kubb/core';
|
3
3
|
import { OasTypes, Exclude, Include, Override, ResolvePathOptions, AppMeta as AppMeta$1 } from '@kubb/swagger';
|
4
4
|
import { Pipe, Tuples, Fn, Call, Objects, Booleans, Strings } from 'hotscript';
|
5
5
|
import { JSONSchema, FromSchema } from 'json-schema-to-ts';
|
@@ -403,6 +403,10 @@ type Options = {
|
|
403
403
|
* Name to be used for the `export * as {{exportAs}} from './'`
|
404
404
|
*/
|
405
405
|
exportAs?: string;
|
406
|
+
/**
|
407
|
+
* Add an extension to the generated imports and exports, default it will not use an extension
|
408
|
+
*/
|
409
|
+
extName?: KubbFile.Extname;
|
406
410
|
};
|
407
411
|
/**
|
408
412
|
* Group the TypeScript types based on the provided name.
|
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import * as _kubb_core from '@kubb/core';
|
2
|
-
import { ResolveNameParams, KubbPlugin, PluginFactoryOptions } from '@kubb/core';
|
2
|
+
import { KubbFile, ResolveNameParams, KubbPlugin, PluginFactoryOptions } from '@kubb/core';
|
3
3
|
import { OasTypes, Exclude, Include, Override, ResolvePathOptions, AppMeta as AppMeta$1 } from '@kubb/swagger';
|
4
4
|
import { Pipe, Tuples, Fn, Call, Objects, Booleans, Strings } from 'hotscript';
|
5
5
|
import { JSONSchema, FromSchema } from 'json-schema-to-ts';
|
@@ -403,6 +403,10 @@ type Options = {
|
|
403
403
|
* Name to be used for the `export * as {{exportAs}} from './'`
|
404
404
|
*/
|
405
405
|
exportAs?: string;
|
406
|
+
/**
|
407
|
+
* Add an extension to the generated imports and exports, default it will not use an extension
|
408
|
+
*/
|
409
|
+
extName?: KubbFile.Extname;
|
406
410
|
};
|
407
411
|
/**
|
408
412
|
* Group the TypeScript types based on the provided name.
|