@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.
@@ -1,4 +1,4 @@
1
- import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-kCNGz4sv.cjs';
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';
@@ -1,4 +1,4 @@
1
- import { l as Config, L as Logger, c as IR, U as UserConfig, W as WatchValues } from './types.d-kCNGz4sv.js';
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-LKJWUBMN.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hey-api/openapi-ts",
3
- "version": "0.82.0",
3
+ "version": "0.82.1",
4
4
  "description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.",
5
5
  "homepage": "https://heyapi.dev/",
6
6
  "repository": {