@emeryld/rrroutes-openapi 2.3.6 → 2.4.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/README.md +9 -0
- package/dist/index.cjs +13 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +13 -17
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.js +88 -86
- package/dist/web/v2/components/endpoints/EndpointDetailPanel.d.ts +8 -1
- package/dist/web/v2/components/endpoints/EndpointPlayground.d.ts +13 -3
- package/dist/web/v2/components/endpoints/EndpointRequestFeed.d.ts +8 -0
- package/dist/web/v2/components/feeds/FeedPagination.d.ts +1 -2
- package/dist/web/v2/components/history/RequestDetailContent.d.ts +11 -0
- package/dist/web/v2/components/history/RequestDetailModal.d.ts +12 -0
- package/dist/web/v2/components/history/RequestTable.d.ts +1 -1
- package/dist/web/v2/components/history/RequestsOverview.d.ts +7 -0
- package/dist/web/v2/components/layout/CardSection.d.ts +2 -1
- package/dist/web/v2/components/logs/CacheKeyDetailModal.d.ts +13 -0
- package/dist/web/v2/components/logs/CacheSummaryTable.d.ts +2 -1
- package/dist/web/v2/components/logs/LogGroupDetailModal.d.ts +13 -0
- package/dist/web/v2/components/primitives/DetailModal.d.ts +11 -0
- package/dist/web/v2/components/primitives/ExportButton.d.ts +9 -0
- package/dist/web/v2/hooks/useEndpointDetail.d.ts +8 -0
- package/dist/web/v2/hooks/useEndpointOptions.d.ts +5 -0
- package/dist/web/v2/stores/playgroundStore.d.ts +14 -0
- package/dist/web/v2/types/types.base.d.ts +4 -0
- package/dist/web/v2/types/types.cacheLog.d.ts +11 -2
- package/dist/web/v2/types/types.endpoint.d.ts +6 -2
- package/dist/web/v2/types/types.log.d.ts +8 -4
- package/dist/web/v2/types/types.preset.d.ts +18 -3
- package/dist/web/v2/types/types.requestLog.d.ts +8 -4
- package/dist/web/v2/utils/endpoints.d.ts +32 -0
- package/dist/web/v2/utils/exportToCsv.d.ts +3 -0
- package/package.json +3 -3
- package/dist/web/v2/components/history/RequestDetailDrawer.d.ts +0 -9
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import type { PlaygroundInputs } from '../../stores/clientStore.js';
|
|
2
|
+
import type { EndpointType } from '../../types/types.endpoint.js';
|
|
3
|
+
import { type EndpointTabKey } from '../../utils/endpoints.js';
|
|
1
4
|
type EndpointDetailPanelProps = {
|
|
2
5
|
endpointId?: string | null;
|
|
6
|
+
onOpenStandalone?: (endpoint: EndpointType, inputs: PlaygroundInputs) => void;
|
|
7
|
+
hidePlaygroundTab?: boolean;
|
|
8
|
+
activeTab?: EndpointTabKey;
|
|
9
|
+
onTabChange?: (tab: EndpointTabKey) => void;
|
|
3
10
|
};
|
|
4
|
-
export default function EndpointDetailPanel({ endpointId, }: EndpointDetailPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default function EndpointDetailPanel({ endpointId, onOpenStandalone, hidePlaygroundTab, activeTab, onTabChange, }: EndpointDetailPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
5
12
|
export {};
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PlaygroundInputs } from '../../stores/clientStore.js';
|
|
2
|
+
import { SerializableSchema } from '../../types/types.endpoint.js';
|
|
3
|
+
import type { MethodType } from '../../types/types.base.js';
|
|
2
4
|
type EndpointPlaygroundProps = {
|
|
3
|
-
|
|
5
|
+
method: MethodType;
|
|
6
|
+
path: string;
|
|
7
|
+
contract?: {
|
|
8
|
+
body?: SerializableSchema;
|
|
9
|
+
query?: SerializableSchema;
|
|
10
|
+
params?: SerializableSchema;
|
|
11
|
+
};
|
|
12
|
+
summary?: string;
|
|
13
|
+
onOpenStandalone?: (inputs: PlaygroundInputs) => void;
|
|
4
14
|
};
|
|
5
|
-
export default function EndpointPlayground({
|
|
15
|
+
export default function EndpointPlayground({ method, path, contract, summary, onOpenStandalone, }: EndpointPlaygroundProps): import("react/jsx-runtime").JSX.Element;
|
|
6
16
|
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { RequestLogType } from '../../types/types.requestLog.js';
|
|
2
|
+
type EndpointRequestFeedProps = {
|
|
3
|
+
endpointKey: string;
|
|
4
|
+
onSelectRequest: (request: RequestLogType, index: number) => void;
|
|
5
|
+
onRequestsChange?: (requests: RequestLogType[]) => void;
|
|
6
|
+
};
|
|
7
|
+
export default function EndpointRequestFeed({ endpointKey, onSelectRequest, onRequestsChange, }: EndpointRequestFeedProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -7,9 +7,8 @@ type FeedPaginationProps<TItem> = {
|
|
|
7
7
|
hasNextPage?: boolean;
|
|
8
8
|
isFetchingNextPage?: boolean;
|
|
9
9
|
pageSize?: number;
|
|
10
|
-
autoLoadOffset?: string;
|
|
11
10
|
extractItems?: (page: any) => TItem[];
|
|
12
11
|
children: (items: TItem[]) => ReactNode;
|
|
13
12
|
};
|
|
14
|
-
export default function FeedPagination<TItem>({ data, items: providedItems, fetchNextPage, hasNextPage, isFetchingNextPage, pageSize,
|
|
13
|
+
export default function FeedPagination<TItem>({ data, items: providedItems, fetchNextPage, hasNextPage, isFetchingNextPage, pageSize, extractItems, children, }: FeedPaginationProps<TItem>): import("react/jsx-runtime").JSX.Element;
|
|
15
14
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CacheLogType } from '../../types/types.cacheLog.js';
|
|
2
|
+
import type { LogType } from '../../types/types.log.js';
|
|
3
|
+
import type { RequestLogType } from '../../types/types.requestLog.js';
|
|
4
|
+
type RequestDetailContentProps = {
|
|
5
|
+
request: RequestLogType;
|
|
6
|
+
caches?: CacheLogType[];
|
|
7
|
+
logs?: LogType[];
|
|
8
|
+
onReplay?: (request: RequestLogType) => void;
|
|
9
|
+
};
|
|
10
|
+
export default function RequestDetailContent({ request, caches, logs, onReplay, }: RequestDetailContentProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { RequestLogType } from '../../types/types.requestLog.js';
|
|
2
|
+
type RequestDetailModalProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
request: RequestLogType | null;
|
|
5
|
+
requestId?: string | null;
|
|
6
|
+
onClose: () => void;
|
|
7
|
+
onReplay?: (request: RequestLogType) => void;
|
|
8
|
+
onPrev?: () => void;
|
|
9
|
+
onNext?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export default function RequestDetailModal({ open, request, requestId, onClose, onReplay, onPrev, onNext, }: RequestDetailModalProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RequestLogType } from '../../types/types.requestLog.js';
|
|
2
2
|
type RequestTableProps = {
|
|
3
3
|
requests: RequestLogType[];
|
|
4
|
-
onSelect: (request: RequestLogType) => void;
|
|
4
|
+
onSelect: (request: RequestLogType, index: number) => void;
|
|
5
5
|
};
|
|
6
6
|
export default function RequestTable({ requests, onSelect, }: RequestTableProps): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { RequestLogType } from '../../types/types.requestLog.js';
|
|
2
|
+
type RequestsOverviewProps = {
|
|
3
|
+
requests: RequestLogType[];
|
|
4
|
+
onSelectEndpoint: (endpointId: string) => void;
|
|
5
|
+
};
|
|
6
|
+
export default function RequestsOverview({ requests, onSelectEndpoint, }: RequestsOverviewProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -3,6 +3,7 @@ type CardSectionProps = {
|
|
|
3
3
|
title?: string;
|
|
4
4
|
actions?: ReactNode;
|
|
5
5
|
children: ReactNode;
|
|
6
|
+
flex?: number;
|
|
6
7
|
};
|
|
7
|
-
export default function CardSection({ title, actions, children, }: CardSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default function CardSection({ title, actions, children, flex, }: CardSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CacheSummaryType } from '../../types/types.cacheLog.js';
|
|
2
|
+
type CacheKeyDetailModalProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
cacheKey?: string | null;
|
|
5
|
+
summary?: CacheSummaryType | null;
|
|
6
|
+
baseQuery: Record<string, unknown>;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
onPrev?: () => void;
|
|
9
|
+
onNext?: () => void;
|
|
10
|
+
onCleared?: (key: string) => void;
|
|
11
|
+
};
|
|
12
|
+
export default function CacheKeyDetailModal({ open, cacheKey, summary, baseQuery, onClose, onPrev, onNext, onCleared, }: CacheKeyDetailModalProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { CacheSummaryType } from '../../types/types.cacheLog.js';
|
|
2
2
|
type CacheSummaryTableProps = {
|
|
3
3
|
items: CacheSummaryType[];
|
|
4
|
+
onSelectKey?: (item: CacheSummaryType, index: number, orderedItems: CacheSummaryType[]) => void;
|
|
4
5
|
};
|
|
5
|
-
export default function CacheSummaryTable({ items }: CacheSummaryTableProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export default function CacheSummaryTable({ items, onSelectKey, }: CacheSummaryTableProps): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { LogType } from '../../types/types.log.js';
|
|
2
|
+
type LogGroupDetailModalProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
groupId?: string | null;
|
|
5
|
+
baseQuery: Record<string, unknown>;
|
|
6
|
+
triggerLog?: LogType | null;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
onPrev?: () => void;
|
|
9
|
+
onNext?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export default function LogGroupDetailModal({ open, groupId, baseQuery, triggerLog, onClose, onPrev, onNext, }: LogGroupDetailModalProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare function renderMessage(log: LogType): string;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
type DetailModalProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
onPrev?: () => void;
|
|
8
|
+
onNext?: () => void;
|
|
9
|
+
};
|
|
10
|
+
export default function DetailModal({ open, onClose, title, children, onPrev, onNext, }: DetailModalProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ButtonProps } from '@mui/material';
|
|
2
|
+
type Row = Record<string, unknown>;
|
|
3
|
+
type ExportButtonProps = Omit<ButtonProps, 'onClick'> & {
|
|
4
|
+
filename: string;
|
|
5
|
+
rows?: Row[];
|
|
6
|
+
getRows?: () => Row[] | Promise<Row[]>;
|
|
7
|
+
};
|
|
8
|
+
export default function ExportButton({ filename, rows, getRows, children, disabled, startIcon, variant, size, color, ...rest }: ExportButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { EndpointType } from '../types/types.endpoint.js';
|
|
2
|
+
type EndpointDetailState = {
|
|
3
|
+
data?: EndpointType;
|
|
4
|
+
isLoading: boolean;
|
|
5
|
+
error?: Error;
|
|
6
|
+
};
|
|
7
|
+
export declare function useEndpointDetail(displayId?: string | null): EndpointDetailState;
|
|
8
|
+
export {};
|
|
@@ -25,6 +25,20 @@ type PlaygroundRunsContextValue = {
|
|
|
25
25
|
method: MethodType;
|
|
26
26
|
path: string;
|
|
27
27
|
}) => PlaygroundRunRecord | undefined;
|
|
28
|
+
queuePrefill: (prefill: PlaygroundPrefill) => void;
|
|
29
|
+
consumePrefill: (criteria?: {
|
|
30
|
+
method?: MethodType;
|
|
31
|
+
path?: string;
|
|
32
|
+
leafKey?: string;
|
|
33
|
+
}) => PlaygroundPrefill | null;
|
|
34
|
+
};
|
|
35
|
+
export type PlaygroundPrefill = {
|
|
36
|
+
method?: MethodType;
|
|
37
|
+
path?: string;
|
|
38
|
+
params?: Record<string, unknown>;
|
|
39
|
+
query?: Record<string, unknown>;
|
|
40
|
+
body?: unknown;
|
|
41
|
+
leafKey?: string;
|
|
28
42
|
};
|
|
29
43
|
export declare function PlaygroundRunsProvider({ children, }: {
|
|
30
44
|
children: ReactNode;
|
|
@@ -41,3 +41,7 @@ export declare const paginationSchema: z.ZodObject<{
|
|
|
41
41
|
cursor: z.ZodOptional<z.ZodString>;
|
|
42
42
|
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
43
43
|
}, z.core.$strip>;
|
|
44
|
+
export declare const feedMeta: z.ZodObject<{
|
|
45
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
47
|
+
}, z.core.$strip>;
|
|
@@ -48,6 +48,7 @@ export declare const cacheLogQuerySchema: z.ZodObject<{
|
|
|
48
48
|
miss: "miss";
|
|
49
49
|
set: "set";
|
|
50
50
|
}>>>;
|
|
51
|
+
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
51
52
|
}, z.core.$strip>;
|
|
52
53
|
export declare const cacheSummarySchema: z.ZodObject<{
|
|
53
54
|
key: z.ZodString;
|
|
@@ -65,7 +66,6 @@ export declare const cacheLeaves: readonly [{
|
|
|
65
66
|
readonly cfg: Readonly<{
|
|
66
67
|
description?: string | undefined;
|
|
67
68
|
tags?: string[] | undefined;
|
|
68
|
-
deprecated?: boolean | undefined;
|
|
69
69
|
queryExtensionSchema: z.ZodObject<{
|
|
70
70
|
cursor: z.ZodOptional<z.ZodString>;
|
|
71
71
|
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -80,6 +80,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
80
80
|
feed: true;
|
|
81
81
|
summary?: string | undefined;
|
|
82
82
|
docsGroup?: string | undefined;
|
|
83
|
+
deprecated?: boolean | undefined;
|
|
83
84
|
stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
|
|
84
85
|
docsHidden?: boolean | undefined;
|
|
85
86
|
docsMeta?: Record<string, unknown> | undefined;
|
|
@@ -97,6 +98,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
97
98
|
cursor?: string | undefined;
|
|
98
99
|
operations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
99
100
|
excludeOperations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
101
|
+
keys?: string[] | undefined;
|
|
100
102
|
} & {
|
|
101
103
|
cursor?: string | undefined;
|
|
102
104
|
pageSize?: number | undefined;
|
|
@@ -113,6 +115,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
113
115
|
cursor?: string | undefined;
|
|
114
116
|
operations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
115
117
|
excludeOperations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
118
|
+
keys?: string[] | undefined;
|
|
116
119
|
} & {
|
|
117
120
|
cursor?: string | undefined;
|
|
118
121
|
pageSize?: unknown;
|
|
@@ -133,6 +136,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
133
136
|
}[];
|
|
134
137
|
meta: {
|
|
135
138
|
totalCount?: number | undefined;
|
|
139
|
+
nextCursor?: string | undefined;
|
|
136
140
|
};
|
|
137
141
|
}, {
|
|
138
142
|
out: {
|
|
@@ -149,18 +153,20 @@ export declare const cacheLeaves: readonly [{
|
|
|
149
153
|
}[];
|
|
150
154
|
meta: {
|
|
151
155
|
totalCount?: number | undefined;
|
|
156
|
+
nextCursor?: string | undefined;
|
|
152
157
|
};
|
|
153
158
|
}>;
|
|
154
159
|
outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
155
160
|
totalCount?: number | undefined;
|
|
161
|
+
nextCursor?: string | undefined;
|
|
156
162
|
}, {
|
|
157
163
|
totalCount?: number | undefined;
|
|
164
|
+
nextCursor?: string | undefined;
|
|
158
165
|
}>;
|
|
159
166
|
}>;
|
|
160
167
|
}, import("@emeryld/rrroutes-contract").LeafLowProfile<"post", "cache/clear", {
|
|
161
168
|
readonly description?: string | undefined;
|
|
162
169
|
readonly tags?: string[] | undefined;
|
|
163
|
-
readonly deprecated?: boolean | undefined;
|
|
164
170
|
readonly queryExtensionSchema: undefined;
|
|
165
171
|
readonly outputMetaSchema: undefined;
|
|
166
172
|
readonly bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
@@ -177,6 +183,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
177
183
|
cursor?: string | undefined;
|
|
178
184
|
operations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
179
185
|
excludeOperations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
186
|
+
keys?: string[] | undefined;
|
|
180
187
|
}, {
|
|
181
188
|
beforeDate?: string | undefined;
|
|
182
189
|
afterDate?: string | undefined;
|
|
@@ -190,6 +197,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
190
197
|
cursor?: string | undefined;
|
|
191
198
|
operations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
192
199
|
excludeOperations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
200
|
+
keys?: string[] | undefined;
|
|
193
201
|
}>;
|
|
194
202
|
readonly outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
195
203
|
out: {
|
|
@@ -206,6 +214,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
206
214
|
readonly feed?: boolean | undefined;
|
|
207
215
|
readonly summary?: string | undefined;
|
|
208
216
|
readonly docsGroup?: string | undefined;
|
|
217
|
+
readonly deprecated?: boolean | undefined;
|
|
209
218
|
readonly stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
|
|
210
219
|
readonly docsHidden?: boolean | undefined;
|
|
211
220
|
readonly docsMeta?: Record<string, unknown> | undefined;
|
|
@@ -105,7 +105,6 @@ export declare const endpointLeaves: readonly [{
|
|
|
105
105
|
readonly cfg: Readonly<{
|
|
106
106
|
description?: string | undefined;
|
|
107
107
|
tags?: string[] | undefined;
|
|
108
|
-
deprecated?: boolean | undefined;
|
|
109
108
|
queryExtensionSchema: z.ZodObject<{
|
|
110
109
|
cursor: z.ZodOptional<z.ZodString>;
|
|
111
110
|
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -120,6 +119,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
120
119
|
feed: true;
|
|
121
120
|
summary?: string | undefined;
|
|
122
121
|
docsGroup?: string | undefined;
|
|
122
|
+
deprecated?: boolean | undefined;
|
|
123
123
|
stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
|
|
124
124
|
docsHidden?: boolean | undefined;
|
|
125
125
|
docsMeta?: Record<string, unknown> | undefined;
|
|
@@ -194,6 +194,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
194
194
|
}[];
|
|
195
195
|
meta: {
|
|
196
196
|
totalCount?: number | undefined;
|
|
197
|
+
nextCursor?: string | undefined;
|
|
197
198
|
};
|
|
198
199
|
}, {
|
|
199
200
|
out: {
|
|
@@ -225,18 +226,20 @@ export declare const endpointLeaves: readonly [{
|
|
|
225
226
|
}[];
|
|
226
227
|
meta: {
|
|
227
228
|
totalCount?: number | undefined;
|
|
229
|
+
nextCursor?: string | undefined;
|
|
228
230
|
};
|
|
229
231
|
}>;
|
|
230
232
|
outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
231
233
|
totalCount?: number | undefined;
|
|
234
|
+
nextCursor?: string | undefined;
|
|
232
235
|
}, {
|
|
233
236
|
totalCount?: number | undefined;
|
|
237
|
+
nextCursor?: string | undefined;
|
|
234
238
|
}>;
|
|
235
239
|
}>;
|
|
236
240
|
}, import("@emeryld/rrroutes-contract").LeafLowProfile<"get", "endpoints/:endpointId", {
|
|
237
241
|
readonly description?: string | undefined;
|
|
238
242
|
readonly tags?: string[] | undefined;
|
|
239
|
-
readonly deprecated?: boolean | undefined;
|
|
240
243
|
readonly queryExtensionSchema: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> & import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown>;
|
|
241
244
|
readonly outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown>;
|
|
242
245
|
readonly bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
@@ -362,6 +365,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
362
365
|
readonly feed?: boolean | undefined;
|
|
363
366
|
readonly summary?: string | undefined;
|
|
364
367
|
readonly docsGroup?: string | undefined;
|
|
368
|
+
readonly deprecated?: boolean | undefined;
|
|
365
369
|
readonly stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
|
|
366
370
|
readonly docsHidden?: boolean | undefined;
|
|
367
371
|
readonly docsMeta?: Record<string, unknown> | undefined;
|
|
@@ -14,7 +14,7 @@ export declare const logSchema: z.ZodObject<{
|
|
|
14
14
|
debug: "debug";
|
|
15
15
|
trace: "trace";
|
|
16
16
|
}>;
|
|
17
|
-
meta: z.
|
|
17
|
+
meta: z.ZodOptional<z.ZodAny>;
|
|
18
18
|
}, z.core.$strip>;
|
|
19
19
|
export type LogType = z.infer<typeof logSchema>;
|
|
20
20
|
export declare const logQuerySchema: z.ZodObject<{
|
|
@@ -57,7 +57,6 @@ export declare const logLeaves: readonly [{
|
|
|
57
57
|
readonly cfg: Readonly<{
|
|
58
58
|
description?: string | undefined;
|
|
59
59
|
tags?: string[] | undefined;
|
|
60
|
-
deprecated?: boolean | undefined;
|
|
61
60
|
queryExtensionSchema: z.ZodObject<{
|
|
62
61
|
cursor: z.ZodOptional<z.ZodString>;
|
|
63
62
|
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -72,6 +71,7 @@ export declare const logLeaves: readonly [{
|
|
|
72
71
|
feed: true;
|
|
73
72
|
summary?: string | undefined;
|
|
74
73
|
docsGroup?: string | undefined;
|
|
74
|
+
deprecated?: boolean | undefined;
|
|
75
75
|
stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
|
|
76
76
|
docsHidden?: boolean | undefined;
|
|
77
77
|
docsMeta?: Record<string, unknown> | undefined;
|
|
@@ -117,13 +117,14 @@ export declare const logLeaves: readonly [{
|
|
|
117
117
|
createdAt: number;
|
|
118
118
|
updatedAt: number;
|
|
119
119
|
level: "error" | "info" | "warning" | "debug" | "trace";
|
|
120
|
-
meta: z.core.util.JSONType;
|
|
121
120
|
description?: string | undefined;
|
|
122
121
|
groupId?: string | undefined;
|
|
123
122
|
tags?: string[] | undefined;
|
|
123
|
+
meta?: any;
|
|
124
124
|
}[];
|
|
125
125
|
meta: {
|
|
126
126
|
totalCount?: number | undefined;
|
|
127
|
+
nextCursor?: string | undefined;
|
|
127
128
|
};
|
|
128
129
|
}, {
|
|
129
130
|
out: {
|
|
@@ -132,19 +133,22 @@ export declare const logLeaves: readonly [{
|
|
|
132
133
|
createdAt: number;
|
|
133
134
|
updatedAt: number;
|
|
134
135
|
level: "error" | "info" | "warning" | "debug" | "trace";
|
|
135
|
-
meta: z.core.util.JSONType;
|
|
136
136
|
description?: string | undefined;
|
|
137
137
|
groupId?: string | undefined;
|
|
138
138
|
tags?: string[] | undefined;
|
|
139
|
+
meta?: any;
|
|
139
140
|
}[];
|
|
140
141
|
meta: {
|
|
141
142
|
totalCount?: number | undefined;
|
|
143
|
+
nextCursor?: string | undefined;
|
|
142
144
|
};
|
|
143
145
|
}>;
|
|
144
146
|
outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
145
147
|
totalCount?: number | undefined;
|
|
148
|
+
nextCursor?: string | undefined;
|
|
146
149
|
}, {
|
|
147
150
|
totalCount?: number | undefined;
|
|
151
|
+
nextCursor?: string | undefined;
|
|
148
152
|
}>;
|
|
149
153
|
}>;
|
|
150
154
|
}];
|
|
@@ -9,6 +9,7 @@ declare const presetSchema: z.ZodObject<{
|
|
|
9
9
|
updatedAt: z.ZodNumber;
|
|
10
10
|
operations: z.ZodArray<z.ZodObject<{
|
|
11
11
|
name: z.ZodString;
|
|
12
|
+
description: z.ZodOptional<z.ZodString>;
|
|
12
13
|
stepNumber: z.ZodNumber;
|
|
13
14
|
endpointId: z.ZodOptional<z.ZodString>;
|
|
14
15
|
method: z.ZodEnum<{
|
|
@@ -31,7 +32,6 @@ export declare const presetLeaves: readonly [{
|
|
|
31
32
|
readonly cfg: Readonly<{
|
|
32
33
|
description?: string | undefined;
|
|
33
34
|
tags?: string[] | undefined;
|
|
34
|
-
deprecated?: boolean | undefined;
|
|
35
35
|
queryExtensionSchema: z.ZodObject<{
|
|
36
36
|
cursor: z.ZodOptional<z.ZodString>;
|
|
37
37
|
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -46,6 +46,7 @@ export declare const presetLeaves: readonly [{
|
|
|
46
46
|
feed: true;
|
|
47
47
|
summary?: string | undefined;
|
|
48
48
|
docsGroup?: string | undefined;
|
|
49
|
+
deprecated?: boolean | undefined;
|
|
49
50
|
stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
|
|
50
51
|
docsHidden?: boolean | undefined;
|
|
51
52
|
docsMeta?: Record<string, unknown> | undefined;
|
|
@@ -95,6 +96,7 @@ export declare const presetLeaves: readonly [{
|
|
|
95
96
|
stepNumber: number;
|
|
96
97
|
method: "get" | "post" | "put" | "patch" | "delete";
|
|
97
98
|
path: string;
|
|
99
|
+
description?: string | undefined;
|
|
98
100
|
endpointId?: string | undefined;
|
|
99
101
|
body?: z.core.util.JSONType | undefined;
|
|
100
102
|
extraHeaders?: Record<string, any> | undefined;
|
|
@@ -106,6 +108,7 @@ export declare const presetLeaves: readonly [{
|
|
|
106
108
|
}[];
|
|
107
109
|
meta: {
|
|
108
110
|
totalCount?: number | undefined;
|
|
111
|
+
nextCursor?: string | undefined;
|
|
109
112
|
};
|
|
110
113
|
}, {
|
|
111
114
|
out: {
|
|
@@ -118,6 +121,7 @@ export declare const presetLeaves: readonly [{
|
|
|
118
121
|
stepNumber: number;
|
|
119
122
|
method: "get" | "post" | "put" | "patch" | "delete";
|
|
120
123
|
path: string;
|
|
124
|
+
description?: string | undefined;
|
|
121
125
|
endpointId?: string | undefined;
|
|
122
126
|
body?: z.core.util.JSONType | undefined;
|
|
123
127
|
extraHeaders?: Record<string, any> | undefined;
|
|
@@ -129,12 +133,15 @@ export declare const presetLeaves: readonly [{
|
|
|
129
133
|
}[];
|
|
130
134
|
meta: {
|
|
131
135
|
totalCount?: number | undefined;
|
|
136
|
+
nextCursor?: string | undefined;
|
|
132
137
|
};
|
|
133
138
|
}>;
|
|
134
139
|
outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
135
140
|
totalCount?: number | undefined;
|
|
141
|
+
nextCursor?: string | undefined;
|
|
136
142
|
}, {
|
|
137
143
|
totalCount?: number | undefined;
|
|
144
|
+
nextCursor?: string | undefined;
|
|
138
145
|
}>;
|
|
139
146
|
}>;
|
|
140
147
|
}, {
|
|
@@ -143,12 +150,12 @@ export declare const presetLeaves: readonly [{
|
|
|
143
150
|
readonly cfg: Readonly<{
|
|
144
151
|
description?: string | undefined;
|
|
145
152
|
tags?: string[] | undefined;
|
|
146
|
-
deprecated?: boolean | undefined;
|
|
147
153
|
queryExtensionSchema: undefined;
|
|
148
154
|
bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
|
|
149
155
|
feed?: boolean | undefined;
|
|
150
156
|
summary?: string | undefined;
|
|
151
157
|
docsGroup?: string | undefined;
|
|
158
|
+
deprecated?: boolean | undefined;
|
|
152
159
|
stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
|
|
153
160
|
docsHidden?: boolean | undefined;
|
|
154
161
|
docsMeta?: Record<string, unknown> | undefined;
|
|
@@ -162,6 +169,7 @@ export declare const presetLeaves: readonly [{
|
|
|
162
169
|
stepNumber: number;
|
|
163
170
|
method: "get" | "post" | "put" | "patch" | "delete";
|
|
164
171
|
path: string;
|
|
172
|
+
description?: string | undefined;
|
|
165
173
|
endpointId?: string | undefined;
|
|
166
174
|
body?: z.core.util.JSONType | undefined;
|
|
167
175
|
extraHeaders?: Record<string, any> | undefined;
|
|
@@ -180,6 +188,7 @@ export declare const presetLeaves: readonly [{
|
|
|
180
188
|
stepNumber: number;
|
|
181
189
|
method: "get" | "post" | "put" | "patch" | "delete";
|
|
182
190
|
path: string;
|
|
191
|
+
description?: string | undefined;
|
|
183
192
|
endpointId?: string | undefined;
|
|
184
193
|
body?: z.core.util.JSONType | undefined;
|
|
185
194
|
extraHeaders?: Record<string, any> | undefined;
|
|
@@ -202,6 +211,7 @@ export declare const presetLeaves: readonly [{
|
|
|
202
211
|
stepNumber: number;
|
|
203
212
|
method: "get" | "post" | "put" | "patch" | "delete";
|
|
204
213
|
path: string;
|
|
214
|
+
description?: string | undefined;
|
|
205
215
|
endpointId?: string | undefined;
|
|
206
216
|
body?: z.core.util.JSONType | undefined;
|
|
207
217
|
extraHeaders?: Record<string, any> | undefined;
|
|
@@ -223,6 +233,7 @@ export declare const presetLeaves: readonly [{
|
|
|
223
233
|
stepNumber: number;
|
|
224
234
|
method: "get" | "post" | "put" | "patch" | "delete";
|
|
225
235
|
path: string;
|
|
236
|
+
description?: string | undefined;
|
|
226
237
|
endpointId?: string | undefined;
|
|
227
238
|
body?: z.core.util.JSONType | undefined;
|
|
228
239
|
extraHeaders?: Record<string, any> | undefined;
|
|
@@ -242,12 +253,12 @@ export declare const presetLeaves: readonly [{
|
|
|
242
253
|
readonly cfg: Readonly<{
|
|
243
254
|
description?: string | undefined;
|
|
244
255
|
tags?: string[] | undefined;
|
|
245
|
-
deprecated?: boolean | undefined;
|
|
246
256
|
queryExtensionSchema: undefined;
|
|
247
257
|
bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
|
|
248
258
|
feed?: boolean | undefined;
|
|
249
259
|
summary?: string | undefined;
|
|
250
260
|
docsGroup?: string | undefined;
|
|
261
|
+
deprecated?: boolean | undefined;
|
|
251
262
|
stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
|
|
252
263
|
docsHidden?: boolean | undefined;
|
|
253
264
|
docsMeta?: Record<string, unknown> | undefined;
|
|
@@ -261,6 +272,7 @@ export declare const presetLeaves: readonly [{
|
|
|
261
272
|
stepNumber: number;
|
|
262
273
|
method: "get" | "post" | "put" | "patch" | "delete";
|
|
263
274
|
path: string;
|
|
275
|
+
description?: string | undefined;
|
|
264
276
|
endpointId?: string | undefined;
|
|
265
277
|
body?: z.core.util.JSONType | undefined;
|
|
266
278
|
extraHeaders?: Record<string, any> | undefined;
|
|
@@ -279,6 +291,7 @@ export declare const presetLeaves: readonly [{
|
|
|
279
291
|
stepNumber: number;
|
|
280
292
|
method: "get" | "post" | "put" | "patch" | "delete";
|
|
281
293
|
path: string;
|
|
294
|
+
description?: string | undefined;
|
|
282
295
|
endpointId?: string | undefined;
|
|
283
296
|
body?: z.core.util.JSONType | undefined;
|
|
284
297
|
extraHeaders?: Record<string, any> | undefined;
|
|
@@ -301,6 +314,7 @@ export declare const presetLeaves: readonly [{
|
|
|
301
314
|
stepNumber: number;
|
|
302
315
|
method: "get" | "post" | "put" | "patch" | "delete";
|
|
303
316
|
path: string;
|
|
317
|
+
description?: string | undefined;
|
|
304
318
|
endpointId?: string | undefined;
|
|
305
319
|
body?: z.core.util.JSONType | undefined;
|
|
306
320
|
extraHeaders?: Record<string, any> | undefined;
|
|
@@ -322,6 +336,7 @@ export declare const presetLeaves: readonly [{
|
|
|
322
336
|
stepNumber: number;
|
|
323
337
|
method: "get" | "post" | "put" | "patch" | "delete";
|
|
324
338
|
path: string;
|
|
339
|
+
description?: string | undefined;
|
|
325
340
|
endpointId?: string | undefined;
|
|
326
341
|
body?: z.core.util.JSONType | undefined;
|
|
327
342
|
extraHeaders?: Record<string, any> | undefined;
|