@emeryld/rrroutes-openapi 2.5.12 → 2.5.13
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 +3 -90
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +3 -90
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.js +97 -97
- package/dist/web/v2/types/types.base.d.ts +1 -6
- package/dist/web/v2/types/types.cacheLog.d.ts +37 -558
- package/dist/web/v2/types/types.endpoint.d.ts +5 -20
- package/dist/web/v2/types/types.log.d.ts +5 -20
- package/dist/web/v2/types/types.preset.d.ts +5 -20
- package/dist/web/v2/types/types.requestLog.d.ts +5 -20
- package/dist/web/v2/types/types.scheduling.d.ts +5 -20
- package/dist/web/v2/types/types.socket.d.ts +5 -20
- package/dist/web/v2/utils/dates.d.ts +4 -0
- package/dist/web/v2/utils/sizeFormat.d.ts +0 -1
- package/package.json +1 -1
- package/dist/web/v2/components/logs/cache/common/CacheSummaryStat.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/common/CacheTraceDialog.d.ts +0 -8
- package/dist/web/v2/components/logs/cache/common/CacheValueDialog.d.ts +0 -8
- package/dist/web/v2/components/logs/cache/common/DetailField.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/common/MutedText.d.ts +0 -4
- package/dist/web/v2/components/logs/cache/insights/CacheInsights.d.ts +0 -10
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsKeySection.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsKpiRow.d.ts +0 -8
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsOverview.d.ts +0 -8
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsTagSection.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/insights/CacheProblemPanels.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/insights/CacheTagInsights.d.ts +0 -20
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailActions.d.ts +0 -12
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailLogsTab.d.ts +0 -3
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailModal.d.ts +0 -18
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailSummary.d.ts +0 -17
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTimelineTab.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTracesTab.d.ts +0 -3
- package/dist/web/v2/components/logs/cache/logs/CacheDataCard.d.ts +0 -30
- package/dist/web/v2/components/logs/cache/logs/CacheFiltersCard.d.ts +0 -15
- package/dist/web/v2/components/logs/cache/logs/CacheLogsSection.d.ts +0 -1
- package/dist/web/v2/components/logs/cache/logs/CacheLogsTable.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/logs/CacheSummaryTable.d.ts +0 -8
- package/dist/web/v2/components/logs/cache/modals/CacheTagDetailModal.d.ts +0 -11
- package/dist/web/v2/hooks/useCacheInsights.d.ts +0 -308
- package/dist/web/v2/utils/cache/cacheInsightsMappers.d.ts +0 -6
- package/dist/web/v2/utils/cache/cacheInsightsMetrics.d.ts +0 -24
- package/dist/web/v2/utils/cache/cacheTraceInsights.d.ts +0 -35
- package/dist/web/v2/utils/cacheFormat.d.ts +0 -7
- package/dist/web/v2/utils/cacheUtils.d.ts +0 -2
|
@@ -57,12 +57,7 @@ export type EndpointType = z.output<typeof endpointSchema>;
|
|
|
57
57
|
export declare const endpointFilterSchema: z.ZodObject<{
|
|
58
58
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
59
59
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
60
|
-
orderBy: z.ZodOptional<z.
|
|
61
|
-
timestamp: "timestamp";
|
|
62
|
-
duration: "duration";
|
|
63
|
-
level: "level";
|
|
64
|
-
path: "path";
|
|
65
|
-
}>>;
|
|
60
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
66
61
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
67
62
|
asc: "asc";
|
|
68
63
|
desc: "desc";
|
|
@@ -240,12 +235,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
240
235
|
querySchema: z.ZodObject<{
|
|
241
236
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
242
237
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
243
|
-
orderBy: z.ZodOptional<z.
|
|
244
|
-
timestamp: "timestamp";
|
|
245
|
-
duration: "duration";
|
|
246
|
-
level: "level";
|
|
247
|
-
path: "path";
|
|
248
|
-
}>>;
|
|
238
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
249
239
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
250
240
|
asc: "asc";
|
|
251
241
|
desc: "desc";
|
|
@@ -348,12 +338,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
348
338
|
querySchema: z.ZodObject<{
|
|
349
339
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
350
340
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
351
|
-
orderBy: z.ZodOptional<z.
|
|
352
|
-
timestamp: "timestamp";
|
|
353
|
-
duration: "duration";
|
|
354
|
-
level: "level";
|
|
355
|
-
path: "path";
|
|
356
|
-
}>>;
|
|
341
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
357
342
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
358
343
|
asc: "asc";
|
|
359
344
|
desc: "desc";
|
|
@@ -502,7 +487,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
502
487
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
503
488
|
beforeDate?: string | undefined;
|
|
504
489
|
afterDate?: string | undefined;
|
|
505
|
-
orderBy?:
|
|
490
|
+
orderBy?: string | undefined;
|
|
506
491
|
orderDirection?: "asc" | "desc" | undefined;
|
|
507
492
|
searchQuery?: string | undefined;
|
|
508
493
|
groupsInclude?: string[] | undefined;
|
|
@@ -520,7 +505,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
520
505
|
}, {
|
|
521
506
|
beforeDate?: string | undefined;
|
|
522
507
|
afterDate?: string | undefined;
|
|
523
|
-
orderBy?:
|
|
508
|
+
orderBy?: string | undefined;
|
|
524
509
|
orderDirection?: "asc" | "desc" | undefined;
|
|
525
510
|
searchQuery?: string | undefined;
|
|
526
511
|
groupsInclude?: string[] | undefined;
|
|
@@ -15,12 +15,7 @@ export type LogType = z.infer<typeof logSchema>;
|
|
|
15
15
|
export declare const logQuerySchema: z.ZodObject<{
|
|
16
16
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
17
17
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
18
|
-
orderBy: z.ZodOptional<z.
|
|
19
|
-
timestamp: "timestamp";
|
|
20
|
-
duration: "duration";
|
|
21
|
-
level: "level";
|
|
22
|
-
path: "path";
|
|
23
|
-
}>>;
|
|
18
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
24
19
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
25
20
|
asc: "asc";
|
|
26
21
|
desc: "desc";
|
|
@@ -76,12 +71,7 @@ export declare const logLeaves: readonly [{
|
|
|
76
71
|
querySchema: z.ZodObject<{
|
|
77
72
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
78
73
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
79
|
-
orderBy: z.ZodOptional<z.
|
|
80
|
-
timestamp: "timestamp";
|
|
81
|
-
duration: "duration";
|
|
82
|
-
level: "level";
|
|
83
|
-
path: "path";
|
|
84
|
-
}>>;
|
|
74
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
85
75
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
86
76
|
asc: "asc";
|
|
87
77
|
desc: "desc";
|
|
@@ -131,12 +121,7 @@ export declare const logLeaves: readonly [{
|
|
|
131
121
|
querySchema: z.ZodObject<{
|
|
132
122
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
133
123
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
134
|
-
orderBy: z.ZodOptional<z.
|
|
135
|
-
timestamp: "timestamp";
|
|
136
|
-
duration: "duration";
|
|
137
|
-
level: "level";
|
|
138
|
-
path: "path";
|
|
139
|
-
}>>;
|
|
124
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
140
125
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
141
126
|
asc: "asc";
|
|
142
127
|
desc: "desc";
|
|
@@ -194,7 +179,7 @@ export declare const logLeaves: readonly [{
|
|
|
194
179
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
195
180
|
beforeDate?: string | undefined;
|
|
196
181
|
afterDate?: string | undefined;
|
|
197
|
-
orderBy?:
|
|
182
|
+
orderBy?: string | undefined;
|
|
198
183
|
orderDirection?: "asc" | "desc" | undefined;
|
|
199
184
|
searchQuery?: string | undefined;
|
|
200
185
|
groupsInclude?: string[] | undefined;
|
|
@@ -209,7 +194,7 @@ export declare const logLeaves: readonly [{
|
|
|
209
194
|
}, {
|
|
210
195
|
beforeDate?: string | undefined;
|
|
211
196
|
afterDate?: string | undefined;
|
|
212
|
-
orderBy?:
|
|
197
|
+
orderBy?: string | undefined;
|
|
213
198
|
orderDirection?: "asc" | "desc" | undefined;
|
|
214
199
|
searchQuery?: string | undefined;
|
|
215
200
|
groupsInclude?: string[] | undefined;
|
|
@@ -30,12 +30,7 @@ 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.ZodOptional<z.
|
|
34
|
-
timestamp: "timestamp";
|
|
35
|
-
duration: "duration";
|
|
36
|
-
level: "level";
|
|
37
|
-
path: "path";
|
|
38
|
-
}>>;
|
|
33
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
39
34
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
40
35
|
asc: "asc";
|
|
41
36
|
desc: "desc";
|
|
@@ -80,12 +75,7 @@ export declare const presetLeaves: readonly [{
|
|
|
80
75
|
querySchema: z.ZodObject<{
|
|
81
76
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
82
77
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
83
|
-
orderBy: z.ZodOptional<z.
|
|
84
|
-
timestamp: "timestamp";
|
|
85
|
-
duration: "duration";
|
|
86
|
-
level: "level";
|
|
87
|
-
path: "path";
|
|
88
|
-
}>>;
|
|
78
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
89
79
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
90
80
|
asc: "asc";
|
|
91
81
|
desc: "desc";
|
|
@@ -148,12 +138,7 @@ export declare const presetLeaves: readonly [{
|
|
|
148
138
|
querySchema: z.ZodObject<{
|
|
149
139
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
150
140
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
151
|
-
orderBy: z.ZodOptional<z.
|
|
152
|
-
timestamp: "timestamp";
|
|
153
|
-
duration: "duration";
|
|
154
|
-
level: "level";
|
|
155
|
-
path: "path";
|
|
156
|
-
}>>;
|
|
141
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
157
142
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
158
143
|
asc: "asc";
|
|
159
144
|
desc: "desc";
|
|
@@ -249,7 +234,7 @@ export declare const presetLeaves: readonly [{
|
|
|
249
234
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
250
235
|
beforeDate?: string | undefined;
|
|
251
236
|
afterDate?: string | undefined;
|
|
252
|
-
orderBy?:
|
|
237
|
+
orderBy?: string | undefined;
|
|
253
238
|
orderDirection?: "asc" | "desc" | undefined;
|
|
254
239
|
searchQuery?: string | undefined;
|
|
255
240
|
groupsInclude?: string[] | undefined;
|
|
@@ -264,7 +249,7 @@ export declare const presetLeaves: readonly [{
|
|
|
264
249
|
}, {
|
|
265
250
|
beforeDate?: string | undefined;
|
|
266
251
|
afterDate?: string | undefined;
|
|
267
|
-
orderBy?:
|
|
252
|
+
orderBy?: string | undefined;
|
|
268
253
|
orderDirection?: "asc" | "desc" | undefined;
|
|
269
254
|
searchQuery?: string | undefined;
|
|
270
255
|
groupsInclude?: string[] | undefined;
|
|
@@ -34,12 +34,7 @@ export type RequestLogType = z.infer<typeof requestSchema>;
|
|
|
34
34
|
export declare const requestQuerySchema: z.ZodObject<{
|
|
35
35
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
36
36
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
37
|
-
orderBy: z.ZodOptional<z.
|
|
38
|
-
timestamp: "timestamp";
|
|
39
|
-
duration: "duration";
|
|
40
|
-
level: "level";
|
|
41
|
-
path: "path";
|
|
42
|
-
}>>;
|
|
37
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
43
38
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
44
39
|
asc: "asc";
|
|
45
40
|
desc: "desc";
|
|
@@ -131,12 +126,7 @@ export declare const requestLogLeaves: readonly [{
|
|
|
131
126
|
querySchema: z.ZodObject<{
|
|
132
127
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
133
128
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
134
|
-
orderBy: z.ZodOptional<z.
|
|
135
|
-
timestamp: "timestamp";
|
|
136
|
-
duration: "duration";
|
|
137
|
-
level: "level";
|
|
138
|
-
path: "path";
|
|
139
|
-
}>>;
|
|
129
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
140
130
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
141
131
|
asc: "asc";
|
|
142
132
|
desc: "desc";
|
|
@@ -220,12 +210,7 @@ export declare const requestLogLeaves: readonly [{
|
|
|
220
210
|
querySchema: z.ZodObject<{
|
|
221
211
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
222
212
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
223
|
-
orderBy: z.ZodOptional<z.
|
|
224
|
-
timestamp: "timestamp";
|
|
225
|
-
duration: "duration";
|
|
226
|
-
level: "level";
|
|
227
|
-
path: "path";
|
|
228
|
-
}>>;
|
|
213
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
229
214
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
230
215
|
asc: "asc";
|
|
231
216
|
desc: "desc";
|
|
@@ -316,7 +301,7 @@ export declare const requestLogLeaves: readonly [{
|
|
|
316
301
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
317
302
|
beforeDate?: string | undefined;
|
|
318
303
|
afterDate?: string | undefined;
|
|
319
|
-
orderBy?:
|
|
304
|
+
orderBy?: string | undefined;
|
|
320
305
|
orderDirection?: "asc" | "desc" | undefined;
|
|
321
306
|
searchQuery?: string | undefined;
|
|
322
307
|
groupsInclude?: string[] | undefined;
|
|
@@ -336,7 +321,7 @@ export declare const requestLogLeaves: readonly [{
|
|
|
336
321
|
}, {
|
|
337
322
|
beforeDate?: string | undefined;
|
|
338
323
|
afterDate?: string | undefined;
|
|
339
|
-
orderBy?:
|
|
324
|
+
orderBy?: string | undefined;
|
|
340
325
|
orderDirection?: "asc" | "desc" | undefined;
|
|
341
326
|
searchQuery?: string | undefined;
|
|
342
327
|
groupsInclude?: string[] | undefined;
|
|
@@ -15,12 +15,7 @@ export declare const schedulingSchema: z.ZodObject<{
|
|
|
15
15
|
export declare const schedulingQuerySchema: z.ZodObject<{
|
|
16
16
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
17
17
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
18
|
-
orderBy: z.ZodOptional<z.
|
|
19
|
-
timestamp: "timestamp";
|
|
20
|
-
duration: "duration";
|
|
21
|
-
level: "level";
|
|
22
|
-
path: "path";
|
|
23
|
-
}>>;
|
|
18
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
24
19
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
25
20
|
asc: "asc";
|
|
26
21
|
desc: "desc";
|
|
@@ -83,12 +78,7 @@ export declare const schedulingLeaves: readonly [{
|
|
|
83
78
|
querySchema: z.ZodObject<{
|
|
84
79
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
85
80
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
86
|
-
orderBy: z.ZodOptional<z.
|
|
87
|
-
timestamp: "timestamp";
|
|
88
|
-
duration: "duration";
|
|
89
|
-
level: "level";
|
|
90
|
-
path: "path";
|
|
91
|
-
}>>;
|
|
81
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
92
82
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
93
83
|
asc: "asc";
|
|
94
84
|
desc: "desc";
|
|
@@ -137,12 +127,7 @@ export declare const schedulingLeaves: readonly [{
|
|
|
137
127
|
querySchema: z.ZodObject<{
|
|
138
128
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
139
129
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
140
|
-
orderBy: z.ZodOptional<z.
|
|
141
|
-
timestamp: "timestamp";
|
|
142
|
-
duration: "duration";
|
|
143
|
-
level: "level";
|
|
144
|
-
path: "path";
|
|
145
|
-
}>>;
|
|
130
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
146
131
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
147
132
|
asc: "asc";
|
|
148
133
|
desc: "desc";
|
|
@@ -198,7 +183,7 @@ export declare const schedulingLeaves: readonly [{
|
|
|
198
183
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
199
184
|
beforeDate?: string | undefined;
|
|
200
185
|
afterDate?: string | undefined;
|
|
201
|
-
orderBy?:
|
|
186
|
+
orderBy?: string | undefined;
|
|
202
187
|
orderDirection?: "asc" | "desc" | undefined;
|
|
203
188
|
searchQuery?: string | undefined;
|
|
204
189
|
groupsInclude?: string[] | undefined;
|
|
@@ -212,7 +197,7 @@ export declare const schedulingLeaves: readonly [{
|
|
|
212
197
|
}, {
|
|
213
198
|
beforeDate?: string | undefined;
|
|
214
199
|
afterDate?: string | undefined;
|
|
215
|
-
orderBy?:
|
|
200
|
+
orderBy?: string | undefined;
|
|
216
201
|
orderDirection?: "asc" | "desc" | undefined;
|
|
217
202
|
searchQuery?: string | undefined;
|
|
218
203
|
groupsInclude?: string[] | undefined;
|
|
@@ -28,12 +28,7 @@ export type SocketEventType = z.infer<typeof socketEventSchema>;
|
|
|
28
28
|
export declare const socketEventQuerySchema: z.ZodObject<{
|
|
29
29
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
30
30
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
31
|
-
orderBy: z.ZodOptional<z.
|
|
32
|
-
timestamp: "timestamp";
|
|
33
|
-
duration: "duration";
|
|
34
|
-
level: "level";
|
|
35
|
-
path: "path";
|
|
36
|
-
}>>;
|
|
31
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
37
32
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
38
33
|
asc: "asc";
|
|
39
34
|
desc: "desc";
|
|
@@ -109,12 +104,7 @@ export declare const socketLeaves: readonly [{
|
|
|
109
104
|
querySchema: z.ZodObject<{
|
|
110
105
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
111
106
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
112
|
-
orderBy: z.ZodOptional<z.
|
|
113
|
-
timestamp: "timestamp";
|
|
114
|
-
duration: "duration";
|
|
115
|
-
level: "level";
|
|
116
|
-
path: "path";
|
|
117
|
-
}>>;
|
|
107
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
118
108
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
119
109
|
asc: "asc";
|
|
120
110
|
desc: "desc";
|
|
@@ -171,12 +161,7 @@ export declare const socketLeaves: readonly [{
|
|
|
171
161
|
querySchema: z.ZodObject<{
|
|
172
162
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
173
163
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
174
|
-
orderBy: z.ZodOptional<z.
|
|
175
|
-
timestamp: "timestamp";
|
|
176
|
-
duration: "duration";
|
|
177
|
-
level: "level";
|
|
178
|
-
path: "path";
|
|
179
|
-
}>>;
|
|
164
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
180
165
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
181
166
|
asc: "asc";
|
|
182
167
|
desc: "desc";
|
|
@@ -240,7 +225,7 @@ export declare const socketLeaves: readonly [{
|
|
|
240
225
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
241
226
|
beforeDate?: string | undefined;
|
|
242
227
|
afterDate?: string | undefined;
|
|
243
|
-
orderBy?:
|
|
228
|
+
orderBy?: string | undefined;
|
|
244
229
|
orderDirection?: "asc" | "desc" | undefined;
|
|
245
230
|
searchQuery?: string | undefined;
|
|
246
231
|
groupsInclude?: string[] | undefined;
|
|
@@ -256,7 +241,7 @@ export declare const socketLeaves: readonly [{
|
|
|
256
241
|
}, {
|
|
257
242
|
beforeDate?: string | undefined;
|
|
258
243
|
afterDate?: string | undefined;
|
|
259
|
-
orderBy?:
|
|
244
|
+
orderBy?: string | undefined;
|
|
260
245
|
orderDirection?: "asc" | "desc" | undefined;
|
|
261
246
|
searchQuery?: string | undefined;
|
|
262
247
|
groupsInclude?: string[] | undefined;
|
|
@@ -1 +1,5 @@
|
|
|
1
1
|
export declare function nowIso(): string;
|
|
2
|
+
export declare function formatTimestamp(value?: number | null): string;
|
|
3
|
+
export declare function formatIsoDate(value?: number | null): string;
|
|
4
|
+
export declare function formatDurationMs(value?: number | null): string;
|
|
5
|
+
export declare function formatRelative(value?: number | null): string;
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CacheTraceType } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
type CacheTraceDialogProps = {
|
|
3
|
-
log: CacheTraceType;
|
|
4
|
-
baseQuery: Record<string, unknown>;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
};
|
|
7
|
-
export default function CacheTraceDialog({ log, baseQuery, onClose, }: CacheTraceDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CacheLogType } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
type CacheValueDialogProps = {
|
|
3
|
-
log: CacheLogType;
|
|
4
|
-
baseQuery: Record<string, unknown>;
|
|
5
|
-
onClose: () => void;
|
|
6
|
-
};
|
|
7
|
-
export default function CacheValueDialog({ log, baseQuery, onClose, }: CacheValueDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CacheInsightDatum } from './CacheTagInsights.js';
|
|
2
|
-
type Dimension = 'tag' | 'key';
|
|
3
|
-
export type CacheInsightsProps = {
|
|
4
|
-
tagStats?: CacheInsightDatum[];
|
|
5
|
-
keyStats?: CacheInsightDatum[];
|
|
6
|
-
defaultDimension?: Dimension;
|
|
7
|
-
onVisibleChange?: (ids: string[]) => void;
|
|
8
|
-
};
|
|
9
|
-
export declare function CacheInsights({ tagStats, keyStats, defaultDimension, onVisibleChange, }: CacheInsightsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { CacheKeyInsight } from '../../../../types/types.cacheLog';
|
|
2
|
-
type CacheInsightsKeySectionProps = {
|
|
3
|
-
keys: CacheKeyInsight[];
|
|
4
|
-
onSelectKey?: (key: string, insight: CacheKeyInsight) => void;
|
|
5
|
-
};
|
|
6
|
-
export default function CacheInsightsKeySection({ keys, onSelectKey, }: CacheInsightsKeySectionProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CacheKeyInsight } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
type CacheInsightsKpiRowProps = {
|
|
3
|
-
keys?: CacheKeyInsight[];
|
|
4
|
-
windowStart?: number | null;
|
|
5
|
-
windowEnd?: number | null;
|
|
6
|
-
};
|
|
7
|
-
export default function CacheInsightsKpiRow({ keys, windowStart, windowEnd, }: CacheInsightsKpiRowProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CacheKeyInsight, CacheLogsFilter, CacheTagInsight } from '../../../../types/types.cacheLog';
|
|
2
|
-
type CacheInsightsOverviewProps = {
|
|
3
|
-
filters: CacheLogsFilter;
|
|
4
|
-
onSelectKey?: (key: string, insight: CacheKeyInsight) => void;
|
|
5
|
-
onSelectTag?: (tag: string, insight: CacheTagInsight) => void;
|
|
6
|
-
};
|
|
7
|
-
export default function CacheInsightsOverview({ filters, onSelectKey, onSelectTag, }: CacheInsightsOverviewProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { CacheTagInsight } from '../../../../types/types.cacheLog';
|
|
2
|
-
type CacheInsightsTagSectionProps = {
|
|
3
|
-
tags: CacheTagInsight[];
|
|
4
|
-
onSelectTag?: (tag: string, insight: CacheTagInsight) => void;
|
|
5
|
-
};
|
|
6
|
-
export default function CacheInsightsTagSection({ tags, onSelectTag, }: CacheInsightsTagSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { CacheKeyInsight } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
type CacheProblemPanelsProps = {
|
|
3
|
-
keys: CacheKeyInsight[];
|
|
4
|
-
onSelectKey?: (key: string, insight: CacheKeyInsight) => void;
|
|
5
|
-
};
|
|
6
|
-
export default function CacheProblemPanels({ keys, onSelectKey, }: CacheProblemPanelsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { CacheKeyInsight, CacheTagInsight } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
import { mapKeyInsightsToChartData, mapTagInsightsToChartData } from '../../../../utils/cache/cacheInsightsMappers.js';
|
|
3
|
-
import { CacheInsightDatum } from '../../../../utils/cache/cacheInsightsMetrics.js';
|
|
4
|
-
export interface CacheTagStat {
|
|
5
|
-
tag: string;
|
|
6
|
-
hits: number;
|
|
7
|
-
misses: number;
|
|
8
|
-
sets: number;
|
|
9
|
-
totalSizeKB: number;
|
|
10
|
-
totalRequests: number;
|
|
11
|
-
hitRate: number;
|
|
12
|
-
missRate: number;
|
|
13
|
-
avgMissDurationMs: number | null;
|
|
14
|
-
}
|
|
15
|
-
type CacheTagInsightsProps = {
|
|
16
|
-
stats: CacheTagStat[];
|
|
17
|
-
};
|
|
18
|
-
export declare const CacheTagInsights: ({ stats }: CacheTagInsightsProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export { mapKeyInsightsToChartData, mapTagInsightsToChartData };
|
|
20
|
-
export type { CacheInsightDatum, CacheKeyInsight, CacheTagInsight };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
type Props = {
|
|
2
|
-
cacheKey: string;
|
|
3
|
-
clearQuery?: Record<string, unknown>;
|
|
4
|
-
onCleared?: (key: string) => void;
|
|
5
|
-
clearFetch: (args: {
|
|
6
|
-
query: Record<string, unknown>;
|
|
7
|
-
}, body: never) => Promise<unknown>;
|
|
8
|
-
refetchLogs: () => void;
|
|
9
|
-
refetchTrace: () => void;
|
|
10
|
-
};
|
|
11
|
-
export default function CacheKeyDetailActions({ cacheKey, clearQuery, onCleared, clearFetch, refetchLogs, refetchTrace, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { CacheLogType } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
import { FeedPaginationProps } from '../../../feeds/FeedPagination.js';
|
|
3
|
-
export default function CacheKeyDetailLogsTab({ items, data, fetchNextPage, isLoading, extractItems, hasNextPage, isFetchingNextPage, pageSize, }: Omit<FeedPaginationProps<CacheLogType>, 'children'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { CacheKeyInsight, CacheSummaryType } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
type CacheKeyDetailModalProps = {
|
|
3
|
-
open: boolean;
|
|
4
|
-
cacheKey?: string | null;
|
|
5
|
-
summary?: CacheSummaryType | null;
|
|
6
|
-
insight?: CacheKeyInsight | null;
|
|
7
|
-
baseQuery: Record<string, unknown>;
|
|
8
|
-
window?: {
|
|
9
|
-
afterDate?: string;
|
|
10
|
-
beforeDate?: string;
|
|
11
|
-
};
|
|
12
|
-
onClose: () => void;
|
|
13
|
-
onPrev?: () => void;
|
|
14
|
-
onNext?: () => void;
|
|
15
|
-
onCleared?: (key: string) => void;
|
|
16
|
-
};
|
|
17
|
-
export default function CacheKeyDetailModal({ open, cacheKey, summary, insight, baseQuery, window, onClose, onPrev, onNext, onCleared, }: CacheKeyDetailModalProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { CacheKeyInsight, CacheSummaryType } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
import { OperationLatencySummary } from '../../../../utils/cache/cacheTraceInsights.js';
|
|
3
|
-
type Props = {
|
|
4
|
-
summary?: CacheSummaryType | null;
|
|
5
|
-
insight?: CacheKeyInsight | null;
|
|
6
|
-
computed: {
|
|
7
|
-
totalHits: number;
|
|
8
|
-
totalMisses: number;
|
|
9
|
-
totalSets: number;
|
|
10
|
-
lastHitAt: number | null;
|
|
11
|
-
lastMissAt: number | null;
|
|
12
|
-
lastSetAt: number | null;
|
|
13
|
-
};
|
|
14
|
-
latency: OperationLatencySummary;
|
|
15
|
-
};
|
|
16
|
-
export default function CacheKeyDetailSummary({ summary, insight, computed, latency, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { CacheTraceType } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
type Props = {
|
|
3
|
-
traces: CacheTraceType[];
|
|
4
|
-
resetKey: string;
|
|
5
|
-
};
|
|
6
|
-
export default function CacheKeyDetailTimelineTab({ traces, resetKey }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { CacheTraceType } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
import { FeedPaginationProps } from '../../../feeds/FeedPagination.js';
|
|
3
|
-
export default function CacheKeyDetailTracesTab({ isFetchingNextPage, isLoading, pageSize, data, items, fetchNextPage, hasNextPage, }: Omit<FeedPaginationProps<CacheTraceType>, 'children'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { InfiniteData } from '@tanstack/react-query';
|
|
2
|
-
import type { CacheKeyInsight, CacheLogsFilter, CacheLogType, CacheSummaryType, CacheTagInsight } from '../../../../types/types.cacheLog.js';
|
|
3
|
-
export type CacheView = 'logs' | 'keys' | 'overview';
|
|
4
|
-
type ExportConfig = {
|
|
5
|
-
filename: string;
|
|
6
|
-
rows: Record<string, unknown>[];
|
|
7
|
-
} | null;
|
|
8
|
-
type CacheDataCardProps = {
|
|
9
|
-
cacheView: CacheView;
|
|
10
|
-
exportConfig: ExportConfig;
|
|
11
|
-
cacheFilters: CacheLogsFilter;
|
|
12
|
-
cacheLoading: boolean;
|
|
13
|
-
cacheError: unknown;
|
|
14
|
-
cacheLogs: CacheLogType[];
|
|
15
|
-
filteredCacheLogs: CacheLogType[];
|
|
16
|
-
filteredCacheSummaryItems: CacheSummaryType[];
|
|
17
|
-
cacheData?: InfiniteData<{
|
|
18
|
-
out?: CacheLogType[];
|
|
19
|
-
}>;
|
|
20
|
-
fetchNextCachePage: () => Promise<unknown>;
|
|
21
|
-
hasNextCachePage: boolean;
|
|
22
|
-
isFetchingNextCachePage: boolean;
|
|
23
|
-
onChangeView: (view: CacheView) => void;
|
|
24
|
-
onSelectSummaryRow: (item: CacheSummaryType, index: number, orderedItems: CacheSummaryType[]) => void;
|
|
25
|
-
onSelectKey: (key: string, insight?: CacheKeyInsight) => void;
|
|
26
|
-
onSelectTag: (tag: string, insight: CacheTagInsight) => void;
|
|
27
|
-
refetchCache: () => void;
|
|
28
|
-
};
|
|
29
|
-
export default function CacheDataCard({ cacheView, exportConfig, cacheFilters, cacheLoading, cacheError, cacheLogs, filteredCacheLogs, filteredCacheSummaryItems, cacheData, fetchNextCachePage, hasNextCachePage, isFetchingNextCachePage, onChangeView, onSelectSummaryRow, onSelectKey, onSelectTag, refetchCache, }: CacheDataCardProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FilterMode, SelectionState } from '../../../../types/filterTypes.js';
|
|
2
|
-
import type { CacheLogsFilter } from '../../../../types/types.cacheLog.js';
|
|
3
|
-
type CacheFiltersCardProps = {
|
|
4
|
-
filters: CacheLogsFilter;
|
|
5
|
-
cacheKeyOptions: string[];
|
|
6
|
-
refreshing: boolean;
|
|
7
|
-
clearError: string | null;
|
|
8
|
-
onRefresh: () => void;
|
|
9
|
-
onClearCache: () => void;
|
|
10
|
-
onUpdateFilters: (updater: (prev: CacheLogsFilter) => CacheLogsFilter) => void;
|
|
11
|
-
getOperationState: () => SelectionState;
|
|
12
|
-
onToggleOperation: (mode: FilterMode) => void;
|
|
13
|
-
};
|
|
14
|
-
export default function CacheFiltersCard({ filters, cacheKeyOptions, refreshing, clearError, onRefresh, onClearCache, onUpdateFilters, getOperationState, onToggleOperation, }: CacheFiltersCardProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function CacheLogsSection(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { CacheLogType } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
type CacheLogsTableProps = {
|
|
3
|
-
logs: CacheLogType[];
|
|
4
|
-
baseQuery: Record<string, unknown>;
|
|
5
|
-
};
|
|
6
|
-
export default function CacheLogsTable({ logs, baseQuery, }: CacheLogsTableProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CacheLogType, CacheSummaryType } from '../../../../types/types.cacheLog.js';
|
|
2
|
-
type CacheSummaryTableProps = {
|
|
3
|
-
items: CacheSummaryType[];
|
|
4
|
-
logs: CacheLogType[];
|
|
5
|
-
onSelectKey?: (item: CacheSummaryType, index: number, orderedItems: CacheSummaryType[]) => void;
|
|
6
|
-
};
|
|
7
|
-
export default function CacheSummaryTable({ items, logs, onSelectKey, }: CacheSummaryTableProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|