@emeryld/rrroutes-openapi 2.5.7 → 2.5.12

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.
Files changed (101) hide show
  1. package/README.md +6 -0
  2. package/dist/docs/LeafDocsPage.d.ts +17 -1
  3. package/dist/index.cjs +98 -49
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.d.ts +14 -26
  6. package/dist/index.mjs +97 -48
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/public/assets/docs.js +120 -115
  9. package/dist/web/app.d.ts +4 -1
  10. package/dist/web/v2/AppShell.d.ts +3 -1
  11. package/dist/web/v2/components/endpoints/EndpointPlayground.d.ts +1 -3
  12. package/dist/web/v2/components/endpoints/KeyValueEditor.d.ts +2 -1
  13. package/dist/web/v2/components/endpoints/PlaygroundEditor.d.ts +1 -2
  14. package/dist/web/v2/components/feeds/FeedPagination.d.ts +1 -2
  15. package/dist/web/v2/components/history/RequestDetailContent.d.ts +2 -18
  16. package/dist/web/v2/components/inputs/JsonInputWithTools.d.ts +3 -1
  17. package/dist/web/v2/components/json/JsonTree.d.ts +11 -0
  18. package/dist/web/v2/components/json/JsonTreeRow.d.ts +14 -0
  19. package/dist/web/v2/components/json/JsonViewer.d.ts +13 -1
  20. package/dist/web/v2/components/json/jsonViewerUtils.d.ts +3 -0
  21. package/dist/web/v2/components/{playgroundOverlay/PlaygroundOverlayLayout.d.ts → layout/OverlayLayout.d.ts} +3 -3
  22. package/dist/web/v2/components/logs/cache/common/CacheSummaryStat.d.ts +7 -0
  23. package/dist/web/v2/components/logs/cache/common/CacheTraceDialog.d.ts +8 -0
  24. package/dist/web/v2/components/logs/cache/common/CacheValueDialog.d.ts +8 -0
  25. package/dist/web/v2/components/logs/cache/common/DetailField.d.ts +7 -0
  26. package/dist/web/v2/components/logs/cache/common/MutedText.d.ts +4 -0
  27. package/dist/web/v2/components/logs/cache/insights/CacheInsights.d.ts +10 -0
  28. package/dist/web/v2/components/logs/cache/insights/CacheInsightsKeySection.d.ts +7 -0
  29. package/dist/web/v2/components/logs/cache/insights/CacheInsightsKpiRow.d.ts +8 -0
  30. package/dist/web/v2/components/logs/cache/insights/CacheInsightsOverview.d.ts +8 -0
  31. package/dist/web/v2/components/logs/cache/insights/CacheInsightsTagSection.d.ts +7 -0
  32. package/dist/web/v2/components/logs/cache/insights/CacheProblemPanels.d.ts +7 -0
  33. package/dist/web/v2/components/logs/cache/insights/CacheTagInsights.d.ts +20 -0
  34. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailActions.d.ts +12 -0
  35. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailLogsTab.d.ts +3 -0
  36. package/dist/web/v2/components/logs/cache/{CacheKeyDetailModal.d.ts → key-detail/CacheKeyDetailModal.d.ts} +7 -2
  37. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailSummary.d.ts +17 -0
  38. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTimelineTab.d.ts +7 -0
  39. package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTracesTab.d.ts +3 -0
  40. package/dist/web/v2/components/logs/cache/logs/CacheDataCard.d.ts +30 -0
  41. package/dist/web/v2/components/logs/cache/logs/CacheFiltersCard.d.ts +15 -0
  42. package/dist/web/v2/components/logs/cache/logs/CacheLogsTable.d.ts +7 -0
  43. package/dist/web/v2/components/logs/cache/{CacheSummaryTable.d.ts → logs/CacheSummaryTable.d.ts} +1 -1
  44. package/dist/web/v2/components/logs/cache/modals/CacheTagDetailModal.d.ts +11 -0
  45. package/dist/web/v2/components/performance/PerformanceMonitor.d.ts +207 -0
  46. package/dist/web/v2/components/presets/PresetForm.d.ts +2 -1
  47. package/dist/web/v2/components/presets/PresetOperationsTabsEditor.d.ts +17 -0
  48. package/dist/web/v2/components/presets/PresetsCsvActions.d.ts +7 -0
  49. package/dist/web/v2/components/presets/presetOperationAdapters.d.ts +11 -0
  50. package/dist/web/v2/components/presets/presetOperationRun.d.ts +35 -0
  51. package/dist/web/v2/components/presets/presetOperationUtils.d.ts +2 -0
  52. package/dist/web/v2/components/primitives/HoverRow.d.ts +6 -0
  53. package/dist/web/v2/components/primitives/InlineActionButton.d.ts +7 -0
  54. package/dist/web/v2/components/primitives/SurfaceActionArea.d.ts +8 -0
  55. package/dist/web/v2/components/request/LastRunPanel.d.ts +17 -0
  56. package/dist/web/v2/components/request/RequestInputsEditor.d.ts +38 -0
  57. package/dist/web/v2/components/request/RequestUrlSelector.d.ts +15 -0
  58. package/dist/web/v2/components/requests/timeline/RequestTimeline.d.ts +13 -0
  59. package/dist/web/v2/components/requests/timeline/RequestTimelineEventMiniCard.d.ts +13 -0
  60. package/dist/web/v2/components/requests/timeline/RequestTimelineFilters.d.ts +20 -0
  61. package/dist/web/v2/components/requests/timeline/RequestTimelineRow.d.ts +15 -0
  62. package/dist/web/v2/components/requests/timeline/types.d.ts +19 -0
  63. package/dist/web/v2/components/tabs/StickyIconTabs.d.ts +17 -0
  64. package/dist/web/v2/components/tags/DurationChip.d.ts +16 -0
  65. package/dist/web/v2/components/tags/LogLevelChip.d.ts +1 -2
  66. package/dist/web/v2/hooks/useCacheTrace.d.ts +21 -0
  67. package/dist/web/v2/registries/logLevelRegistry.d.ts +27 -0
  68. package/dist/web/v2/stores/playgroundStore.d.ts +3 -9
  69. package/dist/web/v2/theme.d.ts +21 -0
  70. package/dist/web/v2/types/types.cacheLog.d.ts +271 -32
  71. package/dist/web/v2/types/types.d.ts +3 -1
  72. package/dist/web/v2/types/types.endpoint.d.ts +20 -0
  73. package/dist/web/v2/types/types.kvRow.d.ts +8 -0
  74. package/dist/web/v2/types/types.log.d.ts +25 -78
  75. package/dist/web/v2/types/types.requestLog.d.ts +40 -44
  76. package/dist/web/v2/types/types.scheduling.d.ts +423 -0
  77. package/dist/web/v2/utils/cache/cacheInsightsMappers.d.ts +6 -0
  78. package/dist/web/v2/utils/cache/cacheInsightsMetrics.d.ts +24 -0
  79. package/dist/web/v2/utils/cache/cacheTraceInsights.d.ts +35 -0
  80. package/dist/web/v2/utils/cacheFormat.d.ts +7 -0
  81. package/dist/web/v2/utils/cacheUtils.d.ts +2 -0
  82. package/dist/web/v2/utils/colorScale.d.ts +14 -0
  83. package/dist/web/v2/utils/downloadTextFile.d.ts +1 -0
  84. package/dist/web/v2/utils/kvRow.d.ts +4 -4
  85. package/dist/web/v2/utils/kvRowAdapters.d.ts +14 -0
  86. package/dist/web/v2/utils/presetCsv.d.ts +22 -0
  87. package/dist/web/v2/utils/presetsCsv.d.ts +6 -0
  88. package/dist/web/v2/utils/sizeFormat.d.ts +2 -0
  89. package/package.json +3 -3
  90. package/dist/web/v2/components/endpoints/PlaygroundRunPanel.d.ts +0 -12
  91. package/dist/web/v2/components/endpoints/PlaygroundTopTabs.d.ts +0 -11
  92. package/dist/web/v2/components/history/RequestTimeline.d.ts +0 -10
  93. package/dist/web/v2/components/logs/cache/CacheInsightsKeySection.d.ts +0 -6
  94. package/dist/web/v2/components/logs/cache/CacheInsightsOverview.d.ts +0 -6
  95. package/dist/web/v2/components/logs/cache/CacheInsightsTagSection.d.ts +0 -6
  96. package/dist/web/v2/components/logs/cache/CacheLogsTable.d.ts +0 -6
  97. package/dist/web/v2/components/logs/cache/CacheTagInsights.d.ts +0 -43
  98. package/dist/web/v2/components/logs/cache/CacheValueDialog.d.ts +0 -7
  99. package/dist/web/v2/components/presets/PresetOperationsEditor.d.ts +0 -7
  100. /package/dist/web/v2/components/{playgroundOverlay → layout}/useMeasuredElement.d.ts +0 -0
  101. /package/dist/web/v2/components/logs/cache/{CacheLogsSection.d.ts → logs/CacheLogsSection.d.ts} +0 -0
