@kubb/plugin-react-query 3.0.0-alpha.9 → 3.0.0-beta.10

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.
Files changed (79) hide show
  1. package/README.md +14 -5
  2. package/dist/chunk-24SL7I66.cjs +683 -0
  3. package/dist/chunk-24SL7I66.cjs.map +1 -0
  4. package/dist/chunk-BML6BZ4F.cjs +878 -0
  5. package/dist/chunk-BML6BZ4F.cjs.map +1 -0
  6. package/dist/chunk-JFIGHRBM.js +867 -0
  7. package/dist/chunk-JFIGHRBM.js.map +1 -0
  8. package/dist/chunk-LBVGJA4Q.js +674 -0
  9. package/dist/chunk-LBVGJA4Q.js.map +1 -0
  10. package/dist/components.cjs +39 -12
  11. package/dist/components.cjs.map +1 -1
  12. package/dist/components.d.cts +172 -6
  13. package/dist/components.d.ts +172 -6
  14. package/dist/components.js +2 -12
  15. package/dist/components.js.map +1 -1
  16. package/dist/generators.cjs +25 -0
  17. package/dist/generators.cjs.map +1 -0
  18. package/dist/generators.d.cts +14 -0
  19. package/dist/generators.d.ts +14 -0
  20. package/dist/generators.js +4 -0
  21. package/dist/generators.js.map +1 -0
  22. package/dist/index.cjs +80 -130
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.cts +1 -4
  25. package/dist/index.d.ts +1 -4
  26. package/dist/index.js +63 -120
  27. package/dist/index.js.map +1 -1
  28. package/dist/types-Dlwxp28D.d.cts +230 -0
  29. package/dist/types-Dlwxp28D.d.ts +230 -0
  30. package/package.json +22 -17
  31. package/src/components/InfiniteQuery.tsx +176 -0
  32. package/src/components/InfiniteQueryOptions.tsx +185 -0
  33. package/src/components/Mutation.tsx +142 -320
  34. package/src/components/MutationKey.tsx +48 -0
  35. package/src/components/Query.tsx +145 -592
  36. package/src/components/QueryKey.tsx +51 -182
  37. package/src/components/QueryOptions.tsx +110 -472
  38. package/src/components/SuspenseQuery.tsx +176 -0
  39. package/src/components/index.ts +4 -0
  40. package/src/generators/__snapshots__/clientDataReturnTypeFull.ts +51 -0
  41. package/src/generators/__snapshots__/clientGetImportPath.ts +51 -0
  42. package/src/generators/__snapshots__/clientPostImportPath.ts +44 -0
  43. package/src/generators/__snapshots__/findByTags.ts +51 -0
  44. package/src/generators/__snapshots__/findByTagsObject.ts +60 -0
  45. package/src/generators/__snapshots__/findByTagsPathParamsObject.ts +51 -0
  46. package/src/generators/__snapshots__/findByTagsWithCustomQueryKey.ts +51 -0
  47. package/src/generators/__snapshots__/findByTagsWithZod.ts +51 -0
  48. package/src/generators/__snapshots__/findInfiniteByTags.ts +57 -0
  49. package/src/generators/__snapshots__/findInfiniteByTagsCursor.ts +57 -0
  50. package/src/generators/__snapshots__/getAsMutation.ts +31 -0
  51. package/src/generators/__snapshots__/postAsQuery.ts +50 -0
  52. package/src/generators/__snapshots__/updatePetById.ts +44 -0
  53. package/src/generators/__snapshots__/updatePetByIdPathParamsObject.ts +44 -0
  54. package/src/generators/index.ts +4 -0
  55. package/src/generators/infiniteQueryGenerator.tsx +126 -0
  56. package/src/generators/mutationGenerator.tsx +109 -0
  57. package/src/generators/queryGenerator.tsx +123 -0
  58. package/src/generators/suspenseQueryGenerator.tsx +123 -0
  59. package/src/plugin.ts +62 -76
  60. package/src/types.ts +49 -126
  61. package/dist/chunk-7ZODZVKP.cjs +0 -1470
  62. package/dist/chunk-7ZODZVKP.cjs.map +0 -1
  63. package/dist/chunk-ZYTZV43V.js +0 -1470
  64. package/dist/chunk-ZYTZV43V.js.map +0 -1
  65. package/dist/index-5kpkk-7M.d.cts +0 -545
  66. package/dist/index-5kpkk-7M.d.ts +0 -545
  67. package/src/OperationGenerator.tsx +0 -57
  68. package/src/__snapshots__/mutateAsQuery/updatePetWithForm.ts +0 -69
  69. package/src/__snapshots__/pathParamsTypeInline/getPetById.ts +0 -62
  70. package/src/__snapshots__/pathParamsTypeObject/getPetById.ts +0 -68
  71. package/src/__snapshots__/queryOptions/getPetById.ts +0 -41
  72. package/src/__snapshots__/queryWithoutQueryOptions/getPetById.ts +0 -51
  73. package/src/__snapshots__/variablesTypeMutate/deletePet.ts +0 -24
  74. package/src/components/QueryImports.tsx +0 -167
  75. package/src/components/SchemaType.tsx +0 -59
  76. package/src/components/__snapshots__/gen/showPetById.ts +0 -67
  77. package/src/components/__snapshots__/gen/useCreatePets.ts +0 -46
  78. package/src/components/__snapshots__/gen/useCreatePetsMutate.ts +0 -46
  79. package/src/utils.ts +0 -96
