@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.
- package/dist/index.cjs +10 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +10 -6
- 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.base.d.ts +2 -2
- package/dist/web/v2/types/types.cacheLog.d.ts +377 -78
- package/dist/web/v2/types/types.d.ts +10 -7
- package/dist/web/v2/types/types.endpoint.d.ts +597 -143
- package/dist/web/v2/types/types.log.d.ts +198 -22
- package/dist/web/v2/types/types.preset.d.ts +459 -46
- package/dist/web/v2/types/types.requestLog.d.ts +518 -128
- package/package.json +5 -5
|
@@ -23,13 +23,13 @@ export type LogType = z.infer<typeof logSchema>;
|
|
|
23
23
|
export declare const logQuerySchema: z.ZodObject<{
|
|
24
24
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
25
25
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
26
|
-
orderBy: z.
|
|
26
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
27
27
|
timestamp: "timestamp";
|
|
28
28
|
duration: "duration";
|
|
29
29
|
level: "level";
|
|
30
30
|
path: "path";
|
|
31
31
|
}>>;
|
|
32
|
-
orderDirection: z.
|
|
32
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
33
33
|
asc: "asc";
|
|
34
34
|
desc: "desc";
|
|
35
35
|
}>>;
|
|
@@ -57,33 +57,202 @@ export type ApplicationLogsFilter = z.infer<typeof logQuerySchema> & z.infer<typ
|
|
|
57
57
|
export declare const logLeaves: readonly [{
|
|
58
58
|
readonly method: "get";
|
|
59
59
|
readonly path: "logs";
|
|
60
|
-
readonly cfg: Readonly<{
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
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"> & {
|
|
61
|
+
queryExtensionSchema: C["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["queryExtensionSchema"] : undefined;
|
|
62
|
+
outputMetaSchema: C["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["outputMetaSchema"] : undefined;
|
|
63
|
+
}> 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 ? {
|
|
64
|
+
feed: true;
|
|
65
|
+
} : {
|
|
66
|
+
feed?: boolean;
|
|
67
|
+
}) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
68
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
69
|
+
} : {
|
|
70
|
+
paramsSchema: undefined;
|
|
71
|
+
}) : (WithDefaults["feed"] extends true ? {
|
|
72
|
+
feed: true;
|
|
73
|
+
} : {
|
|
74
|
+
feed?: boolean;
|
|
75
|
+
}) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
76
|
+
querySchema: WithDefaults["querySchema"];
|
|
77
|
+
} : {
|
|
78
|
+
querySchema?: undefined;
|
|
79
|
+
}) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
80
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
81
|
+
} : {
|
|
82
|
+
paramsSchema: undefined;
|
|
83
|
+
}))> : 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<{
|
|
84
|
+
feed: true;
|
|
85
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
86
|
+
id: z.ZodString;
|
|
87
|
+
name: z.ZodString;
|
|
88
|
+
description: z.ZodOptional<z.ZodString>;
|
|
89
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
90
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
91
|
+
createdAt: z.ZodNumber;
|
|
92
|
+
updatedAt: z.ZodNumber;
|
|
93
|
+
level: z.ZodEnum<{
|
|
94
|
+
error: "error";
|
|
95
|
+
info: "info";
|
|
96
|
+
warning: "warning";
|
|
97
|
+
debug: "debug";
|
|
98
|
+
trace: "trace";
|
|
99
|
+
}>;
|
|
100
|
+
meta: z.ZodOptional<z.ZodAny>;
|
|
101
|
+
}, z.core.$strip>>;
|
|
102
|
+
querySchema: z.ZodObject<{
|
|
103
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
104
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
105
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
106
|
+
timestamp: "timestamp";
|
|
107
|
+
duration: "duration";
|
|
108
|
+
level: "level";
|
|
109
|
+
path: "path";
|
|
110
|
+
}>>;
|
|
111
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
112
|
+
asc: "asc";
|
|
113
|
+
desc: "desc";
|
|
114
|
+
}>>;
|
|
115
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
116
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
117
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
118
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
120
|
+
levelsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
121
|
+
error: "error";
|
|
122
|
+
info: "info";
|
|
123
|
+
warning: "warning";
|
|
124
|
+
debug: "debug";
|
|
125
|
+
trace: "trace";
|
|
126
|
+
}>>>;
|
|
127
|
+
levelsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
128
|
+
error: "error";
|
|
129
|
+
info: "info";
|
|
130
|
+
warning: "warning";
|
|
131
|
+
debug: "debug";
|
|
132
|
+
trace: "trace";
|
|
133
|
+
}>>>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
outputMetaSchema: z.ZodObject<{
|
|
136
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
138
|
+
}, z.core.$strip>;
|
|
63
139
|
queryExtensionSchema: z.ZodObject<{
|
|
64
140
|
cursor: z.ZodOptional<z.ZodString>;
|
|
65
141
|
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
66
|
-
}, z.core.$strip
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
142
|
+
}, z.core.$strip>;
|
|
143
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
144
|
+
queryExtensionSchema: z.ZodObject<{
|
|
145
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
146
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
147
|
+
}, z.core.$strip>;
|
|
148
|
+
outputMetaSchema: z.ZodObject<{
|
|
149
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
150
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
}>, "querySchema" | "outputSchema" | "feed">> & {
|
|
74
153
|
feed: true;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
154
|
+
} & import("@emeryld/rrroutes-contract").FeedQueryField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
155
|
+
feed: true;
|
|
156
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
157
|
+
id: z.ZodString;
|
|
158
|
+
name: z.ZodString;
|
|
159
|
+
description: z.ZodOptional<z.ZodString>;
|
|
160
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
161
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
162
|
+
createdAt: z.ZodNumber;
|
|
163
|
+
updatedAt: z.ZodNumber;
|
|
164
|
+
level: z.ZodEnum<{
|
|
165
|
+
error: "error";
|
|
166
|
+
info: "info";
|
|
167
|
+
warning: "warning";
|
|
168
|
+
debug: "debug";
|
|
169
|
+
trace: "trace";
|
|
170
|
+
}>;
|
|
171
|
+
meta: z.ZodOptional<z.ZodAny>;
|
|
172
|
+
}, z.core.$strip>>;
|
|
173
|
+
querySchema: z.ZodObject<{
|
|
174
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
175
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
176
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
177
|
+
timestamp: "timestamp";
|
|
178
|
+
duration: "duration";
|
|
179
|
+
level: "level";
|
|
180
|
+
path: "path";
|
|
181
|
+
}>>;
|
|
182
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
183
|
+
asc: "asc";
|
|
184
|
+
desc: "desc";
|
|
185
|
+
}>>;
|
|
186
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
187
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
188
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
189
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
190
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
191
|
+
levelsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
192
|
+
error: "error";
|
|
193
|
+
info: "info";
|
|
194
|
+
warning: "warning";
|
|
195
|
+
debug: "debug";
|
|
196
|
+
trace: "trace";
|
|
197
|
+
}>>>;
|
|
198
|
+
levelsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
199
|
+
error: "error";
|
|
200
|
+
info: "info";
|
|
201
|
+
warning: "warning";
|
|
202
|
+
debug: "debug";
|
|
203
|
+
trace: "trace";
|
|
204
|
+
}>>>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
outputMetaSchema: z.ZodObject<{
|
|
207
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
209
|
+
}, z.core.$strip>;
|
|
210
|
+
queryExtensionSchema: z.ZodObject<{
|
|
211
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
212
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
215
|
+
queryExtensionSchema: z.ZodObject<{
|
|
216
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
217
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
218
|
+
}, z.core.$strip>;
|
|
219
|
+
outputMetaSchema: z.ZodObject<{
|
|
220
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
}>> & {
|
|
224
|
+
outputSchema: z.ZodObject<{
|
|
225
|
+
out: z.ZodArray<z.ZodObject<{
|
|
226
|
+
id: z.ZodString;
|
|
227
|
+
name: z.ZodString;
|
|
228
|
+
description: z.ZodOptional<z.ZodString>;
|
|
229
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
230
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
231
|
+
createdAt: z.ZodNumber;
|
|
232
|
+
updatedAt: z.ZodNumber;
|
|
233
|
+
level: z.ZodEnum<{
|
|
234
|
+
error: "error";
|
|
235
|
+
info: "info";
|
|
236
|
+
warning: "warning";
|
|
237
|
+
debug: "debug";
|
|
238
|
+
trace: "trace";
|
|
239
|
+
}>;
|
|
240
|
+
meta: z.ZodOptional<z.ZodAny>;
|
|
241
|
+
}, z.core.$strip>>;
|
|
242
|
+
meta: z.ZodObject<{
|
|
243
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
244
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
245
|
+
}, z.core.$strip>;
|
|
246
|
+
}, z.core.$strip>;
|
|
247
|
+
} & {
|
|
248
|
+
paramsSchema: undefined;
|
|
249
|
+
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
81
250
|
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
82
251
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
83
|
-
orderBy: "timestamp" | "duration" | "level" | "path";
|
|
84
|
-
orderDirection: "asc" | "desc";
|
|
85
252
|
beforeDate?: string | undefined;
|
|
86
253
|
afterDate?: string | undefined;
|
|
254
|
+
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
255
|
+
orderDirection?: "asc" | "desc" | undefined;
|
|
87
256
|
searchQuery?: string | undefined;
|
|
88
257
|
groupsInclude?: string[] | undefined;
|
|
89
258
|
groupsExclude?: string[] | undefined;
|
|
@@ -151,5 +320,12 @@ export declare const logLeaves: readonly [{
|
|
|
151
320
|
totalCount?: number | undefined;
|
|
152
321
|
nextCursor?: string | undefined;
|
|
153
322
|
}>;
|
|
154
|
-
|
|
323
|
+
queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
324
|
+
cursor?: string | undefined;
|
|
325
|
+
pageSize?: number | undefined;
|
|
326
|
+
}, {
|
|
327
|
+
cursor?: string | undefined;
|
|
328
|
+
pageSize?: unknown;
|
|
329
|
+
}>;
|
|
330
|
+
}>>>;
|
|
155
331
|
}];
|