@emeryld/rrroutes-openapi 2.4.2 → 2.4.4

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.
@@ -30,13 +30,13 @@ export type PresetType = z.infer<typeof presetSchema>;
30
30
  declare const presetQuerySchema: z.ZodObject<{
31
31
  beforeDate: z.ZodOptional<z.ZodString>;
32
32
  afterDate: z.ZodOptional<z.ZodString>;
33
- orderBy: z.ZodDefault<z.ZodEnum<{
33
+ orderBy: z.ZodOptional<z.ZodEnum<{
34
34
  timestamp: "timestamp";
35
35
  duration: "duration";
36
36
  level: "level";
37
37
  path: "path";
38
38
  }>>;
39
- orderDirection: z.ZodDefault<z.ZodEnum<{
39
+ orderDirection: z.ZodOptional<z.ZodEnum<{
40
40
  asc: "asc";
41
41
  desc: "desc";
42
42
  }>>;
@@ -52,33 +52,205 @@ export type PresetsFilter = z.infer<typeof presetQuerySchema> & z.infer<typeof p
52
52
  export declare const presetLeaves: readonly [{
53
53
  readonly method: "get";
54
54
  readonly path: "presets";
55
- readonly cfg: Readonly<{
56
- description?: string | undefined;
57
- tags?: string[] | undefined;
55
+ readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<C, "queryExtensionSchema" | "outputMetaSchema"> & {
56
+ queryExtensionSchema: C["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["queryExtensionSchema"] : undefined;
57
+ outputMetaSchema: C["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["outputMetaSchema"] : undefined;
58
+ }> extends infer WithDefaults extends import("@emeryld/rrroutes-contract").MethodCfg ? import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, Exclude<keyof WithDefaults, "querySchema" | "outputSchema" | "feed">> & Omit<WithDefaults, "querySchema" | "outputSchema" | "feed">> & (WithDefaults["feed"] extends true ? (WithDefaults["feed"] extends true ? {
59
+ feed: true;
60
+ } : {
61
+ feed?: boolean;
62
+ }) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
63
+ paramsSchema: WithDefaults["paramsSchema"];
64
+ } : {
65
+ paramsSchema: undefined;
66
+ }) : (WithDefaults["feed"] extends true ? {
67
+ feed: true;
68
+ } : {
69
+ feed?: boolean;
70
+ }) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
71
+ querySchema: WithDefaults["querySchema"];
72
+ } : {
73
+ querySchema?: undefined;
74
+ }) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
75
+ paramsSchema: WithDefaults["paramsSchema"];
76
+ } : {
77
+ paramsSchema: undefined;
78
+ }))> : never), "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema">> & import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, "queryExtensionSchema" | "outputMetaSchema"> & Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
79
+ feed: true;
80
+ querySchema: z.ZodObject<{
81
+ beforeDate: z.ZodOptional<z.ZodString>;
82
+ afterDate: z.ZodOptional<z.ZodString>;
83
+ orderBy: z.ZodOptional<z.ZodEnum<{
84
+ timestamp: "timestamp";
85
+ duration: "duration";
86
+ level: "level";
87
+ path: "path";
88
+ }>>;
89
+ orderDirection: z.ZodOptional<z.ZodEnum<{
90
+ asc: "asc";
91
+ desc: "desc";
92
+ }>>;
93
+ searchQuery: z.ZodOptional<z.ZodString>;
94
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
95
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
96
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
97
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
98
+ nameInclude: z.ZodOptional<z.ZodString>;
99
+ nameExclude: z.ZodOptional<z.ZodString>;
100
+ }, z.core.$strip>;
101
+ outputMetaSchema: z.ZodObject<{
102
+ totalCount: z.ZodOptional<z.ZodNumber>;
103
+ nextCursor: z.ZodOptional<z.ZodString>;
104
+ }, z.core.$strip>;
105
+ outputSchema: z.ZodArray<z.ZodObject<{
106
+ id: z.ZodString;
107
+ name: z.ZodString;
108
+ description: z.ZodOptional<z.ZodString>;
109
+ groupId: z.ZodOptional<z.ZodString>;
110
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
111
+ createdAt: z.ZodNumber;
112
+ updatedAt: z.ZodNumber;
113
+ operations: z.ZodArray<z.ZodObject<{
114
+ name: z.ZodString;
115
+ description: z.ZodOptional<z.ZodString>;
116
+ stepNumber: z.ZodNumber;
117
+ endpointId: z.ZodOptional<z.ZodString>;
118
+ method: z.ZodEnum<{
119
+ get: "get";
120
+ post: "post";
121
+ put: "put";
122
+ patch: "patch";
123
+ delete: "delete";
124
+ }>;
125
+ path: z.ZodString;
126
+ body: z.ZodOptional<z.ZodJSONSchema>;
127
+ extraHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
128
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
129
+ }, z.core.$strip>>;
130
+ }, z.core.$strip>>;
58
131
  queryExtensionSchema: z.ZodObject<{
59
132
  cursor: z.ZodOptional<z.ZodString>;
60
133
  pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
61
- }, z.core.$strip> & import("@emeryld/rrroutes-contract").RouteSchema<{
62
- cursor?: string | undefined;
63
- pageSize?: number | undefined;
64
- }, {
65
- cursor?: string | undefined;
66
- pageSize?: unknown;
67
- }>;
68
- bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
134
+ }, z.core.$strip>;
135
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
136
+ queryExtensionSchema: z.ZodObject<{
137
+ cursor: z.ZodOptional<z.ZodString>;
138
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
139
+ }, z.core.$strip>;
140
+ outputMetaSchema: z.ZodObject<{
141
+ totalCount: z.ZodOptional<z.ZodNumber>;
142
+ nextCursor: z.ZodOptional<z.ZodString>;
143
+ }, z.core.$strip>;
144
+ }>, "querySchema" | "outputSchema" | "feed">> & {
69
145
  feed: true;
70
- summary?: string | undefined;
71
- docsGroup?: string | undefined;
72
- deprecated?: boolean | undefined;
73
- stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
74
- docsHidden?: boolean | undefined;
75
- docsMeta?: Record<string, unknown> | undefined;
146
+ } & import("@emeryld/rrroutes-contract").FeedQueryField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
147
+ feed: true;
148
+ querySchema: z.ZodObject<{
149
+ beforeDate: z.ZodOptional<z.ZodString>;
150
+ afterDate: z.ZodOptional<z.ZodString>;
151
+ orderBy: z.ZodOptional<z.ZodEnum<{
152
+ timestamp: "timestamp";
153
+ duration: "duration";
154
+ level: "level";
155
+ path: "path";
156
+ }>>;
157
+ orderDirection: z.ZodOptional<z.ZodEnum<{
158
+ asc: "asc";
159
+ desc: "desc";
160
+ }>>;
161
+ searchQuery: z.ZodOptional<z.ZodString>;
162
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
163
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
164
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
165
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
166
+ nameInclude: z.ZodOptional<z.ZodString>;
167
+ nameExclude: z.ZodOptional<z.ZodString>;
168
+ }, z.core.$strip>;
169
+ outputMetaSchema: z.ZodObject<{
170
+ totalCount: z.ZodOptional<z.ZodNumber>;
171
+ nextCursor: z.ZodOptional<z.ZodString>;
172
+ }, z.core.$strip>;
173
+ outputSchema: z.ZodArray<z.ZodObject<{
174
+ id: z.ZodString;
175
+ name: z.ZodString;
176
+ description: z.ZodOptional<z.ZodString>;
177
+ groupId: z.ZodOptional<z.ZodString>;
178
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
179
+ createdAt: z.ZodNumber;
180
+ updatedAt: z.ZodNumber;
181
+ operations: z.ZodArray<z.ZodObject<{
182
+ name: z.ZodString;
183
+ description: z.ZodOptional<z.ZodString>;
184
+ stepNumber: z.ZodNumber;
185
+ endpointId: z.ZodOptional<z.ZodString>;
186
+ method: z.ZodEnum<{
187
+ get: "get";
188
+ post: "post";
189
+ put: "put";
190
+ patch: "patch";
191
+ delete: "delete";
192
+ }>;
193
+ path: z.ZodString;
194
+ body: z.ZodOptional<z.ZodJSONSchema>;
195
+ extraHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
196
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
197
+ }, z.core.$strip>>;
198
+ }, z.core.$strip>>;
199
+ queryExtensionSchema: z.ZodObject<{
200
+ cursor: z.ZodOptional<z.ZodString>;
201
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
202
+ }, z.core.$strip>;
203
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
204
+ queryExtensionSchema: z.ZodObject<{
205
+ cursor: z.ZodOptional<z.ZodString>;
206
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
207
+ }, z.core.$strip>;
208
+ outputMetaSchema: z.ZodObject<{
209
+ totalCount: z.ZodOptional<z.ZodNumber>;
210
+ nextCursor: z.ZodOptional<z.ZodString>;
211
+ }, z.core.$strip>;
212
+ }>> & {
213
+ outputSchema: z.ZodObject<{
214
+ out: z.ZodArray<z.ZodObject<{
215
+ id: z.ZodString;
216
+ name: z.ZodString;
217
+ description: z.ZodOptional<z.ZodString>;
218
+ groupId: z.ZodOptional<z.ZodString>;
219
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
220
+ createdAt: z.ZodNumber;
221
+ updatedAt: z.ZodNumber;
222
+ operations: z.ZodArray<z.ZodObject<{
223
+ name: z.ZodString;
224
+ description: z.ZodOptional<z.ZodString>;
225
+ stepNumber: z.ZodNumber;
226
+ endpointId: z.ZodOptional<z.ZodString>;
227
+ method: z.ZodEnum<{
228
+ get: "get";
229
+ post: "post";
230
+ put: "put";
231
+ patch: "patch";
232
+ delete: "delete";
233
+ }>;
234
+ path: z.ZodString;
235
+ body: z.ZodOptional<z.ZodJSONSchema>;
236
+ extraHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
237
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
238
+ }, z.core.$strip>>;
239
+ }, z.core.$strip>>;
240
+ meta: z.ZodObject<{
241
+ totalCount: z.ZodOptional<z.ZodNumber>;
242
+ nextCursor: z.ZodOptional<z.ZodString>;
243
+ }, z.core.$strip>;
244
+ }, z.core.$strip>;
245
+ } & {
246
+ paramsSchema: undefined;
247
+ }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
76
248
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
77
249
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
78
- orderBy: "timestamp" | "duration" | "level" | "path";
79
- orderDirection: "asc" | "desc";
80
250
  beforeDate?: string | undefined;
