@emeryld/rrroutes-openapi 2.5.7 → 2.5.10
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/README.md +6 -0
- package/dist/docs/LeafDocsPage.d.ts +17 -1
- package/dist/index.cjs +48 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +14 -27
- package/dist/index.mjs +48 -24
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.js +114 -109
- package/dist/web/app.d.ts +4 -1
- package/dist/web/v2/AppShell.d.ts +3 -1
- package/dist/web/v2/components/endpoints/EndpointPlayground.d.ts +1 -3
- package/dist/web/v2/components/endpoints/KeyValueEditor.d.ts +2 -1
- package/dist/web/v2/components/endpoints/PlaygroundEditor.d.ts +1 -2
- package/dist/web/v2/components/feeds/FeedPagination.d.ts +1 -2
- package/dist/web/v2/components/history/RequestDetailContent.d.ts +2 -18
- package/dist/web/v2/components/inputs/JsonInputWithTools.d.ts +3 -1
- package/dist/web/v2/components/json/JsonTree.d.ts +11 -0
- package/dist/web/v2/components/json/JsonTreeRow.d.ts +14 -0
- package/dist/web/v2/components/json/JsonViewer.d.ts +13 -1
- package/dist/web/v2/components/json/jsonViewerUtils.d.ts +3 -0
- package/dist/web/v2/components/{playgroundOverlay/PlaygroundOverlayLayout.d.ts → layout/OverlayLayout.d.ts} +3 -3
- package/dist/web/v2/components/logs/cache/common/CacheSummaryStat.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/common/CacheTraceDialog.d.ts +8 -0
- package/dist/web/v2/components/logs/cache/common/CacheValueDialog.d.ts +8 -0
- package/dist/web/v2/components/logs/cache/common/DetailField.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/common/MutedText.d.ts +4 -0
- package/dist/web/v2/components/logs/cache/insights/CacheInsights.d.ts +10 -0
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsKeySection.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsKpiRow.d.ts +8 -0
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsOverview.d.ts +8 -0
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsTagSection.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/insights/CacheProblemPanels.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/insights/CacheTagInsights.d.ts +20 -0
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailActions.d.ts +12 -0
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailLogsTab.d.ts +3 -0
- package/dist/web/v2/components/logs/cache/{CacheKeyDetailModal.d.ts → key-detail/CacheKeyDetailModal.d.ts} +7 -2
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailSummary.d.ts +17 -0
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTimelineTab.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTracesTab.d.ts +3 -0
- package/dist/web/v2/components/logs/cache/logs/CacheDataCard.d.ts +30 -0
- package/dist/web/v2/components/logs/cache/logs/CacheFiltersCard.d.ts +15 -0
- package/dist/web/v2/components/logs/cache/logs/CacheLogsTable.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/{CacheSummaryTable.d.ts → logs/CacheSummaryTable.d.ts} +1 -1
- package/dist/web/v2/components/logs/cache/modals/CacheTagDetailModal.d.ts +11 -0
- package/dist/web/v2/components/performance/PerformanceMonitor.d.ts +207 -0
- package/dist/web/v2/components/presets/PresetForm.d.ts +2 -1
- package/dist/web/v2/components/presets/PresetOperationsTabsEditor.d.ts +17 -0
- package/dist/web/v2/components/presets/PresetsCsvActions.d.ts +7 -0
- package/dist/web/v2/components/presets/presetOperationAdapters.d.ts +11 -0
- package/dist/web/v2/components/presets/presetOperationRun.d.ts +35 -0
- package/dist/web/v2/components/presets/presetOperationUtils.d.ts +2 -0
- package/dist/web/v2/components/primitives/HoverRow.d.ts +6 -0
- package/dist/web/v2/components/primitives/InlineActionButton.d.ts +7 -0
- package/dist/web/v2/components/primitives/SurfaceActionArea.d.ts +8 -0
- package/dist/web/v2/components/request/LastRunPanel.d.ts +17 -0
- package/dist/web/v2/components/request/RequestInputsEditor.d.ts +38 -0
- package/dist/web/v2/components/request/RequestUrlSelector.d.ts +15 -0
- package/dist/web/v2/components/requests/timeline/RequestTimeline.d.ts +13 -0
- package/dist/web/v2/components/requests/timeline/RequestTimelineEventMiniCard.d.ts +13 -0
- package/dist/web/v2/components/requests/timeline/RequestTimelineFilters.d.ts +20 -0
- package/dist/web/v2/components/requests/timeline/RequestTimelineRow.d.ts +15 -0
- package/dist/web/v2/components/requests/timeline/types.d.ts +19 -0
- package/dist/web/v2/components/tabs/StickyIconTabs.d.ts +17 -0
- package/dist/web/v2/components/tags/DurationChip.d.ts +16 -0
- package/dist/web/v2/components/tags/LogLevelChip.d.ts +1 -2
- package/dist/web/v2/hooks/useCacheTrace.d.ts +21 -0
- package/dist/web/v2/registries/logLevelRegistry.d.ts +27 -0
- package/dist/web/v2/stores/playgroundStore.d.ts +3 -9
- package/dist/web/v2/theme.d.ts +21 -0
- package/dist/web/v2/types/types.cacheLog.d.ts +351 -24
- package/dist/web/v2/types/types.endpoint.d.ts +20 -0
- package/dist/web/v2/types/types.kvRow.d.ts +8 -0
- package/dist/web/v2/types/types.log.d.ts +25 -78
- package/dist/web/v2/types/types.requestLog.d.ts +40 -44
- package/dist/web/v2/utils/cache/cacheInsightsMappers.d.ts +6 -0
- package/dist/web/v2/utils/cache/cacheInsightsMetrics.d.ts +24 -0
- package/dist/web/v2/utils/cache/cacheTraceInsights.d.ts +35 -0
- package/dist/web/v2/utils/cacheFormat.d.ts +7 -0
- package/dist/web/v2/utils/cacheUtils.d.ts +2 -0
- package/dist/web/v2/utils/colorScale.d.ts +14 -0
- package/dist/web/v2/utils/downloadTextFile.d.ts +1 -0
- package/dist/web/v2/utils/kvRow.d.ts +4 -4
- package/dist/web/v2/utils/kvRowAdapters.d.ts +14 -0
- package/dist/web/v2/utils/presetCsv.d.ts +22 -0
- package/dist/web/v2/utils/presetsCsv.d.ts +6 -0
- package/dist/web/v2/utils/sizeFormat.d.ts +2 -0
- package/package.json +1 -1
- package/dist/web/v2/components/endpoints/PlaygroundRunPanel.d.ts +0 -12
- package/dist/web/v2/components/endpoints/PlaygroundTopTabs.d.ts +0 -11
- package/dist/web/v2/components/history/RequestTimeline.d.ts +0 -10
- package/dist/web/v2/components/logs/cache/CacheInsightsKeySection.d.ts +0 -6
- package/dist/web/v2/components/logs/cache/CacheInsightsOverview.d.ts +0 -6
- package/dist/web/v2/components/logs/cache/CacheInsightsTagSection.d.ts +0 -6
- package/dist/web/v2/components/logs/cache/CacheLogsTable.d.ts +0 -6
- package/dist/web/v2/components/logs/cache/CacheTagInsights.d.ts +0 -43
- package/dist/web/v2/components/logs/cache/CacheValueDialog.d.ts +0 -7
- package/dist/web/v2/components/presets/PresetOperationsEditor.d.ts +0 -7
- /package/dist/web/v2/components/{playgroundOverlay → layout}/useMeasuredElement.d.ts +0 -0
- /package/dist/web/v2/components/logs/cache/{CacheLogsSection.d.ts → logs/CacheLogsSection.d.ts} +0 -0
|
@@ -2,6 +2,21 @@ import z from 'zod';
|
|
|
2
2
|
import { paginationSchema } from './types.base';
|
|
3
3
|
export declare const CACHE_OPERATIONS: readonly ["hit", "miss", "set", "delete"];
|
|
4
4
|
export type CacheOperation = (typeof CACHE_OPERATIONS)[number];
|
|
5
|
+
export declare const cacheTraceSchema: z.ZodObject<{
|
|
6
|
+
id: z.ZodString;
|
|
7
|
+
timestamp: z.ZodNumber;
|
|
8
|
+
operation: z.ZodEnum<{
|
|
9
|
+
delete: "delete";
|
|
10
|
+
hit: "hit";
|
|
11
|
+
miss: "miss";
|
|
12
|
+
set: "set";
|
|
13
|
+
}>;
|
|
14
|
+
key: z.ZodString;
|
|
15
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
16
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
17
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
type: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
5
20
|
export declare const cacheLogSchema: z.ZodObject<{
|
|
6
21
|
id: z.ZodString;
|
|
7
22
|
name: z.ZodString;
|
|
@@ -10,16 +25,54 @@ export declare const cacheLogSchema: z.ZodObject<{
|
|
|
10
25
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
26
|
createdAt: z.ZodNumber;
|
|
12
27
|
updatedAt: z.ZodNumber;
|
|
13
|
-
|
|
28
|
+
value: z.ZodNullable<z.ZodAny>;
|
|
29
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
30
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
14
31
|
delete: "delete";
|
|
15
32
|
hit: "hit";
|
|
16
33
|
miss: "miss";
|
|
17
34
|
set: "set";
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
35
|
+
}>>;
|
|
36
|
+
lastSet: z.ZodNullable<z.ZodNumber>;
|
|
37
|
+
lastHit: z.ZodNullable<z.ZodNumber>;
|
|
38
|
+
lastMiss: z.ZodNullable<z.ZodNumber>;
|
|
39
|
+
lastDelete: z.ZodNullable<z.ZodNumber>;
|
|
22
40
|
}, z.core.$strip>;
|
|
41
|
+
export declare const cacheTraceQuerySchema: z.ZodObject<{
|
|
42
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
43
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
44
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
45
|
+
timestamp: "timestamp";
|
|
46
|
+
duration: "duration";
|
|
47
|
+
level: "level";
|
|
48
|
+
path: "path";
|
|
49
|
+
}>>;
|
|
50
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
51
|
+
asc: "asc";
|
|
52
|
+
desc: "desc";
|
|
53
|
+
}>>;
|
|
54
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
55
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
56
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
59
|
+
operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
60
|
+
delete: "delete";
|
|
61
|
+
hit: "hit";
|
|
62
|
+
miss: "miss";
|
|
63
|
+
set: "set";
|
|
64
|
+
}>>>;
|
|
65
|
+
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
66
|
+
delete: "delete";
|
|
67
|
+
hit: "hit";
|
|
68
|
+
miss: "miss";
|
|
69
|
+
set: "set";
|
|
70
|
+
}>>>;
|
|
71
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
|
+
keySearch: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, z.core.$strip>;
|
|
74
|
+
export type CacheTraceType = z.infer<typeof cacheTraceSchema>;
|
|
75
|
+
export type CacheTraceQuery = z.infer<typeof cacheTraceQuerySchema>;
|
|
23
76
|
export type CacheLogType = z.infer<typeof cacheLogSchema>;
|
|
24
77
|
export declare const cacheLogQuerySchema: z.ZodObject<{
|
|
25
78
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
@@ -209,15 +262,18 @@ export declare const cacheLeaves: readonly [{
|
|
|
209
262
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
210
263
|
createdAt: z.ZodNumber;
|
|
211
264
|
updatedAt: z.ZodNumber;
|
|
212
|
-
|
|
265
|
+
value: z.ZodNullable<z.ZodAny>;
|
|
266
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
267
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
213
268
|
delete: "delete";
|
|
214
269
|
hit: "hit";
|
|
215
270
|
miss: "miss";
|
|
216
271
|
set: "set";
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
272
|
+
}>>;
|
|
273
|
+
lastSet: z.ZodNullable<z.ZodNumber>;
|
|
274
|
+
lastHit: z.ZodNullable<z.ZodNumber>;
|
|
275
|
+
lastMiss: z.ZodNullable<z.ZodNumber>;
|
|
276
|
+
lastDelete: z.ZodNullable<z.ZodNumber>;
|
|
221
277
|
}, z.core.$strip>>;
|
|
222
278
|
querySchema: z.ZodObject<{
|
|
223
279
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
@@ -281,15 +337,18 @@ export declare const cacheLeaves: readonly [{
|
|
|
281
337
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
282
338
|
createdAt: z.ZodNumber;
|
|
283
339
|
updatedAt: z.ZodNumber;
|
|
284
|
-
|
|
340
|
+
value: z.ZodNullable<z.ZodAny>;
|
|
341
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
342
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
285
343
|
delete: "delete";
|
|
286
344
|
hit: "hit";
|
|
287
345
|
miss: "miss";
|
|
288
346
|
set: "set";
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
347
|
+
}>>;
|
|
348
|
+
lastSet: z.ZodNullable<z.ZodNumber>;
|
|
349
|
+
lastHit: z.ZodNullable<z.ZodNumber>;
|
|
350
|
+
lastMiss: z.ZodNullable<z.ZodNumber>;
|
|
351
|
+
lastDelete: z.ZodNullable<z.ZodNumber>;
|
|
293
352
|
}, z.core.$strip>>;
|
|
294
353
|
querySchema: z.ZodObject<{
|
|
295
354
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
@@ -351,15 +410,18 @@ export declare const cacheLeaves: readonly [{
|
|
|
351
410
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
352
411
|
createdAt: z.ZodNumber;
|
|
353
412
|
updatedAt: z.ZodNumber;
|
|
354
|
-
|
|
413
|
+
value: z.ZodNullable<z.ZodAny>;
|
|
414
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
operation: z.ZodOptional<z.ZodEnum<{
|
|
355
416
|
delete: "delete";
|
|
356
417
|
hit: "hit";
|
|
357
418
|
miss: "miss";
|
|
358
419
|
set: "set";
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
420
|
+
}>>;
|
|
421
|
+
lastSet: z.ZodNullable<z.ZodNumber>;
|
|
422
|
+
lastHit: z.ZodNullable<z.ZodNumber>;
|
|
423
|
+
lastMiss: z.ZodNullable<z.ZodNumber>;
|
|
424
|
+
lastDelete: z.ZodNullable<z.ZodNumber>;
|
|
363
425
|
}, z.core.$strip>>;
|
|
364
426
|
meta: z.ZodObject<{
|
|
365
427
|
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -412,13 +474,16 @@ export declare const cacheLeaves: readonly [{
|
|
|
412
474
|
name: string;
|
|
413
475
|
createdAt: number;
|
|
414
476
|
updatedAt: number;
|
|
415
|
-
operation: "delete" | "hit" | "miss" | "set";
|
|
416
477
|
value: any;
|
|
478
|
+
lastSet: number | null;
|
|
479
|
+
lastHit: number | null;
|
|
480
|
+
lastMiss: number | null;
|
|
481
|
+
lastDelete: number | null;
|
|
417
482
|
description?: string | undefined;
|
|
418
483
|
groupId?: string | undefined;
|
|
419
484
|
tags?: string[] | undefined;
|
|
420
485
|
size?: number | undefined;
|
|
421
|
-
|
|
486
|
+
operation?: "delete" | "hit" | "miss" | "set" | undefined;
|
|
422
487
|
}[];
|
|
423
488
|
meta: {
|
|
424
489
|
totalCount?: number | undefined;
|
|
@@ -430,13 +495,16 @@ export declare const cacheLeaves: readonly [{
|
|
|
430
495
|
name: string;
|
|
431
496
|
createdAt: number;
|
|
432
497
|
updatedAt: number;
|
|
433
|
-
operation: "delete" | "hit" | "miss" | "set";
|
|
434
498
|
value: any;
|
|
499
|
+
lastSet: number | null;
|
|
500
|
+
lastHit: number | null;
|
|
501
|
+
lastMiss: number | null;
|
|
502
|
+
lastDelete: number | null;
|
|
435
503
|
description?: string | undefined;
|
|
436
504
|
groupId?: string | undefined;
|
|
437
505
|
tags?: string[] | undefined;
|
|
438
506
|
size?: number | undefined;
|
|
439
|
-
|
|
507
|
+
operation?: "delete" | "hit" | "miss" | "set" | undefined;
|
|
440
508
|
}[];
|
|
441
509
|
meta: {
|
|
442
510
|
totalCount?: number | undefined;
|
|
@@ -458,6 +526,265 @@ export declare const cacheLeaves: readonly [{
|
|
|
458
526
|
pageSize?: unknown;
|
|
459
527
|
}>;
|
|
460
528
|
}>>>;
|
|
529
|
+
}, {
|
|
530
|
+
readonly method: "get";
|
|
531
|
+
readonly path: "cache/:cacheKey";
|
|
532
|
+
readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "description" | "tags" | "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | "bodyFiles" | "feed" | "summary" | "docsGroup" | "deprecated" | "stability" | "docsHidden" | "docsMeta"> & 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<{
|
|
533
|
+
feed: true;
|
|
534
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
535
|
+
id: z.ZodString;
|
|
536
|
+
timestamp: z.ZodNumber;
|
|
537
|
+
operation: z.ZodEnum<{
|
|
538
|
+
delete: "delete";
|
|
539
|
+
hit: "hit";
|
|
540
|
+
miss: "miss";
|
|
541
|
+
set: "set";
|
|
542
|
+
}>;
|
|
543
|
+
key: z.ZodString;
|
|
544
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
545
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
546
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
547
|
+
type: z.ZodOptional<z.ZodString>;
|
|
548
|
+
}, z.core.$strip>>;
|
|
549
|
+
queryExtensionSchema: z.ZodObject<{
|
|
550
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
551
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
552
|
+
}, z.core.$strip>;
|
|
553
|
+
querySchema: z.ZodObject<{
|
|
554
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
555
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
556
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
557
|
+
timestamp: "timestamp";
|
|
558
|
+
duration: "duration";
|
|
559
|
+
level: "level";
|
|
560
|
+
path: "path";
|
|
561
|
+
}>>;
|
|
562
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
563
|
+
asc: "asc";
|
|
564
|
+
desc: "desc";
|
|
565
|
+
}>>;
|
|
566
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
567
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
568
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
569
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
570
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
571
|
+
operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
572
|
+
delete: "delete";
|
|
573
|
+
hit: "hit";
|
|
574
|
+
miss: "miss";
|
|
575
|
+
set: "set";
|
|
576
|
+
}>>>;
|
|
577
|
+
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
578
|
+
delete: "delete";
|
|
579
|
+
hit: "hit";
|
|
580
|
+
miss: "miss";
|
|
581
|
+
set: "set";
|
|
582
|
+
}>>>;
|
|
583
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
584
|
+
keySearch: z.ZodOptional<z.ZodString>;
|
|
585
|
+
}, z.core.$strip>;
|
|
586
|
+
outputMetaSchema: z.ZodObject<{
|
|
587
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
588
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
589
|
+
}, z.core.$strip>;
|
|
590
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
591
|
+
queryExtensionSchema: z.ZodObject<{
|
|
592
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
593
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
594
|
+
}, z.core.$strip>;
|
|
595
|
+
outputMetaSchema: z.ZodObject<{
|
|
596
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
597
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
598
|
+
}, z.core.$strip>;
|
|
599
|
+
}>, "querySchema" | "outputSchema" | "feed">> & {
|
|
600
|
+
feed: true;
|
|
601
|
+
} & import("@emeryld/rrroutes-contract").FeedQueryField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
602
|
+
feed: true;
|
|
603
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
604
|
+
id: z.ZodString;
|
|
605
|
+
timestamp: z.ZodNumber;
|
|
606
|
+
operation: z.ZodEnum<{
|
|
607
|
+
delete: "delete";
|
|
608
|
+
hit: "hit";
|
|
609
|
+
miss: "miss";
|
|
610
|
+
set: "set";
|
|
611
|
+
}>;
|
|
612
|
+
key: z.ZodString;
|
|
613
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
614
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
615
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
616
|
+
type: z.ZodOptional<z.ZodString>;
|
|
617
|
+
}, z.core.$strip>>;
|
|
618
|
+
queryExtensionSchema: z.ZodObject<{
|
|
619
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
620
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
621
|
+
}, z.core.$strip>;
|
|
622
|
+
querySchema: z.ZodObject<{
|
|
623
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
624
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
625
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
626
|
+
timestamp: "timestamp";
|
|
627
|
+
duration: "duration";
|
|
628
|
+
level: "level";
|
|
629
|
+
path: "path";
|
|
630
|
+
}>>;
|
|
631
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
632
|
+
asc: "asc";
|
|
633
|
+
desc: "desc";
|
|
634
|
+
}>>;
|
|
635
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
636
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
637
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
638
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
639
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
640
|
+
operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
641
|
+
delete: "delete";
|
|
642
|
+
hit: "hit";
|
|
643
|
+
miss: "miss";
|
|
644
|
+
set: "set";
|
|
645
|
+
}>>>;
|
|
646
|
+
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
647
|
+
delete: "delete";
|
|
648
|
+
hit: "hit";
|
|
649
|
+
miss: "miss";
|
|
650
|
+
set: "set";
|
|
651
|
+
}>>>;
|
|
652
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
653
|
+
keySearch: z.ZodOptional<z.ZodString>;
|
|
654
|
+
}, z.core.$strip>;
|
|
655
|
+
outputMetaSchema: z.ZodObject<{
|
|
656
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
657
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
658
|
+
}, z.core.$strip>;
|
|
659
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
660
|
+
queryExtensionSchema: z.ZodObject<{
|
|
661
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
662
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
663
|
+
}, z.core.$strip>;
|
|
664
|
+
outputMetaSchema: z.ZodObject<{
|
|
665
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
666
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
667
|
+
}, z.core.$strip>;
|
|
668
|
+
}>> & {
|
|
669
|
+
outputSchema: z.ZodObject<{
|
|
670
|
+
out: z.ZodArray<z.ZodObject<{
|
|
671
|
+
id: z.ZodString;
|
|
672
|
+
timestamp: z.ZodNumber;
|
|
673
|
+
operation: z.ZodEnum<{
|
|
674
|
+
delete: "delete";
|
|
675
|
+
hit: "hit";
|
|
676
|
+
miss: "miss";
|
|
677
|
+
set: "set";
|
|
678
|
+
}>;
|
|
679
|
+
key: z.ZodString;
|
|
680
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
681
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
682
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
683
|
+
type: z.ZodOptional<z.ZodString>;
|
|
684
|
+
}, z.core.$strip>>;
|
|
685
|
+
meta: z.ZodObject<{
|
|
686
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
687
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
688
|
+
}, z.core.$strip>;
|
|
689
|
+
}, z.core.$strip>;
|
|
690
|
+
} & {
|
|
691
|
+
paramsSchema: z.ZodObject<{
|
|
692
|
+
cacheKey: z.ZodString;
|
|
693
|
+
}, z.core.$strip>;
|
|
694
|
+
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
695
|
+
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
696
|
+
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
697
|
+
beforeDate?: string | undefined;
|
|
698
|
+
afterDate?: string | undefined;
|
|
699
|
+
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
700
|
+
orderDirection?: "asc" | "desc" | undefined;
|
|
701
|
+
searchQuery?: string | undefined;
|
|
702
|
+
groupsInclude?: string[] | undefined;
|
|
703
|
+
groupsExclude?: string[] | undefined;
|
|
704
|
+
tagsInclude?: string[] | undefined;
|
|
705
|
+
tagsExclude?: string[] | undefined;
|
|
706
|
+
operationsInclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
707
|
+
operationsExclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
708
|
+
keys?: string[] | undefined;
|
|
709
|
+
keySearch?: string | undefined;
|
|
710
|
+
} & {
|
|
711
|
+
cursor?: string | undefined;
|
|
712
|
+
pageSize?: number | undefined;
|
|
713
|
+
}, {
|
|
714
|
+
beforeDate?: string | undefined;
|
|
715
|
+
afterDate?: string | undefined;
|
|
716
|
+
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
717
|
+
orderDirection?: "asc" | "desc" | undefined;
|
|
718
|
+
searchQuery?: string | undefined;
|
|
719
|
+
groupsInclude?: string[] | undefined;
|
|
720
|
+
groupsExclude?: string[] | undefined;
|
|
721
|
+
tagsInclude?: string[] | undefined;
|
|
722
|
+
tagsExclude?: string[] | undefined;
|
|
723
|
+
operationsInclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
724
|
+
operationsExclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
725
|
+
keys?: string[] | undefined;
|
|
726
|
+
keySearch?: string | undefined;
|
|
727
|
+
} & {
|
|
728
|
+
cursor?: string | undefined;
|
|
729
|
+
pageSize?: unknown;
|
|
730
|
+
}>;
|
|
731
|
+
paramsSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
732
|
+
cacheKey: string;
|
|
733
|
+
}, {
|
|
734
|
+
cacheKey: string;
|
|
735
|
+
}>;
|
|
736
|
+
outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
737
|
+
out: {
|
|
738
|
+
id: string;
|
|
739
|
+
timestamp: number;
|
|
740
|
+
operation: "delete" | "hit" | "miss" | "set";
|
|
741
|
+
key: string;
|
|
742
|
+
size?: number | undefined;
|
|
743
|
+
durationMs?: number | undefined;
|
|
744
|
+
groupId?: string | undefined;
|
|
745
|
+
type?: string | undefined;
|
|
746
|
+
}[];
|
|
747
|
+
meta: {
|
|
748
|
+
totalCount?: number | undefined;
|
|
749
|
+
nextCursor?: string | undefined;
|
|
750
|
+
};
|
|
751
|
+
}, {
|
|
752
|
+
out: {
|
|
753
|
+
id: string;
|
|
754
|
+
timestamp: number;
|
|
755
|
+
operation: "delete" | "hit" | "miss" | "set";
|
|
756
|
+
key: string;
|
|
757
|
+
size?: number | undefined;
|
|
758
|
+
durationMs?: number | undefined;
|
|
759
|
+
groupId?: string | undefined;
|
|
760
|
+
type?: string | undefined;
|
|
761
|
+
}[];
|
|
762
|
+
meta: {
|
|
763
|
+
totalCount?: number | undefined;
|
|
764
|
+
nextCursor?: string | undefined;
|
|
765
|
+
};
|
|
766
|
+
}>;
|
|
767
|
+
outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
768
|
+
totalCount?: number | undefined;
|
|
769
|
+
nextCursor?: string | undefined;
|
|
770
|
+
}, {
|
|
771
|
+
totalCount?: number | undefined;
|
|
772
|
+
nextCursor?: string | undefined;
|
|
773
|
+
}>;
|
|
774
|
+
queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
775
|
+
cursor?: string | undefined;
|
|
776
|
+
pageSize?: number | undefined;
|
|
777
|
+
}, {
|
|
778
|
+
cursor?: string | undefined;
|
|
779
|
+
pageSize?: unknown;
|
|
780
|
+
}>;
|
|
781
|
+
}>>>, "paramsSchema"> & {
|
|
782
|
+
paramsSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
783
|
+
cacheKey: string;
|
|
784
|
+
}, {
|
|
785
|
+
cacheKey: string;
|
|
786
|
+
}>;
|
|
787
|
+
}>>;
|
|
461
788
|
}, {
|
|
462
789
|
readonly method: "get";
|
|
463
790
|
readonly path: "cache/insights";
|
|
@@ -168,6 +168,8 @@ export declare const endpointSchemaWithStats: z.ZodObject<{
|
|
|
168
168
|
durationMs: z.ZodNumber;
|
|
169
169
|
ip: z.ZodOptional<z.ZodString>;
|
|
170
170
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
171
|
+
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
171
173
|
}, z.core.$strip>>;
|
|
172
174
|
volumeTS: z.ZodArray<z.ZodObject<{
|
|
173
175
|
timestamp: z.ZodNumber;
|
|
@@ -202,6 +204,8 @@ export declare const endpointSchemaWithStats: z.ZodObject<{
|
|
|
202
204
|
durationMs: z.ZodNumber;
|
|
203
205
|
ip: z.ZodOptional<z.ZodString>;
|
|
204
206
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
207
|
+
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
208
|
+
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
205
209
|
}, z.core.$strip>>>;
|
|
206
210
|
}, z.core.$strip>;
|
|
207
211
|
export type EndpointDetailData = z.infer<typeof endpointSchemaWithStats>;
|
|
@@ -709,6 +713,8 @@ export declare const endpointLeaves: readonly [{
|
|
|
709
713
|
durationMs: z.ZodNumber;
|
|
710
714
|
ip: z.ZodOptional<z.ZodString>;
|
|
711
715
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
716
|
+
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
717
|
+
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
712
718
|
}, z.core.$strip>>;
|
|
713
719
|
volumeTS: z.ZodArray<z.ZodObject<{
|
|
714
720
|
timestamp: z.ZodNumber;
|
|
@@ -743,6 +749,8 @@ export declare const endpointLeaves: readonly [{
|
|
|
743
749
|
durationMs: z.ZodNumber;
|
|
744
750
|
ip: z.ZodOptional<z.ZodString>;
|
|
745
751
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
752
|
+
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
753
|
+
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
746
754
|
}, z.core.$strip>>>;
|
|
747
755
|
}, z.core.$strip>;
|
|
748
756
|
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
@@ -819,6 +827,8 @@ export declare const endpointLeaves: readonly [{
|
|
|
819
827
|
durationMs: z.ZodNumber;
|
|
820
828
|
ip: z.ZodOptional<z.ZodString>;
|
|
821
829
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
830
|
+
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
831
|
+
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
822
832
|
}, z.core.$strip>>;
|
|
823
833
|
volumeTS: z.ZodArray<z.ZodObject<{
|
|
824
834
|
timestamp: z.ZodNumber;
|
|
@@ -853,6 +863,8 @@ export declare const endpointLeaves: readonly [{
|
|
|
853
863
|
durationMs: z.ZodNumber;
|
|
854
864
|
ip: z.ZodOptional<z.ZodString>;
|
|
855
865
|
userAgent: z.ZodOptional<z.ZodString>;
|
|
866
|
+
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
867
|
+
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
856
868
|
}, z.core.$strip>>>;
|
|
857
869
|
}, z.core.$strip>;
|
|
858
870
|
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
@@ -910,6 +922,8 @@ export declare const endpointLeaves: readonly [{
|
|
|
910
922
|
error?: string | undefined;
|
|
911
923
|
ip?: string | undefined;
|
|
912
924
|
userAgent?: string | undefined;
|
|
925
|
+
requestSize?: number | undefined;
|
|
926
|
+
responseSize?: number | undefined;
|
|
913
927
|
}[];
|
|
914
928
|
volumeTS: {
|
|
915
929
|
timestamp: number;
|
|
@@ -945,6 +959,8 @@ export declare const endpointLeaves: readonly [{
|
|
|
945
959
|
error?: string | undefined;
|
|
946
960
|
ip?: string | undefined;
|
|
947
961
|
userAgent?: string | undefined;
|
|
962
|
+
requestSize?: number | undefined;
|
|
963
|
+
responseSize?: number | undefined;
|
|
948
964
|
}[] | undefined;
|
|
949
965
|
};
|
|
950
966
|
meta: unknown;
|
|
@@ -989,6 +1005,8 @@ export declare const endpointLeaves: readonly [{
|
|
|
989
1005
|
error?: string | undefined;
|
|
990
1006
|
ip?: string | undefined;
|
|
991
1007
|
userAgent?: string | undefined;
|
|
1008
|
+
requestSize?: number | undefined;
|
|
1009
|
+
responseSize?: number | undefined;
|
|
992
1010
|
}[];
|
|
993
1011
|
volumeTS: {
|
|
994
1012
|
timestamp: number;
|
|
@@ -1024,6 +1042,8 @@ export declare const endpointLeaves: readonly [{
|
|
|
1024
1042
|
error?: string | undefined;
|
|
1025
1043
|
ip?: string | undefined;
|
|
1026
1044
|
userAgent?: string | undefined;
|
|
1045
|
+
requestSize?: number | undefined;
|
|
1046
|
+
responseSize?: number | undefined;
|
|
1027
1047
|
}[] | undefined;
|
|
1028
1048
|
};
|
|
1029
1049
|
meta: unknown;
|