@emeryld/rrroutes-openapi 2.6.2 → 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.
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/Add.js +1 -0
- package/dist/public/assets/Autocomplete.js +1 -0
- package/dist/public/assets/BaseFilterBar.js +1 -0
- package/dist/public/assets/BentoGrid.js +1 -0
- package/dist/public/assets/CacheLogsPage.js +1 -0
- package/dist/public/assets/DeleteOutline.js +1 -0
- package/dist/public/assets/DiffPage.js +7 -0
- package/dist/public/assets/Download.js +1 -0
- package/dist/public/assets/EndpointDetailPage.js +1 -0
- package/dist/public/assets/EndpointDetailPanel.js +1 -0
- package/dist/public/assets/EndpointPlaygroundPage.js +1 -0
- package/dist/public/assets/ExpandLess.js +1 -0
- package/dist/public/assets/ExportButton.js +2 -0
- package/dist/public/assets/FlowBuilderPage.js +20 -0
- package/dist/public/assets/HistoryPage.js +1 -0
- package/dist/public/assets/LogsPage.js +1 -0
- package/dist/public/assets/PageContainer.js +3 -0
- package/dist/public/assets/PlayArrow.js +1 -0
- package/dist/public/assets/PresetsPage.js +4 -0
- package/dist/public/assets/RoutesPage.js +1 -0
- package/dist/public/assets/SchedulingPage.js +1 -0
- package/dist/public/assets/SchemaTreeView.js +1 -0
- package/dist/public/assets/SettingsPage.js +1 -0
- package/dist/public/assets/SocketsPage.js +1 -0
- package/dist/public/assets/docs.css +1 -1
- package/dist/public/assets/docs.js +95 -177
- package/dist/public/assets/filterTypes.js +1 -0
- package/dist/public/assets/getValidReactChildren.js +1 -0
- package/dist/public/assets/kvRowAdapters.js +1 -0
- package/dist/public/assets/schemaDefaults.js +1 -0
- package/dist/public/assets/useEndpointOptions.js +1 -0
- package/dist/public/assets/useQueryState.js +1 -0
- package/dist/public/assets/vendor-recharts.js +99 -0
- package/dist/public/assets/vendor-xyflow.js +15 -0
- package/dist/web/v2/AppShell.d.ts +1 -3
- package/dist/web/v2/components/diff/DiffViewer.d.ts +7 -0
- package/dist/web/v2/components/diff/RequestDiffSelector.d.ts +15 -0
- package/dist/web/v2/components/diff/SchemaDiffViewer.d.ts +7 -0
- package/dist/web/v2/components/feedback/CopyAsMenu.d.ts +10 -0
- package/dist/web/v2/components/feedback/CopySnackbar.d.ts +1 -0
- package/dist/web/v2/components/flows/FlowCanvas.d.ts +13 -0
- package/dist/web/v2/components/flows/FlowNodeEditor.d.ts +8 -0
- package/dist/web/v2/components/flows/FlowRunProgress.d.ts +7 -0
- package/dist/web/v2/components/flows/FlowVariablePanel.d.ts +7 -0
- package/dist/web/v2/components/flows/nodes/ConditionNode.d.ts +7 -0
- package/dist/web/v2/components/flows/nodes/DelayNode.d.ts +7 -0
- package/dist/web/v2/components/flows/nodes/ExtractNode.d.ts +8 -0
- package/dist/web/v2/components/flows/nodes/RequestNode.d.ts +10 -0
- package/dist/web/v2/components/layout/ActivityBar.d.ts +1 -0
- package/dist/web/v2/components/layout/BentoGrid.d.ts +17 -0
- package/dist/web/v2/components/layout/ContentArea.d.ts +1 -0
- package/dist/web/v2/components/layout/PanelRegistry.d.ts +17 -0
- package/dist/web/v2/components/request/LastRunPanel.d.ts +5 -0
- package/dist/web/v2/components/request/TimingBreakdown.d.ts +11 -0
- package/dist/web/v2/components/requests/timeline/TimelinePhaseBar.d.ts +13 -0
- package/dist/web/v2/components/requests/timeline/TimelineWaterfall.d.ts +12 -0
- package/dist/web/v2/hooks/useLeafEndpoint.d.ts +2 -2
- package/dist/web/v2/pages/DiffPage.d.ts +1 -0
- package/dist/web/v2/pages/FlowBuilderPage.d.ts +1 -0
- package/dist/web/v2/stores/flowStore.d.ts +70 -0
- package/dist/web/v2/stores/layoutStore.d.ts +13 -0
- package/dist/web/v2/stores/playgroundSettingsStore.d.ts +10 -0
- package/dist/web/v2/stores/snackbarStore.d.ts +17 -0
- package/dist/web/v2/types/types.cacheLog.d.ts +135 -49
- package/dist/web/v2/types/types.endpoint.d.ts +195 -139
- package/dist/web/v2/types/types.log.d.ts +48 -19
- package/dist/web/v2/types/types.preset.d.ts +168 -84
- package/dist/web/v2/types/types.requestLog.d.ts +135 -90
- package/dist/web/v2/types/types.scheduling.d.ts +87 -37
- package/dist/web/v2/types/types.socket.d.ts +69 -33
- package/dist/web/v2/utils/codeGeneration.d.ts +12 -0
- package/dist/web/v2/utils/diffUtils.d.ts +11 -0
- package/dist/web/v2/utils/flowRunner.d.ts +17 -0
- package/dist/web/v2/utils/templateResolver.d.ts +4 -0
- 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;
|
|
@@ -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>>):
|
|
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 {};
|
|
@@ -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
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
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;
|
|
@@ -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
|
-
|
|
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;
|
|
@@ -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
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
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;
|