@hey-api/openapi-ts 0.67.3 → 0.67.5
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-MVNXF7LB.js +13 -0
- package/dist/chunk-MVNXF7LB.js.map +1 -0
- package/dist/index.cjs +53 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/internal.cjs +8 -8
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +1 -1
- package/dist/{types.d-C5lgdIHG.d.cts → types.d-Bo4RQoDC.d.cts} +19 -0
- package/dist/{types.d-C5lgdIHG.d.ts → types.d-Bo4RQoDC.d.ts} +19 -0
- package/package.json +2 -2
- package/dist/chunk-IGARTM3D.js +0 -13
- package/dist/chunk-IGARTM3D.js.map +0 -1
package/dist/internal.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONSchema } from '@hey-api/json-schema-ref-parser';
|
|
2
|
-
import { c as Config, I as IR, W as WatchValues } from './types.d-
|
|
3
|
-
export { i as initConfigs } from './types.d-
|
|
2
|
+
import { c as Config, I as IR, W as WatchValues } from './types.d-Bo4RQoDC.cjs';
|
|
3
|
+
export { i as initConfigs } from './types.d-Bo4RQoDC.cjs';
|
|
4
4
|
import 'node:fs';
|
|
5
5
|
import 'typescript';
|
|
6
6
|
|
package/dist/internal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JSONSchema } from '@hey-api/json-schema-ref-parser';
|
|
2
|
-
import { c as Config, I as IR, W as WatchValues } from './types.d-
|
|
3
|
-
export { i as initConfigs } from './types.d-
|
|
2
|
+
import { c as Config, I as IR, W as WatchValues } from './types.d-Bo4RQoDC.js';
|
|
3
|
+
export { i as initConfigs } from './types.d-Bo4RQoDC.js';
|
|
4
4
|
import 'node:fs';
|
|
5
5
|
import 'typescript';
|
|
6
6
|
|
package/dist/internal.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {createRequire}from'module';export{o as getSpec,x as initConfigs,r as parseOpenApiSpec}from'./chunk-
|
|
1
|
+
import {createRequire}from'module';export{o as getSpec,x as initConfigs,r as parseOpenApiSpec}from'./chunk-MVNXF7LB.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
|
|
2
2
|
//# sourceMappingURL=internal.js.map
|
|
@@ -6861,6 +6861,15 @@ interface Config$8 extends Plugin.Name<'@hey-api/typescript'> {
|
|
|
6861
6861
|
* @default 'SCREAMING_SNAKE_CASE'
|
|
6862
6862
|
*/
|
|
6863
6863
|
enumsCase?: StringCase;
|
|
6864
|
+
/**
|
|
6865
|
+
* When generating enums as JavaScript objects, they'll contain a null value
|
|
6866
|
+
* if they're nullable. This might be undesirable if you want to do
|
|
6867
|
+
* `Object.values(Foo)` and have all values be of the same type. This setting
|
|
6868
|
+
* is disabled by default to preserve the source schemas.
|
|
6869
|
+
*
|
|
6870
|
+
* @default false
|
|
6871
|
+
*/
|
|
6872
|
+
enumsConstantsIgnoreNull?: boolean;
|
|
6864
6873
|
/**
|
|
6865
6874
|
* Should the exports from the generated files be re-exported in the index
|
|
6866
6875
|
* barrel file?
|
|
@@ -7071,6 +7080,16 @@ interface Config$4
|
|
|
7071
7080
|
*/
|
|
7072
7081
|
declare namespace TanStackQuery {
|
|
7073
7082
|
export type Config = {
|
|
7083
|
+
/**
|
|
7084
|
+
* Add comments from SDK functions to the generated TanStack Query code?
|
|
7085
|
+
* Duplicating comments this way is useful so you don't need to drill into
|
|
7086
|
+
* the underlying SDK function to learn what it does or whether it's
|
|
7087
|
+
* deprecated. You can set this option to `false` if you prefer less
|
|
7088
|
+
* comment duplication.
|
|
7089
|
+
*
|
|
7090
|
+
* @default true
|
|
7091
|
+
*/
|
|
7092
|
+
comments?: boolean;
|
|
7074
7093
|
/**
|
|
7075
7094
|
* Should the exports from the generated files be re-exported in the index
|
|
7076
7095
|
* barrel file?
|
|
@@ -6861,6 +6861,15 @@ interface Config$8 extends Plugin.Name<'@hey-api/typescript'> {
|
|
|
6861
6861
|
* @default 'SCREAMING_SNAKE_CASE'
|
|
6862
6862
|
*/
|
|
6863
6863
|
enumsCase?: StringCase;
|
|
6864
|
+
/**
|
|
6865
|
+
* When generating enums as JavaScript objects, they'll contain a null value
|
|
6866
|
+
* if they're nullable. This might be undesirable if you want to do
|
|
6867
|
+
* `Object.values(Foo)` and have all values be of the same type. This setting
|
|
6868
|
+
* is disabled by default to preserve the source schemas.
|
|
6869
|
+
*
|
|
6870
|
+
* @default false
|
|
6871
|
+
*/
|
|
6872
|
+
enumsConstantsIgnoreNull?: boolean;
|
|
6864
6873
|
/**
|
|
6865
6874
|
* Should the exports from the generated files be re-exported in the index
|
|
6866
6875
|
* barrel file?
|
|
@@ -7071,6 +7080,16 @@ interface Config$4
|
|
|
7071
7080
|
*/
|
|
7072
7081
|
declare namespace TanStackQuery {
|
|
7073
7082
|
export type Config = {
|
|
7083
|
+
/**
|
|
7084
|
+
* Add comments from SDK functions to the generated TanStack Query code?
|
|
7085
|
+
* Duplicating comments this way is useful so you don't need to drill into
|
|
7086
|
+
* the underlying SDK function to learn what it does or whether it's
|
|
7087
|
+
* deprecated. You can set this option to `false` if you prefer less
|
|
7088
|
+
* comment duplication.
|
|
7089
|
+
*
|
|
7090
|
+
* @default true
|
|
7091
|
+
*/
|
|
7092
|
+
comments?: boolean;
|
|
7074
7093
|
/**
|
|
7075
7094
|
* Should the exports from the generated files be re-exported in the index
|
|
7076
7095
|
* barrel file?
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hey-api/openapi-ts",
|
|
3
|
-
"version": "0.67.
|
|
3
|
+
"version": "0.67.5",
|
|
4
4
|
"description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.",
|
|
5
5
|
"homepage": "https://heyapi.dev/",
|
|
6
6
|
"repository": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"node": "^18.18.0 || ^20.9.0 || >=22.10.0"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@hey-api/json-schema-ref-parser": "1.0.
|
|
79
|
+
"@hey-api/json-schema-ref-parser": "1.0.6",
|
|
80
80
|
"c12": "2.0.1",
|
|
81
81
|
"commander": "13.0.0",
|
|
82
82
|
"handlebars": "4.7.8"
|