@@ -135,6 +135,23 @@ export interface UserConfig {
135
135
| ( string & { } )
136
136
| Record < string , unknown >
137
137
| Input ;
138
+ /**
139
+ * @deprecated
140
+ *
141
+ * Opt in to the experimental parser?
142
+ *
143
+ * @default true
144
+ */
145
+ experimentalParser ?: boolean ;
146
+
147
+ /**
148
+ * @deprecated
149
+ *
150
+ * Generate core client classes?
151
+ *
152
+ * @default true
153
+ */
154
+ exportCore ?: boolean ;
138
155
/**
139
156
* The relative location of the logs folder
140
157
*
@@ -175,6 +192,48 @@ export interface UserConfig {
175
192
*/
176
193
path ?: string ;
177
194
} ;
195
+ /**
196
+ * Whether or not error logs should be written to a file or not
197
+ * */
198
+ logFile : boolean ;
199
+ /**
200
+ * Regenerate the client when the input file changes? You can alternatively
201
+ * pass a numeric value for the interval in ms.
202
+ *
203
+ * @default false
204
+ */
205
+ watch ?:
206
+ | boolean
207
+ | number
208
+ | {
209
+ /**
210
+ * Regenerate the client when the input file changes?
211
+ *
212
+ * @default false
213
+ */
214
+ enabled ?: boolean ;
215
+ /**
216
+ * How often should we attempt to detect the input file change? (in ms)
217
+ *
218
+ * @default 1000
219
+ */
220
+ interval ?: number ;
221
+ /**
222
+ * How long will we wait before the request times out?
223
+ *
224
+ * @default 60_000
225
+ */
226
+ timeout ?: number ;
227
+ } ;
228
+ /**
229
+ * @deprecated
230
+ *
231
+ * Custom client class name. Please note this option is deprecated and
232
+ * will be removed in favor of clients.
233
+ *
234
+ * @link https://heyapi.dev/openapi-ts/migrating.html#deprecated-name
235
+ */
236
+ name ?: string ;
178
237
/**
179
238
* The relative location of the output folder
180
239
*/
@@ -230,67 +289,13 @@ export interface UserConfig {
230
289
* @default ['@hey-api/typescript', '@hey-api/sdk']
231
290
*/
232
291
plugins ?: ReadonlyArray < UserPlugins [ 'name' ] | UserPlugins > ;
233
- /**
234
- * Regenerate the client when the input file changes? You can alternatively
235
- * pass a numeric value for the interval in ms.
236
- *
237
- * @default false
238
- */
239
- watch ?:
240
- | boolean
241
- | number
242
- | {
243
- /**
244
- * Regenerate the client when the input file changes?
245
- *
246
- * @default false
247
- */
248
- enabled ?: boolean ;
249
- /**
250
- * How often should we attempt to detect the input file change? (in ms)
251
- *
252
- * @default 1000
253
- */
254
- interval ?: number ;
255
- /**
256
- * How long will we wait before the request times out?
257
- *
258
- * @default 60_000
259
- */
260
- timeout ?: number ;
261
- } ;
262
292
/**
263
293
* @deprecated
264
294
*
265
295
* Manually set base in OpenAPI config instead of inferring from server value
266
296
*/
267
297
// eslint-disable-next-line typescript-sort-keys/interface
268
298
base ?: string ;
269
- /**
270
- * @deprecated
271
- *
272
- * Opt in to the experimental parser?
273
- *
274
- * @default true
275
- */
276
- experimentalParser ?: boolean ;
277
- /**
278
- * @deprecated
279
- *
280
- * Generate core client classes?
281
- *
282
- * @default true
283
- */
284
- exportCore ?: boolean ;
285
- /**
286
- * @deprecated
287
- *
288
- * Custom client class name. Please note this option is deprecated and
289
- * will be removed in favor of clients.
290
- *
291
- * @link https://heyapi.dev/openapi-ts/migrating.html#deprecated-name
292
- */
293
- name ?: string ;
294
299
/**
295
300
* @deprecated
296
301
*
0 commit comments