@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.
@@ -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-D0iY8bQ2.cjs';
3
- export { i as initConfigs } from './types.d-D0iY8bQ2.cjs';
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
 
@@ -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-D0iY8bQ2.js';
3
- export { i as initConfigs } from './types.d-D0iY8bQ2.js';
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-PKFRS7FD.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
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.0",
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
- "@config/vite-base": "0.0.1",
101
- "@hey-api/client-core": "0.1.4"
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",