@emeryld/rrroutes-openapi 2.4.3 → 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.
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -2
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.js +103 -102
- package/dist/web/v2/components/feeds/FeedPagination.d.ts +2 -1
- package/dist/web/v2/components/history/RequestDetailContent.d.ts +11 -0
- package/dist/web/v2/components/history/RequestTimeline.d.ts +8 -0
- package/dist/web/v2/components/logs/CacheSummaryTable.d.ts +3 -2
- package/dist/web/v2/components/logs/CacheTagInsights.d.ts +16 -0
- package/dist/web/v2/components/logs/CacheValueDialog.d.ts +7 -0
- package/dist/web/v2/components/primitives/DetailModal.d.ts +2 -1
- package/dist/web/v2/types/types.cacheLog.d.ts +373 -74
- package/dist/web/v2/types/types.d.ts +10 -7
- package/dist/web/v2/types/types.endpoint.d.ts +593 -139
- package/dist/web/v2/types/types.log.d.ts +194 -18
- package/dist/web/v2/types/types.preset.d.ts +455 -42
- package/dist/web/v2/types/types.requestLog.d.ts +510 -120
- package/package.json +4 -4
|
@@ -71,27 +71,239 @@ export type HistoryFilter = z.infer<typeof requestQuerySchema> & z.infer<typeof
|
|
|
71
71
|
export declare const requestLogLeaves: readonly [{
|
|
72
72
|
readonly method: "get";
|
|
73
73
|
readonly path: "requests";
|
|
74
|
-
readonly cfg: Readonly<{
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
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"> & {
|
|
75
|
+
queryExtensionSchema: C["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["queryExtensionSchema"] : undefined;
|
|
76
|
+
outputMetaSchema: C["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["outputMetaSchema"] : undefined;
|
|
77
|
+
}> 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 ? {
|
|
78
|
+
feed: true;
|
|
79
|
+
} : {
|
|
80
|
+
feed?: boolean;
|
|
81
|
+
}) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
82
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
83
|
+
} : {
|
|
84
|
+
paramsSchema: undefined;
|
|
85
|
+
}) : (WithDefaults["feed"] extends true ? {
|
|
86
|
+
feed: true;
|
|
87
|
+
} : {
|
|
88
|
+
feed?: boolean;
|
|
89
|
+
}) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
90
|
+
querySchema: WithDefaults["querySchema"];
|
|
91
|
+
} : {
|
|
92
|
+
querySchema?: undefined;
|
|
93
|
+
}) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
94
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
95
|
+
} : {
|
|
96
|
+
paramsSchema: undefined;
|
|
97
|
+
}))> : 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<{
|
|
98
|
+
feed: true;
|
|
99
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
100
|
+
id: z.ZodString;
|
|
101
|
+
name: z.ZodString;
|
|
102
|
+
description: z.ZodOptional<z.ZodString>;
|
|
103
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
104
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
105
|
+
createdAt: z.ZodNumber;
|
|
106
|
+
updatedAt: z.ZodNumber;
|
|
107
|
+
status: z.ZodNumber;
|
|
108
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
109
|
+
fullUrl: z.ZodString;
|
|
110
|
+
path: z.ZodString;
|
|
111
|
+
method: z.ZodEnum<{
|
|
112
|
+
get: "get";
|
|
113
|
+
post: "post";
|
|
114
|
+
put: "put";
|
|
115
|
+
patch: "patch";
|
|
116
|
+
delete: "delete";
|
|
117
|
+
}>;
|
|
118
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
119
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
120
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
121
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
122
|
+
error: z.ZodOptional<z.ZodString>;
|
|
123
|
+
durationMs: z.ZodNumber;
|
|
124
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
125
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
querySchema: z.ZodObject<{
|
|
128
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
129
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
130
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
131
|
+
timestamp: "timestamp";
|
|
132
|
+
duration: "duration";
|
|
133
|
+
level: "level";
|
|
134
|
+
path: "path";
|
|
135
|
+
}>>;
|
|
136
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
137
|
+
asc: "asc";
|
|
138
|
+
desc: "desc";
|
|
139
|
+
}>>;
|
|
140
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
141
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
142
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
143
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
145
|
+
methodsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
146
|
+
get: "get";
|
|
147
|
+
post: "post";
|
|
148
|
+
put: "put";
|
|
149
|
+
patch: "patch";
|
|
150
|
+
delete: "delete";
|
|
151
|
+
}>>>;
|
|
152
|
+
methodsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
153
|
+
get: "get";
|
|
154
|
+
post: "post";
|
|
155
|
+
put: "put";
|
|
156
|
+
patch: "patch";
|
|
157
|
+
delete: "delete";
|
|
158
|
+
}>>>;
|
|
159
|
+
statusesInclude: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
|
|
160
|
+
statusesExclude: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
|
|
161
|
+
path: z.ZodOptional<z.ZodString>;
|
|
162
|
+
endpointKeysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
163
|
+
endpointKeysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
outputMetaSchema: z.ZodObject<{
|
|
166
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
167
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
168
|
+
}, z.core.$strip>;
|
|
77
169
|
queryExtensionSchema: z.ZodObject<{
|
|
78
170
|
cursor: z.ZodOptional<z.ZodString>;
|
|
79
171
|
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
80
|
-
}, z.core.$strip
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
174
|
+
queryExtensionSchema: z.ZodObject<{
|
|
175
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
176
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
177
|
+
}, z.core.$strip>;
|
|
178
|
+
outputMetaSchema: z.ZodObject<{
|
|
179
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
180
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
181
|
+
}, z.core.$strip>;
|
|
182
|
+
}>, "querySchema" | "outputSchema" | "feed">> & {
|
|
183
|
+
feed: true;
|
|
184
|
+
} & import("@emeryld/rrroutes-contract").FeedQueryField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
88
185
|
feed: true;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
186
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
187
|
+
id: z.ZodString;
|
|
188
|
+
name: z.ZodString;
|
|
189
|
+
description: z.ZodOptional<z.ZodString>;
|
|
190
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
191
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
192
|
+
createdAt: z.ZodNumber;
|
|
193
|
+
updatedAt: z.ZodNumber;
|
|
194
|
+
status: z.ZodNumber;
|
|
195
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
196
|
+
fullUrl: z.ZodString;
|
|
197
|
+
path: z.ZodString;
|
|
198
|
+
method: z.ZodEnum<{
|
|
199
|
+
get: "get";
|
|
200
|
+
post: "post";
|
|
201
|
+
put: "put";
|
|
202
|
+
patch: "patch";
|
|
203
|
+
delete: "delete";
|
|
204
|
+
}>;
|
|
205
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
206
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
207
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
208
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
209
|
+
error: z.ZodOptional<z.ZodString>;
|
|
210
|
+
durationMs: z.ZodNumber;
|
|
211
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
212
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, z.core.$strip>>;
|
|
214
|
+
querySchema: z.ZodObject<{
|
|
215
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
216
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
217
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
218
|
+
timestamp: "timestamp";
|
|
219
|
+
duration: "duration";
|
|
220
|
+
level: "level";
|
|
221
|
+
path: "path";
|
|
222
|
+
}>>;
|
|
223
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
224
|
+
asc: "asc";
|
|
225
|
+
desc: "desc";
|
|
226
|
+
}>>;
|
|
227
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
228
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
229
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
230
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
231
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
232
|
+
methodsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
233
|
+
get: "get";
|
|
234
|
+
post: "post";
|
|
235
|
+
put: "put";
|
|
236
|
+
patch: "patch";
|
|
237
|
+
delete: "delete";
|
|
238
|
+
}>>>;
|
|
239
|
+
methodsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
240
|
+
get: "get";
|
|
241
|
+
post: "post";
|
|
242
|
+
put: "put";
|
|
243
|
+
patch: "patch";
|
|
244
|
+
delete: "delete";
|
|
245
|
+
}>>>;
|
|
246
|
+
statusesInclude: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
|
|
247
|
+
statusesExclude: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
|
|
248
|
+
path: z.ZodOptional<z.ZodString>;
|
|
249
|
+
endpointKeysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
250
|
+
endpointKeysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
251
|
+
}, z.core.$strip>;
|
|
252
|
+
outputMetaSchema: z.ZodObject<{
|
|
253
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
254
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
255
|
+
}, z.core.$strip>;
|
|
256
|
+
queryExtensionSchema: z.ZodObject<{
|
|
257
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
258
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
259
|
+
}, z.core.$strip>;
|
|
260
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
261
|
+
queryExtensionSchema: z.ZodObject<{
|
|
262
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
263
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
264
|
+
}, z.core.$strip>;
|
|
265
|
+
outputMetaSchema: z.ZodObject<{
|
|
266
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
267
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
268
|
+
}, z.core.$strip>;
|
|
269
|
+
}>> & {
|
|
270
|
+
outputSchema: z.ZodObject<{
|
|
271
|
+
out: z.ZodArray<z.ZodObject<{
|
|
272
|
+
id: z.ZodString;
|
|
273
|
+
name: z.ZodString;
|
|
274
|
+
description: z.ZodOptional<z.ZodString>;
|
|
275
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
276
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
277
|
+
createdAt: z.ZodNumber;
|
|
278
|
+
updatedAt: z.ZodNumber;
|
|
279
|
+
status: z.ZodNumber;
|
|
280
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
281
|
+
fullUrl: z.ZodString;
|
|
282
|
+
path: z.ZodString;
|
|
283
|
+
method: z.ZodEnum<{
|
|
284
|
+
get: "get";
|
|
285
|
+
post: "post";
|
|
286
|
+
put: "put";
|
|
287
|
+
patch: "patch";
|
|
288
|
+
delete: "delete";
|
|
289
|
+
}>;
|
|
290
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
291
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
292
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
293
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
294
|
+
error: z.ZodOptional<z.ZodString>;
|
|
295
|
+
durationMs: z.ZodNumber;
|
|
296
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
297
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
298
|
+
}, z.core.$strip>>;
|
|
299
|
+
meta: z.ZodObject<{
|
|
300
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
301
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
302
|
+
}, z.core.$strip>;
|
|
303
|
+
}, z.core.$strip>;
|
|
304
|
+
} & {
|
|
305
|
+
paramsSchema: undefined;
|
|
306
|
+
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
95
307
|
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
96
308
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
97
309
|
beforeDate?: string | undefined;
|
|
@@ -197,120 +409,298 @@ export declare const requestLogLeaves: readonly [{
|
|
|
197
409
|
totalCount?: number | undefined;
|
|
198
410
|
nextCursor?: string | undefined;
|
|
199
411
|
}>;
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
description
|
|
243
|
-
groupId
|
|
244
|
-
tags
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
logs: {
|
|
412
|
+
queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
413
|
+
cursor?: string | undefined;
|
|
414
|
+
pageSize?: number | undefined;
|
|
415
|
+
}, {
|
|
416
|
+
cursor?: string | undefined;
|
|
417
|
+
pageSize?: unknown;
|
|
418
|
+
}>;
|
|
419
|
+
}>>>;
|
|
420
|
+
}, {
|
|
421
|
+
readonly method: "get";
|
|
422
|
+
readonly path: "requests/:requestId";
|
|
423
|
+
readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
424
|
+
queryExtensionSchema: C_1["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_1["queryExtensionSchema"] : z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
425
|
+
outputMetaSchema: C_1["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_1["outputMetaSchema"] : z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
426
|
+
}> 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 ? {
|
|
427
|
+
feed: true;
|
|
428
|
+
} : {
|
|
429
|
+
feed?: boolean;
|
|
430
|
+
}) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
431
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
432
|
+
} : {
|
|
433
|
+
paramsSchema: z.ZodObject<{
|
|
434
|
+
requestId: z.ZodString;
|
|
435
|
+
}, z.core.$strip>;
|
|
436
|
+
}) : (WithDefaults["feed"] extends true ? {
|
|
437
|
+
feed: true;
|
|
438
|
+
} : {
|
|
439
|
+
feed?: boolean;
|
|
440
|
+
}) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
441
|
+
querySchema: WithDefaults["querySchema"];
|
|
442
|
+
} : {
|
|
443
|
+
querySchema?: undefined;
|
|
444
|
+
}) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
445
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
446
|
+
} : {
|
|
447
|
+
paramsSchema: z.ZodObject<{
|
|
448
|
+
requestId: z.ZodString;
|
|
449
|
+
}, z.core.$strip>;
|
|
450
|
+
}))> : 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<{
|
|
451
|
+
outputSchema: z.ZodObject<{
|
|
452
|
+
id: z.ZodString;
|
|
453
|
+
name: z.ZodString;
|
|
454
|
+
description: z.ZodOptional<z.ZodString>;
|
|
455
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
456
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
457
|
+
createdAt: z.ZodNumber;
|
|
458
|
+
updatedAt: z.ZodNumber;
|
|
459
|
+
status: z.ZodNumber;
|
|
460
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
461
|
+
fullUrl: z.ZodString;
|
|
462
|
+
path: z.ZodString;
|
|
463
|
+
method: z.ZodEnum<{
|
|
464
|
+
get: "get";
|
|
465
|
+
post: "post";
|
|
466
|
+
put: "put";
|
|
467
|
+
patch: "patch";
|
|
468
|
+
delete: "delete";
|
|
469
|
+
}>;
|
|
470
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
471
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
472
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
473
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
474
|
+
error: z.ZodOptional<z.ZodString>;
|
|
475
|
+
durationMs: z.ZodNumber;
|
|
476
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
477
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
478
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
479
|
+
id: z.ZodString;
|
|
480
|
+
name: z.ZodString;
|
|
481
|
+
description: z.ZodOptional<z.ZodString>;
|
|
482
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
483
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
484
|
+
createdAt: z.ZodNumber;
|
|
485
|
+
updatedAt: z.ZodNumber;
|
|
486
|
+
level: z.ZodEnum<{
|
|
487
|
+
error: "error";
|
|
488
|
+
info: "info";
|
|
489
|
+
warning: "warning";
|
|
490
|
+
debug: "debug";
|
|
491
|
+
trace: "trace";
|
|
492
|
+
}>;
|
|
493
|
+
meta: z.ZodOptional<z.ZodAny>;
|
|
494
|
+
}, z.core.$strip>>;
|
|
495
|
+
caches: z.ZodArray<z.ZodObject<{
|
|
496
|
+
id: z.ZodString;
|
|
497
|
+
name: z.ZodString;
|
|
498
|
+
description: z.ZodOptional<z.ZodString>;
|
|
499
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
500
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
501
|
+
createdAt: z.ZodNumber;
|
|
502
|
+
updatedAt: z.ZodNumber;
|
|
503
|
+
operation: z.ZodEnum<{
|
|
504
|
+
delete: "delete";
|
|
505
|
+
hit: "hit";
|
|
506
|
+
miss: "miss";
|
|
507
|
+
set: "set";
|
|
508
|
+
}>;
|
|
509
|
+
value: z.ZodNullable<z.ZodAny>;
|
|
510
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
511
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
512
|
+
}, z.core.$strip>>;
|
|
513
|
+
}, z.core.$strip>;
|
|
514
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
515
|
+
queryExtensionSchema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
516
|
+
outputMetaSchema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
517
|
+
}>, "querySchema" | "outputSchema" | "feed">> & {
|
|
518
|
+
feed?: boolean;
|
|
519
|
+
} & {
|
|
520
|
+
querySchema?: undefined;
|
|
521
|
+
} & {
|
|
522
|
+
outputSchema: z.ZodObject<{
|
|
523
|
+
out: z.ZodObject<{
|
|
524
|
+
id: z.ZodString;
|
|
525
|
+
name: z.ZodString;
|
|
526
|
+
description: z.ZodOptional<z.ZodString>;
|
|
527
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
528
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
529
|
+
createdAt: z.ZodNumber;
|
|
530
|
+
updatedAt: z.ZodNumber;
|
|
531
|
+
status: z.ZodNumber;
|
|
532
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
533
|
+
fullUrl: z.ZodString;
|
|
534
|
+
path: z.ZodString;
|
|
535
|
+
method: z.ZodEnum<{
|
|
536
|
+
get: "get";
|
|
537
|
+
post: "post";
|
|
538
|
+
put: "put";
|
|
539
|
+
patch: "patch";
|
|
540
|
+
delete: "delete";
|
|
541
|
+
}>;
|
|
542
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
543
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
544
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
545
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
546
|
+
error: z.ZodOptional<z.ZodString>;
|
|
547
|
+
durationMs: z.ZodNumber;
|
|
548
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
549
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
550
|
+
logs: z.ZodArray<z.ZodObject<{
|
|
551
|
+
id: z.ZodString;
|
|
552
|
+
name: z.ZodString;
|
|
553
|
+
description: z.ZodOptional<z.ZodString>;
|
|
554
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
555
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
556
|
+
createdAt: z.ZodNumber;
|
|
557
|
+
updatedAt: z.ZodNumber;
|
|
558
|
+
level: z.ZodEnum<{
|
|
559
|
+
error: "error";
|
|
560
|
+
info: "info";
|
|
561
|
+
warning: "warning";
|
|
562
|
+
debug: "debug";
|
|
563
|
+
trace: "trace";
|
|
564
|
+
}>;
|
|
565
|
+
meta: z.ZodOptional<z.ZodAny>;
|
|
566
|
+
}, z.core.$strip>>;
|
|
567
|
+
caches: z.ZodArray<z.ZodObject<{
|
|
568
|
+
id: z.ZodString;
|
|
569
|
+
name: z.ZodString;
|
|
570
|
+
description: z.ZodOptional<z.ZodString>;
|
|
571
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
572
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
573
|
+
createdAt: z.ZodNumber;
|
|
574
|
+
updatedAt: z.ZodNumber;
|
|
575
|
+
operation: z.ZodEnum<{
|
|
576
|
+
delete: "delete";
|
|
577
|
+
hit: "hit";
|
|
578
|
+
miss: "miss";
|
|
579
|
+
set: "set";
|
|
580
|
+
}>;
|
|
581
|
+
value: z.ZodNullable<z.ZodAny>;
|
|
582
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
583
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
584
|
+
}, z.core.$strip>>;
|
|
585
|
+
}, z.core.$strip>;
|
|
586
|
+
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
587
|
+
}, z.core.$strip>;
|
|
588
|
+
} & {
|
|
589
|
+
paramsSchema: z.ZodObject<{
|
|
590
|
+
requestId: z.ZodString;
|
|
591
|
+
}, z.core.$strip>;
|
|
592
|
+
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
593
|
+
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
594
|
+
querySchema: undefined;
|
|
595
|
+
paramsSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
596
|
+
requestId: string;
|
|
597
|
+
}, {
|
|
598
|
+
requestId: string;
|
|
599
|
+
}>;
|
|
600
|
+
outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
601
|
+
out: {
|
|
267
602
|
id: string;
|
|
268
603
|
name: string;
|
|
269
604
|
createdAt: number;
|
|
270
605
|
updatedAt: number;
|
|
271
|
-
|
|
606
|
+
status: number;
|
|
607
|
+
fullUrl: string;
|
|
608
|
+
path: string;
|
|
609
|
+
method: "get" | "post" | "put" | "patch" | "delete";
|
|
610
|
+
durationMs: number;
|
|
611
|
+
logs: {
|
|
612
|
+
id: string;
|
|
613
|
+
name: string;
|
|
614
|
+
createdAt: number;
|
|
615
|
+
updatedAt: number;
|
|
616
|
+
level: "error" | "info" | "warning" | "debug" | "trace";
|
|
617
|
+
description?: string | undefined;
|
|
618
|
+
groupId?: string | undefined;
|
|
619
|
+
tags?: string[] | undefined;
|
|
620
|
+
meta?: any;
|
|
621
|
+
}[];
|
|
622
|
+
caches: {
|
|
623
|
+
id: string;
|
|
624
|
+
name: string;
|
|
625
|
+
createdAt: number;
|
|
626
|
+
updatedAt: number;
|
|
627
|
+
operation: "delete" | "hit" | "miss" | "set";
|
|
628
|
+
value: any;
|
|
629
|
+
description?: string | undefined;
|
|
630
|
+
groupId?: string | undefined;
|
|
631
|
+
tags?: string[] | undefined;
|
|
632
|
+
size?: number | undefined;
|
|
633
|
+
durationMs?: number | undefined;
|
|
634
|
+
}[];
|
|
272
635
|
description?: string | undefined;
|
|
273
636
|
groupId?: string | undefined;
|
|
274
637
|
tags?: string[] | undefined;
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
638
|
+
body?: any;
|
|
639
|
+
query?: Record<string, any> | undefined;
|
|
640
|
+
params?: Record<string, any> | undefined;
|
|
641
|
+
output?: any;
|
|
642
|
+
headers?: Record<string, any> | undefined;
|
|
643
|
+
error?: string | undefined;
|
|
644
|
+
ip?: string | undefined;
|
|
645
|
+
userAgent?: string | undefined;
|
|
646
|
+
};
|
|
647
|
+
meta: unknown;
|
|
648
|
+
}, {
|
|
649
|
+
out: {
|
|
278
650
|
id: string;
|
|
279
651
|
name: string;
|
|
280
652
|
createdAt: number;
|
|
281
653
|
updatedAt: number;
|
|
282
|
-
|
|
283
|
-
|
|
654
|
+
status: number;
|
|
655
|
+
fullUrl: string;
|
|
656
|
+
path: string;
|
|
657
|
+
method: "get" | "post" | "put" | "patch" | "delete";
|
|
658
|
+
durationMs: number;
|
|
659
|
+
logs: {
|
|
660
|
+
id: string;
|
|
661
|
+
name: string;
|
|
662
|
+
createdAt: number;
|
|
663
|
+
updatedAt: number;
|
|
664
|
+
level: "error" | "info" | "warning" | "debug" | "trace";
|
|
665
|
+
description?: string | undefined;
|
|
666
|
+
groupId?: string | undefined;
|
|
667
|
+
tags?: string[] | undefined;
|
|
668
|
+
meta?: any;
|
|
669
|
+
}[];
|
|
670
|
+
caches: {
|
|
671
|
+
id: string;
|
|
672
|
+
name: string;
|
|
673
|
+
createdAt: number;
|
|
674
|
+
updatedAt: number;
|
|
675
|
+
operation: "delete" | "hit" | "miss" | "set";
|
|
676
|
+
value: any;
|
|
677
|
+
description?: string | undefined;
|
|
678
|
+
groupId?: string | undefined;
|
|
679
|
+
tags?: string[] | undefined;
|
|
680
|
+
size?: number | undefined;
|
|
681
|
+
durationMs?: number | undefined;
|
|
682
|
+
}[];
|
|
284
683
|
description?: string | undefined;
|
|
285
684
|
groupId?: string | undefined;
|
|
286
685
|
tags?: string[] | undefined;
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
readonly stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
|
|
309
|
-
readonly docsHidden?: boolean | undefined;
|
|
310
|
-
readonly docsMeta?: Record<string, unknown> | undefined;
|
|
311
|
-
paramsSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
312
|
-
requestId: string;
|
|
313
|
-
}, {
|
|
314
|
-
requestId: string;
|
|
315
|
-
}>;
|
|
316
|
-
}>];
|
|
686
|
+
body?: any;
|
|
687
|
+
query?: Record<string, any> | undefined;
|
|
688
|
+
params?: Record<string, any> | undefined;
|
|
689
|
+
output?: any;
|
|
690
|
+
headers?: Record<string, any> | undefined;
|
|
691
|
+
error?: string | undefined;
|
|
692
|
+
ip?: string | undefined;
|
|
693
|
+
userAgent?: string | undefined;
|
|
694
|
+
};
|
|
695
|
+
meta: unknown;
|
|
696
|
+
}>;
|
|
697
|
+
outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown>;
|
|
698
|
+
queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown>;
|
|
699
|
+
}>>>, "paramsSchema"> & {
|
|
700
|
+
paramsSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
701
|
+
requestId: string;
|
|
702
|
+
}, {
|
|
703
|
+
requestId: string;
|
|
704
|
+
}>;
|
|
705
|
+
}>>;
|
|
706
|
+
}];
|