81
251
  afterDate?: string | undefined;
252
+ orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
253
+ orderDirection?: "asc" | "desc" | undefined;
82
254
  searchQuery?: string | undefined;
83
255
  groupsInclude?: string[] | undefined;
84
256
  groupsExclude?: string[] | undefined;
@@ -164,22 +336,145 @@ export declare const presetLeaves: readonly [{
164
336
  totalCount?: number | undefined;
165
337
  nextCursor?: string | undefined;
166
338
  }>;
167
- }>;
339
+ queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
340
+ cursor?: string | undefined;
341
+ pageSize?: number | undefined;
342
+ }, {
343
+ cursor?: string | undefined;
344
+ pageSize?: unknown;
345
+ }>;
346
+ }>>>;
168
347
  }, {
169
348
  readonly method: "post";
170
349
  readonly path: "presets";
171
- readonly cfg: Readonly<{
172
- description?: string | undefined;
173
- tags?: string[] | undefined;
350
+ readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
351
+ feed: false;
352
+ }>, "queryExtensionSchema" | "outputMetaSchema"> & {
353
+ queryExtensionSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
354
+ feed: false;
355
+ }>["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
356
+ feed: false;
357
+ }>["queryExtensionSchema"] : undefined;
358
+ outputMetaSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
359
+ feed: false;
360
+ }>["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
361
+ feed: false;
362
+ }>["outputMetaSchema"] : undefined;
363
+ }> extends infer WithDefaults extends import("@emeryld/rrroutes-contract").MethodCfg ? import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, Exclude<keyof WithDefaults, "querySchema" | "outputSchema" | "feed">> & Omit<WithDefaults, "querySchema" | "outputSchema" | "feed">> & (WithDefaults["feed"] extends true ? (WithDefaults["feed"] extends true ? {
364
+ feed: true;
365
+ } : {
366
+ feed?: boolean;
367
+ }) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
368
+ paramsSchema: WithDefaults["paramsSchema"];
369
+ } : {
370
+ paramsSchema: undefined;
371
+ }) : (WithDefaults["feed"] extends true ? {
372
+ feed: true;
373
+ } : {
374
+ feed?: boolean;
375
+ }) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
376
+ querySchema: WithDefaults["querySchema"];
377
+ } : {
378
+ querySchema?: undefined;
379
+ }) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
380
+ paramsSchema: WithDefaults["paramsSchema"];
381
+ } : {
382
+ paramsSchema: undefined;
383
+ }))> : never), "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema">> & import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema"> & Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
384
+ bodySchema: z.ZodObject<{
385
+ id: z.ZodString;
386
+ name: z.ZodString;
387
+ description: z.ZodOptional<z.ZodString>;
388
+ groupId: z.ZodOptional<z.ZodString>;
389
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
390
+ createdAt: z.ZodNumber;
391
+ updatedAt: z.ZodNumber;
392
+ operations: z.ZodArray<z.ZodObject<{
393
+ name: z.ZodString;
394
+ description: z.ZodOptional<z.ZodString>;
395
+ stepNumber: z.ZodNumber;
396
+ endpointId: z.ZodOptional<z.ZodString>;
397
+ method: z.ZodEnum<{
398
+ get: "get";
399
+ post: "post";
400
+ put: "put";
401
+ patch: "patch";
402
+ delete: "delete";
403
+ }>;
404
+ path: z.ZodString;
405
+ body: z.ZodOptional<z.ZodJSONSchema>;
406
+ extraHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
407
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
408
+ }, z.core.$strip>>;
409
+ }, z.core.$strip>;
410
+ outputSchema: z.ZodObject<{
411
+ id: z.ZodString;
412
+ name: z.ZodString;
413
+ description: z.ZodOptional<z.ZodString>;
414
+ groupId: z.ZodOptional<z.ZodString>;
415
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
416
+ createdAt: z.ZodNumber;
417
+ updatedAt: z.ZodNumber;
418
+ operations: z.ZodArray<z.ZodObject<{
419
+ name: z.ZodString;
420
+ description: z.ZodOptional<z.ZodString>;
421
+ stepNumber: z.ZodNumber;
422
+ endpointId: z.ZodOptional<z.ZodString>;
423
+ method: z.ZodEnum<{
424
+ get: "get";
425
+ post: "post";
426
+ put: "put";
427
+ patch: "patch";
428
+ delete: "delete";
429
+ }>;
430
+ path: z.ZodString;
431
+ body: z.ZodOptional<z.ZodJSONSchema>;
432
+ extraHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
433
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
434
+ }, z.core.$strip>>;
435
+ }, z.core.$strip>;
436
+ }, "feed"> & {
437
+ feed: false;
438
+ }>, "queryExtensionSchema" | "outputMetaSchema"> & {
174
439
  queryExtensionSchema: undefined;
175
- bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
176
- feed?: boolean | undefined;
177
- summary?: string | undefined;
178
- docsGroup?: string | undefined;
179
- deprecated?: boolean | undefined;
180
- stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
181
- docsHidden?: boolean | undefined;
182
- docsMeta?: Record<string, unknown> | undefined;
440
+ outputMetaSchema: undefined;
441
+ }>, "querySchema" | "outputSchema" | "feed">> & {
442
+ feed?: boolean;
443
+ } & {
444
+ querySchema?: undefined;
445
+ } & {
446
+ outputSchema: z.ZodObject<{
447
+ out: z.ZodObject<{
448
+ id: z.ZodString;
449
+ name: z.ZodString;
450
+ description: z.ZodOptional<z.ZodString>;
451
+ groupId: z.ZodOptional<z.ZodString>;
452
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
453
+ createdAt: z.ZodNumber;
454
+ updatedAt: z.ZodNumber;
455
+ operations: z.ZodArray<z.ZodObject<{
456
+ name: z.ZodString;
457
+ description: z.ZodOptional<z.ZodString>;
458
+ stepNumber: z.ZodNumber;
459
+ endpointId: z.ZodOptional<z.ZodString>;
460
+ method: z.ZodEnum<{
461
+ get: "get";
462
+ post: "post";
463
+ put: "put";
464
+ patch: "patch";
465
+ delete: "delete";
466
+ }>;
467
+ path: z.ZodString;
468
+ body: z.ZodOptional<z.ZodJSONSchema>;
469
+ extraHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
470
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
471
+ }, z.core.$strip>>;
472
+ }, z.core.$strip>;
473
+ meta: z.ZodOptional<z.ZodString>;
474
+ }, z.core.$strip>;
475
+ } & {
476
+ paramsSchema: undefined;
477
+ }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
183
478
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
184
479
  id: string;
