@emeryld/rrroutes-openapi 2.5.7 → 2.5.12
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 +6 -0
- package/dist/docs/LeafDocsPage.d.ts +17 -1
- package/dist/index.cjs +98 -49
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +14 -26
- package/dist/index.mjs +97 -48
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.js +120 -115
- package/dist/web/app.d.ts +4 -1
- package/dist/web/v2/AppShell.d.ts +3 -1
- package/dist/web/v2/components/endpoints/EndpointPlayground.d.ts +1 -3
- package/dist/web/v2/components/endpoints/KeyValueEditor.d.ts +2 -1
- package/dist/web/v2/components/endpoints/PlaygroundEditor.d.ts +1 -2
- package/dist/web/v2/components/feeds/FeedPagination.d.ts +1 -2
- package/dist/web/v2/components/history/RequestDetailContent.d.ts +2 -18
- package/dist/web/v2/components/inputs/JsonInputWithTools.d.ts +3 -1
- package/dist/web/v2/components/json/JsonTree.d.ts +11 -0
- package/dist/web/v2/components/json/JsonTreeRow.d.ts +14 -0
- package/dist/web/v2/components/json/JsonViewer.d.ts +13 -1
- package/dist/web/v2/components/json/jsonViewerUtils.d.ts +3 -0
- package/dist/web/v2/components/{playgroundOverlay/PlaygroundOverlayLayout.d.ts → layout/OverlayLayout.d.ts} +3 -3
- package/dist/web/v2/components/logs/cache/common/CacheSummaryStat.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/common/CacheTraceDialog.d.ts +8 -0
- package/dist/web/v2/components/logs/cache/common/CacheValueDialog.d.ts +8 -0
- package/dist/web/v2/components/logs/cache/common/DetailField.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/common/MutedText.d.ts +4 -0
- package/dist/web/v2/components/logs/cache/insights/CacheInsights.d.ts +10 -0
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsKeySection.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsKpiRow.d.ts +8 -0
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsOverview.d.ts +8 -0
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsTagSection.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/insights/CacheProblemPanels.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/insights/CacheTagInsights.d.ts +20 -0
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailActions.d.ts +12 -0
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailLogsTab.d.ts +3 -0
- package/dist/web/v2/components/logs/cache/{CacheKeyDetailModal.d.ts → key-detail/CacheKeyDetailModal.d.ts} +7 -2
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailSummary.d.ts +17 -0
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTimelineTab.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTracesTab.d.ts +3 -0
- package/dist/web/v2/components/logs/cache/logs/CacheDataCard.d.ts +30 -0
- package/dist/web/v2/components/logs/cache/logs/CacheFiltersCard.d.ts +15 -0
- package/dist/web/v2/components/logs/cache/logs/CacheLogsTable.d.ts +7 -0
- package/dist/web/v2/components/logs/cache/{CacheSummaryTable.d.ts → logs/CacheSummaryTable.d.ts} +1 -1
- package/dist/web/v2/components/logs/cache/modals/CacheTagDetailModal.d.ts +11 -0
- package/dist/web/v2/components/performance/PerformanceMonitor.d.ts +207 -0
- package/dist/web/v2/components/presets/PresetForm.d.ts +2 -1
- package/dist/web/v2/components/presets/PresetOperationsTabsEditor.d.ts +17 -0
- package/dist/web/v2/components/presets/PresetsCsvActions.d.ts +7 -0
- package/dist/web/v2/components/presets/presetOperationAdapters.d.ts +11 -0
- package/dist/web/v2/components/presets/presetOperationRun.d.ts +35 -0
- package/dist/web/v2/components/presets/presetOperationUtils.d.ts +2 -0
- package/dist/web/v2/components/primitives/HoverRow.d.ts +6 -0
- package/dist/web/v2/components/primitives/InlineActionButton.d.ts +7 -0
- package/dist/web/v2/components/primitives/SurfaceActionArea.d.ts +8 -0
- package/dist/web/v2/components/request/LastRunPanel.d.ts +17 -0
- package/dist/web/v2/components/request/RequestInputsEditor.d.ts +38 -0
- package/dist/web/v2/components/request/RequestUrlSelector.d.ts +15 -0
- package/dist/web/v2/components/requests/timeline/RequestTimeline.d.ts +13 -0
- package/dist/web/v2/components/requests/timeline/RequestTimelineEventMiniCard.d.ts +13 -0
- package/dist/web/v2/components/requests/timeline/RequestTimelineFilters.d.ts +20 -0
- package/dist/web/v2/components/requests/timeline/RequestTimelineRow.d.ts +15 -0
- package/dist/web/v2/components/requests/timeline/types.d.ts +19 -0
- package/dist/web/v2/components/tabs/StickyIconTabs.d.ts +17 -0
- package/dist/web/v2/components/tags/DurationChip.d.ts +16 -0
- package/dist/web/v2/components/tags/LogLevelChip.d.ts +1 -2
- package/dist/web/v2/hooks/useCacheTrace.d.ts +21 -0
- package/dist/web/v2/registries/logLevelRegistry.d.ts +27 -0
- package/dist/web/v2/stores/playgroundStore.d.ts +3 -9
- package/dist/web/v2/theme.d.ts +21 -0
- package/dist/web/v2/types/types.cacheLog.d.ts +271 -32
- package/dist/web/v2/types/types.d.ts +3 -1
- package/dist/web/v2/types/types.endpoint.d.ts +20 -0
- package/dist/web/v2/types/types.kvRow.d.ts +8 -0
- package/dist/web/v2/types/types.log.d.ts +25 -78
- package/dist/web/v2/types/types.requestLog.d.ts +40 -44
- package/dist/web/v2/types/types.scheduling.d.ts +423 -0
- package/dist/web/v2/utils/cache/cacheInsightsMappers.d.ts +6 -0
- package/dist/web/v2/utils/cache/cacheInsightsMetrics.d.ts +24 -0
- package/dist/web/v2/utils/cache/cacheTraceInsights.d.ts +35 -0
- package/dist/web/v2/utils/cacheFormat.d.ts +7 -0
- package/dist/web/v2/utils/cacheUtils.d.ts +2 -0
- package/dist/web/v2/utils/colorScale.d.ts +14 -0
- package/dist/web/v2/utils/downloadTextFile.d.ts +1 -0
- package/dist/web/v2/utils/kvRow.d.ts +4 -4
- package/dist/web/v2/utils/kvRowAdapters.d.ts +14 -0
- package/dist/web/v2/utils/presetCsv.d.ts +22 -0
- package/dist/web/v2/utils/presetsCsv.d.ts +6 -0
- package/dist/web/v2/utils/sizeFormat.d.ts +2 -0
- package/package.json +3 -3
- package/dist/web/v2/components/endpoints/PlaygroundRunPanel.d.ts +0 -12
- package/dist/web/v2/components/endpoints/PlaygroundTopTabs.d.ts +0 -11
- package/dist/web/v2/components/history/RequestTimeline.d.ts +0 -10
- package/dist/web/v2/components/logs/cache/CacheInsightsKeySection.d.ts +0 -6
- package/dist/web/v2/components/logs/cache/CacheInsightsOverview.d.ts +0 -6
- package/dist/web/v2/components/logs/cache/CacheInsightsTagSection.d.ts +0 -6
- package/dist/web/v2/components/logs/cache/CacheLogsTable.d.ts +0 -6
- package/dist/web/v2/components/logs/cache/CacheTagInsights.d.ts +0 -43
- package/dist/web/v2/components/logs/cache/CacheValueDialog.d.ts +0 -7
- package/dist/web/v2/components/presets/PresetOperationsEditor.d.ts +0 -7
- /package/dist/web/v2/components/{playgroundOverlay → layout}/useMeasuredElement.d.ts +0 -0
- /package/dist/web/v2/components/logs/cache/{CacheLogsSection.d.ts → logs/CacheLogsSection.d.ts} +0 -0
|
@@ -0,0 +1,423 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const schedulingSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
description: z.ZodOptional<z.ZodString>;
|
|
6
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8
|
+
createdAt: z.ZodNumber;
|
|
9
|
+
updatedAt: z.ZodNumber;
|
|
10
|
+
scheduledAt: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
status: z.ZodString;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
export declare const schedulingQuerySchema: z.ZodObject<{
|
|
16
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
17
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
18
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
timestamp: "timestamp";
|
|
20
|
+
duration: "duration";
|
|
21
|
+
level: "level";
|
|
22
|
+
path: "path";
|
|
23
|
+
}>>;
|
|
24
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
asc: "asc";
|
|
26
|
+
desc: "desc";
|
|
27
|
+
}>>;
|
|
28
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
29
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
30
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
31
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
33
|
+
status: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
34
|
+
}, z.core.$strip>;
|
|
35
|
+
export type SchedulingType = z.infer<typeof schedulingSchema>;
|
|
36
|
+
export type SchedulingFilter = z.infer<typeof schedulingQuerySchema>;
|
|
37
|
+
export declare const schedulableHandler: z.ZodObject<{
|
|
38
|
+
name: z.ZodString;
|
|
39
|
+
payload: z.ZodString;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type SchedulableHandlerType = z.infer<typeof schedulableHandler>;
|
|
42
|
+
export declare const schedulingLeaves: readonly [{
|
|
43
|
+
readonly method: "get";
|
|
44
|
+
readonly path: "schedulings";
|
|
45
|
+
readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<C, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
46
|
+
queryExtensionSchema: C["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["queryExtensionSchema"] : undefined;
|
|
47
|
+
outputMetaSchema: C["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C["outputMetaSchema"] : undefined;
|
|
48
|
+
}> extends infer WithDefaults extends import("@emeryld/rrroutes-contract").MethodCfg ? import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, Exclude<keyof WithDefaults, "querySchema" | "outputSchema" | "feed">> & Omit<WithDefaults, "querySchema" | "outputSchema" | "feed">> & (WithDefaults["feed"] extends true ? (WithDefaults["feed"] extends true ? {
|
|
49
|
+
feed: true;
|
|
50
|
+
} : {
|
|
51
|
+
feed?: boolean;
|
|
52
|
+
}) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
53
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
54
|
+
} : {
|
|
55
|
+
paramsSchema: undefined;
|
|
56
|
+
}) : (WithDefaults["feed"] extends true ? {
|
|
57
|
+
feed: true;
|
|
58
|
+
} : {
|
|
59
|
+
feed?: boolean;
|
|
60
|
+
}) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
61
|
+
querySchema: WithDefaults["querySchema"];
|
|
62
|
+
} : {
|
|
63
|
+
querySchema?: undefined;
|
|
64
|
+
}) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
65
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
66
|
+
} : {
|
|
67
|
+
paramsSchema: undefined;
|
|
68
|
+
}))> : never), "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema">> & import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, "queryExtensionSchema" | "outputMetaSchema"> & Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
69
|
+
feed: true;
|
|
70
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
71
|
+
id: z.ZodString;
|
|
72
|
+
name: z.ZodString;
|
|
73
|
+
description: z.ZodOptional<z.ZodString>;
|
|
74
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
75
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
76
|
+
createdAt: z.ZodNumber;
|
|
77
|
+
updatedAt: z.ZodNumber;
|
|
78
|
+
scheduledAt: z.ZodOptional<z.ZodNumber>;
|
|
79
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
80
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
status: z.ZodString;
|
|
82
|
+
}, z.core.$strip>>;
|
|
83
|
+
querySchema: z.ZodObject<{
|
|
84
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
85
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
86
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
87
|
+
timestamp: "timestamp";
|
|
88
|
+
duration: "duration";
|
|
89
|
+
level: "level";
|
|
90
|
+
path: "path";
|
|
91
|
+
}>>;
|
|
92
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
93
|
+
asc: "asc";
|
|
94
|
+
desc: "desc";
|
|
95
|
+
}>>;
|
|
96
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
97
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
98
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
99
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
100
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
101
|
+
status: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
102
|
+
}, z.core.$strip>;
|
|
103
|
+
outputMetaSchema: z.ZodObject<{
|
|
104
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
105
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
queryExtensionSchema: z.ZodObject<{
|
|
108
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
109
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
110
|
+
}, z.core.$strip>;
|
|
111
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
112
|
+
queryExtensionSchema: z.ZodObject<{
|
|
113
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
114
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
115
|
+
}, z.core.$strip>;
|
|
116
|
+
outputMetaSchema: z.ZodObject<{
|
|
117
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
118
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
119
|
+
}, z.core.$strip>;
|
|
120
|
+
}>, "querySchema" | "outputSchema" | "feed">> & {
|
|
121
|
+
feed: true;
|
|
122
|
+
} & import("@emeryld/rrroutes-contract").FeedQueryField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
123
|
+
feed: true;
|
|
124
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
125
|
+
id: z.ZodString;
|
|
126
|
+
name: z.ZodString;
|
|
127
|
+
description: z.ZodOptional<z.ZodString>;
|
|
128
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
129
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
130
|
+
createdAt: z.ZodNumber;
|
|
131
|
+
updatedAt: z.ZodNumber;
|
|
132
|
+
scheduledAt: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
134
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
135
|
+
status: z.ZodString;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
querySchema: z.ZodObject<{
|
|
138
|
+
beforeDate: z.ZodOptional<z.ZodString>;
|
|
139
|
+
afterDate: z.ZodOptional<z.ZodString>;
|
|
140
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
141
|
+
timestamp: "timestamp";
|
|
142
|
+
duration: "duration";
|
|
143
|
+
level: "level";
|
|
144
|
+
path: "path";
|
|
145
|
+
}>>;
|
|
146
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
147
|
+
asc: "asc";
|
|
148
|
+
desc: "desc";
|
|
149
|
+
}>>;
|
|
150
|
+
searchQuery: z.ZodOptional<z.ZodString>;
|
|
151
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
152
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
153
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
154
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
155
|
+
status: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
156
|
+
}, z.core.$strip>;
|
|
157
|
+
outputMetaSchema: z.ZodObject<{
|
|
158
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
159
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
160
|
+
}, z.core.$strip>;
|
|
161
|
+
queryExtensionSchema: z.ZodObject<{
|
|
162
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
163
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
166
|
+
queryExtensionSchema: z.ZodObject<{
|
|
167
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
168
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
169
|
+
}, z.core.$strip>;
|
|
170
|
+
outputMetaSchema: z.ZodObject<{
|
|
171
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, z.core.$strip>;
|
|
174
|
+
}>> & {
|
|
175
|
+
outputSchema: z.ZodObject<{
|
|
176
|
+
out: z.ZodArray<z.ZodObject<{
|
|
177
|
+
id: z.ZodString;
|
|
178
|
+
name: z.ZodString;
|
|
179
|
+
description: z.ZodOptional<z.ZodString>;
|
|
180
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
181
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
182
|
+
createdAt: z.ZodNumber;
|
|
183
|
+
updatedAt: z.ZodNumber;
|
|
184
|
+
scheduledAt: z.ZodOptional<z.ZodNumber>;
|
|
185
|
+
startedAt: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
completedAt: z.ZodOptional<z.ZodNumber>;
|
|
187
|
+
status: z.ZodString;
|
|
188
|
+
}, z.core.$strip>>;
|
|
189
|
+
meta: z.ZodObject<{
|
|
190
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
192
|
+
}, z.core.$strip>;
|
|
193
|
+
}, z.core.$strip>;
|
|
194
|
+
} & {
|
|
195
|
+
paramsSchema: undefined;
|
|
196
|
+
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
197
|
+
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
198
|
+
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
199
|
+
beforeDate?: string | undefined;
|
|
200
|
+
afterDate?: string | undefined;
|
|
201
|
+
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
202
|
+
orderDirection?: "asc" | "desc" | undefined;
|
|
203
|
+
searchQuery?: string | undefined;
|
|
204
|
+
groupsInclude?: string[] | undefined;
|
|
205
|
+
groupsExclude?: string[] | undefined;
|
|
206
|
+
tagsInclude?: string[] | undefined;
|
|
207
|
+
tagsExclude?: string[] | undefined;
|
|
208
|
+
status?: string[] | undefined;
|
|
209
|
+
} & {
|
|
210
|
+
cursor?: string | undefined;
|
|
211
|
+
pageSize?: number | undefined;
|
|
212
|
+
}, {
|
|
213
|
+
beforeDate?: string | undefined;
|
|
214
|
+
afterDate?: string | undefined;
|
|
215
|
+
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
216
|
+
orderDirection?: "asc" | "desc" | undefined;
|
|
217
|
+
searchQuery?: string | undefined;
|
|
218
|
+
groupsInclude?: string[] | undefined;
|
|
219
|
+
groupsExclude?: string[] | undefined;
|
|
220
|
+
tagsInclude?: string[] | undefined;
|
|
221
|
+
tagsExclude?: string[] | undefined;
|
|
222
|
+
status?: string[] | undefined;
|
|
223
|
+
} & {
|
|
224
|
+
cursor?: string | undefined;
|
|
225
|
+
pageSize?: unknown;
|
|
226
|
+
}>;
|
|
227
|
+
paramsSchema: undefined;
|
|
228
|
+
outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
229
|
+
out: {
|
|
230
|
+
id: string;
|
|
231
|
+
name: string;
|
|
232
|
+
createdAt: number;
|
|
233
|
+
updatedAt: number;
|
|
234
|
+
status: string;
|
|
235
|
+
description?: string | undefined;
|
|
236
|
+
groupId?: string | undefined;
|
|
237
|
+
tags?: string[] | undefined;
|
|
238
|
+
scheduledAt?: number | undefined;
|
|
239
|
+
startedAt?: number | undefined;
|
|
240
|
+
completedAt?: number | undefined;
|
|
241
|
+
}[];
|
|
242
|
+
meta: {
|
|
243
|
+
totalCount?: number | undefined;
|
|
244
|
+
nextCursor?: string | undefined;
|
|
245
|
+
};
|
|
246
|
+
}, {
|
|
247
|
+
out: {
|
|
248
|
+
id: string;
|
|
249
|
+
name: string;
|
|
250
|
+
createdAt: number;
|
|
251
|
+
updatedAt: number;
|
|
252
|
+
status: string;
|
|
253
|
+
description?: string | undefined;
|
|
254
|
+
groupId?: string | undefined;
|
|
255
|
+
tags?: string[] | undefined;
|
|
256
|
+
scheduledAt?: number | undefined;
|
|
257
|
+
startedAt?: number | undefined;
|
|
258
|
+
completedAt?: number | undefined;
|
|
259
|
+
}[];
|
|
260
|
+
meta: {
|
|
261
|
+
totalCount?: number | undefined;
|
|
262
|
+
nextCursor?: string | undefined;
|
|
263
|
+
};
|
|
264
|
+
}>;
|
|
265
|
+
outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
266
|
+
totalCount?: number | undefined;
|
|
267
|
+
nextCursor?: string | undefined;
|
|
268
|
+
}, {
|
|
269
|
+
totalCount?: number | undefined;
|
|
270
|
+
nextCursor?: string | undefined;
|
|
271
|
+
}>;
|
|
272
|
+
queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
273
|
+
cursor?: string | undefined;
|
|
274
|
+
pageSize?: number | undefined;
|
|
275
|
+
}, {
|
|
276
|
+
cursor?: string | undefined;
|
|
277
|
+
pageSize?: unknown;
|
|
278
|
+
}>;
|
|
279
|
+
}>>>;
|
|
280
|
+
}, {
|
|
281
|
+
readonly method: "get";
|
|
282
|
+
readonly path: "schedulings/handlers";
|
|
283
|
+
readonly cfg: Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<Readonly<import("@emeryld/rrroutes-contract").Prettify<Omit<{}, "queryExtensionSchema" | "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema" | Exclude<keyof (import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
284
|
+
queryExtensionSchema: C_1["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_1["queryExtensionSchema"] : undefined;
|
|
285
|
+
outputMetaSchema: C_1["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_1["outputMetaSchema"] : undefined;
|
|
286
|
+
}> extends infer WithDefaults extends import("@emeryld/rrroutes-contract").MethodCfg ? import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, Exclude<keyof WithDefaults, "querySchema" | "outputSchema" | "feed">> & Omit<WithDefaults, "querySchema" | "outputSchema" | "feed">> & (WithDefaults["feed"] extends true ? (WithDefaults["feed"] extends true ? {
|
|
287
|
+
feed: true;
|
|
288
|
+
} : {
|
|
289
|
+
feed?: boolean;
|
|
290
|
+
}) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
291
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
292
|
+
} : {
|
|
293
|
+
paramsSchema: undefined;
|
|
294
|
+
}) : (WithDefaults["feed"] extends true ? {
|
|
295
|
+
feed: true;
|
|
296
|
+
} : {
|
|
297
|
+
feed?: boolean;
|
|
298
|
+
}) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
299
|
+
querySchema: WithDefaults["querySchema"];
|
|
300
|
+
} : {
|
|
301
|
+
querySchema?: undefined;
|
|
302
|
+
}) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
303
|
+
paramsSchema: WithDefaults["paramsSchema"];
|
|
304
|
+
} : {
|
|
305
|
+
paramsSchema: undefined;
|
|
306
|
+
}))> : never), "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema">> & import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<import("@emeryld/rrroutes-contract").Prettify<Omit<Omit<import("@emeryld/rrroutes-contract").MethodCfg, "querySchema" | "outputSchema" | "feed">, "queryExtensionSchema" | "outputMetaSchema"> & Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
307
|
+
feed: true;
|
|
308
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
309
|
+
name: z.ZodString;
|
|
310
|
+
payload: z.ZodString;
|
|
311
|
+
}, z.core.$strip>>;
|
|
312
|
+
querySchema: z.ZodObject<{
|
|
313
|
+
name: z.ZodOptional<z.ZodString>;
|
|
314
|
+
}, z.core.$strip>;
|
|
315
|
+
outputMetaSchema: z.ZodObject<{
|
|
316
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
317
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
318
|
+
}, z.core.$strip>;
|
|
319
|
+
queryExtensionSchema: z.ZodObject<{
|
|
320
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
321
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
322
|
+
}, z.core.$strip>;
|
|
323
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
324
|
+
queryExtensionSchema: z.ZodObject<{
|
|
325
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
326
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
327
|
+
}, z.core.$strip>;
|
|
328
|
+
outputMetaSchema: z.ZodObject<{
|
|
329
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
330
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
331
|
+
}, z.core.$strip>;
|
|
332
|
+
}>, "querySchema" | "outputSchema" | "feed">> & {
|
|
333
|
+
feed: true;
|
|
334
|
+
} & import("@emeryld/rrroutes-contract").FeedQueryField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
|
|
335
|
+
feed: true;
|
|
336
|
+
outputSchema: z.ZodArray<z.ZodObject<{
|
|
337
|
+
name: z.ZodString;
|
|
338
|
+
payload: z.ZodString;
|
|
339
|
+
}, z.core.$strip>>;
|
|
340
|
+
querySchema: z.ZodObject<{
|
|
341
|
+
name: z.ZodOptional<z.ZodString>;
|
|
342
|
+
}, z.core.$strip>;
|
|
343
|
+
outputMetaSchema: z.ZodObject<{
|
|
344
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
346
|
+
}, z.core.$strip>;
|
|
347
|
+
queryExtensionSchema: z.ZodObject<{
|
|
348
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
349
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
350
|
+
}, z.core.$strip>;
|
|
351
|
+
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
352
|
+
queryExtensionSchema: z.ZodObject<{
|
|
353
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
354
|
+
pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
355
|
+
}, z.core.$strip>;
|
|
356
|
+
outputMetaSchema: z.ZodObject<{
|
|
357
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
358
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
359
|
+
}, z.core.$strip>;
|
|
360
|
+
}>> & {
|
|
361
|
+
outputSchema: z.ZodObject<{
|
|
362
|
+
out: z.ZodArray<z.ZodObject<{
|
|
363
|
+
name: z.ZodString;
|
|
364
|
+
payload: z.ZodString;
|
|
365
|
+
}, z.core.$strip>>;
|
|
366
|
+
meta: z.ZodObject<{
|
|
367
|
+
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
368
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
369
|
+
}, z.core.$strip>;
|
|
370
|
+
}, z.core.$strip>;
|
|
371
|
+
} & {
|
|
372
|
+
paramsSchema: undefined;
|
|
373
|
+
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
374
|
+
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
375
|
+
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
376
|
+
name?: string | undefined;
|
|
377
|
+
} & {
|
|
378
|
+
cursor?: string | undefined;
|
|
379
|
+
pageSize?: number | undefined;
|
|
380
|
+
}, {
|
|
381
|
+
name?: string | undefined;
|
|
382
|
+
} & {
|
|
383
|
+
cursor?: string | undefined;
|
|
384
|
+
pageSize?: unknown;
|
|
385
|
+
}>;
|
|
386
|
+
paramsSchema: undefined;
|
|
387
|
+
outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
388
|
+
out: {
|
|
389
|
+
name: string;
|
|
390
|
+
payload: string;
|
|
391
|
+
}[];
|
|
392
|
+
meta: {
|
|
393
|
+
totalCount?: number | undefined;
|
|
394
|
+
nextCursor?: string | undefined;
|
|
395
|
+
};
|
|
396
|
+
}, {
|
|
397
|
+
out: {
|
|
398
|
+
name: string;
|
|
399
|
+
payload: string;
|
|
400
|
+
}[];
|
|
401
|
+
meta: {
|
|
402
|
+
totalCount?: number | undefined;
|
|
403
|
+
nextCursor?: string | undefined;
|
|
404
|
+
};
|
|
405
|
+
}>;
|
|
406
|
+
outputMetaSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
407
|
+
totalCount?: number | undefined;
|
|
408
|
+
nextCursor?: string | undefined;
|
|
409
|
+
}, {
|
|
410
|
+
totalCount?: number | undefined;
|
|
411
|
+
nextCursor?: string | undefined;
|
|
412
|
+
}>;
|
|
413
|
+
queryExtensionSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
414
|
+
cursor?: string | undefined;
|
|
415
|
+
pageSize?: number | undefined;
|
|
416
|
+
}, {
|
|
417
|
+
cursor?: string | undefined;
|
|
418
|
+
pageSize?: unknown;
|
|
419
|
+
}>;
|
|
420
|
+
}>>>, "paramsSchema"> & {
|
|
421
|
+
paramsSchema: undefined;
|
|
422
|
+
}>>;
|
|
423
|
+
}];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CacheKeyInsight, CacheTagInsight } from '../../types/types.cacheLog';
|
|
2
|
+
import type { CacheInsightDatum } from './cacheInsightsMetrics';
|
|
3
|
+
export declare function bytesToKilobytes(bytes: number | null | undefined): number;
|
|
4
|
+
export declare function computeTotalRequests(hits: number | null | undefined, misses: number | null | undefined): number;
|
|
5
|
+
export declare function mapKeyInsightsToChartData(keys: CacheKeyInsight[]): CacheInsightDatum[];
|
|
6
|
+
export declare function mapTagInsightsToChartData(tags: CacheTagInsight[]): CacheInsightDatum[];
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type MetricKey = 'sets' | 'totalSizeKB' | 'totalRequests' | 'hitRate' | 'missRate' | 'avgMissDurationMs' | 'hitsSinceLastSet' | 'missesSinceLastSet' | 'deletesSinceLastSet' | 'avgTimeBetweenSetsMs' | 'avgHitsBetweenSets' | 'avgMissesBetweenSets';
|
|
2
|
+
export declare const ALL_METRICS: MetricKey[];
|
|
3
|
+
export declare const METRIC_LABEL: Record<MetricKey, string>;
|
|
4
|
+
export type MetricPresentation = 'percent' | 'sizeKB' | 'durationMs' | 'count';
|
|
5
|
+
export declare function getMetricPresentation(metric: MetricKey): MetricPresentation;
|
|
6
|
+
export type CacheInsightDatum = {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string;
|
|
9
|
+
sets: number;
|
|
10
|
+
totalSizeKB: number;
|
|
11
|
+
totalRequests: number;
|
|
12
|
+
hitRate: number;
|
|
13
|
+
missRate: number;
|
|
14
|
+
avgMissDurationMs: number | null;
|
|
15
|
+
hitsSinceLastSet?: number;
|
|
16
|
+
missesSinceLastSet?: number;
|
|
17
|
+
deletesSinceLastSet?: number;
|
|
18
|
+
avgTimeBetweenSetsMs?: number | null;
|
|
19
|
+
avgHitsBetweenSets?: number | null;
|
|
20
|
+
avgMissesBetweenSets?: number | null;
|
|
21
|
+
};
|
|
22
|
+
export declare function getMetricValue(stat: CacheInsightDatum, metric: MetricKey): number;
|
|
23
|
+
export declare function formatYAxisTickValue(value: number, presentation: MetricPresentation): string;
|
|
24
|
+
export declare function formatTooltipValue(value: number, metric: MetricKey, presentation: MetricPresentation): [string | number, string];
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CacheTraceType } from '../../types/types.cacheLog';
|
|
2
|
+
export type TimelinePoint = {
|
|
3
|
+
timestamp: number;
|
|
4
|
+
hits: number;
|
|
5
|
+
misses: number;
|
|
6
|
+
sets: number;
|
|
7
|
+
totalRequests: number;
|
|
8
|
+
hitRate: number;
|
|
9
|
+
avgDurationMs: number | null;
|
|
10
|
+
};
|
|
11
|
+
export type SizeTimelinePoint = {
|
|
12
|
+
timestamp: number;
|
|
13
|
+
sizeBytes: number;
|
|
14
|
+
};
|
|
15
|
+
export type LatencySummary = {
|
|
16
|
+
avgDurationMs: number | null;
|
|
17
|
+
p50DurationMs: number | null;
|
|
18
|
+
p95DurationMs: number | null;
|
|
19
|
+
};
|
|
20
|
+
export type OperationLatencySummary = {
|
|
21
|
+
hits: LatencySummary;
|
|
22
|
+
misses: LatencySummary;
|
|
23
|
+
};
|
|
24
|
+
export declare function buildTimeline(traces: CacheTraceType[], bucketSizeMs: number): TimelinePoint[];
|
|
25
|
+
export declare function buildSizeTimeline(traces: CacheTraceType[]): SizeTimelinePoint[];
|
|
26
|
+
export declare function summarizeTraces(traces: CacheTraceType[]): {
|
|
27
|
+
totalHits: number;
|
|
28
|
+
totalMisses: number;
|
|
29
|
+
totalSets: number;
|
|
30
|
+
lastHitAt: number | null;
|
|
31
|
+
lastMissAt: number | null;
|
|
32
|
+
lastSetAt: number | null;
|
|
33
|
+
};
|
|
34
|
+
export declare function computeLatencyStats(traces: CacheTraceType[]): OperationLatencySummary;
|
|
35
|
+
export declare function formatTimeLabel(value: number | string): string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function formatSize(bytes?: number | null): string;
|
|
2
|
+
export declare function formatTimestamp(value?: number | null): string;
|
|
3
|
+
export declare function formatIsoDate(value?: number | null): string;
|
|
4
|
+
export declare function formatDurationMs(value?: number | null): string;
|
|
5
|
+
export declare function summarizeJson(value: unknown, maxLen?: number): string;
|
|
6
|
+
export declare function formatJson(value: unknown): string;
|
|
7
|
+
export declare function formatRelative(value?: number | null): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type DurationToColorArgs = {
|
|
2
|
+
deltaMs: number | null | undefined;
|
|
3
|
+
maxDeltaMs: number;
|
|
4
|
+
colors: {
|
|
5
|
+
min: string;
|
|
6
|
+
max: string;
|
|
7
|
+
};
|
|
8
|
+
neutral?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function clamp01(value: number): number;
|
|
11
|
+
export declare function lerp(a: number, b: number, t: number): number;
|
|
12
|
+
export declare function lerpRgb(color1: string, color2: string, t: number): string;
|
|
13
|
+
export declare function durationToColor({ deltaMs, maxDeltaMs, colors, neutral, }: DurationToColorArgs): string;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function downloadTextFile(filename: string, text: string, mime?: string): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { KeyValueRow } from '../types/types.kvRow.js';
|
|
2
2
|
export declare function makeRowId(): string;
|
|
3
3
|
type CreateRowArgs = {
|
|
4
4
|
id?: string;
|
|
@@ -8,8 +8,8 @@ type CreateRowArgs = {
|
|
|
8
8
|
typeHint?: string;
|
|
9
9
|
description?: string;
|
|
10
10
|
};
|
|
11
|
-
export declare function createKeyValueRow({ id, key, value, enabled, typeHint, description, }?: CreateRowArgs):
|
|
12
|
-
export declare function cloneKeyValueRows(rows:
|
|
11
|
+
export declare function createKeyValueRow({ id, key, value, enabled, typeHint, description, }?: CreateRowArgs): KeyValueRow;
|
|
12
|
+
export declare function cloneKeyValueRows(rows: KeyValueRow[], { preserveIds }?: {
|
|
13
13
|
preserveIds?: boolean;
|
|
14
|
-
}):
|
|
14
|
+
}): KeyValueRow[];
|
|
15
15
|
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { KeyValueRow } from '../types/types.kvRow.js';
|
|
2
|
+
export declare function recordToRows(input?: Record<string, unknown>): KeyValueRow[];
|
|
3
|
+
export declare function rowsToRecord(rows: KeyValueRow[]): Record<string, string>;
|
|
4
|
+
export declare function stringifyJson(value: unknown): string;
|
|
5
|
+
export declare function parseJsonOrError(raw: string): {
|
|
6
|
+
value?: undefined;
|
|
7
|
+
error?: undefined;
|
|
8
|
+
} | {
|
|
9
|
+
value: any;
|
|
10
|
+
error?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
error: string;
|
|
13
|
+
value?: undefined;
|
|
14
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { PresetType } from '../types/types.preset.js';
|
|
2
|
+
export declare const COLUMN_ORDER: readonly ["presetId", "presetName", "presetDescription", "presetGroupId", "presetTags", "opStepNumber", "opName", "opDescription", "opMethod", "opPath", "opEndpointId", "opQueryJson", "opExtraHeadersJson", "opBodyJson"];
|
|
3
|
+
export declare const REQUIRED_COLUMNS: readonly ["presetName", "opStepNumber", "opMethod", "opPath"];
|
|
4
|
+
export type ColumnKey = (typeof COLUMN_ORDER)[number];
|
|
5
|
+
/**
|
|
6
|
+
* CSV column order:
|
|
7
|
+
* presetId, presetName, presetDescription, presetGroupId, presetTags,
|
|
8
|
+
* opStepNumber, opName, opDescription, opMethod, opPath, opEndpointId,
|
|
9
|
+
* opQueryJson, opExtraHeadersJson, opBodyJson
|
|
10
|
+
*
|
|
11
|
+
* JSON cells are exported as compact JSON (no whitespace) to keep rows single-line.
|
|
12
|
+
*/
|
|
13
|
+
export declare function presetToCsv(preset: PresetType): string;
|
|
14
|
+
export declare function csvToPreset(csv: string): {
|
|
15
|
+
preset: PresetType | null;
|
|
16
|
+
errors: string[];
|
|
17
|
+
};
|
|
18
|
+
export declare function parseTags(cell: string): string[];
|
|
19
|
+
export declare function serializeCell(value: string): string;
|
|
20
|
+
export declare function parseCsv(csv: string): {
|
|
21
|
+
rows: string[][];
|
|
22
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emeryld/rrroutes-openapi",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.12",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"react": "^18.3.1",
|
|
29
29
|
"react-dom": "^18.3.1",
|
|
30
30
|
"react-router-dom": "^7.10.1",
|
|
31
|
-
"recharts": "^3.
|
|
31
|
+
"recharts": "^3.6.0",
|
|
32
32
|
"socket.io-client": "^4.8.1",
|
|
33
|
-
"zod": "^4.
|
|
33
|
+
"zod": "^4.2.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"express": "^5.1.0"
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { PlaygroundInputs } from '../../stores/clientStore.js';
|
|
3
|
-
import { PlaygroundTab } from '../../stores/playgroundStore.js';
|
|
4
|
-
type PlaygroundRunPanelProps = {
|
|
5
|
-
tab: PlaygroundTab;
|
|
6
|
-
isRunning: boolean;
|
|
7
|
-
onRun: () => void;
|
|
8
|
-
onOpenStandalone?: (inputs: PlaygroundInputs) => void;
|
|
9
|
-
runButtonSlot?: ReactNode;
|
|
10
|
-
};
|
|
11
|
-
export default function PlaygroundRunPanel({ tab, isRunning, onRun, onOpenStandalone, runButtonSlot, }: PlaygroundRunPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { PlaygroundTab } from '../../stores/playgroundStore.js';
|
|
2
|
-
type PlaygroundTopTabsProps = {
|
|
3
|
-
tabs: PlaygroundTab[];
|
|
4
|
-
activeTabId: string | null;
|
|
5
|
-
isLoading: boolean;
|
|
6
|
-
onSelect: (tabId: string) => void;
|
|
7
|
-
onAdd: () => void;
|
|
8
|
-
onClose: (tabId: string) => void;
|
|
9
|
-
};
|
|
10
|
-
export default function PlaygroundTopTabs({ tabs, activeTabId, isLoading, onSelect, onAdd, onClose, }: PlaygroundTopTabsProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { CacheLogType } from '../../types/types.cacheLog.js';
|
|
2
|
-
import type { LogType } from '../../types/types.log.js';
|
|
3
|
-
import type { SocketEventType } from '../../types/types.socket.js';
|
|
4
|
-
import { RequestTimelineEvent } from './RequestDetailContent.js';
|
|
5
|
-
export declare function RequestTimeline({ events, onSelectCache, onSelectLog, onSelectSocket, }: {
|
|
6
|
-
events: RequestTimelineEvent[];
|
|
7
|
-
onSelectCache?: (cache: CacheLogType) => void;
|
|
8
|
-
onSelectLog?: (log: LogType) => void;
|
|
9
|
-
onSelectSocket?: (socket: SocketEventType) => void;
|
|
10
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { CacheKeyInsight } from '../../../types/types.cacheLog';
|
|
2
|
-
type CacheInsightsKeySectionProps = {
|
|
3
|
-
keys: CacheKeyInsight[];
|
|
4
|
-
};
|
|
5
|
-
export default function CacheInsightsKeySection({ keys, }: CacheInsightsKeySectionProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|