@@ -2,6 +2,42 @@ 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>;
20
+ export type CacheTraceType = z.infer<typeof cacheTraceSchema>;
21
+ export declare const cacheTraceQuerySchema: z.ZodObject<{
22
+ beforeDate: z.ZodOptional<z.ZodString>;
23
+ afterDate: z.ZodOptional<z.ZodString>;
24
+ orderBy: z.ZodOptional<z.ZodEnum<{
25
+ timestamp: "timestamp";
26
+ duration: "duration";
27
+ level: "level";
28
+ path: "path";
29
+ }>>;
30
+ orderDirection: z.ZodOptional<z.ZodEnum<{
31
+ asc: "asc";
32
+ desc: "desc";
33
+ }>>;
34
+ searchQuery: z.ZodOptional<z.ZodString>;
35
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
36
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
38
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
39
+ }, z.core.$strip>;
40
+ export type CacheTraceQuery = z.infer<typeof cacheTraceQuerySchema>;
5
41
  export declare const cacheLogSchema: z.ZodObject<{
6
42
  id: z.ZodString;
7
43
  name: z.ZodString;
@@ -10,15 +46,10 @@ export declare const cacheLogSchema: z.ZodObject<{
10
46
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
47
  createdAt: z.ZodNumber;
12
48
  updatedAt: z.ZodNumber;
13
- operation: z.ZodEnum<{
14
- delete: "delete";
15
- hit: "hit";
16
- miss: "miss";
17
- set: "set";
18
- }>;
19
49
  value: z.ZodNullable<z.ZodAny>;
20
50
  size: z.ZodOptional<z.ZodNumber>;
21
- durationMs: z.ZodOptional<z.ZodNumber>;
51
+ setAt: z.ZodOptional<z.ZodNumber>;
52
+ ttlMs: z.ZodOptional<z.ZodNumber>;
22
53
  }, z.core.$strip>;
23
54
  export type CacheLogType = z.infer<typeof cacheLogSchema>;
24
55
  export declare const cacheLogQuerySchema: z.ZodObject<{
@@ -209,15 +240,10 @@ export declare const cacheLeaves: readonly [{
209
240
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
210
241
  createdAt: z.ZodNumber;
211
242
  updatedAt: z.ZodNumber;
212
- operation: z.ZodEnum<{
213
- delete: "delete";
214
- hit: "hit";
215
- miss: "miss";
216
- set: "set";
217
- }>;
218
243
  value: z.ZodNullable<z.ZodAny>;
219
244
  size: z.ZodOptional<z.ZodNumber>;
220
- durationMs: z.ZodOptional<z.ZodNumber>;
245
+ setAt: z.ZodOptional<z.ZodNumber>;
246
+ ttlMs: z.ZodOptional<z.ZodNumber>;
221
247
  }, z.core.$strip>>;
222
248
  querySchema: z.ZodObject<{
223
249
  beforeDate: z.ZodOptional<z.ZodString>;
@@ -281,15 +307,10 @@ export declare const cacheLeaves: readonly [{
281
307
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
282
308
  createdAt: z.ZodNumber;
283
309
  updatedAt: z.ZodNumber;
284
- operation: z.ZodEnum<{
285
- delete: "delete";
286
- hit: "hit";
287
- miss: "miss";
288
- set: "set";
289
- }>;
290
310
  value: z.ZodNullable<z.ZodAny>;
291
311
  size: z.ZodOptional<z.ZodNumber>;
292
- durationMs: z.ZodOptional<z.ZodNumber>;
312
+ setAt: z.ZodOptional<z.ZodNumber>;
313
+ ttlMs: z.ZodOptional<z.ZodNumber>;
293
314
  }, z.core.$strip>>;
294
315
  querySchema: z.ZodObject<{
295
316
  beforeDate: z.ZodOptional<z.ZodString>;
@@ -351,15 +372,10 @@ export declare const cacheLeaves: readonly [{
351
372
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
352
373
  createdAt: z.ZodNumber;
353
374
  updatedAt: z.ZodNumber;
354
- operation: z.ZodEnum<{
355
- delete: "delete";
356
- hit: "hit";
357
- miss: "miss";
358
- set: "set";
359
- }>;
360
375
  value: z.ZodNullable<z.ZodAny>;
361
376
  size: z.ZodOptional<z.ZodNumber>;
362
- durationMs: z.ZodOptional<z.ZodNumber>;
377
+ setAt: z.ZodOptional<z.ZodNumber>;
378
+ ttlMs: z.ZodOptional<z.ZodNumber>;
363
379
  }, z.core.$strip>>;
364
380
  meta: z.ZodObject<{
365
381
  totalCount: z.ZodOptional<z.ZodNumber>;
@@ -412,13 +428,13 @@ export declare const cacheLeaves: readonly [{
412
428
  name: string;
413
429
  createdAt: number;
414
430
  updatedAt: number;
415
- operation: "delete" | "hit" | "miss" | "set";
416
431
  value: any;
417
432
  description?: string | undefined;
418
433
  groupId?: string | undefined;
419
434
  tags?: string[] | undefined;
420
435
  size?: number | undefined;
421
- durationMs?: number | undefined;
436
+ setAt?: number | undefined;
437
+ ttlMs?: number | undefined;
422
438
  }[];
423
439
  meta: {
424
440
  totalCount?: number | undefined;
@@ -430,13 +446,13 @@ export declare const cacheLeaves: readonly [{
430
446
  name: string;
431
447
  createdAt: number;
432
448
  updatedAt: number;
433
- operation: "delete" | "hit" | "miss" | "set";
434
449
  value: any;
435
450
  description?: string | undefined;
436
451
  groupId?: string | undefined;
437
452
  tags?: string[] | undefined;
438
453
  size?: number | undefined;
439
- durationMs?: number | undefined;
454
+ setAt?: number | undefined;
455
+ ttlMs?: number | undefined;
440
456
  }[];
441
457
  meta: {
442
458
  totalCount?: number | undefined;
@@ -458,6 +474,229 @@ export declare const cacheLeaves: readonly [{
458
474
  pageSize?: unknown;
459
475
  }>;
460
476
  }>>>;
477
+ }, {
478
+ readonly method: "get";
479
+ readonly path: "cache/:cacheKey";
480
+ 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<{
481
+ feed: true;
482
+ outputSchema: z.ZodArray<z.ZodObject<{
483
+ id: z.ZodString;
484
+ timestamp: z.ZodNumber;
485
+ operation: z.ZodEnum<{
486
+ delete: "delete";
487
+ hit: "hit";
488
+ miss: "miss";
489
+ set: "set";
490
+ }>;
491
+ key: z.ZodString;
492
+ size: z.ZodOptional<z.ZodNumber>;
493
+ durationMs: z.ZodOptional<z.ZodNumber>;
494
+ groupId: z.ZodOptional<z.ZodString>;
495
+ type: z.ZodOptional<z.ZodString>;
496
+ }, z.core.$strip>>;
497
+ queryExtensionSchema: z.ZodObject<{
498
+ cursor: z.ZodOptional<z.ZodString>;
499
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
500
+ }, z.core.$strip>;
501
+ querySchema: z.ZodObject<{
502
+ beforeDate: z.ZodOptional<z.ZodString>;
503
+ afterDate: z.ZodOptional<z.ZodString>;
504
+ orderBy: z.ZodOptional<z.ZodEnum<{
505
+ timestamp: "timestamp";
506
+ duration: "duration";
507
+ level: "level";
508
+ path: "path";
509
+ }>>;
510
+ orderDirection: z.ZodOptional<z.ZodEnum<{
511
+ asc: "asc";
512
+ desc: "desc";
513
+ }>>;
514
+ searchQuery: z.ZodOptional<z.ZodString>;
515
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
516
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
517
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
518
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
519
+ }, z.core.$strip>;
520
+ outputMetaSchema: z.ZodObject<{
521
+ totalCount: z.ZodOptional<z.ZodNumber>;
522
+ nextCursor: z.ZodOptional<z.ZodString>;
523
+ }, z.core.$strip>;
524
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
525
+ queryExtensionSchema: z.ZodObject<{
526
+ cursor: z.ZodOptional<z.ZodString>;
527
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
528
+ }, z.core.$strip>;
529
+ outputMetaSchema: z.ZodObject<{
530
+ totalCount: z.ZodOptional<z.ZodNumber>;
531
+ nextCursor: z.ZodOptional<z.ZodString>;
532
+ }, z.core.$strip>;
533
+ }>, "querySchema" | "outputSchema" | "feed">> & {
534
+ feed: true;
535
+ } & import("@emeryld/rrroutes-contract").FeedQueryField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
536
+ feed: true;
537
+ outputSchema: z.ZodArray<z.ZodObject<{
538
+ id: z.ZodString;
539
+ timestamp: z.ZodNumber;
540
+ operation: z.ZodEnum<{
541
+ delete: "delete";
542
+ hit: "hit";
543
+ miss: "miss";
544
+ set: "set";
545
+ }>;
546
+ key: z.ZodString;
547
+ size: z.ZodOptional<z.ZodNumber>;
548
+ durationMs: z.ZodOptional<z.ZodNumber>;
549
+ groupId: z.ZodOptional<z.ZodString>;
550
+ type: z.ZodOptional<z.ZodString>;
551
+ }, z.core.$strip>>;
552
+ queryExtensionSchema: z.ZodObject<{
553
+ cursor: z.ZodOptional<z.ZodString>;
554
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
555
+ }, z.core.$strip>;
556
+ querySchema: z.ZodObject<{
557
+ beforeDate: z.ZodOptional<z.ZodString>;
558
+ afterDate: z.ZodOptional<z.ZodString>;
559
+ orderBy: z.ZodOptional<z.ZodEnum<{
560
+ timestamp: "timestamp";
561
+ duration: "duration";
562
+ level: "level";
563
+ path: "path";
564
+ }>>;
565
+ orderDirection: z.ZodOptional<z.ZodEnum<{
566
+ asc: "asc";
567
+ desc: "desc";
568
+ }>>;
569
+ searchQuery: z.ZodOptional<z.ZodString>;
570
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
571
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
572
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
573
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
574
+ }, z.core.$strip>;
575
+ outputMetaSchema: z.ZodObject<{
576
+ totalCount: z.ZodOptional<z.ZodNumber>;
577
+ nextCursor: z.ZodOptional<z.ZodString>;
578
+ }, z.core.$strip>;
579
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
580
+ queryExtensionSchema: z.ZodObject<{
581
+ cursor: z.ZodOptional<z.ZodString>;
582
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
583
+ }, z.core.$strip>;
584
+ outputMetaSchema: z.ZodObject<{
585
+ totalCount: z.ZodOptional<z.ZodNumber>;
586
+ nextCursor: z.ZodOptional<z.ZodString>;
587
+ }, z.core.$strip>;
588
+ }>> & {
589
+ outputSchema: z.ZodObject<{
590
+ out: z.ZodArray<z.ZodObject<{
591
+ id: z.ZodString;
592
+ timestamp: z.ZodNumber;
593
+ operation: z.ZodEnum<{
594
+ delete: "delete";
595
+ hit: "hit";
596
+ miss: "miss";
597
+ set: "set";
598
+ }>;
599
+ key: z.ZodString;
600
+ size: z.ZodOptional<z.ZodNumber>;
601
+ durationMs: z.ZodOptional<z.ZodNumber>;
602
+ groupId: z.ZodOptional<z.ZodString>;
603
+ type: z.ZodOptional<z.ZodString>;
604
+ }, z.core.$strip>>;
605
+ meta: z.ZodObject<{
606
+ totalCount: z.ZodOptional<z.ZodNumber>;
607
+ nextCursor: z.ZodOptional<z.ZodString>;
608
+ }, z.core.$strip>;
609
+ }, z.core.$strip>;
610
+ } & {
611
+ paramsSchema: z.ZodObject<{
612
+ cacheKey: z.ZodString;
613
+ }, z.core.$strip>;
614
+ }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
615
+ bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
616
+ querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
617
+ beforeDate?: string | undefined;
618
+ afterDate?: string | undefined;
619
+ orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
620
+ orderDirection?: "asc" | "desc" | undefined;
621
+ searchQuery?: string | undefined;
622
+ groupsInclude?: string[] | undefined;
623
+ groupsExclude?: string[] | undefined;
624
+ tagsInclude?: string[] | undefined;
625
+ tagsExclude?: string[] | undefined;
626
+ } & {
627
+ cursor?: string | undefined;
628
+ pageSize?: number | undefined;
629
+ }, {
630
+ beforeDate?: string | undefined;
631
+ afterDate?: string | undefined;
632
+ orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
633
+ orderDirection?: "asc" | "desc" | undefined;
634
+ searchQuery?: string | undefined;
635
+ groupsInclude?: string[] | undefined;
636
+ groupsExclude?: string[] | undefined;
637
+ tagsInclude?: string[] | undefined;
638
+ tagsExclude?: string[] | undefined;
639
+ } & {
640
+ cursor?: string | undefined;
641
+ pageSize?: unknown;
642
+ }>;
643
+ paramsSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
644
+ cacheKey: string;
645
+ }, {
646
+ cacheKey: string;
647
+ }>;
648
+ outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
649
+ out: {
650
+ id: string;
651
+ timestamp: number;
652
+ operation: "delete" | "hit" | "miss" | "set";
653
+ key: string;
654
+ size?: number | undefined;
655
+ durationMs?: number | undefined;
656
+ groupId?: string | undefined;
657
+ type?: string | undefined;
658
+ }[];
659
+ meta: {
660
+ totalCount?: number | undefined;
661
+ nextCursor?: string | undefined;
662
+ };
663
+ }, {
664
+ out: {
665
+ id: string;
666
+ timestamp: number;
667
+ operation: "delete" | "hit" | "miss" | "set";
668
+ key: string;
669
+ size?: number | undefined;
670
+ durationMs?: number | undefined;
671
+ groupId?: string | undefined;
672
+ type?: string | undefined;
673
+ }[];
674
+ meta: {
675
+ totalCount?: number | undefined;
676
+ nextCursor?: string | undefined;
677
+ };
678
+ }>;
679
+ outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
680
+ totalCount?: number | undefined;
681
+ nextCursor?: string | undefined;
682
+ }, {
683
+ totalCount?: number | undefined;
684
+ nextCursor?: string | undefined;
685
+ }>;
686
+ queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
687
+ cursor?: string | undefined;
688
+ pageSize?: number | undefined;
689
+ }, {
690
+ cursor?: string | undefined;
691
+ pageSize?: unknown;
692
+ }>;
693
+ }>>>, "paramsSchema"> & {
694
+ paramsSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
695
+ cacheKey: string;
696
+ }, {
697
+ cacheKey: string;
698
+ }>;
699
+ }>>;
461
700
  }, {
462
701
  readonly method: "get";
463
702
  readonly path: "cache/insights";
@@ -4,6 +4,7 @@ import { endpointLeaves } from './types.endpoint.js';
4
4
  import { logLeaves } from './types.log.js';
5
5
  import { presetLeaves } from './types.preset.js';
6
6
  import { requestLogLeaves } from './types.requestLog.js';
7
+ import { schedulingLeaves } from './types.scheduling.js';
7
8
  import { socketLeaves } from './types.socket.js';
8
9
  type AllLeaves = readonly [
9
10
  ...MergeAugmentedCollections<'', undefined, readonly [
@@ -13,7 +14,8 @@ type AllLeaves = readonly [
13
14
  typeof logLeaves,
14
15
  typeof cacheLeaves,
15
16
  typeof presetLeaves,
16
- typeof socketLeaves
17
+ typeof socketLeaves,
18
+ typeof schedulingLeaves
17
19
  ]>
18
20
  ]>
19
21
  ];
@@ -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;
@@ -0,0 +1,8 @@
1
+ export type KeyValueRow = {
2
+ id: string;
3
+ key: string;
4
+ value: string;
5
+ enabled: boolean;
6
+ typeHint?: string;
7
+ description?: string;
8
+ };