185
480
  name: string;
@@ -267,22 +562,139 @@ export declare const presetLeaves: readonly [{
267
562
  meta?: string | undefined;
268
563
  }>;
269
564
  outputMetaSchema: undefined;
270
- }>;
565
+ queryExtensionSchema: undefined;
566
+ }>>>;
271
567
  }, {
272
568
  readonly method: "put";
273
569
  readonly path: "presets";
274
- readonly cfg: Readonly<{
275
- description?: string | undefined;
276
- tags?: string[] | undefined;
570
+ readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "feed"> & {
571
+ feed: false;
572
+ }>, "queryExtensionSchema" | "outputMetaSchema"> & {
573
+ queryExtensionSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "feed"> & {
574
+ feed: false;
575
+ }>["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "feed"> & {
576
+ feed: false;
577
+ }>["queryExtensionSchema"] : undefined;
578
+ outputMetaSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "feed"> & {
579
+ feed: false;
580
+ }>["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "feed"> & {
581
+ feed: false;
582
+ }>["outputMetaSchema"] : undefined;
583
+ }> extends infer WithDefaults extends import("@emeryld/rrroutes-contract").MethodCfg ? import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, Exclude<keyof WithDefaults, "querySchema" | "outputSchema" | "feed">> & Omit<WithDefaults, "querySchema" | "outputSchema" | "feed">> & (WithDefaults["feed"] extends true ? (WithDefaults["feed"] extends true ? {
584
+ feed: true;
585
+ } : {
586
+ feed?: boolean;
587
+ }) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
588
+ paramsSchema: WithDefaults["paramsSchema"];
589
+ } : {
590
+ paramsSchema: undefined;
591
+ }) : (WithDefaults["feed"] extends true ? {
592
+ feed: true;
593
+ } : {
594
+ feed?: boolean;
595
+ }) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
596
+ querySchema: WithDefaults["querySchema"];
597
+ } : {
598
+ querySchema?: undefined;
599
+ }) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
600
+ paramsSchema: WithDefaults["paramsSchema"];
601
+ } : {
602
+ paramsSchema: undefined;
603
+ }))> : never), "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema">> & import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema"> & Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
604
+ bodySchema: z.ZodObject<{
605
+ id: z.ZodString;
606
+ name: z.ZodString;
607
+ description: z.ZodOptional<z.ZodString>;
608
+ groupId: z.ZodOptional<z.ZodString>;
609
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
610
+ createdAt: z.ZodNumber;
611
+ updatedAt: z.ZodNumber;
612
+ operations: z.ZodArray<z.ZodObject<{
613
+ name: z.ZodString;
614
+ description: z.ZodOptional<z.ZodString>;
615
+ stepNumber: z.ZodNumber;
616
+ endpointId: z.ZodOptional<z.ZodString>;
617
+ method: z.ZodEnum<{
618
+ get: "get";
619
+ post: "post";
620
+ put: "put";
621
+ patch: "patch";
622
+ delete: "delete";
623
+ }>;
624
+ path: z.ZodString;
625
+ body: z.ZodOptional<z.ZodJSONSchema>;
626
+ extraHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
627
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
628
+ }, z.core.$strip>>;
629
+ }, z.core.$strip>;
630
+ outputSchema: z.ZodObject<{
631
+ id: z.ZodString;
632
+ name: z.ZodString;
633
+ description: z.ZodOptional<z.ZodString>;
634
+ groupId: z.ZodOptional<z.ZodString>;
635
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
636
+ createdAt: z.ZodNumber;
637
+ updatedAt: z.ZodNumber;
638
+ operations: z.ZodArray<z.ZodObject<{
639
+ name: z.ZodString;
640
+ description: z.ZodOptional<z.ZodString>;
641
+ stepNumber: z.ZodNumber;
642
+ endpointId: z.ZodOptional<z.ZodString>;
643
+ method: z.ZodEnum<{
644
+ get: "get";
645
+ post: "post";
646
+ put: "put";
647
+ patch: "patch";
648
+ delete: "delete";
649
+ }>;
650
+ path: z.ZodString;
651
+ body: z.ZodOptional<z.ZodJSONSchema>;
652
+ extraHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
653
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
654
+ }, z.core.$strip>>;
655
+ }, z.core.$strip>;
656
+ }, "feed"> & {
657
+ feed: false;
658
+ }>, "queryExtensionSchema" | "outputMetaSchema"> & {
277
659
  queryExtensionSchema: undefined;
278
- bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
279
- feed?: boolean | undefined;
280
- summary?: string | undefined;
281
- docsGroup?: string | undefined;
282
- deprecated?: boolean | undefined;
283
- stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
284
- docsHidden?: boolean | undefined;
285
- docsMeta?: Record<string, unknown> | undefined;
660
+ outputMetaSchema: undefined;
661
+ }>, "querySchema" | "outputSchema" | "feed">> & {
662
+ feed?: boolean;
663
+ } & {
664
+ querySchema?: undefined;
665
+ } & {
666
+ outputSchema: z.ZodObject<{
667
+ out: z.ZodObject<{
668
+ id: z.ZodString;
669
+ name: z.ZodString;
670
+ description: z.ZodOptional<z.ZodString>;
671
+ groupId: z.ZodOptional<z.ZodString>;
672
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
673
+ createdAt: z.ZodNumber;
674
+ updatedAt: z.ZodNumber;
675
+ operations: z.ZodArray<z.ZodObject<{
676
+ name: z.ZodString;
677
+ description: z.ZodOptional<z.ZodString>;
678
+ stepNumber: z.ZodNumber;
679
+ endpointId: z.ZodOptional<z.ZodString>;
680
+ method: z.ZodEnum<{
681
+ get: "get";
682
+ post: "post";
683
+ put: "put";
684
+ patch: "patch";
685
+ delete: "delete";
686
+ }>;
687
+ path: z.ZodString;
688
+ body: z.ZodOptional<z.ZodJSONSchema>;
689
+ extraHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
690
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
691
+ }, z.core.$strip>>;
692
+ }, z.core.$strip>;
693
+ meta: z.ZodOptional<z.ZodString>;
694
+ }, z.core.$strip>;
695
+ } & {
696
+ paramsSchema: undefined;
697
+ }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
286
698
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
287
699
  id: string;
288
700
  name: string;
@@ -370,6 +782,7 @@ export declare const presetLeaves: readonly [{
370
782
  meta?: string | undefined;
371
783
  }>;
372
784
  outputMetaSchema: undefined;
373
- }>;
785
+ queryExtensionSchema: undefined;
786
+ }>>>;
374
787
  }];
375
788
  export {};