@hey-api/openapi-ts 0.69.0 → 0.69.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-ALAAQACG.js → chunk-QYTRELTS.js} +4 -4
- package/dist/chunk-QYTRELTS.js.map +1 -0
- package/dist/index.cjs +4 -4
- 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 +3 -3
- 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-DaUN4Gwe.d.cts → types.d-DewPnfre.d.cts} +15 -11
- package/dist/{types.d-DaUN4Gwe.d.ts → types.d-DewPnfre.d.ts} +15 -11
- package/package.json +1 -1
- package/dist/chunk-ALAAQACG.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-DewPnfre.cjs';
|
|
3
|
+
export { i as initConfigs } from './types.d-DewPnfre.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-DewPnfre.js';
|
|
3
|
+
export { i as initConfigs } from './types.d-DewPnfre.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-QYTRELTS.js';createRequire(import.meta.url);//# sourceMappingURL=internal.js.map
|
|
2
2
|
//# sourceMappingURL=internal.js.map
|
|
@@ -6666,17 +6666,21 @@ interface Config$c extends Plugin.Name<'@hey-api/schemas'> {
|
|
|
6666
6666
|
* Customise the schema name. By default, `{{name}}Schema` is used. `name` is a
|
|
6667
6667
|
* valid JavaScript/TypeScript identifier, e.g. if your schema name is
|
|
6668
6668
|
* "Foo-Bar", `name` value would be "FooBar".
|
|
6669
|
+
*
|
|
6670
|
+
* @default '{{name}}Schema'
|
|
6669
6671
|
*/
|
|
6670
|
-
nameBuilder?:
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6672
|
+
nameBuilder?:
|
|
6673
|
+
| string
|
|
6674
|
+
| ((
|
|
6675
|
+
name: string,
|
|
6676
|
+
schema:
|
|
6677
|
+
| OpenApiSchema
|
|
6678
|
+
| OpenApiSchema$1
|
|
6679
|
+
| SchemaObject$1
|
|
6680
|
+
| ReferenceObject
|
|
6681
|
+
| SchemaObject
|
|
6682
|
+
| SchemaObject$2,
|
|
6683
|
+
) => string);
|
|
6680
6684
|
/**
|
|
6681
6685
|
* Name of the generated file.
|
|
6682
6686
|
*
|
|
@@ -6764,7 +6768,7 @@ interface Config$b extends Plugin.Name<'@hey-api/sdk'> {
|
|
|
6764
6768
|
*
|
|
6765
6769
|
* @default '{{name}}Service'
|
|
6766
6770
|
*/
|
|
6767
|
-
serviceNameBuilder?: string;
|
|
6771
|
+
serviceNameBuilder?: string | ((name: string) => string);
|
|
6768
6772
|
/**
|
|
6769
6773
|
* Transform response data before returning. This is useful if you want to
|
|
6770
6774
|
* convert for example ISO strings into Date objects. However, transformation
|
|
@@ -6666,17 +6666,21 @@ interface Config$c extends Plugin.Name<'@hey-api/schemas'> {
|
|
|
6666
6666
|
* Customise the schema name. By default, `{{name}}Schema` is used. `name` is a
|
|
6667
6667
|
* valid JavaScript/TypeScript identifier, e.g. if your schema name is
|
|
6668
6668
|
* "Foo-Bar", `name` value would be "FooBar".
|
|
6669
|
+
*
|
|
6670
|
+
* @default '{{name}}Schema'
|
|
6669
6671
|
*/
|
|
6670
|
-
nameBuilder?:
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
|
|
6672
|
+
nameBuilder?:
|
|
6673
|
+
| string
|
|
6674
|
+
| ((
|
|
6675
|
+
name: string,
|
|
6676
|
+
schema:
|
|
6677
|
+
| OpenApiSchema
|
|
6678
|
+
| OpenApiSchema$1
|
|
6679
|
+
| SchemaObject$1
|
|
6680
|
+
| ReferenceObject
|
|
6681
|
+
| SchemaObject
|
|
6682
|
+
| SchemaObject$2,
|
|
6683
|
+
) => string);
|
|
6680
6684
|
/**
|
|
6681
6685
|
* Name of the generated file.
|
|
6682
6686
|
*
|
|
@@ -6764,7 +6768,7 @@ interface Config$b extends Plugin.Name<'@hey-api/sdk'> {
|
|
|
6764
6768
|
*
|
|
6765
6769
|
* @default '{{name}}Service'
|
|
6766
6770
|
*/
|
|
6767
|
-
serviceNameBuilder?: string;
|
|
6771
|
+
serviceNameBuilder?: string | ((name: string) => string);
|
|
6768
6772
|
/**
|
|
6769
6773
|
* Transform response data before returning. This is useful if you want to
|
|
6770
6774
|
* convert for example ISO strings into Date objects. However, transformation
|