@emeryld/rrroutes-openapi 2.6.1 → 2.6.3

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 (80) hide show
  1. package/dist/index.cjs +19 -20
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.mjs +19 -20
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/public/assets/Add.js +1 -0
  6. package/dist/public/assets/Autocomplete.js +1 -0
  7. package/dist/public/assets/BaseFilterBar.js +1 -0
  8. package/dist/public/assets/BentoGrid.js +1 -0
  9. package/dist/public/assets/CacheLogsPage.js +1 -0
  10. package/dist/public/assets/DeleteOutline.js +1 -0
  11. package/dist/public/assets/DiffPage.js +7 -0
  12. package/dist/public/assets/Download.js +1 -0
  13. package/dist/public/assets/EndpointDetailPage.js +1 -0
  14. package/dist/public/assets/EndpointDetailPanel.js +1 -0
  15. package/dist/public/assets/EndpointPlaygroundPage.js +1 -0
  16. package/dist/public/assets/ExpandLess.js +1 -0
  17. package/dist/public/assets/ExportButton.js +2 -0
  18. package/dist/public/assets/FlowBuilderPage.js +20 -0
  19. package/dist/public/assets/HistoryPage.js +1 -0
  20. package/dist/public/assets/LogsPage.js +1 -0
  21. package/dist/public/assets/PageContainer.js +3 -0
  22. package/dist/public/assets/PlayArrow.js +1 -0
  23. package/dist/public/assets/PresetsPage.js +4 -0
  24. package/dist/public/assets/RoutesPage.js +1 -0
  25. package/dist/public/assets/SchedulingPage.js +1 -0
  26. package/dist/public/assets/SchemaTreeView.js +1 -0
  27. package/dist/public/assets/SettingsPage.js +1 -0
  28. package/dist/public/assets/SocketsPage.js +1 -0
  29. package/dist/public/assets/docs.css +1 -1
  30. package/dist/public/assets/docs.js +95 -177
  31. package/dist/public/assets/filterTypes.js +1 -0
  32. package/dist/public/assets/getValidReactChildren.js +1 -0
  33. package/dist/public/assets/kvRowAdapters.js +1 -0
  34. package/dist/public/assets/schemaDefaults.js +1 -0
  35. package/dist/public/assets/useEndpointOptions.js +1 -0
  36. package/dist/public/assets/useQueryState.js +1 -0
  37. package/dist/public/assets/vendor-recharts.js +99 -0
  38. package/dist/public/assets/vendor-xyflow.js +15 -0
  39. package/dist/web/v2/AppShell.d.ts +1 -3
  40. package/dist/web/v2/components/diff/DiffViewer.d.ts +7 -0
  41. package/dist/web/v2/components/diff/RequestDiffSelector.d.ts +15 -0
  42. package/dist/web/v2/components/diff/SchemaDiffViewer.d.ts +7 -0
  43. package/dist/web/v2/components/feedback/CopyAsMenu.d.ts +10 -0
  44. package/dist/web/v2/components/feedback/CopySnackbar.d.ts +1 -0
  45. package/dist/web/v2/components/flows/FlowCanvas.d.ts +13 -0
  46. package/dist/web/v2/components/flows/FlowNodeEditor.d.ts +8 -0
  47. package/dist/web/v2/components/flows/FlowRunProgress.d.ts +7 -0
  48. package/dist/web/v2/components/flows/FlowVariablePanel.d.ts +7 -0
  49. package/dist/web/v2/components/flows/nodes/ConditionNode.d.ts +7 -0
  50. package/dist/web/v2/components/flows/nodes/DelayNode.d.ts +7 -0
  51. package/dist/web/v2/components/flows/nodes/ExtractNode.d.ts +8 -0
  52. package/dist/web/v2/components/flows/nodes/RequestNode.d.ts +10 -0
  53. package/dist/web/v2/components/layout/ActivityBar.d.ts +1 -0
  54. package/dist/web/v2/components/layout/BentoGrid.d.ts +17 -0
  55. package/dist/web/v2/components/layout/ContentArea.d.ts +1 -0
  56. package/dist/web/v2/components/layout/PanelRegistry.d.ts +17 -0
  57. package/dist/web/v2/components/request/LastRunPanel.d.ts +5 -0
  58. package/dist/web/v2/components/request/TimingBreakdown.d.ts +11 -0
  59. package/dist/web/v2/components/requests/timeline/TimelinePhaseBar.d.ts +13 -0
  60. package/dist/web/v2/components/requests/timeline/TimelineWaterfall.d.ts +12 -0
  61. package/dist/web/v2/hooks/useLeafEndpoint.d.ts +2 -2
  62. package/dist/web/v2/pages/DiffPage.d.ts +1 -0
  63. package/dist/web/v2/pages/FlowBuilderPage.d.ts +1 -0
  64. package/dist/web/v2/stores/flowStore.d.ts +70 -0
  65. package/dist/web/v2/stores/layoutStore.d.ts +13 -0
  66. package/dist/web/v2/stores/playgroundSettingsStore.d.ts +10 -0
  67. package/dist/web/v2/stores/snackbarStore.d.ts +17 -0
  68. package/dist/web/v2/types/types.cacheLog.d.ts +138 -52
  69. package/dist/web/v2/types/types.d.ts +8 -10
  70. package/dist/web/v2/types/types.endpoint.d.ts +197 -141
  71. package/dist/web/v2/types/types.log.d.ts +49 -20
  72. package/dist/web/v2/types/types.preset.d.ts +171 -87
  73. package/dist/web/v2/types/types.requestLog.d.ts +137 -92
  74. package/dist/web/v2/types/types.scheduling.d.ts +90 -40
  75. package/dist/web/v2/types/types.socket.d.ts +71 -35
  76. package/dist/web/v2/utils/codeGeneration.d.ts +12 -0
  77. package/dist/web/v2/utils/diffUtils.d.ts +11 -0
  78. package/dist/web/v2/utils/flowRunner.d.ts +17 -0
  79. package/dist/web/v2/utils/templateResolver.d.ts +4 -0
  80. package/package.json +15 -12
