@emeryld/rrroutes-openapi 2.6.7 → 2.7.0
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 +0 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +0 -1
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.css +1 -1
- package/dist/public/assets/docs.js +136 -190
- package/dist/web/v2/AppShell.d.ts +3 -1
- package/dist/web/v2/components/request/LastRunPanel.d.ts +0 -5
- package/dist/web/v2/hooks/useLeafEndpoint.d.ts +2 -2
- package/dist/web/v2/stores/playgroundSettingsStore.d.ts +0 -10
- package/dist/web/v2/types/types.cacheLog.d.ts +135 -49
- package/dist/web/v2/types/types.endpoint.d.ts +194 -140
- 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/package.json +9 -12
- package/dist/web/v2/components/diff/DiffViewer.d.ts +0 -7
- package/dist/web/v2/components/diff/RequestDiffSelector.d.ts +0 -15
- package/dist/web/v2/components/diff/SchemaDiffViewer.d.ts +0 -7
- package/dist/web/v2/components/feedback/CopyAsMenu.d.ts +0 -10
- package/dist/web/v2/components/feedback/CopySnackbar.d.ts +0 -1
- package/dist/web/v2/components/flows/FlowCanvas.d.ts +0 -13
- package/dist/web/v2/components/flows/FlowNodeEditor.d.ts +0 -8
- package/dist/web/v2/components/flows/FlowRunProgress.d.ts +0 -7
- package/dist/web/v2/components/flows/FlowToolbar.d.ts +0 -22
- package/dist/web/v2/components/flows/FlowVariablePanel.d.ts +0 -7
- package/dist/web/v2/components/flows/RecordingReviewDialog.d.ts +0 -9
- package/dist/web/v2/components/flows/nodes/ConditionNode.d.ts +0 -7
- package/dist/web/v2/components/flows/nodes/DelayNode.d.ts +0 -7
- package/dist/web/v2/components/flows/nodes/ExtractNode.d.ts +0 -8
- package/dist/web/v2/components/flows/nodes/RequestNode.d.ts +0 -7
- package/dist/web/v2/components/layout/ActivityBar.d.ts +0 -1
- package/dist/web/v2/components/layout/BentoGrid.d.ts +0 -17
- package/dist/web/v2/components/layout/ContentArea.d.ts +0 -1
- package/dist/web/v2/components/layout/PanelRegistry.d.ts +0 -17
- package/dist/web/v2/components/request/TimingBreakdown.d.ts +0 -11
- package/dist/web/v2/components/requests/timeline/TimelinePhaseBar.d.ts +0 -13
- package/dist/web/v2/components/requests/timeline/TimelineWaterfall.d.ts +0 -12
- package/dist/web/v2/hooks/useFlowKeyboardShortcuts.d.ts +0 -17
- package/dist/web/v2/hooks/useFlowRecording.d.ts +0 -13
- package/dist/web/v2/pages/DiffPage.d.ts +0 -1
- package/dist/web/v2/pages/FlowBuilderPage.d.ts +0 -1
- package/dist/web/v2/stores/flowStore.d.ts +0 -74
- package/dist/web/v2/stores/layoutStore.d.ts +0 -13
- package/dist/web/v2/stores/snackbarStore.d.ts +0 -17
- package/dist/web/v2/utils/codeGeneration.d.ts +0 -12
- package/dist/web/v2/utils/diffUtils.d.ts +0 -11
- package/dist/web/v2/utils/flowHelpers.d.ts +0 -33
- package/dist/web/v2/utils/flowPresets.d.ts +0 -11
- package/dist/web/v2/utils/flowRecorder.d.ts +0 -5
- package/dist/web/v2/utils/flowRunner.d.ts +0 -17
- package/dist/web/v2/utils/templateResolver.d.ts +0 -4
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type Theme } from '@mui/material/styles';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
type AppShellProps = {
|
|
4
|
+
children: ReactNode;
|
|
3
5
|
title?: string;
|
|
4
6
|
theme?: Theme;
|
|
5
7
|
};
|
|
6
|
-
export declare function AppShell({ title, theme }: AppShellProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function AppShell({ children, title, theme, }: AppShellProps): import("react/jsx-runtime").JSX.Element;
|
|
7
9
|
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 {};
|
|
@@ -1,19 +1,9 @@
|
|
|
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
|
-
};
|
|
10
3
|
type PlaygroundSettingsContextValue = {
|
|
11
4
|
defaultHeaders: PlaygroundKeyValueRow[];
|
|
12
5
|
setDefaultHeaders: (rows: PlaygroundKeyValueRow[]) => void;
|
|
13
6
|
resetDefaultHeaders: () => void;
|
|
14
|
-
authTokens: AuthTokenEntry[];
|
|
15
|
-
setAuthTokens: (tokens: AuthTokenEntry[]) => void;
|
|
16
|
-
resetAuthTokens: () => void;
|
|
17
7
|
};
|
|
18
8
|
export declare function PlaygroundSettingsProvider({ children, }: {
|
|
19
9
|
children: ReactNode;
|
|
@@ -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;
|
|
@@ -6,7 +6,6 @@ export type SerializableSchema = {
|
|
|
6
6
|
optional?: boolean;
|
|
7
7
|
nullable?: boolean;
|
|
8
8
|
description?: string;
|
|
9
|
-
example?: unknown;
|
|
10
9
|
properties?: Record<string, SerializableSchema>;
|
|
11
10
|
element?: SerializableSchema;
|
|
12
11
|
union?: SerializableSchema[];
|
|
@@ -435,53 +434,108 @@ export declare const endpointLeaves: readonly [{
|
|
|
435
434
|
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
436
435
|
nextCursor: z.ZodOptional<z.ZodString>;
|
|
437
436
|
}, z.core.$strip>;
|
|
438
|
-
}>> & {
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
437
|
+
}>> & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
438
|
+
feed: true;
|
|
439
|
+
querySchema: z.ZodObject<{
|
|
440
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
441
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
442
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
443
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
444
|
+
asc: "asc";
|
|
445
|
+
desc: "desc";
|
|
446
|
+
}>>;
|
|
447
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
448
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
449
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
450
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
451
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
452
|
+
methodsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
453
|
+
get: "get";
|
|
454
|
+
post: "post";
|
|
455
|
+
put: "put";
|
|
456
|
+
patch: "patch";
|
|
457
|
+
delete: "delete";
|
|
458
|
+
}>>>;
|
|
459
|
+
methodsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
460
|
+
get: "get";
|
|
461
|
+
post: "post";
|
|
462
|
+
put: "put";
|
|
463
|
+
patch: "patch";
|
|
464
|
+
delete: "delete";
|
|
465
|
+
}>>>;
|
|
466
|
+
path: z.ZodOptional<z.ZodString>;
|
|
467
|
+
stabilityInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
468
|
+
unknown: "unknown";
|
|
469
|
+
deprecated: "deprecated";
|
|
470
|
+
experimental: "experimental";
|
|
471
|
+
beta: "beta";
|
|
472
|
+
stable: "stable";
|
|
473
|
+
}>>>;
|
|
474
|
+
stabilityExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
475
|
+
unknown: "unknown";
|
|
476
|
+
deprecated: "deprecated";
|
|
477
|
+
experimental: "experimental";
|
|
478
|
+
beta: "beta";
|
|
479
|
+
stable: "stable";
|
|
480
|
+
}>>>;
|
|
481
|
+
}, z.core.$strip>;
|
|
482
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
483
|
+
id: z.ZodString;
|
|
484
|
+
name: z.ZodString;
|
|
485
|
+
description: z.ZodOptional<z.ZodString>;
|
|
486
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
487
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
488
|
+
createdAt: z.ZodNumber;
|
|
489
|
+
updatedAt: z.ZodNumber;
|
|
490
|
+
method: z.ZodEnum<{
|
|
491
|
+
get: "get";
|
|
492
|
+
post: "post";
|
|
493
|
+
put: "put";
|
|
494
|
+
patch: "patch";
|
|
495
|
+
delete: "delete";
|
|
496
|
+
}>;
|
|
497
|
+
path: z.ZodString;
|
|
498
|
+
contract: z.ZodObject<{
|
|
499
|
+
body: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
500
|
+
query: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
501
|
+
output: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
502
|
+
params: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
503
|
+
bodyFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
504
|
+
name: z.ZodString;
|
|
505
|
+
maxCount: z.ZodNumber;
|
|
506
|
+
}, z.core.$strip>>>;
|
|
482
507
|
}, z.core.$strip>;
|
|
508
|
+
feed: z.ZodOptional<z.ZodBoolean>;
|
|
509
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
510
|
+
stability: z.ZodEnum<{
|
|
511
|
+
unknown: "unknown";
|
|
512
|
+
deprecated: "deprecated";
|
|
513
|
+
experimental: "experimental";
|
|
514
|
+
beta: "beta";
|
|
515
|
+
stable: "stable";
|
|
516
|
+
}>;
|
|
517
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
518
|
+
meta: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
519
|
+
implemented: z.ZodOptional<z.ZodBoolean>;
|
|
520
|
+
}, z.core.$strip>>;
|
|
521
|
+
outputMetaSchema: z.ZodObject<{
|
|
522
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
523
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
483
524
|
}, z.core.$strip>;
|
|
484
|
-
|
|
525
|
+
queryExtensionSchema: z.ZodObject<{
|
|
526
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
527
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
528
|
+
}, z.core.$strip>;
|
|
529
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
530
|
+
queryExtensionSchema: z.ZodObject<{
|
|
531
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
532
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
533
|
+
}, z.core.$strip>;
|
|
534
|
+
outputMetaSchema: z.ZodObject<{
|
|
535
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
536
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
537
|
+
}, z.core.$strip>;
|
|
538
|
+
}>> & {
|
|
485
539
|
paramsSchema: undefined;
|
|
486
540
|
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
487
541
|
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
@@ -746,9 +800,46 @@ export declare const endpointLeaves: readonly [{
|
|
|
746
800
|
feed?: boolean;
|
|
747
801
|
} & {
|
|
748
802
|
querySchema?: undefined;
|
|
749
|
-
} & {
|
|
803
|
+
} & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
750
804
|
outputSchema: z.ZodObject<{
|
|
751
|
-
|
|
805
|
+
id: z.ZodString;
|
|
806
|
+
name: z.ZodString;
|
|
807
|
+
description: z.ZodOptional<z.ZodString>;
|
|
808
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
809
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
810
|
+
createdAt: z.ZodNumber;
|
|
811
|
+
updatedAt: z.ZodNumber;
|
|
812
|
+
method: z.ZodEnum<{
|
|
813
|
+
get: "get";
|
|
814
|
+
post: "post";
|
|
815
|
+
put: "put";
|
|
816
|
+
patch: "patch";
|
|
817
|
+
delete: "delete";
|
|
818
|
+
}>;
|
|
819
|
+
path: z.ZodString;
|
|
820
|
+
contract: z.ZodObject<{
|
|
821
|
+
body: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
822
|
+
query: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
823
|
+
output: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
824
|
+
params: z.ZodOptional<z.ZodType<SerializableSchema, SerializableSchema, z.core.$ZodTypeInternals<SerializableSchema, SerializableSchema>>>;
|
|
825
|
+
bodyFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
826
|
+
name: z.ZodString;
|
|
827
|
+
maxCount: z.ZodNumber;
|
|
828
|
+
}, z.core.$strip>>>;
|
|
829
|
+
}, z.core.$strip>;
|
|
830
|
+
feed: z.ZodOptional<z.ZodBoolean>;
|
|
831
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
832
|
+
stability: z.ZodEnum<{
|
|
833
|
+
unknown: "unknown";
|
|
834
|
+
deprecated: "deprecated";
|
|
835
|
+
experimental: "experimental";
|
|
836
|
+
beta: "beta";
|
|
837
|
+
stable: "stable";
|
|
838
|
+
}>;
|
|
839
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
840
|
+
meta: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
841
|
+
implemented: z.ZodOptional<z.ZodBoolean>;
|
|
842
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
752
843
|
id: z.ZodString;
|
|
753
844
|
name: z.ZodString;
|
|
754
845
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -756,6 +847,10 @@ export declare const endpointLeaves: readonly [{
|
|
|
756
847
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
757
848
|
createdAt: z.ZodNumber;
|
|
758
849
|
updatedAt: z.ZodNumber;
|
|
850
|
+
status: z.ZodNumber;
|
|
851
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
852
|
+
fullUrl: z.ZodString;
|
|
853
|
+
path: z.ZodString;
|
|
759
854
|
method: z.ZodEnum<{
|
|
760
855
|
get: "get";
|
|
761
856
|
post: "post";
|
|
@@ -763,99 +858,58 @@ export declare const endpointLeaves: readonly [{
|
|
|
763
858
|
patch: "patch";
|
|
764
859
|
delete: "delete";
|
|
765
860
|
}>;
|
|
861
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
862
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
863
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
864
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
865
|
+
error: z.ZodOptional<z.ZodString>;
|
|
866
|
+
durationMs: z.ZodNumber;
|
|
867
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
868
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
869
|
+
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
870
|
+
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
871
|
+
}, z.core.$strip>>;
|
|
872
|
+
volumeTS: z.ZodArray<z.ZodObject<{
|
|
873
|
+
timestamp: z.ZodNumber;
|
|
874
|
+
count: z.ZodNumber;
|
|
875
|
+
}, z.core.$strip>>;
|
|
876
|
+
averageDurationMs: z.ZodNumber;
|
|
877
|
+
successRate: z.ZodNumber;
|
|
878
|
+
latestErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
879
|
+
id: z.ZodString;
|
|
880
|
+
name: z.ZodString;
|
|
881
|
+
description: z.ZodOptional<z.ZodString>;
|
|
882
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
883
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
884
|
+
createdAt: z.ZodNumber;
|
|
885
|
+
updatedAt: z.ZodNumber;
|
|
886
|
+
status: z.ZodNumber;
|
|
887
|
+
body: z.ZodOptional<z.ZodAny>;
|
|
888
|
+
fullUrl: z.ZodString;
|
|
766
889
|
path: z.ZodString;
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
name: z.ZodString;
|
|
774
|
-
maxCount: z.ZodNumber;
|
|
775
|
-
}, z.core.$strip>>>;
|
|
776
|
-
}, z.core.$strip>;
|
|
777
|
-
feed: z.ZodOptional<z.ZodBoolean>;
|
|
778
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
779
|
-
stability: z.ZodEnum<{
|
|
780
|
-
unknown: "unknown";
|
|
781
|
-
deprecated: "deprecated";
|
|
782
|
-
experimental: "experimental";
|
|
783
|
-
beta: "beta";
|
|
784
|
-
stable: "stable";
|
|
890
|
+
method: z.ZodEnum<{
|
|
891
|
+
get: "get";
|
|
892
|
+
post: "post";
|
|
893
|
+
put: "put";
|
|
894
|
+
patch: "patch";
|
|
895
|
+
delete: "delete";
|
|
785
896
|
}>;
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
status: z.ZodNumber;
|
|
798
|
-
body: z.ZodOptional<z.ZodAny>;
|
|
799
|
-
fullUrl: z.ZodString;
|
|
800
|
-
path: z.ZodString;
|
|
801
|
-
method: z.ZodEnum<{
|
|
802
|
-
get: "get";
|
|
803
|
-
post: "post";
|
|
804
|
-
put: "put";
|
|
805
|
-
patch: "patch";
|
|
806
|
-
delete: "delete";
|
|
807
|
-
}>;
|
|
808
|
-
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
809
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
810
|
-
output: z.ZodOptional<z.ZodAny>;
|
|
811
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
812
|
-
error: z.ZodOptional<z.ZodString>;
|
|
813
|
-
durationMs: z.ZodNumber;
|
|
814
|
-
ip: z.ZodOptional<z.ZodString>;
|
|
815
|
-
userAgent: z.ZodOptional<z.ZodString>;
|
|
816
|
-
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
817
|
-
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
818
|
-
}, z.core.$strip>>;
|
|
819
|
-
volumeTS: z.ZodArray<z.ZodObject<{
|
|
820
|
-
timestamp: z.ZodNumber;
|
|
821
|
-
count: z.ZodNumber;
|
|
822
|
-
}, z.core.$strip>>;
|
|
823
|
-
averageDurationMs: z.ZodNumber;
|
|
824
|
-
successRate: z.ZodNumber;
|
|
825
|
-
latestErrors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
826
|
-
id: z.ZodString;
|
|
827
|
-
name: z.ZodString;
|
|
828
|
-
description: z.ZodOptional<z.ZodString>;
|
|
829
|
-
groupId: z.ZodOptional<z.ZodString>;
|
|
830
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
831
|
-
createdAt: z.ZodNumber;
|
|
832
|
-
updatedAt: z.ZodNumber;
|
|
833
|
-
status: z.ZodNumber;
|
|
834
|
-
body: z.ZodOptional<z.ZodAny>;
|
|
835
|
-
fullUrl: z.ZodString;
|
|
836
|
-
path: z.ZodString;
|
|
837
|
-
method: z.ZodEnum<{
|
|
838
|
-
get: "get";
|
|
839
|
-
post: "post";
|
|
840
|
-
put: "put";
|
|
841
|
-
patch: "patch";
|
|
842
|
-
delete: "delete";
|
|
843
|
-
}>;
|
|
844
|
-
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
845
|
-
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
846
|
-
output: z.ZodOptional<z.ZodAny>;
|
|
847
|
-
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
848
|
-
error: z.ZodOptional<z.ZodString>;
|
|
849
|
-
durationMs: z.ZodNumber;
|
|
850
|
-
ip: z.ZodOptional<z.ZodString>;
|
|
851
|
-
userAgent: z.ZodOptional<z.ZodString>;
|
|
852
|
-
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
853
|
-
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
854
|
-
}, z.core.$strip>>>;
|
|
855
|
-
}, z.core.$strip>;
|
|
856
|
-
meta: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
897
|
+
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
898
|
+
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
899
|
+
output: z.ZodOptional<z.ZodAny>;
|
|
900
|
+
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
901
|
+
error: z.ZodOptional<z.ZodString>;
|
|
902
|
+
durationMs: z.ZodNumber;
|
|
903
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
904
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
905
|
+
requestSize: z.ZodOptional<z.ZodNumber>;
|
|
906
|
+
responseSize: z.ZodOptional<z.ZodNumber>;
|
|
907
|
+
}, z.core.$strip>>>;
|
|
857
908
|
}, z.core.$strip>;
|
|
858
|
-
} & {
|
|
909
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
910
|
+
queryExtensionSchema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
911
|
+
outputMetaSchema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
912
|
+
}>> & {
|
|
859
913
|
paramsSchema: z.ZodObject<{
|
|
860
914
|
endpointId: z.ZodString;
|
|
861
915
|
}, z.core.$strip>;
|
|
@@ -949,7 +1003,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
949
1003
|
responseSize?: number | undefined;
|
|
950
1004
|
}[] | undefined;
|
|
951
1005
|
};
|
|
952
|
-
meta
|
|
1006
|
+
meta?: string | undefined;
|
|
953
1007
|
}, {
|
|
954
1008
|
out: {
|
|
955
1009
|
id: string;
|
|
@@ -1032,7 +1086,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
1032
1086
|
responseSize?: number | undefined;
|
|
1033
1087
|
}[] | undefined;
|
|
1034
1088
|
};
|
|
1035
|
-
meta
|
|
1089
|
+
meta?: string | undefined;
|
|
1036
1090
|
}>;
|
|
1037
1091
|
outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown>;
|
|
1038
1092
|
queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown>;
|