@@ -0,0 +1,230 @@
1
+ import { PluginFactoryOptions, Output, Group, ResolveNameParams } from '@kubb/core';
2
+ import { HttpMethod } from '@kubb/oas';
3
+ import { ResolvePathOptions, Exclude, Include, Override, Generator } from '@kubb/plugin-oas';
4
+
5
+ type Options$1 = {
6
+ /**
7
+ * Specify the export location for the files and define the behavior of the output
8
+ * @default { path: 'clients', barrelType: 'named' }
9
+ */
10
+ output?: Output;
11
+ /**
12
+ * Group the clients based on the provided name.
13
+ */
14
+ group?: Group;
15
+ /**
16
+ * Array containing exclude parameters to exclude/skip tags/operations/methods/paths.
17
+ */
18
+ exclude?: Array<Exclude>;
19
+ /**
20
+ * Array containing include parameters to include tags/operations/methods/paths.
21
+ */
22
+ include?: Array<Include>;
23
+ /**
24
+ * Array containing override parameters to override `options` based on tags/operations/methods/paths.
25
+ */
26
+ override?: Array<Override<ResolvedOptions$1>>;
27
+ /**
28
+ * Create `operations.ts` file with all operations grouped by methods.
29
+ * @default false
30
+ */
31
+ operations?: boolean;
32
+ /**
33
+ * Path to the client import path that will be used to do the API calls.
34
+ * It will be used as `import client from '${client.importPath}'`.
35
+ * It allows both relative and absolute path but be aware that we will not change the path.
36
+ * @default '@kubb/plugin-client/client'
37
+ */
38
+ importPath?: string;
39
+ /**
40
+ * ReturnType that will be used when calling the client.
41
+ * - 'data' will return ResponseConfig[data].
42
+ * - 'full' will return ResponseConfig.
43
+ * @default 'data'
44
+ */
45
+ dataReturnType?: 'data' | 'full';
46
+ /**
47
+ * How to pass your params
48
+ * - 'object' will return the params and pathParams as an object.
49
+ * - 'inline' will return the params as comma separated params.
50
+ * @default 'inline'
51
+ */
52
+ paramsType?: 'object' | 'inline';
53
+ /**
54
+ * How to pass your pathParams.
55
+ * - 'object' will return the pathParams as an object.
56
+ * - 'inline' will return the pathParams as comma separated params.
57
+ * @default 'inline'
58
+ */
59
+ pathParamsType?: 'object' | 'inline';
60
+ /**
61
+ * Which parser can be used before returning the data
62
+ * - 'zod' will use `@kubb/plugin-zod` to parse the data.
63
+ * @default 'client'
64
+ */
65
+ parser?: 'client' | 'zod';
66
+ transformers?: {
67
+ /**
68
+ * Customize the names based on the type that is provided by the plugin.
69
+ */
70
+ name?: (name: ResolveNameParams['name'], type?: ResolveNameParams['type']) => string;
71
+ };
72
+ /**
73
+ * Define some generators next to the client generators
74
+ */
75
+ generators?: Array<Generator<PluginClient>>;
76
+ };
77
+ type ResolvedOptions$1 = {
78
+ output: Output;
79
+ group?: Options$1['group'];
80
+ baseURL: string | undefined;
81
+ parser: NonNullable<Options$1['parser']>;
82
+ importPath: NonNullable<Options$1['importPath']>;
83
+ dataReturnType: NonNullable<Options$1['dataReturnType']>;
84
+ pathParamsType: NonNullable<Options$1['pathParamsType']>;
85
+ paramsType: NonNullable<Options$1['paramsType']>;
86
+ };
87
+ type PluginClient = PluginFactoryOptions<'plugin-client', Options$1, ResolvedOptions$1, never, ResolvePathOptions>;
88
+
89
+ type Suspense = object;
90
+ type Query = {
91
+ /**
92
+ * Customize the queryKey, here you can specify a suffix.
93
+ */
94
+ key: (key: unknown[]) => unknown[];
95
+ /**
96
+ * Define which HttpMethods can be used for queries
97
+ * @default ['get']
98
+ */
99
+ methods: Array<HttpMethod>;
100
+ /**
101
+ * Path to the useQuery that will be used to do the useQuery functionality.
102
+ * It will be used as `import { useQuery } from '${importPath}'`.
103
+ * It allows both relative and absolute path.
104
+ * the path will be applied as is, so relative path should be based on the file being generated.
105
+ * @default '@tanstack/react-query'
106
+ */
107
+ importPath?: string;
108
+ };
109
+ type Mutation = {
110
+ /**
111
+ * Customize the queryKey, here you can specify a suffix.
112
+ */
113
+ key: (key: unknown[]) => unknown[];
114
+ /**
115
+ * Define which HttpMethods can be used for mutations
116
+ * @default ['post', 'put', 'delete']
117
+ */
118
+ methods: Array<HttpMethod>;
119
+ /**
120
+ * Path to the useQuery that will be used to do the useQuery functionality.
121
+ * It will be used as `import { useQuery } from '${importPath}'`.
122
+ * It allows both relative and absolute path.
123
+ * the path will be applied as is, so relative path should be based on the file being generated.
124
+ * @default '@tanstack/react-query'
125
+ */
126
+ importPath?: string;
127
+ };
128
+ type Infinite = {
129
+ /**
130
+ * Specify the params key used for `pageParam`.
131
+ * @default 'id'
132
+ */
133
+ queryParam: string;
134
+ /**
135
+ * Which field of the data will be used, set it to undefined when no cursor is known.
136
+ */
137
+ cursorParam?: string | undefined;
138
+ /**
139
+ * The initial value, the value of the first page.
140
+ * @default 0
141
+ */
142
+ initialPageParam: unknown;
143
+ };
144
+ type Options = {
145
+ /**
146
+ * Specify the export location for the files and define the behavior of the output
147
+ * @default { path: 'hooks', barrelType: 'named' }
148
+ */
149
+ output?: Output;
150
+ /**
151
+ * Group the @tanstack/query hooks based on the provided name.
152
+ */
153
+ group?: Group;
154
+ client?: Pick<PluginClient['options'], 'dataReturnType' | 'importPath'>;
155
+ /**
156
+ * Array containing exclude parameters to exclude/skip tags/operations/methods/paths.
157
+ */
158
+ exclude?: Array<Exclude>;
159
+ /**
160
+ * Array containing include parameters to include tags/operations/methods/paths.
161
+ */
162
+ include?: Array<Include>;
163
+ /**
164
+ * Array containing override parameters to override `options` based on tags/operations/methods/paths.
165
+ */
166
+ override?: Array<Override<ResolvedOptions>>;
167
+ /**
168
+ * How to pass your params
169
+ * - 'object' will return the params and pathParams as an object.
170
+ * - 'inline' will return the params as comma separated params.
171
+ * @default 'inline'
172
+ */
173
+ paramsType?: 'object' | 'inline';
174
+ /**
175
+ * How to pass your pathParams.
176
+ * - 'object' will return the pathParams as an object.
177
+ * - 'inline' will return the pathParams as comma separated params.
178
+ * @default 'inline'
179
+ */
180
+ pathParamsType?: PluginClient['options']['pathParamsType'];
181
+ /**
182
+ * When set, an infiniteQuery hooks will be added.
183
+ */
184
+ infinite?: Partial<Infinite> | false;
185
+ /**
186
+ * When set, a suspenseQuery hooks will be added.
187
+ */
188
+ suspense?: Partial<Suspense> | false;
189
+ /**
190
+ * Override some useQuery behaviours.
191
+ */
192
+ query?: Partial<Query> | false;
193
+ /**
194
+ * Override some useMutation behaviours.
195
+ */
196
+ mutation?: Partial<Mutation> | false;
197
+ /**
198
+ * Which parser should be used before returning the data to `@tanstack/query`.
199
+ * `'zod'` will use `@kubb/plugin-zod` to parse the data.
200
+ */
201
+ parser?: PluginClient['options']['parser'];
202
+ transformers?: {
203
+ /**
204
+ * Customize the names based on the type that is provided by the plugin.
205
+ */
206
+ name?: (name: ResolveNameParams['name'], type?: ResolveNameParams['type']) => string;
207
+ };
208
+ /**
209
+ * Define some generators next to the react-query generators
210
+ */
211
+ generators?: Array<Generator<PluginReactQuery>>;
212
+ };
213
+ type ResolvedOptions = {
214
+ output: Output;
215
+ baseURL: string | undefined;
216
+ client: Required<NonNullable<PluginReactQuery['options']['client']>>;
217
+ parser: Required<NonNullable<Options['parser']>>;
218
+ pathParamsType: NonNullable<Options['pathParamsType']>;
219
+ paramsType: NonNullable<Options['paramsType']>;
220
+ /**
221
+ * Only used of infinite
222
+ */
223
+ infinite: NonNullable<Infinite> | false;
224
+ suspense: Suspense | false;
225
+ query: NonNullable<Required<Query>> | false;
226
+ mutation: NonNullable<Required<Mutation>> | false;
227
+ };
228
+ type PluginReactQuery = PluginFactoryOptions<'plugin-react-query', Options, ResolvedOptions, never, ResolvePathOptions>;
229
+
230
+ export type { Infinite as I, Options as O, PluginReactQuery as P };
@@ -0,0 +1,230 @@
1
+ import { PluginFactoryOptions, Output, Group, ResolveNameParams } from '@kubb/core';
2
+ import { HttpMethod } from '@kubb/oas';
3
+ import { ResolvePathOptions, Exclude, Include, Override, Generator } from '@kubb/plugin-oas';
4
+
5
+ type Options$1 = {
6
+ /**
7
+ * Specify the export location for the files and define the behavior of the output
8
+ * @default { path: 'clients', barrelType: 'named' }
9
+ */
10
+ output?: Output;
11
+ /**
12
+ * Group the clients based on the provided name.
13
+ */
14
+ group?: Group;
15
+ /**
16
+ * Array containing exclude parameters to exclude/skip tags/operations/methods/paths.
17
+ */
18
+ exclude?: Array<Exclude>;
19
+ /**
20
+ * Array containing include parameters to include tags/operations/methods/paths.
21
+ */
22
+ include?: Array<Include>;
23
+ /**
24
+ * Array containing override parameters to override `options` based on tags/operations/methods/paths.
25
+ */
26
+ override?: Array<Override<ResolvedOptions$1>>;
27
+ /**
28
+ * Create `operations.ts` file with all operations grouped by methods.
29
+ * @default false
30
+ */
31
+ operations?: boolean;
32
+ /**
33
+ * Path to the client import path that will be used to do the API calls.
34
+ * It will be used as `import client from '${client.importPath}'`.
35
+ * It allows both relative and absolute path but be aware that we will not change the path.
36
+ * @default '@kubb/plugin-client/client'
37
+ */
38
+ importPath?: string;
39
+ /**
40
+ * ReturnType that will be used when calling the client.
41
+ * - 'data' will return ResponseConfig[data].
42
+ * - 'full' will return ResponseConfig.
43
+ * @default 'data'
44
+ */
45
+ dataReturnType?: 'data' | 'full';
46
+ /**
47
+ * How to pass your params
48
+ * - 'object' will return the params and pathParams as an object.
49
+ * - 'inline' will return the params as comma separated params.
50
+ * @default 'inline'
51
+ */
52
+ paramsType?: 'object' | 'inline';
53
+ /**
54
+ * How to pass your pathParams.
55
+ * - 'object' will return the pathParams as an object.
56
+ * - 'inline' will return the pathParams as comma separated params.
57
+ * @default 'inline'
58
+ */
59
+ pathParamsType?: 'object' | 'inline';
60
+ /**
61
+ * Which parser can be used before returning the data
62
+ * - 'zod' will use `@kubb/plugin-zod` to parse the data.
63
+ * @default 'client'
64
+ */
65
+ parser?: 'client' | 'zod';
66
+ transformers?: {
67
+ /**
68
+ * Customize the names based on the type that is provided by the plugin.
69
+ */
70
+ name?: (name: ResolveNameParams['name'], type?: ResolveNameParams['type']) => string;
71
+ };
72
+ /**
73
+ * Define some generators next to the client generators
74
+ */
75
+ generators?: Array<Generator<PluginClient>>;
76
+ };
77
+ type ResolvedOptions$1 = {
78
+ output: Output;
79
+ group?: Options$1['group'];
80
+ baseURL: string | undefined;
81
+ parser: NonNullable<Options$1['parser']>;
82
+ importPath: NonNullable<Options$1['importPath']>;
83
+ dataReturnType: NonNullable<Options$1['dataReturnType']>;
84
+ pathParamsType: NonNullable<Options$1['pathParamsType']>;
85
+ paramsType: NonNullable<Options$1['paramsType']>;
86
+ };
87
+ type PluginClient = PluginFactoryOptions<'plugin-client', Options$1, ResolvedOptions$1, never, ResolvePathOptions>;
88
+
89
+ type Suspense = object;
90
+ type Query = {
91
+ /**
92
+ * Customize the queryKey, here you can specify a suffix.
93
+ */
94
+ key: (key: unknown[]) => unknown[];
95
+ /**
96
+ * Define which HttpMethods can be used for queries
97
+ * @default ['get']
98
+ */
99
+ methods: Array<HttpMethod>;
100
+ /**
101
+ * Path to the useQuery that will be used to do the useQuery functionality.
102
+ * It will be used as `import { useQuery } from '${importPath}'`.
103
+ * It allows both relative and absolute path.
104
+ * the path will be applied as is, so relative path should be based on the file being generated.
105
+ * @default '@tanstack/react-query'
106
+ */
107
+ importPath?: string;
108
+ };
109
+ type Mutation = {
110
+ /**
111
+ * Customize the queryKey, here you can specify a suffix.
112
+ */
113
+ key: (key: unknown[]) => unknown[];
114
+ /**
115
+ * Define which HttpMethods can be used for mutations
116
+ * @default ['post', 'put', 'delete']
117
+ */
118
+ methods: Array<HttpMethod>;
119
+ /**
120
+ * Path to the useQuery that will be used to do the useQuery functionality.
121
+ * It will be used as `import { useQuery } from '${importPath}'`.
122
+ * It allows both relative and absolute path.
123
+ * the path will be applied as is, so relative path should be based on the file being generated.
124
+ * @default '@tanstack/react-query'
125
+ */
126
+ importPath?: string;
127
+ };
128
+ type Infinite = {
129
+ /**
130
+ * Specify the params key used for `pageParam`.
131
+ * @default 'id'
132
+ */
133
+ queryParam: string;
134
+ /**
135
+ * Which field of the data will be used, set it to undefined when no cursor is known.
136
+ */
137
+ cursorParam?: string | undefined;
138
+ /**
139
+ * The initial value, the value of the first page.
140
+ * @default 0
141
+ */
142
+ initialPageParam: unknown;
143
+ };
144
+ type Options = {
145
+ /**
146
+ * Specify the export location for the files and define the behavior of the output
147
+ * @default { path: 'hooks', barrelType: 'named' }
148
+ */
149
+ output?: Output;
150
+ /**
151
+ * Group the @tanstack/query hooks based on the provided name.
152
+ */
153
+ group?: Group;
154
+ client?: Pick<PluginClient['options'], 'dataReturnType' | 'importPath'>;
155
+ /**
156
+ * Array containing exclude parameters to exclude/skip tags/operations/methods/paths.
157
+ */
158
+ exclude?: Array<Exclude>;
159
+ /**
160
+ * Array containing include parameters to include tags/operations/methods/paths.
161
+ */
162
+ include?: Array<Include>;
163
+ /**
164
+ * Array containing override parameters to override `options` based on tags/operations/methods/paths.
165
+ */
166
+ override?: Array<Override<ResolvedOptions>>;
167
+ /**
168
+ * How to pass your params
169
+ * - 'object' will return the params and pathParams as an object.
170
+ * - 'inline' will return the params as comma separated params.
171
+ * @default 'inline'
172
+ */
173
+ paramsType?: 'object' | 'inline';
174
+ /**
175
+ * How to pass your pathParams.
176
+ * - 'object' will return the pathParams as an object.
177
+ * - 'inline' will return the pathParams as comma separated params.
178
+ * @default 'inline'
179
+ */
180
+ pathParamsType?: PluginClient['options']['pathParamsType'];
181
+ /**
182
+ * When set, an infiniteQuery hooks will be added.
183
+ */
184
+ infinite?: Partial<Infinite> | false;
185
+ /**
186
+ * When set, a suspenseQuery hooks will be added.
187
+ */
188
+ suspense?: Partial<Suspense> | false;
189
+ /**
190
+ * Override some useQuery behaviours.
191
+ */
192
+ query?: Partial<Query> | false;
193
+ /**
194
+ * Override some useMutation behaviours.
195
+ */
196
+ mutation?: Partial<Mutation> | false;
197
+ /**
198
+ * Which parser should be used before returning the data to `@tanstack/query`.
199
+ * `'zod'` will use `@kubb/plugin-zod` to parse the data.
200
+ */
201
+ parser?: PluginClient['options']['parser'];
202
+ transformers?: {
203
+ /**
204
+ * Customize the names based on the type that is provided by the plugin.
205
+ */
206
+ name?: (name: ResolveNameParams['name'], type?: ResolveNameParams['type']) => string;
207
+ };
208
+ /**
209
+ * Define some generators next to the react-query generators
210
+ */
211
+ generators?: Array<Generator<PluginReactQuery>>;
212
+ };
213
+ type ResolvedOptions = {
214
+ output: Output;
215
+ baseURL: string | undefined;
216
+ client: Required<NonNullable<PluginReactQuery['options']['client']>>;
217
+ parser: Required<NonNullable<Options['parser']>>;
218
+ pathParamsType: NonNullable<Options['pathParamsType']>;
219
+ paramsType: NonNullable<Options['paramsType']>;
220
+ /**
221
+ * Only used of infinite
222
+ */
223
+ infinite: NonNullable<Infinite> | false;
224
+ suspense: Suspense | false;
225
+ query: NonNullable<Required<Query>> | false;
226
+ mutation: NonNullable<Required<Mutation>> | false;
227
+ };
228
+ type PluginReactQuery = PluginFactoryOptions<'plugin-react-query', Options, ResolvedOptions, never, ResolvePathOptions>;
229
+
230
+ export type { Infinite as I, Options as O, PluginReactQuery as P };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-react-query",
3
- "version": "3.0.0-alpha.9",
3
+ "version": "3.0.0-beta.10",
4
4
  "description": "Generator react-query hooks",
