@emeryld/rrroutes-openapi 2.6.3 → 2.6.7
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/public/assets/docs.js +240 -87
- package/dist/web/v2/components/flows/FlowCanvas.d.ts +2 -2
- package/dist/web/v2/components/flows/FlowRunProgress.d.ts +2 -2
- package/dist/web/v2/components/flows/FlowToolbar.d.ts +22 -0
- package/dist/web/v2/components/flows/FlowVariablePanel.d.ts +2 -2
- package/dist/web/v2/components/flows/RecordingReviewDialog.d.ts +9 -0
- package/dist/web/v2/components/flows/nodes/ConditionNode.d.ts +2 -2
- package/dist/web/v2/components/flows/nodes/DelayNode.d.ts +2 -2
- package/dist/web/v2/components/flows/nodes/ExtractNode.d.ts +2 -2
- package/dist/web/v2/components/flows/nodes/RequestNode.d.ts +4 -7
- package/dist/web/v2/hooks/useFlowKeyboardShortcuts.d.ts +17 -0
- package/dist/web/v2/hooks/useFlowRecording.d.ts +13 -0
- package/dist/web/v2/hooks/useLeafEndpoint.d.ts +2 -2
- package/dist/web/v2/stores/flowStore.d.ts +4 -0
- package/dist/web/v2/types/types.cacheLog.d.ts +49 -135
- package/dist/web/v2/types/types.endpoint.d.ts +139 -194
- package/dist/web/v2/types/types.log.d.ts +19 -48
- package/dist/web/v2/types/types.preset.d.ts +84 -168
- package/dist/web/v2/types/types.requestLog.d.ts +90 -135
- package/dist/web/v2/types/types.scheduling.d.ts +37 -87
- package/dist/web/v2/types/types.socket.d.ts +33 -69
- package/dist/web/v2/utils/flowHelpers.d.ts +33 -0
- package/dist/web/v2/utils/flowPresets.d.ts +11 -0
- package/dist/web/v2/utils/flowRecorder.d.ts +5 -0
- package/package.json +11 -11
- package/dist/public/assets/Add.js +0 -1
- package/dist/public/assets/Autocomplete.js +0 -1
- package/dist/public/assets/BaseFilterBar.js +0 -1
- package/dist/public/assets/BentoGrid.js +0 -1
- package/dist/public/assets/CacheLogsPage.js +0 -1
- package/dist/public/assets/DeleteOutline.js +0 -1
- package/dist/public/assets/DiffPage.js +0 -7
- package/dist/public/assets/Download.js +0 -1
- package/dist/public/assets/EndpointDetailPage.js +0 -1
- package/dist/public/assets/EndpointDetailPanel.js +0 -1
- package/dist/public/assets/EndpointPlaygroundPage.js +0 -1
- package/dist/public/assets/ExpandLess.js +0 -1
- package/dist/public/assets/ExportButton.js +0 -2
- package/dist/public/assets/FlowBuilderPage.js +0 -20
- package/dist/public/assets/HistoryPage.js +0 -1
- package/dist/public/assets/LogsPage.js +0 -1
- package/dist/public/assets/PageContainer.js +0 -3
- package/dist/public/assets/PlayArrow.js +0 -1
- package/dist/public/assets/PresetsPage.js +0 -4
- package/dist/public/assets/RoutesPage.js +0 -1
- package/dist/public/assets/SchedulingPage.js +0 -1
- package/dist/public/assets/SchemaTreeView.js +0 -1
- package/dist/public/assets/SettingsPage.js +0 -1
- package/dist/public/assets/SocketsPage.js +0 -1
- package/dist/public/assets/filterTypes.js +0 -1
- package/dist/public/assets/getValidReactChildren.js +0 -1
- package/dist/public/assets/kvRowAdapters.js +0 -1
- package/dist/public/assets/schemaDefaults.js +0 -1
- package/dist/public/assets/useEndpointOptions.js +0 -1
- package/dist/public/assets/useQueryState.js +0 -1
- package/dist/public/assets/vendor-recharts.js +0 -99
- package/dist/public/assets/vendor-xyflow.js +0 -15
|
@@ -9,5 +9,5 @@ type FlowCanvasProps = {
|
|
|
9
9
|
onNodeClick?: (event: React.MouseEvent, node: Node) => void;
|
|
10
10
|
onMouseMove?: (event: React.MouseEvent) => void;
|
|
11
11
|
};
|
|
12
|
-
|
|
13
|
-
export
|
|
12
|
+
declare const _default: import("react").NamedExoticComponent<FlowCanvasProps>;
|
|
13
|
+
export default _default;
|
|
@@ -3,5 +3,5 @@ type FlowRunProgressProps = {
|
|
|
3
3
|
runState: FlowRunState;
|
|
4
4
|
nodes: FlowStepNode[];
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
export
|
|
6
|
+
declare const _default: import("react").NamedExoticComponent<FlowRunProgressProps>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { FlowDefinition, FlowNodeType } from '../../stores/flowStore.js';
|
|
2
|
+
import { type PresetTemplate } from '../../utils/flowPresets.js';
|
|
3
|
+
type FlowToolbarProps = {
|
|
4
|
+
flowName: string;
|
|
5
|
+
onFlowNameChange: (name: string) => void;
|
|
6
|
+
flows: FlowDefinition[];
|
|
7
|
+
activeFlowId: string | null;
|
|
8
|
+
onSelectFlow: (id: string | null) => void;
|
|
9
|
+
onNewFlow: () => void;
|
|
10
|
+
onLoadPreset: (template: PresetTemplate) => void;
|
|
11
|
+
onSave: () => void;
|
|
12
|
+
onAddNode: (type: FlowNodeType) => void;
|
|
13
|
+
onRun: () => void;
|
|
14
|
+
isRunning: boolean;
|
|
15
|
+
isRecording: boolean;
|
|
16
|
+
recordedRequestCount: number;
|
|
17
|
+
onStartRecording: () => void;
|
|
18
|
+
onStopRecording: () => void;
|
|
19
|
+
connectSource: string | null;
|
|
20
|
+
};
|
|
21
|
+
declare const _default: import("react").NamedExoticComponent<FlowToolbarProps>;
|
|
22
|
+
export default _default;
|
|
@@ -3,5 +3,5 @@ type FlowVariablePanelProps = {
|
|
|
3
3
|
variables: FlowVariable[];
|
|
4
4
|
nodes: FlowStepNode[];
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
export
|
|
6
|
+
declare const _default: import("react").NamedExoticComponent<FlowVariablePanelProps>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { RequestLogType } from '../../types/types.requestLog.js';
|
|
2
|
+
type RecordingReviewDialogProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
requests: RequestLogType[];
|
|
5
|
+
onGenerate: (selectedRequests: RequestLogType[], flowName: string) => void;
|
|
6
|
+
onCancel: () => void;
|
|
7
|
+
};
|
|
8
|
+
export default function RecordingReviewDialog({ open, requests, onGenerate, onCancel, }: RecordingReviewDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -3,5 +3,5 @@ type ConditionNodeData = {
|
|
|
3
3
|
expression: string;
|
|
4
4
|
onSelect?: () => void;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
export
|
|
6
|
+
declare const _default: import("react").NamedExoticComponent<NodeProps<Node<ConditionNodeData>>>;
|
|
7
|
+
export default _default;
|
|
@@ -3,5 +3,5 @@ type DelayNodeData = {
|
|
|
3
3
|
durationMs: number;
|
|
4
4
|
onSelect?: () => void;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
export
|
|
6
|
+
declare const _default: import("react").NamedExoticComponent<NodeProps<Node<DelayNodeData>>>;
|
|
7
|
+
export default _default;
|
|
@@ -4,5 +4,5 @@ type ExtractNodeData = {
|
|
|
4
4
|
jsonPath: string;
|
|
5
5
|
onSelect?: () => void;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
export
|
|
7
|
+
declare const _default: import("react").NamedExoticComponent<NodeProps<Node<ExtractNodeData>>>;
|
|
8
|
+
export default _default;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { type Node, type NodeProps } from '@xyflow/react';
|
|
2
|
-
type RequestNodeData
|
|
3
|
-
|
|
4
|
-
path: string;
|
|
5
|
-
headers?: Record<string, string>;
|
|
6
|
-
body?: string;
|
|
2
|
+
import type { RequestNodeData } from '../../../stores/flowStore.js';
|
|
3
|
+
type RequestNodeDataWithSelect = RequestNodeData & {
|
|
7
4
|
onSelect?: () => void;
|
|
8
5
|
};
|
|
9
|
-
|
|
10
|
-
export
|
|
6
|
+
declare const _default: import("react").NamedExoticComponent<NodeProps<Node<RequestNodeDataWithSelect>>>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type Edge, type Node } from '@xyflow/react';
|
|
2
|
+
import { type Dispatch, type SetStateAction } from 'react';
|
|
3
|
+
import type { FlowStepNode } from '../stores/flowStore.js';
|
|
4
|
+
type UseFlowKeyboardShortcutsArgs = {
|
|
5
|
+
selectedNode: FlowStepNode | null;
|
|
6
|
+
setSelectedNode: Dispatch<SetStateAction<FlowStepNode | null>>;
|
|
7
|
+
connectSource: string | null;
|
|
8
|
+
setConnectSource: Dispatch<SetStateAction<string | null>>;
|
|
9
|
+
setNodes: Dispatch<SetStateAction<Node[]>>;
|
|
10
|
+
setEdges: Dispatch<SetStateAction<Edge[]>>;
|
|
11
|
+
mousePosRef: React.RefObject<{
|
|
12
|
+
x: number;
|
|
13
|
+
y: number;
|
|
14
|
+
}>;
|
|
15
|
+
};
|
|
16
|
+
export declare function useFlowKeyboardShortcuts({ selectedNode, setSelectedNode, connectSource, setConnectSource, setNodes, setEdges, mousePosRef, }: UseFlowKeyboardShortcutsArgs): void;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { FlowDefinition } from '../stores/flowStore.js';
|
|
2
|
+
import type { RequestLogType } from '../types/types.requestLog.js';
|
|
3
|
+
type UseFlowRecordingReturn = {
|
|
4
|
+
isRecording: boolean;
|
|
5
|
+
recordedRequests: RequestLogType[];
|
|
6
|
+
showReviewDialog: boolean;
|
|
7
|
+
handleStartRecording: () => void;
|
|
8
|
+
handleStopRecording: () => void;
|
|
9
|
+
handleGenerateFlow: (selectedRequests: RequestLogType[], flowName: string) => FlowDefinition;
|
|
10
|
+
handleCancelRecording: () => void;
|
|
11
|
+
};
|
|
12
|
+
export declare function useFlowRecording(): UseFlowRecordingReturn;
|
|
13
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BuildOptionsFor
|
|
1
|
+
import type { BuildOptionsFor } 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>>): BuiltForLeaf<LeafType<K>>;
|
|
6
|
+
export declare function useLeafEndpoint<K extends LeafKey>(key: K, options?: BuildOptionsFor<LeafType<K>>): import("@emeryld/rrroutes-client").BuiltForLeaf<LeafType<K>>;
|
|
7
7
|
export {};
|
|
@@ -6,6 +6,10 @@ export type RequestNodeData = {
|
|
|
6
6
|
headers?: Record<string, string>;
|
|
7
7
|
body?: string;
|
|
8
8
|
queryParams?: Record<string, string>;
|
|
9
|
+
/** Captured response output from a recorded request */
|
|
10
|
+
recordedOutput?: string;
|
|
11
|
+
/** Captured HTTP status from a recorded request */
|
|
12
|
+
recordedStatus?: number;
|
|
9
13
|
};
|
|
10
14
|
export type ConditionNodeData = {
|
|
11
15
|
expression: string;
|
|
@@ -203,55 +203,27 @@ 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
|
-
}>> & 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>>;
|
|
236
|
-
}, z.core.$strip>;
|
|
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
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>;
|
|
225
|
+
}, z.core.$strip>;
|
|
226
|
+
} & {
|
|
255
227
|
paramsSchema: undefined;
|
|
256
228
|
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
257
229
|
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
@@ -419,32 +391,14 @@ export declare const cacheLeaves: readonly [{
|
|
|
419
391
|
keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
420
392
|
keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
421
393
|
}, z.core.$strip>;
|
|
422
|
-
} &
|
|
394
|
+
} & {
|
|
423
395
|
outputSchema: z.ZodObject<{
|
|
424
|
-
|
|
396
|
+
out: z.ZodObject<{
|
|
397
|
+
success: z.ZodBoolean;
|
|
398
|
+
}, z.core.$strip>;
|
|
399
|
+
meta: z.ZodOptional<z.ZodString>;
|
|
425
400
|
}, z.core.$strip>;
|
|
426
|
-
|
|
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
|
-
}>> & {
|
|
401
|
+
} & {
|
|
448
402
|
paramsSchema: undefined;
|
|
449
403
|
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
450
404
|
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
@@ -644,70 +598,30 @@ export declare const cacheLeaves: readonly [{
|
|
|
644
598
|
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
645
599
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
646
600
|
}, 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
|
-
}>>>;
|
|
692
|
-
}, z.core.$strip>;
|
|
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
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>;
|
|
623
|
+
}, z.core.$strip>;
|
|
624
|
+
} & {
|
|
711
625
|
paramsSchema: undefined;
|
|
712
626
|
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
713
627
|
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|