@hey-api/openapi-ts 0.66.7 → 0.67.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-SVVHOGRR.js +13 -0
- package/dist/chunk-SVVHOGRR.js.map +1 -0
- package/dist/index.cjs +59 -58
- 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 +50 -48
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +7 -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-QZmuYCzm.d.cts → types.d-C5lgdIHG.d.cts} +9 -2
- package/dist/{types.d-QZmuYCzm.d.ts → types.d-C5lgdIHG.d.ts} +9 -2
- package/package.json +1 -1
- package/dist/chunk-AORBOYHR.js +0 -14
- package/dist/chunk-AORBOYHR.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-C5lgdIHG.cjs';
|
|
3
|
+
export { i as initConfigs } from './types.d-C5lgdIHG.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-C5lgdIHG.js';
|
|
3
|
+
export { i as initConfigs } from './types.d-C5lgdIHG.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-SVVHOGRR.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
|
|
2
2
|
//# sourceMappingURL=internal.js.map
|
|
@@ -7395,6 +7395,13 @@ interface UserConfig {
|
|
|
7395
7395
|
* The relative location of the output folder
|
|
7396
7396
|
*/
|
|
7397
7397
|
path: string;
|
|
7398
|
+
/**
|
|
7399
|
+
* Relative or absolute path to the tsconfig file we should use to
|
|
7400
|
+
* generate the output. If a path to tsconfig file is not provided, we
|
|
7401
|
+
* attempt to find one starting from the location of the
|
|
7402
|
+
* `@hey-api/openapi-ts` configuration file and traversing up.
|
|
7403
|
+
*/
|
|
7404
|
+
tsConfigPath?: 'off' | (string & {});
|
|
7398
7405
|
};
|
|
7399
7406
|
/**
|
|
7400
7407
|
* Plugins generate artifacts from `input`. By default, we generate SDK
|
|
@@ -7614,8 +7621,8 @@ declare class TypeScriptFile {
|
|
|
7614
7621
|
*/
|
|
7615
7622
|
removeNode(): void;
|
|
7616
7623
|
private _setName;
|
|
7617
|
-
|
|
7618
|
-
write(separator?: string): void;
|
|
7624
|
+
private _toString;
|
|
7625
|
+
write(separator?: string, tsConfig?: ts.ParsedCommandLine | null): void;
|
|
7619
7626
|
}
|
|
7620
7627
|
interface EnsureUniqueIdentifierData {
|
|
7621
7628
|
$ref: string;
|
|
@@ -7395,6 +7395,13 @@ interface UserConfig {
|
|
|
7395
7395
|
* The relative location of the output folder
|
|
7396
7396
|
*/
|
|
7397
7397
|
path: string;
|
|
7398
|
+
/**
|
|
7399
|
+
* Relative or absolute path to the tsconfig file we should use to
|
|
7400
|
+
* generate the output. If a path to tsconfig file is not provided, we
|
|
7401
|
+
* attempt to find one starting from the location of the
|
|
7402
|
+
* `@hey-api/openapi-ts` configuration file and traversing up.
|
|
7403
|
+
*/
|
|
7404
|
+
tsConfigPath?: 'off' | (string & {});
|
|
7398
7405
|
};
|
|
7399
7406
|
/**
|
|
7400
7407
|
* Plugins generate artifacts from `input`. By default, we generate SDK
|
|
@@ -7614,8 +7621,8 @@ declare class TypeScriptFile {
|
|
|
7614
7621
|
*/
|
|
7615
7622
|
removeNode(): void;
|
|
7616
7623
|
private _setName;
|
|
7617
|
-
|
|
7618
|
-
write(separator?: string): void;
|
|
7624
|
+
private _toString;
|
|
7625
|
+
write(separator?: string, tsConfig?: ts.ParsedCommandLine | null): void;
|
|
7619
7626
|
}
|
|
7620
7627
|
interface EnsureUniqueIdentifierData {
|
|
7621
7628
|
$ref: string;
|