5
5
  "keywords": [
6
6
  "faker",
@@ -29,6 +29,11 @@
29
29
  "require": "./dist/index.cjs",
30
30
  "default": "./dist/index.cjs"
31
31
  },
32
+ "./generators": {
33
+ "import": "./dist/generators.js",
34
+ "require": "./dist/generators.cjs",
35
+ "default": "./dist/generators.cjs"
36
+ },
32
37
  "./components": {
33
38
  "import": "./dist/components.js",
34
39
  "require": "./dist/components.cjs",
@@ -44,6 +49,9 @@
44
49
  "*": {
45
50
  "components": [
46
51
  "./dist/components.d.ts"
52
+ ],
53
+ "generators": [
54
+ "./dist/generators.d.ts"
47
55
  ]
48
56
  }
49
57
  },
@@ -54,27 +62,24 @@
54
62
  "!/**/__tests__/**"
55
63
  ],
56
64
  "dependencies": {
57
- "@kubb/core": "3.0.0-alpha.9",
58
- "@kubb/fs": "3.0.0-alpha.9",
59
- "@kubb/oas": "3.0.0-alpha.9",
60
- "@kubb/plugin-faker": "3.0.0-alpha.9",
61
- "@kubb/parser-ts": "3.0.0-alpha.9",
62
- "@kubb/plugin-oas": "3.0.0-alpha.9",
63
- "@kubb/plugin-ts": "3.0.0-alpha.9",
64
- "@kubb/plugin-zod": "3.0.0-alpha.9",
65
- "@kubb/react": "3.0.0-alpha.9"
65
+ "@kubb/core": "3.0.0-beta.10",
66
+ "@kubb/fs": "3.0.0-beta.10",
67
+ "@kubb/oas": "3.0.0-beta.10",
68
+ "@kubb/plugin-oas": "3.0.0-beta.10",
69
+ "@kubb/plugin-ts": "3.0.0-beta.10",
70
+ "@kubb/plugin-zod": "3.0.0-beta.10",
71
+ "@kubb/react": "3.0.0-beta.10"
66
72
  },
67
73
  "devDependencies": {
68
- "@types/react": "^18.3.4",
74
+ "@types/react": "^18.3.12",
69
75
  "react": "^18.3.1",
70
- "tsup": "^8.2.4",
71
- "typescript": "^5.5.4",
72
- "@kubb/config-biome": "3.0.0-alpha.9",
73
- "@kubb/config-ts": "3.0.0-alpha.9",
74
- "@kubb/config-tsup": "3.0.0-alpha.9"
76
+ "tsup": "^8.3.5",
77
+ "typescript": "^5.6.3",
78
+ "@kubb/config-ts": "3.0.0-beta.10",
79
+ "@kubb/config-tsup": "3.0.0-beta.10"
75
80
  },
76
81
  "peerDependencies": {
77
- "@kubb/react": "3.0.0-alpha.9"
82
+ "@kubb/react": "3.0.0-beta.10"
78
83
  },
79
84
  "engines": {
80
85
  "node": ">=20"