@@ -0,0 +1,17 @@
1
+ import { type ComponentType, type ReactElement } from 'react';
2
+ export type PanelGroup = 'api' | 'data' | 'tools' | 'system';
3
+ export type PanelDefinition = {
4
+ id: string;
5
+ title: string;
6
+ icon: string;
7
+ iconElement: ReactElement;
8
+ group: PanelGroup;
9
+ showInSidebar: boolean;
10
+ component: React.LazyExoticComponent<ComponentType<unknown>>;
11
+ };
12
+ declare const registry: Record<string, PanelDefinition>;
13
+ export declare function getPanelDefinition(id: string): PanelDefinition | undefined;
14
+ export declare function getAllPanels(): PanelDefinition[];
15
+ export declare function getPanelIds(): string[];
16
+ export declare function getSidebarPanels(): PanelDefinition[];
17
+ export default registry;
@@ -5,6 +5,11 @@ export type LastRunMeta = {
5
5
  time: string;
6
6
  errorMessage?: string;
7
7
  response?: unknown;
8
+ requestSnapshot?: {
9
+ method?: string;
10
+ path?: string;
11
+ body?: string;
12
+ };
8
13
  };
9
14
  type LastRunPanelProps = {
10
15
  title?: string;
@@ -0,0 +1,11 @@
1
+ type Phase = {
2
+ label: string;
3
+ durationMs: number;
4
+ color?: string;
5
+ };
6
+ type TimingBreakdownProps = {
7
+ durationMs: number;
8
+ phases?: Phase[];
9
+ };
10
+ export default function TimingBreakdown({ durationMs, phases, }: TimingBreakdownProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,13 @@
1
+ import type { RequestTimelineEvent } from './types.js';
2
+ type SubPhase = {
3
+ label: string;
4
+ percent: number;
5
+ };
6
+ type TimelinePhaseBarProps = {
7
+ kind: RequestTimelineEvent['kind'];
8
+ widthPercent: number;
9
+ label?: string;
10
+ subPhases?: Array<SubPhase>;
11
+ };
12
+ export default function TimelinePhaseBar({ kind, widthPercent, label, subPhases, }: TimelinePhaseBarProps): import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,12 @@
1
+ import type { RequestTimelineEvent } from './types.js';
2
+ type TimelineWaterfallEvent = {
3
+ event: RequestTimelineEvent;
4
+ deltaMs: number | null;
5
+ };
6
+ type TimelineWaterfallProps = {
7
+ events: Array<TimelineWaterfallEvent>;
8
+ maxDeltaMs: number;
9
+ onEventClick?: (event: RequestTimelineEvent) => void;
10
+ };
11
+ export default function TimelineWaterfall({ events, maxDeltaMs, onEventClick, }: TimelineWaterfallProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -1,7 +1,7 @@
1
- import type { BuildOptionsFor } from '@emeryld/rrroutes-client';
1
+ import type { BuildOptionsFor, BuiltForLeaf } from '@emeryld/rrroutes-client';
2
2
  import { leaves } from '../types/types.js';
3
3
  type Leaves = typeof leaves;
4
4
  type LeafKey = keyof Leaves['byKey'];
5
5
  type LeafType<K extends LeafKey> = Leaves['byKey'][K];
6
- export declare function useLeafEndpoint<K extends LeafKey>(key: K, options?: BuildOptionsFor<LeafType<K>>): import("@emeryld/rrroutes-client").BuiltForLeaf<LeafType<K>>;
6
+ export declare function useLeafEndpoint<K extends LeafKey>(key: K, options?: BuildOptionsFor<LeafType<K>>): BuiltForLeaf<LeafType<K>>;
7
7
  export {};
@@ -0,0 +1 @@
1
+ export default function DiffPage(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export default function FlowBuilderPage(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,70 @@
1
+ import { ReactNode } from 'react';
2
+ export type FlowNodeType = 'request' | 'condition' | 'delay' | 'extract';
3
+ export type RequestNodeData = {
4
+ method: string;
5
+ path: string;
6
+ headers?: Record<string, string>;
7
+ body?: string;
8
+ queryParams?: Record<string, string>;
9
+ };
10
+ export type ConditionNodeData = {
11
+ expression: string;
12
+ };
13
+ export type DelayNodeData = {
14
+ durationMs: number;
15
+ };
16
+ export type ExtractNodeData = {
17
+ variableName: string;
18
+ jsonPath: string;
19
+ };
20
+ export type FlowStepNode = {
21
+ id: string;
22
+ type: FlowNodeType;
23
+ position: {
24
+ x: number;
25
+ y: number;
26
+ };
27
+ data: RequestNodeData | ConditionNodeData | DelayNodeData | ExtractNodeData;
28
+ };
29
+ export type FlowEdge = {
30
+ id: string;
31
+ source: string;
32
+ target: string;
33
+ sourceHandle?: string;
34
+ };
35
+ export type FlowVariable = {
36
+ name: string;
37
+ value: unknown;
38
+ sourceNodeId?: string;
39
+ };
40
+ export type FlowDefinition = {
41
+ id: string;
42
+ name: string;
43
+ nodes: FlowStepNode[];
44
+ edges: FlowEdge[];
45
+ };
46
+ export type FlowRunState = {
47
+ status: 'idle' | 'running' | 'completed' | 'error';
48
+ currentNodeId: string | null;
49
+ completedNodeIds: string[];
50
+ errorNodeId: string | null;
51
+ errorMessage: string | null;
52
+ variables: FlowVariable[];
53
+ elapsedMs: number;
54
+ };
55
+ type FlowContextValue = {
56
+ flows: FlowDefinition[];
57
+ activeFlowId: string | null;
58
+ runState: FlowRunState;
59
+ addFlow: (flow: FlowDefinition) => void;
60
+ updateFlow: (flow: FlowDefinition) => void;
61
+ deleteFlow: (id: string) => void;
62
+ setActiveFlow: (id: string | null) => void;
63
+ setRunState: (state: FlowRunState) => void;
64
+ resetRunState: () => void;
65
+ };
66
+ export declare function FlowProvider({ children }: {
67
+ children: ReactNode;
68
+ }): import("react/jsx-runtime").JSX.Element;
69
+ export declare function useFlows(): FlowContextValue;
70
+ export {};
@@ -0,0 +1,13 @@
1
+ import { ReactNode } from 'react';
2
+ type LayoutContextValue = {
3
+ activePanel: string;
4
+ sidebarCollapsed: boolean;
5
+ openPanel: (panelId: string) => void;
6
+ toggleSidebar: () => void;
7
+ resetLayout: () => void;
8
+ };
9
+ export declare function LayoutProvider({ children }: {
10
+ children: ReactNode;
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ export declare function useLayout(): LayoutContextValue;
13
+ export {};
@@ -1,9 +1,19 @@
1
1
  import { ReactNode } from 'react';
2
2
  import type { PlaygroundKeyValueRow } from './playgroundStore.js';
3
+ export type AuthTokenEntry = {
4
+ id: string;
5
+ name: string;
6
+ headerName: string;
7
+ value: string;
8
+ enabled: boolean;
9
+ };
3
10
  type PlaygroundSettingsContextValue = {
4
11
  defaultHeaders: PlaygroundKeyValueRow[];
5
12
  setDefaultHeaders: (rows: PlaygroundKeyValueRow[]) => void;
6
13
  resetDefaultHeaders: () => void;
14
+ authTokens: AuthTokenEntry[];
15
+ setAuthTokens: (tokens: AuthTokenEntry[]) => void;
16
+ resetAuthTokens: () => void;
7
17
  };
8
18
  export declare function PlaygroundSettingsProvider({ children, }: {
9
19
  children: ReactNode;
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+ type SnackbarSeverity = 'success' | 'info' | 'warning' | 'error';
3
+ type SnackbarEntry = {
4
+ message: string;
5
+ severity: SnackbarSeverity;
6
+ key: number;
7
+ };
8
+ type SnackbarContextValue = {
9
+ current: SnackbarEntry | null;
10
+ showSnackbar: (message: string, severity?: SnackbarSeverity) => void;
11
+ dismiss: () => void;
12
+ };
13
+ export declare function SnackbarProvider({ children }: {
14
+ children: ReactNode;
15
+ }): import("react/jsx-runtime").JSX.Element;
16
+ export declare function useSnackbar(): SnackbarContextValue;
17
+ export {};
@@ -81,7 +81,7 @@ export declare const cacheTraceQuerySchema: z.ZodObject<{
81
81
  export type CacheTraceQuery = z.infer<typeof cacheTraceQuerySchema> & z.infer<typeof paginationSchema>;
82
82
  export declare const cacheLeaves: readonly [{
83
83
  readonly method: "get";
84
- readonly path: "cache";
84
+ readonly path: "/cache";
85
85
  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"> & {
86
86
  queryExtensionSchema: C["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["queryExtensionSchema"] : undefined;
87
87
  outputMetaSchema: C["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["outputMetaSchema"] : undefined;
@@ -203,27 +203,55 @@ export declare const cacheLeaves: readonly [{
203
203
  totalCount: z.ZodOptional<z.ZodNumber>;
204
204
  nextCursor: z.ZodOptional<z.ZodString>;
205
205
  }, z.core.$strip>;
206
- }>> & {
207
- outputSchema: z.ZodObject<{
208
- out: z.ZodArray<z.ZodObject<{
209
- id: z.ZodString;
210
- name: z.ZodString;
211
- description: z.ZodOptional<z.ZodString>;
212
- groupId: z.ZodOptional<z.ZodString>;
213
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
214
- createdAt: z.ZodNumber;
215
- updatedAt: z.ZodNumber;
216
- value: z.ZodNullable<z.ZodAny>;
217
- size: z.ZodOptional<z.ZodNumber>;
218
- setAt: z.ZodOptional<z.ZodNumber>;
219
- ttlMs: z.ZodOptional<z.ZodNumber>;
220
- }, z.core.$strip>>;
221
- meta: z.ZodObject<{
222
- totalCount: z.ZodOptional<z.ZodNumber>;
223
- nextCursor: z.ZodOptional<z.ZodString>;
224
- }, z.core.$strip>;
206
+ }>> & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
207
+ feed: true;
208
+ outputSchema: z.ZodArray<z.ZodObject<{
209
+ id: z.ZodString;
210
+ name: z.ZodString;
211
+ description: z.ZodOptional<z.ZodString>;
212
+ groupId: z.ZodOptional<z.ZodString>;
213
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
214
+ createdAt: z.ZodNumber;
215
+ updatedAt: z.ZodNumber;
216
+ value: z.ZodNullable<z.ZodAny>;
217
+ size: z.ZodOptional<z.ZodNumber>;
218
+ setAt: z.ZodOptional<z.ZodNumber>;
219
+ ttlMs: z.ZodOptional<z.ZodNumber>;
220
+ }, z.core.$strip>>;
221
+ querySchema: z.ZodObject<{
222
+ beforeDate: z.ZodOptional<z.ZodString>;
223
+ afterDate: z.ZodOptional<z.ZodString>;
224
+ orderBy: z.ZodOptional<z.ZodString>;
225
+ orderDirection: z.ZodOptional<z.ZodEnum<{
226
+ asc: "asc";
227
+ desc: "desc";
228
+ }>>;
229
+ searchQuery: z.ZodOptional<z.ZodString>;
230
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
231
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
232
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
233
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
234
+ keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
235
+ keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
225
236
  }, z.core.$strip>;
226
- } & {
237
+ outputMetaSchema: z.ZodObject<{
238
+ totalCount: z.ZodOptional<z.ZodNumber>;
239
+ nextCursor: z.ZodOptional<z.ZodString>;
240
+ }, z.core.$strip>;
241
+ queryExtensionSchema: z.ZodObject<{
242
+ cursor: z.ZodOptional<z.ZodString>;
243
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
244
+ }, z.core.$strip>;
245
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
246
+ queryExtensionSchema: z.ZodObject<{
247
+ cursor: z.ZodOptional<z.ZodString>;
248
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
249
+ }, z.core.$strip>;
250
+ outputMetaSchema: z.ZodObject<{
251
+ totalCount: z.ZodOptional<z.ZodNumber>;
252
+ nextCursor: z.ZodOptional<z.ZodString>;
253
+ }, z.core.$strip>;
254
+ }>> & {
227
255
  paramsSchema: undefined;
228
256
  }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
229
257
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
@@ -313,7 +341,7 @@ export declare const cacheLeaves: readonly [{
313
341
  }>>>;
314
342
  }, {
315
343
  readonly method: "post";
316
- readonly path: "cache/clear";
344
+ readonly path: "/cache/clear";
317
345
  readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
318
346
  feed: false;
319
347
  }>, "queryExtensionSchema" | "outputMetaSchema"> & {
@@ -391,14 +419,32 @@ export declare const cacheLeaves: readonly [{
391
419
  keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
392
420
  keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
393
421
  }, z.core.$strip>;
394
- } & {
422
+ } & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
395
423
  outputSchema: z.ZodObject<{
396
- out: z.ZodObject<{
397
- success: z.ZodBoolean;
398
- }, z.core.$strip>;
399
- meta: z.ZodOptional<z.ZodString>;
424
+ success: z.ZodBoolean;
400
425
  }, z.core.$strip>;
401
- } & {
426
+ querySchema: z.ZodObject<{
427
+ beforeDate: z.ZodOptional<z.ZodString>;
428
+ afterDate: z.ZodOptional<z.ZodString>;
429
+ orderBy: z.ZodOptional<z.ZodString>;
430
+ orderDirection: z.ZodOptional<z.ZodEnum<{
431
+ asc: "asc";
432
+ desc: "desc";
433
+ }>>;
434
+ searchQuery: z.ZodOptional<z.ZodString>;
435
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
436
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
437
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
438
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
439
+ keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
440
+ keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
441
+ }, z.core.$strip>;
442
+ }, "feed"> & {
443
+ feed: false;
444
+ }>, "queryExtensionSchema" | "outputMetaSchema"> & {
445
+ queryExtensionSchema: undefined;
446
+ outputMetaSchema: undefined;
447
+ }>> & {
402
448
  paramsSchema: undefined;
403
449
  }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
404
450
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
@@ -446,7 +492,7 @@ export declare const cacheLeaves: readonly [{
446
492
  }>>;
447
493
  }, {
448
494
  readonly method: "get";
449
- readonly path: "cache/trace";
495
+ readonly path: "/cache/trace";
450
496
  readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<C_2, "queryExtensionSchema" | "outputMetaSchema"> & {
451
497
  queryExtensionSchema: C_2["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_2["queryExtensionSchema"] : undefined;
452
498
  outputMetaSchema: C_2["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_2["outputMetaSchema"] : undefined;
@@ -598,30 +644,70 @@ export declare const cacheLeaves: readonly [{
598
644
  totalCount: z.ZodOptional<z.ZodNumber>;
599
645
  nextCursor: z.ZodOptional<z.ZodString>;
600
646
  }, z.core.$strip>;
601
- }>> & {
602
- outputSchema: z.ZodObject<{
603
- out: 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
- ttlMs: z.ZodOptional<z.ZodNumber>;
617
- type: z.ZodOptional<z.ZodString>;
618
- }, z.core.$strip>>;
619
- meta: z.ZodObject<{
620
- totalCount: z.ZodOptional<z.ZodNumber>;
621
- nextCursor: z.ZodOptional<z.ZodString>;
622
- }, z.core.$strip>;
647
+ }>> & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
648
+ feed: true;
649
+ outputSchema: z.ZodArray<z.ZodObject<{
650
+ id: z.ZodString;
651
+ timestamp: z.ZodNumber;
652
+ operation: z.ZodEnum<{
653
+ delete: "delete";
654
+ hit: "hit";
655
+ miss: "miss";
656
+ set: "set";
657
+ }>;
658
+ key: z.ZodString;
659
+ size: z.ZodOptional<z.ZodNumber>;
660
+ durationMs: z.ZodOptional<z.ZodNumber>;
661
+ groupId: z.ZodOptional<z.ZodString>;
662
+ ttlMs: z.ZodOptional<z.ZodNumber>;
663
+ type: z.ZodOptional<z.ZodString>;
664
+ }, z.core.$strip>>;
665
+ querySchema: z.ZodObject<{
666
+ beforeDate: z.ZodOptional<z.ZodString>;
667
+ afterDate: z.ZodOptional<z.ZodString>;
668
+ orderBy: z.ZodOptional<z.ZodString>;
669
+ orderDirection: z.ZodOptional<z.ZodEnum<{
670
+ asc: "asc";
671
+ desc: "desc";
672
+ }>>;
673
+ searchQuery: z.ZodOptional<z.ZodString>;
674
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
675
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
676
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
677
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
678
+ keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
679
+ keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
680
+ operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
681
+ delete: "delete";
682
+ hit: "hit";
683
+ miss: "miss";
684
+ set: "set";
685
+ }>>>;
686
+ operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
687
+ delete: "delete";
688
+ hit: "hit";
689
+ miss: "miss";
690
+ set: "set";
691
+ }>>>;
623
692
  }, z.core.$strip>;
624
- } & {
693
+ outputMetaSchema: z.ZodObject<{
694
+ totalCount: z.ZodOptional<z.ZodNumber>;
695
+ nextCursor: z.ZodOptional<z.ZodString>;
696
+ }, z.core.$strip>;
697
+ queryExtensionSchema: z.ZodObject<{
698
+ cursor: z.ZodOptional<z.ZodString>;
699
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
700
+ }, z.core.$strip>;
701
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
702
+ queryExtensionSchema: z.ZodObject<{
703
+ cursor: z.ZodOptional<z.ZodString>;
704
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
705
+ }, z.core.$strip>;
706
+ outputMetaSchema: z.ZodObject<{
707
+ totalCount: z.ZodOptional<z.ZodNumber>;
708
+ nextCursor: z.ZodOptional<z.ZodString>;
709
+ }, z.core.$strip>;
710
+ }>> & {
625
711
  paramsSchema: undefined;
626
712
  }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
627
713
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
@@ -7,16 +7,14 @@ import { requestLogLeaves } from './types.requestLog.js';
7
7
  import { schedulingLeaves } from './types.scheduling.js';
8
8
  import { socketLeaves } from './types.socket.js';
9
9
  type AllLeaves = readonly [
10
- ...MergeAugmentedCollections<'', undefined, readonly [
11
- MergeAugmentedCollections<'/__rrroutes', undefined, readonly [
12
- typeof endpointLeaves,
13
- typeof requestLogLeaves,
14
- typeof logLeaves,
15
- typeof cacheLeaves,
16
- typeof presetLeaves,
17
- typeof socketLeaves,
18
- typeof schedulingLeaves
19
- ]>
10
+ ...MergeAugmentedCollections<'/__rrroutes', undefined, readonly [
11
+ typeof endpointLeaves,
12
+ typeof requestLogLeaves,
13
+ typeof logLeaves,
14
+ typeof cacheLeaves,
15
+ typeof presetLeaves,
16
+ typeof socketLeaves,
17
+ typeof schedulingLeaves
20
18
  ]>
21
19
  ];
22
20
  declare const allLeaves: AllLeaves;