@hey-api/openapi-ts 0.68.0 → 0.68.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-TUGP7QO5.js +13 -0
- package/dist/chunk-TUGP7QO5.js.map +1 -0
- package/dist/index.cjs +138 -138
- 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 +10 -10
- 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-D0iY8bQ2.d.cts → types.d-Il3OF6kK.d.cts} +36 -0
- package/dist/{types.d-D0iY8bQ2.d.ts → types.d-Il3OF6kK.d.ts} +36 -0
- package/package.json +3 -3
- package/dist/chunk-PKFRS7FD.js +0 -13
- package/dist/chunk-PKFRS7FD.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-Il3OF6kK.cjs';
|
|
3
|
+
export { i as initConfigs } from './types.d-Il3OF6kK.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-Il3OF6kK.js';
|
|
3
|
+
export { i as initConfigs } from './types.d-Il3OF6kK.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-TUGP7QO5.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
|
|
2
2
|
//# sourceMappingURL=internal.js.map
|
|
@@ -7293,6 +7293,24 @@ interface Input {
|
|
|
7293
7293
|
* @default false
|
|
7294
7294
|
*/
|
|
7295
7295
|
orphans?: boolean;
|
|
7296
|
+
parameters?: {
|
|
7297
|
+
/**
|
|
7298
|
+
* Prevent parameters matching the `exclude` filters from being processed.
|
|
7299
|
+
*
|
|
7300
|
+
* In case of conflicts, `exclude` takes precedence over `include`.
|
|
7301
|
+
*
|
|
7302
|
+
* @example ['QueryParam']
|
|
7303
|
+
*/
|
|
7304
|
+
exclude?: ReadonlyArray<string>;
|
|
7305
|
+
/**
|
|
7306
|
+
* Process only parameters matching the `include` filters.
|
|
7307
|
+
*
|
|
7308
|
+
* In case of conflicts, `exclude` takes precedence over `include`.
|
|
7309
|
+
*
|
|
7310
|
+
* @example ['QueryParam']
|
|
7311
|
+
*/
|
|
7312
|
+
include?: ReadonlyArray<string>;
|
|
7313
|
+
};
|
|
7296
7314
|
/**
|
|
7297
7315
|
* Should we preserve the key order when overwriting your input? This
|
|
7298
7316
|
* option is disabled by default to improve performance.
|
|
@@ -7318,6 +7336,24 @@ interface Input {
|
|
|
7318
7336
|
*/
|
|
7319
7337
|
include?: ReadonlyArray<string>;
|
|
7320
7338
|
};
|
|
7339
|
+
responses?: {
|
|
7340
|
+
/**
|
|
7341
|
+
* Prevent responses matching the `exclude` filters from being processed.
|
|
7342
|
+
*
|
|
7343
|
+
* In case of conflicts, `exclude` takes precedence over `include`.
|
|
7344
|
+
*
|
|
7345
|
+
* @example ['Foo']
|
|
7346
|
+
*/
|
|
7347
|
+
exclude?: ReadonlyArray<string>;
|
|
7348
|
+
/**
|
|
7349
|
+
* Process only responses matching the `include` filters.
|
|
7350
|
+
*
|
|
7351
|
+
* In case of conflicts, `exclude` takes precedence over `include`.
|
|
7352
|
+
*
|
|
7353
|
+
* @example ['Foo']
|
|
7354
|
+
*/
|
|
7355
|
+
include?: ReadonlyArray<string>;
|
|
7356
|
+
};
|
|
7321
7357
|
schemas?: {
|
|
7322
7358
|
/**
|
|
7323
7359
|
* Prevent schemas matching the `exclude` filters from being processed.
|
|
@@ -7293,6 +7293,24 @@ interface Input {
|
|
|
7293
7293
|
* @default false
|
|
7294
7294
|
*/
|
|
7295
7295
|
orphans?: boolean;
|
|
7296
|
+
parameters?: {
|
|
7297
|
+
/**
|
|
7298
|
+
* Prevent parameters matching the `exclude` filters from being processed.
|
|
7299
|
+
*
|
|
7300
|
+
* In case of conflicts, `exclude` takes precedence over `include`.
|
|
7301
|
+
*
|
|
7302
|
+
* @example ['QueryParam']
|
|
7303
|
+
*/
|
|
7304
|
+
exclude?: ReadonlyArray<string>;
|
|
7305
|
+
/**
|
|
7306
|
+
* Process only parameters matching the `include` filters.
|
|
7307
|
+
*
|
|
7308
|
+
* In case of conflicts, `exclude` takes precedence over `include`.
|
|
7309
|
+
*
|
|
7310
|
+
* @example ['QueryParam']
|
|
7311
|
+
*/
|
|
7312
|
+
include?: ReadonlyArray<string>;
|
|
7313
|
+
};
|
|
7296
7314
|
/**
|
|
7297
7315
|
* Should we preserve the key order when overwriting your input? This
|
|
7298
7316
|
* option is disabled by default to improve performance.
|
|
@@ -7318,6 +7336,24 @@ interface Input {
|
|
|
7318
7336
|
*/
|
|
7319
7337
|
include?: ReadonlyArray<string>;
|
|
7320
7338
|
};
|
|
7339
|
+
responses?: {
|
|
7340
|
+
/**
|
|
7341
|
+
* Prevent responses matching the `exclude` filters from being processed.
|
|
7342
|
+
*
|
|
7343
|
+
* In case of conflicts, `exclude` takes precedence over `include`.
|
|
7344
|
+
*
|
|
7345
|
+
* @example ['Foo']
|
|
7346
|
+
*/
|
|
7347
|
+
exclude?: ReadonlyArray<string>;
|
|
7348
|
+
/**
|
|
7349
|
+
* Process only responses matching the `include` filters.
|
|
7350
|
+
*
|
|
7351
|
+
* In case of conflicts, `exclude` takes precedence over `include`.
|
|
7352
|
+
*
|
|
7353
|
+
* @example ['Foo']
|
|
7354
|
+
*/
|
|
7355
|
+
include?: ReadonlyArray<string>;
|
|
7356
|
+
};
|
|
7321
7357
|
schemas?: {
|
|
7322
7358
|
/**
|
|
7323
7359
|
* Prevent schemas matching the `exclude` filters from being processed.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hey-api/openapi-ts",
|
|
3
|
-
"version": "0.68.
|
|
3
|
+
"version": "0.68.1",
|
|
4
4
|
"description": "🚀 The OpenAPI to TypeScript codegen. Generate clients, SDKs, validators, and more.",
|
|
5
5
|
"homepage": "https://heyapi.dev/",
|
|
6
6
|
"repository": {
|
|
@@ -97,8 +97,8 @@
|
|
|
97
97
|
"ts-node": "10.9.2",
|
|
98
98
|
"tslib": "2.8.1",
|
|
99
99
|
"typescript": "5.8.3",
|
|
100
|
-
"@
|
|
101
|
-
"@
|
|
100
|
+
"@hey-api/client-core": "0.1.4",
|
|
101
|
+
"@config/vite-base": "0.0.1"
|
|
102
102
|
},
|
|
103
103
|
"scripts": {
|
|
104
104
|
"build": "tsup && pnpm check-exports",
|