@hey-api/openapi-ts 0.82.0 → 0.82.1
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/{chunk-LKJWUBMN.js → chunk-FBWTZXZ2.js} +6 -6
- package/dist/chunk-FBWTZXZ2.js.map +1 -0
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1 -1
- package/dist/internal.cjs +3 -3
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/dist/{types.d-kCNGz4sv.d.cts → types.d-C6wYENRD.d.cts} +3 -1
- package/dist/{types.d-kCNGz4sv.d.ts → types.d-C6wYENRD.d.ts} +3 -1
- package/package.json +1 -1
- package/dist/chunk-LKJWUBMN.js.map +0 -1
package/dist/internal.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-
|
|
1
|
+
import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-C6wYENRD.cjs';
|
|
2
2
|
import { JSONSchema } from '@hey-api/json-schema-ref-parser';
|
|
3
3
|
import 'semver';
|
|
4
4
|
import 'node:fs';
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-
|
|
1
|
+
import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-C6wYENRD.js';
|
|
2
2
|
import { JSONSchema } from '@hey-api/json-schema-ref-parser';
|
|
3
3
|
import 'semver';
|
|
4
4
|
import 'node:fs';
|
package/dist/internal.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {createRequire}from'module';export{L as getSpec,K as initConfigs,F as parseOpenApiSpec}from'./chunk-
|
|
1
|
+
import {createRequire}from'module';export{L as getSpec,K as initConfigs,F as parseOpenApiSpec}from'./chunk-FBWTZXZ2.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
|
|
2
2
|
//# sourceMappingURL=internal.js.map
|
|
@@ -8705,7 +8705,7 @@ type UserConfig$a = Plugin.Name<'@hey-api/transformers'> & {
|
|
|
8705
8705
|
|
|
8706
8706
|
type HeyApiTransformersPlugin = DefinePlugin<UserConfig$a>;
|
|
8707
8707
|
|
|
8708
|
-
type EnumsType = 'javascript' | 'typescript';
|
|
8708
|
+
type EnumsType = 'javascript' | 'typescript' | 'typescript-const';
|
|
8709
8709
|
|
|
8710
8710
|
type UserConfig$9 = Plugin.Name<'@hey-api/typescript'> & {
|
|
8711
8711
|
/**
|
|
@@ -8784,6 +8784,7 @@ type UserConfig$9 = Plugin.Name<'@hey-api/typescript'> & {
|
|
|
8784
8784
|
* Can be:
|
|
8785
8785
|
* - `javascript`: Generates JavaScript objects
|
|
8786
8786
|
* - `typescript`: Generates TypeScript enums
|
|
8787
|
+
* - `typescript-const`: Generates TypeScript const enums
|
|
8787
8788
|
*
|
|
8788
8789
|
* @default 'javascript'
|
|
8789
8790
|
*/
|
|
@@ -9033,6 +9034,7 @@ type Config$8 = Plugin.Name<'@hey-api/typescript'> & {
|
|
|
9033
9034
|
* Can be:
|
|
9034
9035
|
* - `javascript`: Generates JavaScript objects
|
|
9035
9036
|
* - `typescript`: Generates TypeScript enums
|
|
9037
|
+
* - `typescript-const`: Generates TypeScript const enums
|
|
9036
9038
|
*
|
|
9037
9039
|
* @default 'javascript'
|
|
9038
9040
|
*/
|
|
@@ -8705,7 +8705,7 @@ type UserConfig$a = Plugin.Name<'@hey-api/transformers'> & {
|
|
|
8705
8705
|
|
|
8706
8706
|
type HeyApiTransformersPlugin = DefinePlugin<UserConfig$a>;
|
|
8707
8707
|
|
|
8708
|
-
type EnumsType = 'javascript' | 'typescript';
|
|
8708
|
+
type EnumsType = 'javascript' | 'typescript' | 'typescript-const';
|
|
8709
8709
|
|
|
8710
8710
|
type UserConfig$9 = Plugin.Name<'@hey-api/typescript'> & {
|
|
8711
8711
|
/**
|
|
@@ -8784,6 +8784,7 @@ type UserConfig$9 = Plugin.Name<'@hey-api/typescript'> & {
|
|
|
8784
8784
|
* Can be:
|
|
8785
8785
|
* - `javascript`: Generates JavaScript objects
|
|
8786
8786
|
* - `typescript`: Generates TypeScript enums
|
|
8787
|
+
* - `typescript-const`: Generates TypeScript const enums
|
|
8787
8788
|
*
|
|
8788
8789
|
* @default 'javascript'
|
|
8789
8790
|
*/
|
|
@@ -9033,6 +9034,7 @@ type Config$8 = Plugin.Name<'@hey-api/typescript'> & {
|
|
|
9033
9034
|
* Can be:
|
|
9034
9035
|
* - `javascript`: Generates JavaScript objects
|
|
9035
9036
|
* - `typescript`: Generates TypeScript enums
|
|
9037
|
+
* - `typescript-const`: Generates TypeScript const enums
|
|
9036
9038
|
*
|
|
9037
9039
|
* @default 'javascript'
|
|
9038
9040
|
*/
|