asphodelos 0.0.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/LICENSE +21 -0
- package/README.md +593 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.mjs +199 -0
- package/dist/core-DS3sAabb.mjs +4018 -0
- package/dist/format-B0W7HIAg.mjs +48 -0
- package/dist/index.d.mts +993 -0
- package/dist/index.mjs +202 -0
- package/dist/openapi-B4aAnx4P.mjs +40 -0
- package/dist/rolldown-runtime-wcPFST8Q.mjs +13 -0
- package/dist/shared-CrbXsFUJ.mjs +221 -0
- package/dist/vite-plugin/index.d.mts +11 -0
- package/dist/vite-plugin/index.mjs +336 -0
- package/package.json +71 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,993 @@
|
|
|
1
|
+
import { Effect, FileSystem, Schema } from "effect";
|
|
2
|
+
import { FormatConfig } from "oxfmt";
|
|
3
|
+
import * as _$effect_Cause0 from "effect/Cause";
|
|
4
|
+
|
|
5
|
+
//#region src/config/index.d.ts
|
|
6
|
+
declare const ConfigError_base: Schema.Class<ConfigError, Schema.TaggedStruct<"ConfigError", {
|
|
7
|
+
readonly message: Schema.String;
|
|
8
|
+
readonly notFound: Schema.optionalKey<Schema.Boolean>;
|
|
9
|
+
}>, _$effect_Cause0.YieldableError>;
|
|
10
|
+
/**
|
|
11
|
+
* The config file is missing, is not a module with a default export, or does not validate.
|
|
12
|
+
*
|
|
13
|
+
* `notFound` separates "there is no config here" from "the config here is wrong": only the first
|
|
14
|
+
* is the caller who ran `asphodelos` with nothing and needs to be told what the command accepts.
|
|
15
|
+
* Everything else already names the field that is wrong.
|
|
16
|
+
*
|
|
17
|
+
* `Schema.TaggedError` rather than `Data.TaggedError`: this is the error a schema decode turns
|
|
18
|
+
* into, which makes the failure a schema in its own right. The errors that never meet a schema
|
|
19
|
+
* (`FormatError`, `GenerateError`, `OpenAPIError`) stay plain `Data.TaggedError`.
|
|
20
|
+
*/
|
|
21
|
+
declare class ConfigError extends ConfigError_base {}
|
|
22
|
+
declare const ConfigSchema: Schema.Struct<{
|
|
23
|
+
readonly input: Schema.declare<`${string}.yaml` | `${string}.json` | `${string}.tsp`, `${string}.yaml` | `${string}.json` | `${string}.tsp`>;
|
|
24
|
+
readonly output: Schema.optionalKey<Schema.declare<`${string}.ts`, `${string}.ts`>>;
|
|
25
|
+
readonly prefix: Schema.optionalKey<Schema.String>;
|
|
26
|
+
readonly format: Schema.optionalKey<Schema.declare<FormatConfig, FormatConfig>>;
|
|
27
|
+
readonly port: Schema.optionalKey<Schema.withDecodingDefault<Schema.String, never>>;
|
|
28
|
+
readonly pathAlias: Schema.optionalKey<Schema.withDecodingDefault<Schema.Boolean, never>>;
|
|
29
|
+
readonly integration: Schema.optionalKey<Schema.Boolean>;
|
|
30
|
+
readonly readonly: Schema.optionalKey<Schema.Boolean>;
|
|
31
|
+
readonly components: Schema.optionalKey<Schema.Struct<{
|
|
32
|
+
readonly output: Schema.optionalKey<Schema.declare<`${string}.ts`, `${string}.ts`>>;
|
|
33
|
+
readonly schemas: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
34
|
+
readonly split: Schema.Literal<true>;
|
|
35
|
+
readonly output: Schema.String;
|
|
36
|
+
} & {
|
|
37
|
+
import: Schema.optionalKey<Schema.String>;
|
|
38
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
39
|
+
}>, Schema.Struct<{
|
|
40
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
41
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
42
|
+
} & {
|
|
43
|
+
import: Schema.optionalKey<Schema.String>;
|
|
44
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
45
|
+
}>]>>;
|
|
46
|
+
readonly responses: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
47
|
+
readonly split: Schema.Literal<true>;
|
|
48
|
+
readonly output: Schema.String;
|
|
49
|
+
} & {
|
|
50
|
+
import: Schema.optionalKey<Schema.String>;
|
|
51
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
52
|
+
}>, Schema.Struct<{
|
|
53
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
54
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
55
|
+
} & {
|
|
56
|
+
import: Schema.optionalKey<Schema.String>;
|
|
57
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
58
|
+
}>]>>;
|
|
59
|
+
readonly parameters: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
60
|
+
readonly split: Schema.Literal<true>;
|
|
61
|
+
readonly output: Schema.String;
|
|
62
|
+
} & {
|
|
63
|
+
import: Schema.optionalKey<Schema.String>;
|
|
64
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
65
|
+
}>, Schema.Struct<{
|
|
66
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
67
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
68
|
+
} & {
|
|
69
|
+
import: Schema.optionalKey<Schema.String>;
|
|
70
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
71
|
+
}>]>>;
|
|
72
|
+
readonly examples: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
73
|
+
readonly split: Schema.Literal<true>;
|
|
74
|
+
readonly output: Schema.String;
|
|
75
|
+
} & {
|
|
76
|
+
import: Schema.optionalKey<Schema.String>;
|
|
77
|
+
}>, Schema.Struct<{
|
|
78
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
79
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
80
|
+
} & {
|
|
81
|
+
import: Schema.optionalKey<Schema.String>;
|
|
82
|
+
}>]>>;
|
|
83
|
+
readonly requestBodies: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
84
|
+
readonly split: Schema.Literal<true>;
|
|
85
|
+
readonly output: Schema.String;
|
|
86
|
+
} & {
|
|
87
|
+
import: Schema.optionalKey<Schema.String>;
|
|
88
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
89
|
+
}>, Schema.Struct<{
|
|
90
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
91
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
92
|
+
} & {
|
|
93
|
+
import: Schema.optionalKey<Schema.String>;
|
|
94
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
95
|
+
}>]>>;
|
|
96
|
+
readonly headers: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
97
|
+
readonly split: Schema.Literal<true>;
|
|
98
|
+
readonly output: Schema.String;
|
|
99
|
+
} & {
|
|
100
|
+
import: Schema.optionalKey<Schema.String>;
|
|
101
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
102
|
+
}>, Schema.Struct<{
|
|
103
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
104
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
105
|
+
} & {
|
|
106
|
+
import: Schema.optionalKey<Schema.String>;
|
|
107
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
108
|
+
}>]>>;
|
|
109
|
+
readonly securitySchemes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
110
|
+
readonly split: Schema.Literal<true>;
|
|
111
|
+
readonly output: Schema.String;
|
|
112
|
+
} & {
|
|
113
|
+
import: Schema.optionalKey<Schema.String>;
|
|
114
|
+
}>, Schema.Struct<{
|
|
115
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
116
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
117
|
+
} & {
|
|
118
|
+
import: Schema.optionalKey<Schema.String>;
|
|
119
|
+
}>]>>;
|
|
120
|
+
readonly links: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
121
|
+
readonly split: Schema.Literal<true>;
|
|
122
|
+
readonly output: Schema.String;
|
|
123
|
+
} & {
|
|
124
|
+
import: Schema.optionalKey<Schema.String>;
|
|
125
|
+
}>, Schema.Struct<{
|
|
126
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
127
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
128
|
+
} & {
|
|
129
|
+
import: Schema.optionalKey<Schema.String>;
|
|
130
|
+
}>]>>;
|
|
131
|
+
readonly callbacks: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
132
|
+
readonly split: Schema.Literal<true>;
|
|
133
|
+
readonly output: Schema.String;
|
|
134
|
+
} & {
|
|
135
|
+
import: Schema.optionalKey<Schema.String>;
|
|
136
|
+
}>, Schema.Struct<{
|
|
137
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
138
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
139
|
+
} & {
|
|
140
|
+
import: Schema.optionalKey<Schema.String>;
|
|
141
|
+
}>]>>;
|
|
142
|
+
readonly pathItems: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
143
|
+
readonly split: Schema.Literal<true>;
|
|
144
|
+
readonly output: Schema.String;
|
|
145
|
+
} & {
|
|
146
|
+
import: Schema.optionalKey<Schema.String>;
|
|
147
|
+
}>, Schema.Struct<{
|
|
148
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
149
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
150
|
+
} & {
|
|
151
|
+
import: Schema.optionalKey<Schema.String>;
|
|
152
|
+
}>]>>;
|
|
153
|
+
readonly mediaTypes: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
154
|
+
readonly split: Schema.Literal<true>;
|
|
155
|
+
readonly output: Schema.String;
|
|
156
|
+
} & {
|
|
157
|
+
import: Schema.optionalKey<Schema.String>;
|
|
158
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
159
|
+
}>, Schema.Struct<{
|
|
160
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
161
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
162
|
+
} & {
|
|
163
|
+
import: Schema.optionalKey<Schema.String>;
|
|
164
|
+
exportTypes: Schema.withDecodingDefault<Schema.Boolean, never>;
|
|
165
|
+
}>]>>;
|
|
166
|
+
}>>;
|
|
167
|
+
readonly eden: Schema.optionalKey<Schema.Struct<{
|
|
168
|
+
readonly output: Schema.String;
|
|
169
|
+
readonly import: Schema.String;
|
|
170
|
+
readonly client: Schema.withDecodingDefault<Schema.String, never>;
|
|
171
|
+
readonly docs: Schema.optionalKey<Schema.withDecodingDefault<Schema.Boolean, never>>;
|
|
172
|
+
}>>;
|
|
173
|
+
readonly types: Schema.optionalKey<Schema.Struct<{
|
|
174
|
+
readonly output: Schema.declare<`${string}.ts`, `${string}.ts`>;
|
|
175
|
+
}>>;
|
|
176
|
+
readonly test: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
177
|
+
readonly split: Schema.Literal<true>;
|
|
178
|
+
readonly pathAlias: Schema.optionalKey<Schema.String>;
|
|
179
|
+
}>, Schema.Struct<{
|
|
180
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
181
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
182
|
+
readonly pathAlias: Schema.optionalKey<Schema.String>;
|
|
183
|
+
}>]>>;
|
|
184
|
+
readonly mock: Schema.optionalKey<Schema.Struct<{
|
|
185
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
186
|
+
readonly useExamples: Schema.optionalKey<Schema.Union<readonly [Schema.Boolean, Schema.Literal<"all">]>>;
|
|
187
|
+
readonly seed: Schema.optionalKey<Schema.Union<readonly [Schema.Number, Schema.NonEmptyArray<Schema.Number>]>>;
|
|
188
|
+
readonly locale: Schema.optionalKey<Schema.String>;
|
|
189
|
+
readonly delay: Schema.optionalKey<Schema.Union<readonly [Schema.Number, Schema.Literal<false>, Schema.Struct<{
|
|
190
|
+
readonly min: Schema.Number;
|
|
191
|
+
readonly max: Schema.Number;
|
|
192
|
+
}>]>>;
|
|
193
|
+
readonly arrayMin: Schema.optionalKey<Schema.Number>;
|
|
194
|
+
readonly arrayMax: Schema.optionalKey<Schema.Number>;
|
|
195
|
+
}>>;
|
|
196
|
+
readonly swr: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
197
|
+
readonly split: Schema.Literal<true>;
|
|
198
|
+
readonly output: Schema.String;
|
|
199
|
+
} & {
|
|
200
|
+
import: Schema.String;
|
|
201
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
202
|
+
}>, Schema.Struct<{
|
|
203
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
204
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
205
|
+
} & {
|
|
206
|
+
import: Schema.String;
|
|
207
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
208
|
+
}>]>>;
|
|
209
|
+
readonly 'tanstack-query': Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
210
|
+
readonly split: Schema.Literal<true>;
|
|
211
|
+
readonly output: Schema.String;
|
|
212
|
+
} & {
|
|
213
|
+
import: Schema.String;
|
|
214
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
215
|
+
}>, Schema.Struct<{
|
|
216
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
217
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
218
|
+
} & {
|
|
219
|
+
import: Schema.String;
|
|
220
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
221
|
+
}>]>>;
|
|
222
|
+
readonly 'preact-query': Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
223
|
+
readonly split: Schema.Literal<true>;
|
|
224
|
+
readonly output: Schema.String;
|
|
225
|
+
} & {
|
|
226
|
+
import: Schema.String;
|
|
227
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
228
|
+
}>, Schema.Struct<{
|
|
229
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
230
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
231
|
+
} & {
|
|
232
|
+
import: Schema.String;
|
|
233
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
234
|
+
}>]>>;
|
|
235
|
+
readonly 'solid-query': Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
236
|
+
readonly split: Schema.Literal<true>;
|
|
237
|
+
readonly output: Schema.String;
|
|
238
|
+
} & {
|
|
239
|
+
import: Schema.String;
|
|
240
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
241
|
+
}>, Schema.Struct<{
|
|
242
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
243
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
244
|
+
} & {
|
|
245
|
+
import: Schema.String;
|
|
246
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
247
|
+
}>]>>;
|
|
248
|
+
readonly 'vue-query': Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
249
|
+
readonly split: Schema.Literal<true>;
|
|
250
|
+
readonly output: Schema.String;
|
|
251
|
+
} & {
|
|
252
|
+
import: Schema.String;
|
|
253
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
254
|
+
}>, Schema.Struct<{
|
|
255
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
256
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
257
|
+
} & {
|
|
258
|
+
import: Schema.String;
|
|
259
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
260
|
+
}>]>>;
|
|
261
|
+
readonly 'svelte-query': Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
262
|
+
readonly split: Schema.Literal<true>;
|
|
263
|
+
readonly output: Schema.String;
|
|
264
|
+
} & {
|
|
265
|
+
import: Schema.String;
|
|
266
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
267
|
+
}>, Schema.Struct<{
|
|
268
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
269
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
270
|
+
} & {
|
|
271
|
+
import: Schema.String;
|
|
272
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
273
|
+
}>]>>;
|
|
274
|
+
readonly 'angular-query': Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
275
|
+
readonly split: Schema.Literal<true>;
|
|
276
|
+
readonly output: Schema.String;
|
|
277
|
+
} & {
|
|
278
|
+
import: Schema.String;
|
|
279
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
280
|
+
}>, Schema.Struct<{
|
|
281
|
+
readonly split: Schema.withDecodingDefault<Schema.Literal<false>, never>;
|
|
282
|
+
readonly output: Schema.decodeTo<Schema.String, Schema.String, never, never>;
|
|
283
|
+
} & {
|
|
284
|
+
import: Schema.String;
|
|
285
|
+
client: Schema.withDecodingDefault<Schema.String, never>;
|
|
286
|
+
}>]>>;
|
|
287
|
+
}>;
|
|
288
|
+
type Config = typeof ConfigSchema.Type;
|
|
289
|
+
/**
|
|
290
|
+
* Validates an already-loaded config object.
|
|
291
|
+
*
|
|
292
|
+
* The first issue is reported as `<a.b.c>: <message>`: a config file is written by hand, so
|
|
293
|
+
* naming the field that is wrong matters more than listing every consequence of it.
|
|
294
|
+
*/
|
|
295
|
+
declare function parseConfig(config: unknown): Effect.Effect<{
|
|
296
|
+
readonly input: `${string}.yaml` | `${string}.json` | `${string}.tsp`;
|
|
297
|
+
readonly readonly?: boolean | undefined;
|
|
298
|
+
readonly output?: `${string}.ts` | undefined;
|
|
299
|
+
readonly prefix?: string | undefined;
|
|
300
|
+
readonly format?: FormatConfig | undefined;
|
|
301
|
+
readonly port?: string | undefined;
|
|
302
|
+
readonly pathAlias?: boolean | undefined;
|
|
303
|
+
readonly integration?: boolean | undefined;
|
|
304
|
+
readonly components?: {
|
|
305
|
+
readonly output?: `${string}.ts` | undefined;
|
|
306
|
+
readonly schemas?: {
|
|
307
|
+
readonly split: true;
|
|
308
|
+
readonly output: string;
|
|
309
|
+
readonly exportTypes: boolean;
|
|
310
|
+
readonly import?: string | undefined;
|
|
311
|
+
} | {
|
|
312
|
+
readonly split: false;
|
|
313
|
+
readonly output: string;
|
|
314
|
+
readonly exportTypes: boolean;
|
|
315
|
+
readonly import?: string | undefined;
|
|
316
|
+
} | undefined;
|
|
317
|
+
readonly responses?: {
|
|
318
|
+
readonly split: true;
|
|
319
|
+
readonly output: string;
|
|
320
|
+
readonly exportTypes: boolean;
|
|
321
|
+
readonly import?: string | undefined;
|
|
322
|
+
} | {
|
|
323
|
+
readonly split: false;
|
|
324
|
+
readonly output: string;
|
|
325
|
+
readonly exportTypes: boolean;
|
|
326
|
+
readonly import?: string | undefined;
|
|
327
|
+
} | undefined;
|
|
328
|
+
readonly parameters?: {
|
|
329
|
+
readonly split: true;
|
|
330
|
+
readonly output: string;
|
|
331
|
+
readonly exportTypes: boolean;
|
|
332
|
+
readonly import?: string | undefined;
|
|
333
|
+
} | {
|
|
334
|
+
readonly split: false;
|
|
335
|
+
readonly output: string;
|
|
336
|
+
readonly exportTypes: boolean;
|
|
337
|
+
readonly import?: string | undefined;
|
|
338
|
+
} | undefined;
|
|
339
|
+
readonly examples?: {
|
|
340
|
+
readonly split: true;
|
|
341
|
+
readonly output: string;
|
|
342
|
+
readonly import?: string | undefined;
|
|
343
|
+
} | {
|
|
344
|
+
readonly split: false;
|
|
345
|
+
readonly output: string;
|
|
346
|
+
readonly import?: string | undefined;
|
|
347
|
+
} | undefined;
|
|
348
|
+
readonly requestBodies?: {
|
|
349
|
+
readonly split: true;
|
|
350
|
+
readonly output: string;
|
|
351
|
+
readonly exportTypes: boolean;
|
|
352
|
+
readonly import?: string | undefined;
|
|
353
|
+
} | {
|
|
354
|
+
readonly split: false;
|
|
355
|
+
readonly output: string;
|
|
356
|
+
readonly exportTypes: boolean;
|
|
357
|
+
readonly import?: string | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
readonly headers?: {
|
|
360
|
+
readonly split: true;
|
|
361
|
+
readonly output: string;
|
|
362
|
+
readonly exportTypes: boolean;
|
|
363
|
+
readonly import?: string | undefined;
|
|
364
|
+
} | {
|
|
365
|
+
readonly split: false;
|
|
366
|
+
readonly output: string;
|
|
367
|
+
readonly exportTypes: boolean;
|
|
368
|
+
readonly import?: string | undefined;
|
|
369
|
+
} | undefined;
|
|
370
|
+
readonly securitySchemes?: {
|
|
371
|
+
readonly split: true;
|
|
372
|
+
readonly output: string;
|
|
373
|
+
readonly import?: string | undefined;
|
|
374
|
+
} | {
|
|
375
|
+
readonly split: false;
|
|
376
|
+
readonly output: string;
|
|
377
|
+
readonly import?: string | undefined;
|
|
378
|
+
} | undefined;
|
|
379
|
+
readonly links?: {
|
|
380
|
+
readonly split: true;
|
|
381
|
+
readonly output: string;
|
|
382
|
+
readonly import?: string | undefined;
|
|
383
|
+
} | {
|
|
384
|
+
readonly split: false;
|
|
385
|
+
readonly output: string;
|
|
386
|
+
readonly import?: string | undefined;
|
|
387
|
+
} | undefined;
|
|
388
|
+
readonly callbacks?: {
|
|
389
|
+
readonly split: true;
|
|
390
|
+
readonly output: string;
|
|
391
|
+
readonly import?: string | undefined;
|
|
392
|
+
} | {
|
|
393
|
+
readonly split: false;
|
|
394
|
+
readonly output: string;
|
|
395
|
+
readonly import?: string | undefined;
|
|
396
|
+
} | undefined;
|
|
397
|
+
readonly pathItems?: {
|
|
398
|
+
readonly split: true;
|
|
399
|
+
readonly output: string;
|
|
400
|
+
readonly import?: string | undefined;
|
|
401
|
+
} | {
|
|
402
|
+
readonly split: false;
|
|
403
|
+
readonly output: string;
|
|
404
|
+
readonly import?: string | undefined;
|
|
405
|
+
} | undefined;
|
|
406
|
+
readonly mediaTypes?: {
|
|
407
|
+
readonly split: true;
|
|
408
|
+
readonly output: string;
|
|
409
|
+
readonly exportTypes: boolean;
|
|
410
|
+
readonly import?: string | undefined;
|
|
411
|
+
} | {
|
|
412
|
+
readonly split: false;
|
|
413
|
+
readonly output: string;
|
|
414
|
+
readonly exportTypes: boolean;
|
|
415
|
+
readonly import?: string | undefined;
|
|
416
|
+
} | undefined;
|
|
417
|
+
} | undefined;
|
|
418
|
+
readonly eden?: {
|
|
419
|
+
readonly output: string;
|
|
420
|
+
readonly import: string;
|
|
421
|
+
readonly client: string;
|
|
422
|
+
readonly docs?: boolean | undefined;
|
|
423
|
+
} | undefined;
|
|
424
|
+
readonly types?: {
|
|
425
|
+
readonly output: `${string}.ts`;
|
|
426
|
+
} | undefined;
|
|
427
|
+
readonly test?: {
|
|
428
|
+
readonly split: true;
|
|
429
|
+
readonly pathAlias?: string | undefined;
|
|
430
|
+
} | {
|
|
431
|
+
readonly split: false;
|
|
432
|
+
readonly output: string;
|
|
433
|
+
readonly pathAlias?: string | undefined;
|
|
434
|
+
} | undefined;
|
|
435
|
+
readonly mock?: {
|
|
436
|
+
readonly output: string;
|
|
437
|
+
readonly useExamples?: boolean | "all" | undefined;
|
|
438
|
+
readonly seed?: number | readonly [number, ...number[]] | undefined;
|
|
439
|
+
readonly locale?: string | undefined;
|
|
440
|
+
readonly delay?: number | false | {
|
|
441
|
+
readonly min: number;
|
|
442
|
+
readonly max: number;
|
|
443
|
+
} | undefined;
|
|
444
|
+
readonly arrayMin?: number | undefined;
|
|
445
|
+
readonly arrayMax?: number | undefined;
|
|
446
|
+
} | undefined;
|
|
447
|
+
readonly swr?: {
|
|
448
|
+
readonly split: true;
|
|
449
|
+
readonly output: string;
|
|
450
|
+
readonly import: string;
|
|
451
|
+
readonly client: string;
|
|
452
|
+
} | {
|
|
453
|
+
readonly split: false;
|
|
454
|
+
readonly output: string;
|
|
455
|
+
readonly import: string;
|
|
456
|
+
readonly client: string;
|
|
457
|
+
} | undefined;
|
|
458
|
+
readonly 'tanstack-query'?: {
|
|
459
|
+
readonly split: true;
|
|
460
|
+
readonly output: string;
|
|
461
|
+
readonly import: string;
|
|
462
|
+
readonly client: string;
|
|
463
|
+
} | {
|
|
464
|
+
readonly split: false;
|
|
465
|
+
readonly output: string;
|
|
466
|
+
readonly import: string;
|
|
467
|
+
readonly client: string;
|
|
468
|
+
} | undefined;
|
|
469
|
+
readonly 'preact-query'?: {
|
|
470
|
+
readonly split: true;
|
|
471
|
+
readonly output: string;
|
|
472
|
+
readonly import: string;
|
|
473
|
+
readonly client: string;
|
|
474
|
+
} | {
|
|
475
|
+
readonly split: false;
|
|
476
|
+
readonly output: string;
|
|
477
|
+
readonly import: string;
|
|
478
|
+
readonly client: string;
|
|
479
|
+
} | undefined;
|
|
480
|
+
readonly 'solid-query'?: {
|
|
481
|
+
readonly split: true;
|
|
482
|
+
readonly output: string;
|
|
483
|
+
readonly import: string;
|
|
484
|
+
readonly client: string;
|
|
485
|
+
} | {
|
|
486
|
+
readonly split: false;
|
|
487
|
+
readonly output: string;
|
|
488
|
+
readonly import: string;
|
|
489
|
+
readonly client: string;
|
|
490
|
+
} | undefined;
|
|
491
|
+
readonly 'vue-query'?: {
|
|
492
|
+
readonly split: true;
|
|
493
|
+
readonly output: string;
|
|
494
|
+
readonly import: string;
|
|
495
|
+
readonly client: string;
|
|
496
|
+
} | {
|
|
497
|
+
readonly split: false;
|
|
498
|
+
readonly output: string;
|
|
499
|
+
readonly import: string;
|
|
500
|
+
readonly client: string;
|
|
501
|
+
} | undefined;
|
|
502
|
+
readonly 'svelte-query'?: {
|
|
503
|
+
readonly split: true;
|
|
504
|
+
readonly output: string;
|
|
505
|
+
readonly import: string;
|
|
506
|
+
readonly client: string;
|
|
507
|
+
} | {
|
|
508
|
+
readonly split: false;
|
|
509
|
+
readonly output: string;
|
|
510
|
+
readonly import: string;
|
|
511
|
+
readonly client: string;
|
|
512
|
+
} | undefined;
|
|
513
|
+
readonly 'angular-query'?: {
|
|
514
|
+
readonly split: true;
|
|
515
|
+
readonly output: string;
|
|
516
|
+
readonly import: string;
|
|
517
|
+
readonly client: string;
|
|
518
|
+
} | {
|
|
519
|
+
readonly split: false;
|
|
520
|
+
readonly output: string;
|
|
521
|
+
readonly import: string;
|
|
522
|
+
readonly client: string;
|
|
523
|
+
} | undefined;
|
|
524
|
+
}, ConfigError, never>;
|
|
525
|
+
/**
|
|
526
|
+
* Loads and validates a config file, resolved against the current directory.
|
|
527
|
+
*
|
|
528
|
+
* `reload` re-reads a config that has already been imported — what `--watch` needs after the file
|
|
529
|
+
* changes, and nothing else should ask for, since every reload leaves another copy of the module
|
|
530
|
+
* behind.
|
|
531
|
+
*/
|
|
532
|
+
declare function readConfig(configPath?: string, reload?: boolean): Effect.Effect<{
|
|
533
|
+
readonly input: `${string}.yaml` | `${string}.json` | `${string}.tsp`;
|
|
534
|
+
readonly readonly?: boolean | undefined;
|
|
535
|
+
readonly output?: `${string}.ts` | undefined;
|
|
536
|
+
readonly prefix?: string | undefined;
|
|
537
|
+
readonly format?: FormatConfig | undefined;
|
|
538
|
+
readonly port?: string | undefined;
|
|
539
|
+
readonly pathAlias?: boolean | undefined;
|
|
540
|
+
readonly integration?: boolean | undefined;
|
|
541
|
+
readonly components?: {
|
|
542
|
+
readonly output?: `${string}.ts` | undefined;
|
|
543
|
+
readonly schemas?: {
|
|
544
|
+
readonly split: true;
|
|
545
|
+
readonly output: string;
|
|
546
|
+
readonly exportTypes: boolean;
|
|
547
|
+
readonly import?: string | undefined;
|
|
548
|
+
} | {
|
|
549
|
+
readonly split: false;
|
|
550
|
+
readonly output: string;
|
|
551
|
+
readonly exportTypes: boolean;
|
|
552
|
+
readonly import?: string | undefined;
|
|
553
|
+
} | undefined;
|
|
554
|
+
readonly responses?: {
|
|
555
|
+
readonly split: true;
|
|
556
|
+
readonly output: string;
|
|
557
|
+
readonly exportTypes: boolean;
|
|
558
|
+
readonly import?: string | undefined;
|
|
559
|
+
} | {
|
|
560
|
+
readonly split: false;
|
|
561
|
+
readonly output: string;
|
|
562
|
+
readonly exportTypes: boolean;
|
|
563
|
+
readonly import?: string | undefined;
|
|
564
|
+
} | undefined;
|
|
565
|
+
readonly parameters?: {
|
|
566
|
+
readonly split: true;
|
|
567
|
+
readonly output: string;
|
|
568
|
+
readonly exportTypes: boolean;
|
|
569
|
+
readonly import?: string | undefined;
|
|
570
|
+
} | {
|
|
571
|
+
readonly split: false;
|
|
572
|
+
readonly output: string;
|
|
573
|
+
readonly exportTypes: boolean;
|
|
574
|
+
readonly import?: string | undefined;
|
|
575
|
+
} | undefined;
|
|
576
|
+
readonly examples?: {
|
|
577
|
+
readonly split: true;
|
|
578
|
+
readonly output: string;
|
|
579
|
+
readonly import?: string | undefined;
|
|
580
|
+
} | {
|
|
581
|
+
readonly split: false;
|
|
582
|
+
readonly output: string;
|
|
583
|
+
readonly import?: string | undefined;
|
|
584
|
+
} | undefined;
|
|
585
|
+
readonly requestBodies?: {
|
|
586
|
+
readonly split: true;
|
|
587
|
+
readonly output: string;
|
|
588
|
+
readonly exportTypes: boolean;
|
|
589
|
+
readonly import?: string | undefined;
|
|
590
|
+
} | {
|
|
591
|
+
readonly split: false;
|
|
592
|
+
readonly output: string;
|
|
593
|
+
readonly exportTypes: boolean;
|
|
594
|
+
readonly import?: string | undefined;
|
|
595
|
+
} | undefined;
|
|
596
|
+
readonly headers?: {
|
|
597
|
+
readonly split: true;
|
|
598
|
+
readonly output: string;
|
|
599
|
+
readonly exportTypes: boolean;
|
|
600
|
+
readonly import?: string | undefined;
|
|
601
|
+
} | {
|
|
602
|
+
readonly split: false;
|
|
603
|
+
readonly output: string;
|
|
604
|
+
readonly exportTypes: boolean;
|
|
605
|
+
readonly import?: string | undefined;
|
|
606
|
+
} | undefined;
|
|
607
|
+
readonly securitySchemes?: {
|
|
608
|
+
readonly split: true;
|
|
609
|
+
readonly output: string;
|
|
610
|
+
readonly import?: string | undefined;
|
|
611
|
+
} | {
|
|
612
|
+
readonly split: false;
|
|
613
|
+
readonly output: string;
|
|
614
|
+
readonly import?: string | undefined;
|
|
615
|
+
} | undefined;
|
|
616
|
+
readonly links?: {
|
|
617
|
+
readonly split: true;
|
|
618
|
+
readonly output: string;
|
|
619
|
+
readonly import?: string | undefined;
|
|
620
|
+
} | {
|
|
621
|
+
readonly split: false;
|
|
622
|
+
readonly output: string;
|
|
623
|
+
readonly import?: string | undefined;
|
|
624
|
+
} | undefined;
|
|
625
|
+
readonly callbacks?: {
|
|
626
|
+
readonly split: true;
|
|
627
|
+
readonly output: string;
|
|
628
|
+
readonly import?: string | undefined;
|
|
629
|
+
} | {
|
|
630
|
+
readonly split: false;
|
|
631
|
+
readonly output: string;
|
|
632
|
+
readonly import?: string | undefined;
|
|
633
|
+
} | undefined;
|
|
634
|
+
readonly pathItems?: {
|
|
635
|
+
readonly split: true;
|
|
636
|
+
readonly output: string;
|
|
637
|
+
readonly import?: string | undefined;
|
|
638
|
+
} | {
|
|
639
|
+
readonly split: false;
|
|
640
|
+
readonly output: string;
|
|
641
|
+
readonly import?: string | undefined;
|
|
642
|
+
} | undefined;
|
|
643
|
+
readonly mediaTypes?: {
|
|
644
|
+
readonly split: true;
|
|
645
|
+
readonly output: string;
|
|
646
|
+
readonly exportTypes: boolean;
|
|
647
|
+
readonly import?: string | undefined;
|
|
648
|
+
} | {
|
|
649
|
+
readonly split: false;
|
|
650
|
+
readonly output: string;
|
|
651
|
+
readonly exportTypes: boolean;
|
|
652
|
+
readonly import?: string | undefined;
|
|
653
|
+
} | undefined;
|
|
654
|
+
} | undefined;
|
|
655
|
+
readonly eden?: {
|
|
656
|
+
readonly output: string;
|
|
657
|
+
readonly import: string;
|
|
658
|
+
readonly client: string;
|
|
659
|
+
readonly docs?: boolean | undefined;
|
|
660
|
+
} | undefined;
|
|
661
|
+
readonly types?: {
|
|
662
|
+
readonly output: `${string}.ts`;
|
|
663
|
+
} | undefined;
|
|
664
|
+
readonly test?: {
|
|
665
|
+
readonly split: true;
|
|
666
|
+
readonly pathAlias?: string | undefined;
|
|
667
|
+
} | {
|
|
668
|
+
readonly split: false;
|
|
669
|
+
readonly output: string;
|
|
670
|
+
readonly pathAlias?: string | undefined;
|
|
671
|
+
} | undefined;
|
|
672
|
+
readonly mock?: {
|
|
673
|
+
readonly output: string;
|
|
674
|
+
readonly useExamples?: boolean | "all" | undefined;
|
|
675
|
+
readonly seed?: number | readonly [number, ...number[]] | undefined;
|
|
676
|
+
readonly locale?: string | undefined;
|
|
677
|
+
readonly delay?: number | false | {
|
|
678
|
+
readonly min: number;
|
|
679
|
+
readonly max: number;
|
|
680
|
+
} | undefined;
|
|
681
|
+
readonly arrayMin?: number | undefined;
|
|
682
|
+
readonly arrayMax?: number | undefined;
|
|
683
|
+
} | undefined;
|
|
684
|
+
readonly swr?: {
|
|
685
|
+
readonly split: true;
|
|
686
|
+
readonly output: string;
|
|
687
|
+
readonly import: string;
|
|
688
|
+
readonly client: string;
|
|
689
|
+
} | {
|
|
690
|
+
readonly split: false;
|
|
691
|
+
readonly output: string;
|
|
692
|
+
readonly import: string;
|
|
693
|
+
readonly client: string;
|
|
694
|
+
} | undefined;
|
|
695
|
+
readonly 'tanstack-query'?: {
|
|
696
|
+
readonly split: true;
|
|
697
|
+
readonly output: string;
|
|
698
|
+
readonly import: string;
|
|
699
|
+
readonly client: string;
|
|
700
|
+
} | {
|
|
701
|
+
readonly split: false;
|
|
702
|
+
readonly output: string;
|
|
703
|
+
readonly import: string;
|
|
704
|
+
readonly client: string;
|
|
705
|
+
} | undefined;
|
|
706
|
+
readonly 'preact-query'?: {
|
|
707
|
+
readonly split: true;
|
|
708
|
+
readonly output: string;
|
|
709
|
+
readonly import: string;
|
|
710
|
+
readonly client: string;
|
|
711
|
+
} | {
|
|
712
|
+
readonly split: false;
|
|
713
|
+
readonly output: string;
|
|
714
|
+
readonly import: string;
|
|
715
|
+
readonly client: string;
|
|
716
|
+
} | undefined;
|
|
717
|
+
readonly 'solid-query'?: {
|
|
718
|
+
readonly split: true;
|
|
719
|
+
readonly output: string;
|
|
720
|
+
readonly import: string;
|
|
721
|
+
readonly client: string;
|
|
722
|
+
} | {
|
|
723
|
+
readonly split: false;
|
|
724
|
+
readonly output: string;
|
|
725
|
+
readonly import: string;
|
|
726
|
+
readonly client: string;
|
|
727
|
+
} | undefined;
|
|
728
|
+
readonly 'vue-query'?: {
|
|
729
|
+
readonly split: true;
|
|
730
|
+
readonly output: string;
|
|
731
|
+
readonly import: string;
|
|
732
|
+
readonly client: string;
|
|
733
|
+
} | {
|
|
734
|
+
readonly split: false;
|
|
735
|
+
readonly output: string;
|
|
736
|
+
readonly import: string;
|
|
737
|
+
readonly client: string;
|
|
738
|
+
} | undefined;
|
|
739
|
+
readonly 'svelte-query'?: {
|
|
740
|
+
readonly split: true;
|
|
741
|
+
readonly output: string;
|
|
742
|
+
readonly import: string;
|
|
743
|
+
readonly client: string;
|
|
744
|
+
} | {
|
|
745
|
+
readonly split: false;
|
|
746
|
+
readonly output: string;
|
|
747
|
+
readonly import: string;
|
|
748
|
+
readonly client: string;
|
|
749
|
+
} | undefined;
|
|
750
|
+
readonly 'angular-query'?: {
|
|
751
|
+
readonly split: true;
|
|
752
|
+
readonly output: string;
|
|
753
|
+
readonly import: string;
|
|
754
|
+
readonly client: string;
|
|
755
|
+
} | {
|
|
756
|
+
readonly split: false;
|
|
757
|
+
readonly output: string;
|
|
758
|
+
readonly import: string;
|
|
759
|
+
readonly client: string;
|
|
760
|
+
} | undefined;
|
|
761
|
+
}, ConfigError, FileSystem.FileSystem>;
|
|
762
|
+
declare function defineConfig(config: typeof ConfigSchema.Encoded): {
|
|
763
|
+
readonly input: `${string}.yaml` | `${string}.json` | `${string}.tsp`;
|
|
764
|
+
readonly readonly?: boolean | undefined;
|
|
765
|
+
readonly output?: `${string}.ts` | undefined;
|
|
766
|
+
readonly prefix?: string | undefined;
|
|
767
|
+
readonly format?: FormatConfig | undefined;
|
|
768
|
+
readonly port?: string | undefined;
|
|
769
|
+
readonly pathAlias?: boolean | undefined;
|
|
770
|
+
readonly integration?: boolean | undefined;
|
|
771
|
+
readonly components?: {
|
|
772
|
+
readonly output?: `${string}.ts` | undefined;
|
|
773
|
+
readonly schemas?: {
|
|
774
|
+
readonly split: true;
|
|
775
|
+
readonly output: string;
|
|
776
|
+
readonly import?: string | undefined;
|
|
777
|
+
readonly exportTypes?: boolean | undefined;
|
|
778
|
+
} | {
|
|
779
|
+
readonly output: string;
|
|
780
|
+
readonly split?: false | undefined;
|
|
781
|
+
readonly import?: string | undefined;
|
|
782
|
+
readonly exportTypes?: boolean | undefined;
|
|
783
|
+
} | undefined;
|
|
784
|
+
readonly responses?: {
|
|
785
|
+
readonly split: true;
|
|
786
|
+
readonly output: string;
|
|
787
|
+
readonly import?: string | undefined;
|
|
788
|
+
readonly exportTypes?: boolean | undefined;
|
|
789
|
+
} | {
|
|
790
|
+
readonly output: string;
|
|
791
|
+
readonly split?: false | undefined;
|
|
792
|
+
readonly import?: string | undefined;
|
|
793
|
+
readonly exportTypes?: boolean | undefined;
|
|
794
|
+
} | undefined;
|
|
795
|
+
readonly parameters?: {
|
|
796
|
+
readonly split: true;
|
|
797
|
+
readonly output: string;
|
|
798
|
+
readonly import?: string | undefined;
|
|
799
|
+
readonly exportTypes?: boolean | undefined;
|
|
800
|
+
} | {
|
|
801
|
+
readonly output: string;
|
|
802
|
+
readonly split?: false | undefined;
|
|
803
|
+
readonly import?: string | undefined;
|
|
804
|
+
readonly exportTypes?: boolean | undefined;
|
|
805
|
+
} | undefined;
|
|
806
|
+
readonly examples?: {
|
|
807
|
+
readonly split: true;
|
|
808
|
+
readonly output: string;
|
|
809
|
+
readonly import?: string | undefined;
|
|
810
|
+
} | {
|
|
811
|
+
readonly output: string;
|
|
812
|
+
readonly split?: false | undefined;
|
|
813
|
+
readonly import?: string | undefined;
|
|
814
|
+
} | undefined;
|
|
815
|
+
readonly requestBodies?: {
|
|
816
|
+
readonly split: true;
|
|
817
|
+
readonly output: string;
|
|
818
|
+
readonly import?: string | undefined;
|
|
819
|
+
readonly exportTypes?: boolean | undefined;
|
|
820
|
+
} | {
|
|
821
|
+
readonly output: string;
|
|
822
|
+
readonly split?: false | undefined;
|
|
823
|
+
readonly import?: string | undefined;
|
|
824
|
+
readonly exportTypes?: boolean | undefined;
|
|
825
|
+
} | undefined;
|
|
826
|
+
readonly headers?: {
|
|
827
|
+
readonly split: true;
|
|
828
|
+
readonly output: string;
|
|
829
|
+
readonly import?: string | undefined;
|
|
830
|
+
readonly exportTypes?: boolean | undefined;
|
|
831
|
+
} | {
|
|
832
|
+
readonly output: string;
|
|
833
|
+
readonly split?: false | undefined;
|
|
834
|
+
readonly import?: string | undefined;
|
|
835
|
+
readonly exportTypes?: boolean | undefined;
|
|
836
|
+
} | undefined;
|
|
837
|
+
readonly securitySchemes?: {
|
|
838
|
+
readonly split: true;
|
|
839
|
+
readonly output: string;
|
|
840
|
+
readonly import?: string | undefined;
|
|
841
|
+
} | {
|
|
842
|
+
readonly output: string;
|
|
843
|
+
readonly split?: false | undefined;
|
|
844
|
+
readonly import?: string | undefined;
|
|
845
|
+
} | undefined;
|
|
846
|
+
readonly links?: {
|
|
847
|
+
readonly split: true;
|
|
848
|
+
readonly output: string;
|
|
849
|
+
readonly import?: string | undefined;
|
|
850
|
+
} | {
|
|
851
|
+
readonly output: string;
|
|
852
|
+
readonly split?: false | undefined;
|
|
853
|
+
readonly import?: string | undefined;
|
|
854
|
+
} | undefined;
|
|
855
|
+
readonly callbacks?: {
|
|
856
|
+
readonly split: true;
|
|
857
|
+
readonly output: string;
|
|
858
|
+
readonly import?: string | undefined;
|
|
859
|
+
} | {
|
|
860
|
+
readonly output: string;
|
|
861
|
+
readonly split?: false | undefined;
|
|
862
|
+
readonly import?: string | undefined;
|
|
863
|
+
} | undefined;
|
|
864
|
+
readonly pathItems?: {
|
|
865
|
+
readonly split: true;
|
|
866
|
+
readonly output: string;
|
|
867
|
+
readonly import?: string | undefined;
|
|
868
|
+
} | {
|
|
869
|
+
readonly output: string;
|
|
870
|
+
readonly split?: false | undefined;
|
|
871
|
+
readonly import?: string | undefined;
|
|
872
|
+
} | undefined;
|
|
873
|
+
readonly mediaTypes?: {
|
|
874
|
+
readonly split: true;
|
|
875
|
+
readonly output: string;
|
|
876
|
+
readonly import?: string | undefined;
|
|
877
|
+
readonly exportTypes?: boolean | undefined;
|
|
878
|
+
} | {
|
|
879
|
+
readonly output: string;
|
|
880
|
+
readonly split?: false | undefined;
|
|
881
|
+
readonly import?: string | undefined;
|
|
882
|
+
readonly exportTypes?: boolean | undefined;
|
|
883
|
+
} | undefined;
|
|
884
|
+
} | undefined;
|
|
885
|
+
readonly eden?: {
|
|
886
|
+
readonly output: string;
|
|
887
|
+
readonly import: string;
|
|
888
|
+
readonly client?: string | undefined;
|
|
889
|
+
readonly docs?: boolean | undefined;
|
|
890
|
+
} | undefined;
|
|
891
|
+
readonly types?: {
|
|
892
|
+
readonly output: `${string}.ts`;
|
|
893
|
+
} | undefined;
|
|
894
|
+
readonly test?: {
|
|
895
|
+
readonly split: true;
|
|
896
|
+
readonly pathAlias?: string | undefined;
|
|
897
|
+
} | {
|
|
898
|
+
readonly output: string;
|
|
899
|
+
readonly split?: false | undefined;
|
|
900
|
+
readonly pathAlias?: string | undefined;
|
|
901
|
+
} | undefined;
|
|
902
|
+
readonly mock?: {
|
|
903
|
+
readonly output: string;
|
|
904
|
+
readonly useExamples?: boolean | "all" | undefined;
|
|
905
|
+
readonly seed?: number | readonly [number, ...number[]] | undefined;
|
|
906
|
+
readonly locale?: string | undefined;
|
|
907
|
+
readonly delay?: number | false | {
|
|
908
|
+
readonly min: number;
|
|
909
|
+
readonly max: number;
|
|
910
|
+
} | undefined;
|
|
911
|
+
readonly arrayMin?: number | undefined;
|
|
912
|
+
readonly arrayMax?: number | undefined;
|
|
913
|
+
} | undefined;
|
|
914
|
+
readonly swr?: {
|
|
915
|
+
readonly split: true;
|
|
916
|
+
readonly output: string;
|
|
917
|
+
readonly import: string;
|
|
918
|
+
readonly client?: string | undefined;
|
|
919
|
+
} | {
|
|
920
|
+
readonly output: string;
|
|
921
|
+
readonly import: string;
|
|
922
|
+
readonly split?: false | undefined;
|
|
923
|
+
readonly client?: string | undefined;
|
|
924
|
+
} | undefined;
|
|
925
|
+
readonly 'tanstack-query'?: {
|
|
926
|
+
readonly split: true;
|
|
927
|
+
readonly output: string;
|
|
928
|
+
readonly import: string;
|
|
929
|
+
readonly client?: string | undefined;
|
|
930
|
+
} | {
|
|
931
|
+
readonly output: string;
|
|
932
|
+
readonly import: string;
|
|
933
|
+
readonly split?: false | undefined;
|
|
934
|
+
readonly client?: string | undefined;
|
|
935
|
+
} | undefined;
|
|
936
|
+
readonly 'preact-query'?: {
|
|
937
|
+
readonly split: true;
|
|
938
|
+
readonly output: string;
|
|
939
|
+
readonly import: string;
|
|
940
|
+
readonly client?: string | undefined;
|
|
941
|
+
} | {
|
|
942
|
+
readonly output: string;
|
|
943
|
+
readonly import: string;
|
|
944
|
+
readonly split?: false | undefined;
|
|
945
|
+
readonly client?: string | undefined;
|
|
946
|
+
} | undefined;
|
|
947
|
+
readonly 'solid-query'?: {
|
|
948
|
+
readonly split: true;
|
|
949
|
+
readonly output: string;
|
|
950
|
+
readonly import: string;
|
|
951
|
+
readonly client?: string | undefined;
|
|
952
|
+
} | {
|
|
953
|
+
readonly output: string;
|
|
954
|
+
readonly import: string;
|
|
955
|
+
readonly split?: false | undefined;
|
|
956
|
+
readonly client?: string | undefined;
|
|
957
|
+
} | undefined;
|
|
958
|
+
readonly 'vue-query'?: {
|
|
959
|
+
readonly split: true;
|
|
960
|
+
readonly output: string;
|
|
961
|
+
readonly import: string;
|
|
962
|
+
readonly client?: string | undefined;
|
|
963
|
+
} | {
|
|
964
|
+
readonly output: string;
|
|
965
|
+
readonly import: string;
|
|
966
|
+
readonly split?: false | undefined;
|
|
967
|
+
readonly client?: string | undefined;
|
|
968
|
+
} | undefined;
|
|
969
|
+
readonly 'svelte-query'?: {
|
|
970
|
+
readonly split: true;
|
|
971
|
+
readonly output: string;
|
|
972
|
+
readonly import: string;
|
|
973
|
+
readonly client?: string | undefined;
|
|
974
|
+
} | {
|
|
975
|
+
readonly output: string;
|
|
976
|
+
readonly import: string;
|
|
977
|
+
readonly split?: false | undefined;
|
|
978
|
+
readonly client?: string | undefined;
|
|
979
|
+
} | undefined;
|
|
980
|
+
readonly 'angular-query'?: {
|
|
981
|
+
readonly split: true;
|
|
982
|
+
readonly output: string;
|
|
983
|
+
readonly import: string;
|
|
984
|
+
readonly client?: string | undefined;
|
|
985
|
+
} | {
|
|
986
|
+
readonly output: string;
|
|
987
|
+
readonly import: string;
|
|
988
|
+
readonly split?: false | undefined;
|
|
989
|
+
readonly client?: string | undefined;
|
|
990
|
+
} | undefined;
|
|
991
|
+
};
|
|
992
|
+
//#endregion
|
|
993
|
+
export { Config, ConfigError, defineConfig, parseConfig, readConfig };
|