@hey-api/openapi-ts 0.64.1 → 0.64.3
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/index.cjs +53 -53
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +84 -0
- package/dist/index.d.ts +84 -0
- package/dist/index.js +53 -53
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/dist/index.d.cts
CHANGED
|
@@ -6567,6 +6567,13 @@ declare namespace Client {
|
|
|
6567
6567
|
* @default false
|
|
6568
6568
|
*/
|
|
6569
6569
|
bundle?: boolean;
|
|
6570
|
+
/**
|
|
6571
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6572
|
+
* barrel file?
|
|
6573
|
+
*
|
|
6574
|
+
* @default false
|
|
6575
|
+
*/
|
|
6576
|
+
exportFromIndex?: boolean;
|
|
6570
6577
|
/**
|
|
6571
6578
|
* Name of the generated file.
|
|
6572
6579
|
*
|
|
@@ -6630,6 +6637,13 @@ interface Config$c
|
|
|
6630
6637
|
Pick<Client.Config, 'output'> {}
|
|
6631
6638
|
|
|
6632
6639
|
interface Config$b extends Plugin.Name<'@hey-api/schemas'> {
|
|
6640
|
+
/**
|
|
6641
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6642
|
+
* barrel file?
|
|
6643
|
+
*
|
|
6644
|
+
* @default false
|
|
6645
|
+
*/
|
|
6646
|
+
exportFromIndex?: boolean;
|
|
6633
6647
|
/**
|
|
6634
6648
|
* Customise the schema name. By default, `{{name}}Schema` is used. `name` is a
|
|
6635
6649
|
* valid JavaScript/TypeScript identifier, e.g. if your schema name is
|
|
@@ -6694,6 +6708,13 @@ interface Config$a extends Plugin.Name<'@hey-api/sdk'> {
|
|
|
6694
6708
|
* @default true
|
|
6695
6709
|
*/
|
|
6696
6710
|
client?: PluginClientNames | boolean;
|
|
6711
|
+
/**
|
|
6712
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6713
|
+
* barrel file?
|
|
6714
|
+
*
|
|
6715
|
+
* @default true
|
|
6716
|
+
*/
|
|
6717
|
+
exportFromIndex?: boolean;
|
|
6697
6718
|
/**
|
|
6698
6719
|
* @deprecated
|
|
6699
6720
|
*
|
|
@@ -6787,6 +6808,13 @@ interface Config$9 extends Plugin.Name<'@hey-api/transformers'> {
|
|
|
6787
6808
|
* @default true
|
|
6788
6809
|
*/
|
|
6789
6810
|
dates?: boolean;
|
|
6811
|
+
/**
|
|
6812
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6813
|
+
* barrel file?
|
|
6814
|
+
*
|
|
6815
|
+
* @default false
|
|
6816
|
+
*/
|
|
6817
|
+
exportFromIndex?: boolean;
|
|
6790
6818
|
/**
|
|
6791
6819
|
* Name of the generated file.
|
|
6792
6820
|
*
|
|
@@ -6811,6 +6839,13 @@ interface Config$8 extends Plugin.Name<'@hey-api/typescript'> {
|
|
|
6811
6839
|
* @default 'SCREAMING_SNAKE_CASE'
|
|
6812
6840
|
*/
|
|
6813
6841
|
enumsCase?: StringCase;
|
|
6842
|
+
/**
|
|
6843
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6844
|
+
* barrel file?
|
|
6845
|
+
*
|
|
6846
|
+
* @default true
|
|
6847
|
+
*/
|
|
6848
|
+
exportFromIndex?: boolean;
|
|
6814
6849
|
/**
|
|
6815
6850
|
* By default, inline enums (enums not defined as reusable components in
|
|
6816
6851
|
* the input file) are generated as inlined union types. You can set
|
|
@@ -6865,6 +6900,13 @@ interface Config$8 extends Plugin.Name<'@hey-api/typescript'> {
|
|
|
6865
6900
|
|
|
6866
6901
|
interface Config$7
|
|
6867
6902
|
extends Plugin.Name<'@tanstack/angular-query-experimental'> {
|
|
6903
|
+
/**
|
|
6904
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6905
|
+
* barrel file?
|
|
6906
|
+
*
|
|
6907
|
+
* @default false
|
|
6908
|
+
*/
|
|
6909
|
+
exportFromIndex?: boolean;
|
|
6868
6910
|
/**
|
|
6869
6911
|
* Generate {@link https://tanstack.com/query/v5/docs/framework/angular/reference/infiniteQueryOptions `infiniteQueryOptions()`} helpers? These will be generated from GET and POST requests where a pagination parameter is detected.
|
|
6870
6912
|
*
|
|
@@ -6893,6 +6935,13 @@ interface Config$7
|
|
|
6893
6935
|
}
|
|
6894
6936
|
|
|
6895
6937
|
interface Config$6 extends Plugin.Name<'@tanstack/react-query'> {
|
|
6938
|
+
/**
|
|
6939
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6940
|
+
* barrel file?
|
|
6941
|
+
*
|
|
6942
|
+
* @default false
|
|
6943
|
+
*/
|
|
6944
|
+
exportFromIndex?: boolean;
|
|
6896
6945
|
/**
|
|
6897
6946
|
* Generate {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions `infiniteQueryOptions()`} helpers? These will be generated from GET and POST requests where a pagination parameter is detected.
|
|
6898
6947
|
*
|
|
@@ -6921,6 +6970,13 @@ interface Config$6 extends Plugin.Name<'@tanstack/react-query'> {
|
|
|
6921
6970
|
}
|
|
6922
6971
|
|
|
6923
6972
|
interface Config$5 extends Plugin.Name<'@tanstack/solid-query'> {
|
|
6973
|
+
/**
|
|
6974
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6975
|
+
* barrel file?
|
|
6976
|
+
*
|
|
6977
|
+
* @default false
|
|
6978
|
+
*/
|
|
6979
|
+
exportFromIndex?: boolean;
|
|
6924
6980
|
/**
|
|
6925
6981
|
* Generate `createInfiniteQuery()` helpers? These will be generated from GET and POST requests where a pagination parameter is detected.
|
|
6926
6982
|
*
|
|
@@ -6949,6 +7005,13 @@ interface Config$5 extends Plugin.Name<'@tanstack/solid-query'> {
|
|
|
6949
7005
|
}
|
|
6950
7006
|
|
|
6951
7007
|
interface Config$4 extends Plugin.Name<'@tanstack/svelte-query'> {
|
|
7008
|
+
/**
|
|
7009
|
+
* Should the exports from the generated files be re-exported in the index
|
|
7010
|
+
* barrel file?
|
|
7011
|
+
*
|
|
7012
|
+
* @default false
|
|
7013
|
+
*/
|
|
7014
|
+
exportFromIndex?: boolean;
|
|
6952
7015
|
/**
|
|
6953
7016
|
* Generate `createInfiniteQuery()` helpers? These will be generated from GET and POST requests where a pagination parameter is detected.
|
|
6954
7017
|
*
|
|
@@ -6977,6 +7040,13 @@ interface Config$4 extends Plugin.Name<'@tanstack/svelte-query'> {
|
|
|
6977
7040
|
}
|
|
6978
7041
|
|
|
6979
7042
|
interface Config$3 extends Plugin.Name<'@tanstack/vue-query'> {
|
|
7043
|
+
/**
|
|
7044
|
+
* Should the exports from the generated files be re-exported in the index
|
|
7045
|
+
* barrel file?
|
|
7046
|
+
*
|
|
7047
|
+
* @default false
|
|
7048
|
+
*/
|
|
7049
|
+
exportFromIndex?: boolean;
|
|
6980
7050
|
/**
|
|
6981
7051
|
* Generate {@link https://tanstack.com/query/v5/docs/framework/vue/reference/infiniteQueryOptions `infiniteQueryOptions()`} helpers? These will be generated from GET and POST requests where a pagination parameter is detected.
|
|
6982
7052
|
*
|
|
@@ -7005,6 +7075,13 @@ interface Config$3 extends Plugin.Name<'@tanstack/vue-query'> {
|
|
|
7005
7075
|
}
|
|
7006
7076
|
|
|
7007
7077
|
interface Config$2 extends Plugin.Name<'fastify'> {
|
|
7078
|
+
/**
|
|
7079
|
+
* Should the exports from the generated files be re-exported in the index
|
|
7080
|
+
* barrel file?
|
|
7081
|
+
*
|
|
7082
|
+
* @default false
|
|
7083
|
+
*/
|
|
7084
|
+
exportFromIndex?: boolean;
|
|
7008
7085
|
/**
|
|
7009
7086
|
* Name of the generated file.
|
|
7010
7087
|
*
|
|
@@ -7017,6 +7094,13 @@ interface Config$2 extends Plugin.Name<'fastify'> {
|
|
|
7017
7094
|
|
|
7018
7095
|
|
|
7019
7096
|
interface Config$1 extends Plugin.Name<'zod'> {
|
|
7097
|
+
/**
|
|
7098
|
+
* Should the exports from the generated files be re-exported in the index
|
|
7099
|
+
* barrel file?
|
|
7100
|
+
*
|
|
7101
|
+
* @default false
|
|
7102
|
+
*/
|
|
7103
|
+
exportFromIndex?: boolean;
|
|
7020
7104
|
/**
|
|
7021
7105
|
* Customise the Zod schema name. By default, `z{{name}}` is used,
|
|
7022
7106
|
* where `name` is a definition name or an operation name.
|
package/dist/index.d.ts
CHANGED
|
@@ -6567,6 +6567,13 @@ declare namespace Client {
|
|
|
6567
6567
|
* @default false
|
|
6568
6568
|
*/
|
|
6569
6569
|
bundle?: boolean;
|
|
6570
|
+
/**
|
|
6571
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6572
|
+
* barrel file?
|
|
6573
|
+
*
|
|
6574
|
+
* @default false
|
|
6575
|
+
*/
|
|
6576
|
+
exportFromIndex?: boolean;
|
|
6570
6577
|
/**
|
|
6571
6578
|
* Name of the generated file.
|
|
6572
6579
|
*
|
|
@@ -6630,6 +6637,13 @@ interface Config$c
|
|
|
6630
6637
|
Pick<Client.Config, 'output'> {}
|
|
6631
6638
|
|
|
6632
6639
|
interface Config$b extends Plugin.Name<'@hey-api/schemas'> {
|
|
6640
|
+
/**
|
|
6641
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6642
|
+
* barrel file?
|
|
6643
|
+
*
|
|
6644
|
+
* @default false
|
|
6645
|
+
*/
|
|
6646
|
+
exportFromIndex?: boolean;
|
|
6633
6647
|
/**
|
|
6634
6648
|
* Customise the schema name. By default, `{{name}}Schema` is used. `name` is a
|
|
6635
6649
|
* valid JavaScript/TypeScript identifier, e.g. if your schema name is
|
|
@@ -6694,6 +6708,13 @@ interface Config$a extends Plugin.Name<'@hey-api/sdk'> {
|
|
|
6694
6708
|
* @default true
|
|
6695
6709
|
*/
|
|
6696
6710
|
client?: PluginClientNames | boolean;
|
|
6711
|
+
/**
|
|
6712
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6713
|
+
* barrel file?
|
|
6714
|
+
*
|
|
6715
|
+
* @default true
|
|
6716
|
+
*/
|
|
6717
|
+
exportFromIndex?: boolean;
|
|
6697
6718
|
/**
|
|
6698
6719
|
* @deprecated
|
|
6699
6720
|
*
|
|
@@ -6787,6 +6808,13 @@ interface Config$9 extends Plugin.Name<'@hey-api/transformers'> {
|
|
|
6787
6808
|
* @default true
|
|
6788
6809
|
*/
|
|
6789
6810
|
dates?: boolean;
|
|
6811
|
+
/**
|
|
6812
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6813
|
+
* barrel file?
|
|
6814
|
+
*
|
|
6815
|
+
* @default false
|
|
6816
|
+
*/
|
|
6817
|
+
exportFromIndex?: boolean;
|
|
6790
6818
|
/**
|
|
6791
6819
|
* Name of the generated file.
|
|
6792
6820
|
*
|
|
@@ -6811,6 +6839,13 @@ interface Config$8 extends Plugin.Name<'@hey-api/typescript'> {
|
|
|
6811
6839
|
* @default 'SCREAMING_SNAKE_CASE'
|
|
6812
6840
|
*/
|
|
6813
6841
|
enumsCase?: StringCase;
|
|
6842
|
+
/**
|
|
6843
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6844
|
+
* barrel file?
|
|
6845
|
+
*
|
|
6846
|
+
* @default true
|
|
6847
|
+
*/
|
|
6848
|
+
exportFromIndex?: boolean;
|
|
6814
6849
|
/**
|
|
6815
6850
|
* By default, inline enums (enums not defined as reusable components in
|
|
6816
6851
|
* the input file) are generated as inlined union types. You can set
|
|
@@ -6865,6 +6900,13 @@ interface Config$8 extends Plugin.Name<'@hey-api/typescript'> {
|
|
|
6865
6900
|
|
|
6866
6901
|
interface Config$7
|
|
6867
6902
|
extends Plugin.Name<'@tanstack/angular-query-experimental'> {
|
|
6903
|
+
/**
|
|
6904
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6905
|
+
* barrel file?
|
|
6906
|
+
*
|
|
6907
|
+
* @default false
|
|
6908
|
+
*/
|
|
6909
|
+
exportFromIndex?: boolean;
|
|
6868
6910
|
/**
|
|
6869
6911
|
* Generate {@link https://tanstack.com/query/v5/docs/framework/angular/reference/infiniteQueryOptions `infiniteQueryOptions()`} helpers? These will be generated from GET and POST requests where a pagination parameter is detected.
|
|
6870
6912
|
*
|
|
@@ -6893,6 +6935,13 @@ interface Config$7
|
|
|
6893
6935
|
}
|
|
6894
6936
|
|
|
6895
6937
|
interface Config$6 extends Plugin.Name<'@tanstack/react-query'> {
|
|
6938
|
+
/**
|
|
6939
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6940
|
+
* barrel file?
|
|
6941
|
+
*
|
|
6942
|
+
* @default false
|
|
6943
|
+
*/
|
|
6944
|
+
exportFromIndex?: boolean;
|
|
6896
6945
|
/**
|
|
6897
6946
|
* Generate {@link https://tanstack.com/query/v5/docs/framework/react/reference/infiniteQueryOptions `infiniteQueryOptions()`} helpers? These will be generated from GET and POST requests where a pagination parameter is detected.
|
|
6898
6947
|
*
|
|
@@ -6921,6 +6970,13 @@ interface Config$6 extends Plugin.Name<'@tanstack/react-query'> {
|
|
|
6921
6970
|
}
|
|
6922
6971
|
|
|
6923
6972
|
interface Config$5 extends Plugin.Name<'@tanstack/solid-query'> {
|
|
6973
|
+
/**
|
|
6974
|
+
* Should the exports from the generated files be re-exported in the index
|
|
6975
|
+
* barrel file?
|
|
6976
|
+
*
|
|
6977
|
+
* @default false
|
|
6978
|
+
*/
|
|
6979
|
+
exportFromIndex?: boolean;
|
|
6924
6980
|
/**
|
|
6925
6981
|
* Generate `createInfiniteQuery()` helpers? These will be generated from GET and POST requests where a pagination parameter is detected.
|
|
6926
6982
|
*
|
|
@@ -6949,6 +7005,13 @@ interface Config$5 extends Plugin.Name<'@tanstack/solid-query'> {
|
|
|
6949
7005
|
}
|
|
6950
7006
|
|
|
6951
7007
|
interface Config$4 extends Plugin.Name<'@tanstack/svelte-query'> {
|
|
7008
|
+
/**
|
|
7009
|
+
* Should the exports from the generated files be re-exported in the index
|
|
7010
|
+
* barrel file?
|
|
7011
|
+
*
|
|
7012
|
+
* @default false
|
|
7013
|
+
*/
|
|
7014
|
+
exportFromIndex?: boolean;
|
|
6952
7015
|
/**
|
|
6953
7016
|
* Generate `createInfiniteQuery()` helpers? These will be generated from GET and POST requests where a pagination parameter is detected.
|
|
6954
7017
|
*
|
|
@@ -6977,6 +7040,13 @@ interface Config$4 extends Plugin.Name<'@tanstack/svelte-query'> {
|
|
|
6977
7040
|
}
|
|
6978
7041
|
|
|
6979
7042
|
interface Config$3 extends Plugin.Name<'@tanstack/vue-query'> {
|
|
7043
|
+
/**
|
|
7044
|
+
* Should the exports from the generated files be re-exported in the index
|
|
7045
|
+
* barrel file?
|
|
7046
|
+
*
|
|
7047
|
+
* @default false
|
|
7048
|
+
*/
|
|
7049
|
+
exportFromIndex?: boolean;
|
|
6980
7050
|
/**
|
|
6981
7051
|
* Generate {@link https://tanstack.com/query/v5/docs/framework/vue/reference/infiniteQueryOptions `infiniteQueryOptions()`} helpers? These will be generated from GET and POST requests where a pagination parameter is detected.
|
|
6982
7052
|
*
|
|
@@ -7005,6 +7075,13 @@ interface Config$3 extends Plugin.Name<'@tanstack/vue-query'> {
|
|
|
7005
7075
|
}
|
|
7006
7076
|
|
|
7007
7077
|
interface Config$2 extends Plugin.Name<'fastify'> {
|
|
7078
|
+
/**
|
|
7079
|
+
* Should the exports from the generated files be re-exported in the index
|
|
7080
|
+
* barrel file?
|
|
7081
|
+
*
|
|
7082
|
+
* @default false
|
|
7083
|
+
*/
|
|
7084
|
+
exportFromIndex?: boolean;
|
|
7008
7085
|
/**
|
|
7009
7086
|
* Name of the generated file.
|
|
7010
7087
|
*
|
|
@@ -7017,6 +7094,13 @@ interface Config$2 extends Plugin.Name<'fastify'> {
|
|
|
7017
7094
|
|
|
7018
7095
|
|
|
7019
7096
|
interface Config$1 extends Plugin.Name<'zod'> {
|
|
7097
|
+
/**
|
|
7098
|
+
* Should the exports from the generated files be re-exported in the index
|
|
7099
|
+
* barrel file?
|
|
7100
|
+
*
|
|
7101
|
+
* @default false
|
|
7102
|
+
*/
|
|
7103
|
+
exportFromIndex?: boolean;
|
|
7020
7104
|
/**
|
|
7021
7105
|
* Customise the Zod schema name. By default, `z{{name}}` is used,
|
|
7022
7106
|
* where `name` is a definition name or an operation name.
|