@emeryld/rrroutes-openapi 2.5.10 → 2.5.13
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 +64 -126
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.mjs +63 -125
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.js +113 -113
- package/dist/web/v2/types/types.base.d.ts +1 -6
- package/dist/web/v2/types/types.cacheLog.d.ts +61 -670
- package/dist/web/v2/types/types.d.ts +3 -1
- package/dist/web/v2/types/types.endpoint.d.ts +5 -20
- package/dist/web/v2/types/types.log.d.ts +5 -20
- package/dist/web/v2/types/types.preset.d.ts +5 -20
- package/dist/web/v2/types/types.requestLog.d.ts +5 -20
- package/dist/web/v2/types/types.scheduling.d.ts +408 -0
- package/dist/web/v2/types/types.socket.d.ts +5 -20
- package/dist/web/v2/utils/dates.d.ts +4 -0
- package/dist/web/v2/utils/sizeFormat.d.ts +0 -1
- package/package.json +3 -3
- package/dist/web/v2/components/logs/cache/common/CacheSummaryStat.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/common/CacheTraceDialog.d.ts +0 -8
- package/dist/web/v2/components/logs/cache/common/CacheValueDialog.d.ts +0 -8
- package/dist/web/v2/components/logs/cache/common/DetailField.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/common/MutedText.d.ts +0 -4
- package/dist/web/v2/components/logs/cache/insights/CacheInsights.d.ts +0 -10
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsKeySection.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsKpiRow.d.ts +0 -8
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsOverview.d.ts +0 -8
- package/dist/web/v2/components/logs/cache/insights/CacheInsightsTagSection.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/insights/CacheProblemPanels.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/insights/CacheTagInsights.d.ts +0 -20
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailActions.d.ts +0 -12
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailLogsTab.d.ts +0 -3
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailModal.d.ts +0 -18
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailSummary.d.ts +0 -17
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTimelineTab.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/key-detail/CacheKeyDetailTracesTab.d.ts +0 -3
- package/dist/web/v2/components/logs/cache/logs/CacheDataCard.d.ts +0 -30
- package/dist/web/v2/components/logs/cache/logs/CacheFiltersCard.d.ts +0 -15
- package/dist/web/v2/components/logs/cache/logs/CacheLogsSection.d.ts +0 -1
- package/dist/web/v2/components/logs/cache/logs/CacheLogsTable.d.ts +0 -7
- package/dist/web/v2/components/logs/cache/logs/CacheSummaryTable.d.ts +0 -8
- package/dist/web/v2/components/logs/cache/modals/CacheTagDetailModal.d.ts +0 -11
- package/dist/web/v2/hooks/useCacheInsights.d.ts +0 -308
- package/dist/web/v2/utils/cache/cacheInsightsMappers.d.ts +0 -6
- package/dist/web/v2/utils/cache/cacheInsightsMetrics.d.ts +0 -24
- package/dist/web/v2/utils/cache/cacheTraceInsights.d.ts +0 -35
- package/dist/web/v2/utils/cacheFormat.d.ts +0 -7
- package/dist/web/v2/utils/cacheUtils.d.ts +0 -2
|
@@ -17,36 +17,11 @@ export declare const cacheTraceSchema: z.ZodObject<{
|
|
|
17
17
|
groupId: z.ZodOptional<z.ZodString>;
|
|
18
18
|
type: z.ZodOptional<z.ZodString>;
|
|
19
19
|
}, z.core.$strip>;
|
|
20
|
-
export
|
|
21
|
-
id: z.ZodString;
|
|
22
|
-
name: z.ZodString;
|
|
23
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24
|
-
groupId: z.ZodOptional<z.ZodString>;
|
|
25
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
-
createdAt: z.ZodNumber;
|
|
27
|
-
updatedAt: z.ZodNumber;
|
|
28
|
-
value: z.ZodNullable<z.ZodAny>;
|
|
29
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
30
|
-
operation: z.ZodOptional<z.ZodEnum<{
|
|
31
|
-
delete: "delete";
|
|
32
|
-
hit: "hit";
|
|
33
|
-
miss: "miss";
|
|
34
|
-
set: "set";
|
|
35
|
-
}>>;
|
|
36
|
-
lastSet: z.ZodNullable<z.ZodNumber>;
|
|
37
|
-
lastHit: z.ZodNullable<z.ZodNumber>;
|
|
38
|
-
lastMiss: z.ZodNullable<z.ZodNumber>;
|
|
39
|
-
lastDelete: z.ZodNullable<z.ZodNumber>;
|
|
40
|
-
}, z.core.$strip>;
|
|
20
|
+
export type CacheTraceType = z.infer<typeof cacheTraceSchema>;
|
|
41
21
|
export declare const cacheTraceQuerySchema: z.ZodObject<{
|
|
42
22
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
43
23
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
44
|
-
orderBy: z.ZodOptional<z.
|
|
45
|
-
timestamp: "timestamp";
|
|
46
|
-
duration: "duration";
|
|
47
|
-
level: "level";
|
|
48
|
-
path: "path";
|
|
49
|
-
}>>;
|
|
24
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
50
25
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
51
26
|
asc: "asc";
|
|
52
27
|
desc: "desc";
|
|
@@ -56,33 +31,26 @@ export declare const cacheTraceQuerySchema: z.ZodObject<{
|
|
|
56
31
|
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
57
32
|
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
58
33
|
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
59
|
-
operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
60
|
-
delete: "delete";
|
|
61
|
-
hit: "hit";
|
|
62
|
-
miss: "miss";
|
|
63
|
-
set: "set";
|
|
64
|
-
}>>>;
|
|
65
|
-
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
66
|
-
delete: "delete";
|
|
67
|
-
hit: "hit";
|
|
68
|
-
miss: "miss";
|
|
69
|
-
set: "set";
|
|
70
|
-
}>>>;
|
|
71
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
72
|
-
keySearch: z.ZodOptional<z.ZodString>;
|
|
73
34
|
}, z.core.$strip>;
|
|
74
|
-
export type CacheTraceType = z.infer<typeof cacheTraceSchema>;
|
|
75
35
|
export type CacheTraceQuery = z.infer<typeof cacheTraceQuerySchema>;
|
|
36
|
+
export declare const cacheLogSchema: z.ZodObject<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
name: z.ZodString;
|
|
39
|
+
description: z.ZodOptional<z.ZodString>;
|
|
40
|
+
groupId: z.ZodOptional<z.ZodString>;
|
|
41
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
42
|
+
createdAt: z.ZodNumber;
|
|
43
|
+
updatedAt: z.ZodNumber;
|
|
44
|
+
value: z.ZodNullable<z.ZodAny>;
|
|
45
|
+
size: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
setAt: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
ttlMs: z.ZodOptional<z.ZodNumber>;
|
|
48
|
+
}, z.core.$strip>;
|
|
76
49
|
export type CacheLogType = z.infer<typeof cacheLogSchema>;
|
|
77
50
|
export declare const cacheLogQuerySchema: z.ZodObject<{
|
|
78
51
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
79
52
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
80
|
-
orderBy: z.ZodOptional<z.
|
|
81
|
-
timestamp: "timestamp";
|
|
82
|
-
duration: "duration";
|
|
83
|
-
level: "level";
|
|
84
|
-
path: "path";
|
|
85
|
-
}>>;
|
|
53
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
86
54
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
87
55
|
asc: "asc";
|
|
88
56
|
desc: "desc";
|
|
@@ -92,140 +60,10 @@ export declare const cacheLogQuerySchema: z.ZodObject<{
|
|
|
92
60
|
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
93
61
|
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
94
62
|
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
hit: "hit";
|
|
98
|
-
miss: "miss";
|
|
99
|
-
set: "set";
|
|
100
|
-
}>>>;
|
|
101
|
-
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
102
|
-
delete: "delete";
|
|
103
|
-
hit: "hit";
|
|
104
|
-
miss: "miss";
|
|
105
|
-
set: "set";
|
|
106
|
-
}>>>;
|
|
107
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
108
|
-
keySearch: z.ZodOptional<z.ZodString>;
|
|
63
|
+
keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
64
|
+
keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
109
65
|
}, z.core.$strip>;
|
|
110
66
|
export type CacheLogsFilter = z.infer<typeof cacheLogQuerySchema> & z.infer<typeof paginationSchema>;
|
|
111
|
-
export declare const cacheSummarySchema: z.ZodObject<{
|
|
112
|
-
key: z.ZodString;
|
|
113
|
-
lastSetAt: z.ZodNullable<z.ZodNumber>;
|
|
114
|
-
lastHitAt: z.ZodNullable<z.ZodNumber>;
|
|
115
|
-
lastMissAt: z.ZodNullable<z.ZodNumber>;
|
|
116
|
-
totalHits: z.ZodNumber;
|
|
117
|
-
totalMisses: z.ZodNumber;
|
|
118
|
-
totalSets: z.ZodNumber;
|
|
119
|
-
sizeBytes: z.ZodOptional<z.ZodNumber>;
|
|
120
|
-
}, z.core.$strip>;
|
|
121
|
-
export type CacheSummaryType = z.infer<typeof cacheSummarySchema>;
|
|
122
|
-
export declare const cacheKeyInsightSchema: z.ZodObject<{
|
|
123
|
-
key: z.ZodString;
|
|
124
|
-
currentSizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
125
|
-
lastSetAt: z.ZodNullable<z.ZodNumber>;
|
|
126
|
-
lastDeleteAt: z.ZodNullable<z.ZodNumber>;
|
|
127
|
-
lastHitAt: z.ZodNullable<z.ZodNumber>;
|
|
128
|
-
lastMissAt: z.ZodNullable<z.ZodNumber>;
|
|
129
|
-
lastActivityAt: z.ZodNullable<z.ZodNumber>;
|
|
130
|
-
totalHits: z.ZodNumber;
|
|
131
|
-
totalMisses: z.ZodNumber;
|
|
132
|
-
totalSets: z.ZodNumber;
|
|
133
|
-
totalDeletes: z.ZodNumber;
|
|
134
|
-
hitsSinceLastSet: z.ZodNumber;
|
|
135
|
-
missesSinceLastSet: z.ZodNumber;
|
|
136
|
-
deletesSinceLastSet: z.ZodNumber;
|
|
137
|
-
avgTimeBetweenSetsMs: z.ZodNullable<z.ZodNumber>;
|
|
138
|
-
avgHitsBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
139
|
-
avgMissesBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
140
|
-
hitRate: z.ZodNumber;
|
|
141
|
-
missRate: z.ZodNumber;
|
|
142
|
-
}, z.core.$strip>;
|
|
143
|
-
export declare const cacheTagInsightSchema: z.ZodObject<{
|
|
144
|
-
tag: z.ZodString;
|
|
145
|
-
approxCurrentSizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
146
|
-
totalHits: z.ZodNumber;
|
|
147
|
-
totalMisses: z.ZodNumber;
|
|
148
|
-
totalSets: z.ZodNumber;
|
|
149
|
-
totalDeletes: z.ZodNumber;
|
|
150
|
-
avgTimeBetweenSetsMs: z.ZodNullable<z.ZodNumber>;
|
|
151
|
-
avgHitsBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
152
|
-
avgMissesBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
153
|
-
hitRate: z.ZodNumber;
|
|
154
|
-
missRate: z.ZodNumber;
|
|
155
|
-
}, z.core.$strip>;
|
|
156
|
-
export declare const cacheInsightsSchema: z.ZodObject<{
|
|
157
|
-
computedAt: z.ZodNumber;
|
|
158
|
-
windowStart: z.ZodNullable<z.ZodNumber>;
|
|
159
|
-
windowEnd: z.ZodNullable<z.ZodNumber>;
|
|
160
|
-
groupBy: z.ZodEnum<{
|
|
161
|
-
key: "key";
|
|
162
|
-
tag: "tag";
|
|
163
|
-
both: "both";
|
|
164
|
-
}>;
|
|
165
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
166
|
-
key: z.ZodString;
|
|
167
|
-
currentSizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
168
|
-
lastSetAt: z.ZodNullable<z.ZodNumber>;
|
|
169
|
-
lastDeleteAt: z.ZodNullable<z.ZodNumber>;
|
|
170
|
-
lastHitAt: z.ZodNullable<z.ZodNumber>;
|
|
171
|
-
lastMissAt: z.ZodNullable<z.ZodNumber>;
|
|
172
|
-
lastActivityAt: z.ZodNullable<z.ZodNumber>;
|
|
173
|
-
totalHits: z.ZodNumber;
|
|
174
|
-
totalMisses: z.ZodNumber;
|
|
175
|
-
totalSets: z.ZodNumber;
|
|
176
|
-
totalDeletes: z.ZodNumber;
|
|
177
|
-
hitsSinceLastSet: z.ZodNumber;
|
|
178
|
-
missesSinceLastSet: z.ZodNumber;
|
|
179
|
-
deletesSinceLastSet: z.ZodNumber;
|
|
180
|
-
avgTimeBetweenSetsMs: z.ZodNullable<z.ZodNumber>;
|
|
181
|
-
avgHitsBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
182
|
-
avgMissesBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
183
|
-
hitRate: z.ZodNumber;
|
|
184
|
-
missRate: z.ZodNumber;
|
|
185
|
-
}, z.core.$strip>>>;
|
|
186
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
|
-
tag: z.ZodString;
|
|
188
|
-
approxCurrentSizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
189
|
-
totalHits: z.ZodNumber;
|
|
190
|
-
totalMisses: z.ZodNumber;
|
|
191
|
-
totalSets: z.ZodNumber;
|
|
192
|
-
totalDeletes: z.ZodNumber;
|
|
193
|
-
avgTimeBetweenSetsMs: z.ZodNullable<z.ZodNumber>;
|
|
194
|
-
avgHitsBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
195
|
-
avgMissesBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
196
|
-
hitRate: z.ZodNumber;
|
|
197
|
-
missRate: z.ZodNumber;
|
|
198
|
-
}, z.core.$strip>>>;
|
|
199
|
-
}, z.core.$strip>;
|
|
200
|
-
export type CacheKeyInsight = z.infer<typeof cacheKeyInsightSchema>;
|
|
201
|
-
export type CacheTagInsight = z.infer<typeof cacheTagInsightSchema>;
|
|
202
|
-
export type CacheInsights = z.infer<typeof cacheInsightsSchema>;
|
|
203
|
-
export declare const cacheInsightsQuerySchema: z.ZodObject<{
|
|
204
|
-
beforeDate: z.ZodOptional<z.ZodString>;
|
|
205
|
-
afterDate: z.ZodOptional<z.ZodString>;
|
|
206
|
-
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
207
|
-
timestamp: "timestamp";
|
|
208
|
-
duration: "duration";
|
|
209
|
-
level: "level";
|
|
210
|
-
path: "path";
|
|
211
|
-
}>>;
|
|
212
|
-
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
213
|
-
asc: "asc";
|
|
214
|
-
desc: "desc";
|
|
215
|
-
}>>;
|
|
216
|
-
searchQuery: z.ZodOptional<z.ZodString>;
|
|
217
|
-
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
218
|
-
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
219
|
-
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
220
|
-
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
221
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
222
|
-
groupBy: z.ZodDefault<z.ZodEnum<{
|
|
223
|
-
key: "key";
|
|
224
|
-
tag: "tag";
|
|
225
|
-
both: "both";
|
|
226
|
-
}>>;
|
|
227
|
-
}, z.core.$strip>;
|
|
228
|
-
export type CacheInsightsFilter = z.infer<typeof cacheInsightsQuerySchema>;
|
|
229
67
|
export declare const cacheLeaves: readonly [{
|
|
230
68
|
readonly method: "get";
|
|
231
69
|
readonly path: "cache";
|
|
@@ -264,26 +102,13 @@ export declare const cacheLeaves: readonly [{
|
|
|
264
102
|
updatedAt: z.ZodNumber;
|
|
265
103
|
value: z.ZodNullable<z.ZodAny>;
|
|
266
104
|
size: z.ZodOptional<z.ZodNumber>;
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
hit: "hit";
|
|
270
|
-
miss: "miss";
|
|
271
|
-
set: "set";
|
|
272
|
-
}>>;
|
|
273
|
-
lastSet: z.ZodNullable<z.ZodNumber>;
|
|
274
|
-
lastHit: z.ZodNullable<z.ZodNumber>;
|
|
275
|
-
lastMiss: z.ZodNullable<z.ZodNumber>;
|
|
276
|
-
lastDelete: z.ZodNullable<z.ZodNumber>;
|
|
105
|
+
setAt: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
ttlMs: z.ZodOptional<z.ZodNumber>;
|
|
277
107
|
}, z.core.$strip>>;
|
|
278
108
|
querySchema: z.ZodObject<{
|
|
279
109
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
280
110
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
281
|
-
orderBy: z.ZodOptional<z.
|
|
282
|
-
timestamp: "timestamp";
|
|
283
|
-
duration: "duration";
|
|
284
|
-
level: "level";
|
|
285
|
-
path: "path";
|
|
286
|
-
}>>;
|
|
111
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
287
112
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
288
113
|
asc: "asc";
|
|
289
114
|
desc: "desc";
|
|
@@ -293,20 +118,8 @@ export declare const cacheLeaves: readonly [{
|
|
|
293
118
|
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
294
119
|
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
295
120
|
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
hit: "hit";
|
|
299
|
-
miss: "miss";
|
|
300
|
-
set: "set";
|
|
301
|
-
}>>>;
|
|
302
|
-
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
303
|
-
delete: "delete";
|
|
304
|
-
hit: "hit";
|
|
305
|
-
miss: "miss";
|
|
306
|
-
set: "set";
|
|
307
|
-
}>>>;
|
|
308
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
309
|
-
keySearch: z.ZodOptional<z.ZodString>;
|
|
121
|
+
keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
122
|
+
keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
310
123
|
}, z.core.$strip>;
|
|
311
124
|
outputMetaSchema: z.ZodObject<{
|
|
312
125
|
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -339,26 +152,13 @@ export declare const cacheLeaves: readonly [{
|
|
|
339
152
|
updatedAt: z.ZodNumber;
|
|
340
153
|
value: z.ZodNullable<z.ZodAny>;
|
|
341
154
|
size: z.ZodOptional<z.ZodNumber>;
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
hit: "hit";
|
|
345
|
-
miss: "miss";
|
|
346
|
-
set: "set";
|
|
347
|
-
}>>;
|
|
348
|
-
lastSet: z.ZodNullable<z.ZodNumber>;
|
|
349
|
-
lastHit: z.ZodNullable<z.ZodNumber>;
|
|
350
|
-
lastMiss: z.ZodNullable<z.ZodNumber>;
|
|
351
|
-
lastDelete: z.ZodNullable<z.ZodNumber>;
|
|
155
|
+
setAt: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
ttlMs: z.ZodOptional<z.ZodNumber>;
|
|
352
157
|
}, z.core.$strip>>;
|
|
353
158
|
querySchema: z.ZodObject<{
|
|
354
159
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
355
160
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
356
|
-
orderBy: z.ZodOptional<z.
|
|
357
|
-
timestamp: "timestamp";
|
|
358
|
-
duration: "duration";
|
|
359
|
-
level: "level";
|
|
360
|
-
path: "path";
|
|
361
|
-
}>>;
|
|
161
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
362
162
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
363
163
|
asc: "asc";
|
|
364
164
|
desc: "desc";
|
|
@@ -368,20 +168,8 @@ export declare const cacheLeaves: readonly [{
|
|
|
368
168
|
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
369
169
|
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
370
170
|
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
hit: "hit";
|
|
374
|
-
miss: "miss";
|
|
375
|
-
set: "set";
|
|
376
|
-
}>>>;
|
|
377
|
-
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
378
|
-
delete: "delete";
|
|
379
|
-
hit: "hit";
|
|
380
|
-
miss: "miss";
|
|
381
|
-
set: "set";
|
|
382
|
-
}>>>;
|
|
383
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
384
|
-
keySearch: z.ZodOptional<z.ZodString>;
|
|
171
|
+
keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
172
|
+
keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
385
173
|
}, z.core.$strip>;
|
|
386
174
|
outputMetaSchema: z.ZodObject<{
|
|
387
175
|
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -412,16 +200,8 @@ export declare const cacheLeaves: readonly [{
|
|
|
412
200
|
updatedAt: z.ZodNumber;
|
|
413
201
|
value: z.ZodNullable<z.ZodAny>;
|
|
414
202
|
size: z.ZodOptional<z.ZodNumber>;
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
hit: "hit";
|
|
418
|
-
miss: "miss";
|
|
419
|
-
set: "set";
|
|
420
|
-
}>>;
|
|
421
|
-
lastSet: z.ZodNullable<z.ZodNumber>;
|
|
422
|
-
lastHit: z.ZodNullable<z.ZodNumber>;
|
|
423
|
-
lastMiss: z.ZodNullable<z.ZodNumber>;
|
|
424
|
-
lastDelete: z.ZodNullable<z.ZodNumber>;
|
|
203
|
+
setAt: z.ZodOptional<z.ZodNumber>;
|
|
204
|
+
ttlMs: z.ZodOptional<z.ZodNumber>;
|
|
425
205
|
}, z.core.$strip>>;
|
|
426
206
|
meta: z.ZodObject<{
|
|
427
207
|
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -435,34 +215,30 @@ export declare const cacheLeaves: readonly [{
|
|
|
435
215
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
436
216
|
beforeDate?: string | undefined;
|
|
437
217
|
afterDate?: string | undefined;
|
|
438
|
-
orderBy?:
|
|
218
|
+
orderBy?: string | undefined;
|
|
439
219
|
orderDirection?: "asc" | "desc" | undefined;
|
|
440
220
|
searchQuery?: string | undefined;
|
|
441
221
|
groupsInclude?: string[] | undefined;
|
|
442
222
|
groupsExclude?: string[] | undefined;
|
|
443
223
|
tagsInclude?: string[] | undefined;
|
|
444
224
|
tagsExclude?: string[] | undefined;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
keys?: string[] | undefined;
|
|
448
|
-
keySearch?: string | undefined;
|
|
225
|
+
keysInclude?: string[] | undefined;
|
|
226
|
+
keysExclude?: string[] | undefined;
|
|
449
227
|
} & {
|
|
450
228
|
cursor?: string | undefined;
|
|
451
229
|
pageSize?: number | undefined;
|
|
452
230
|
}, {
|
|
453
231
|
beforeDate?: string | undefined;
|
|
454
232
|
afterDate?: string | undefined;
|
|
455
|
-
orderBy?:
|
|
233
|
+
orderBy?: string | undefined;
|
|
456
234
|
orderDirection?: "asc" | "desc" | undefined;
|
|
457
235
|
searchQuery?: string | undefined;
|
|
458
236
|
groupsInclude?: string[] | undefined;
|
|
459
237
|
groupsExclude?: string[] | undefined;
|
|
460
238
|
tagsInclude?: string[] | undefined;
|
|
461
239
|
tagsExclude?: string[] | undefined;
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
keys?: string[] | undefined;
|
|
465
|
-
keySearch?: string | undefined;
|
|
240
|
+
keysInclude?: string[] | undefined;
|
|
241
|
+
keysExclude?: string[] | undefined;
|
|
466
242
|
} & {
|
|
467
243
|
cursor?: string | undefined;
|
|
468
244
|
pageSize?: unknown;
|
|
@@ -475,15 +251,12 @@ export declare const cacheLeaves: readonly [{
|
|
|
475
251
|
createdAt: number;
|
|
476
252
|
updatedAt: number;
|
|
477
253
|
value: any;
|
|
478
|
-
lastSet: number | null;
|
|
479
|
-
lastHit: number | null;
|
|
480
|
-
lastMiss: number | null;
|
|
481
|
-
lastDelete: number | null;
|
|
482
254
|
description?: string | undefined;
|
|
483
255
|
groupId?: string | undefined;
|
|
484
256
|
tags?: string[] | undefined;
|
|
485
257
|
size?: number | undefined;
|
|
486
|
-
|
|
258
|
+
setAt?: number | undefined;
|
|
259
|
+
ttlMs?: number | undefined;
|
|
487
260
|
}[];
|
|
488
261
|
meta: {
|
|
489
262
|
totalCount?: number | undefined;
|
|
@@ -496,15 +269,12 @@ export declare const cacheLeaves: readonly [{
|
|
|
496
269
|
createdAt: number;
|
|
497
270
|
updatedAt: number;
|
|
498
271
|
value: any;
|
|
499
|
-
lastSet: number | null;
|
|
500
|
-
lastHit: number | null;
|
|
501
|
-
lastMiss: number | null;
|
|
502
|
-
lastDelete: number | null;
|
|
503
272
|
description?: string | undefined;
|
|
504
273
|
groupId?: string | undefined;
|
|
505
274
|
tags?: string[] | undefined;
|
|
506
275
|
size?: number | undefined;
|
|
507
|
-
|
|
276
|
+
setAt?: number | undefined;
|
|
277
|
+
ttlMs?: number | undefined;
|
|
508
278
|
}[];
|
|
509
279
|
meta: {
|
|
510
280
|
totalCount?: number | undefined;
|
|
@@ -553,12 +323,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
553
323
|
querySchema: z.ZodObject<{
|
|
554
324
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
555
325
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
556
|
-
orderBy: z.ZodOptional<z.
|
|
557
|
-
timestamp: "timestamp";
|
|
558
|
-
duration: "duration";
|
|
559
|
-
level: "level";
|
|
560
|
-
path: "path";
|
|
561
|
-
}>>;
|
|
326
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
562
327
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
563
328
|
asc: "asc";
|
|
564
329
|
desc: "desc";
|
|
@@ -568,20 +333,6 @@ export declare const cacheLeaves: readonly [{
|
|
|
568
333
|
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
569
334
|
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
570
335
|
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
571
|
-
operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
572
|
-
delete: "delete";
|
|
573
|
-
hit: "hit";
|
|
574
|
-
miss: "miss";
|
|
575
|
-
set: "set";
|
|
576
|
-
}>>>;
|
|
577
|
-
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
578
|
-
delete: "delete";
|
|
579
|
-
hit: "hit";
|
|
580
|
-
miss: "miss";
|
|
581
|
-
set: "set";
|
|
582
|
-
}>>>;
|
|
583
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
584
|
-
keySearch: z.ZodOptional<z.ZodString>;
|
|
585
336
|
}, z.core.$strip>;
|
|
586
337
|
outputMetaSchema: z.ZodObject<{
|
|
587
338
|
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -622,12 +373,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
622
373
|
querySchema: z.ZodObject<{
|
|
623
374
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
624
375
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
625
|
-
orderBy: z.ZodOptional<z.
|
|
626
|
-
timestamp: "timestamp";
|
|
627
|
-
duration: "duration";
|
|
628
|
-
level: "level";
|
|
629
|
-
path: "path";
|
|
630
|
-
}>>;
|
|
376
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
631
377
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
632
378
|
asc: "asc";
|
|
633
379
|
desc: "desc";
|
|
@@ -637,20 +383,6 @@ export declare const cacheLeaves: readonly [{
|
|
|
637
383
|
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
638
384
|
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
639
385
|
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
640
|
-
operationsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
641
|
-
delete: "delete";
|
|
642
|
-
hit: "hit";
|
|
643
|
-
miss: "miss";
|
|
644
|
-
set: "set";
|
|
645
|
-
}>>>;
|
|
646
|
-
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
647
|
-
delete: "delete";
|
|
648
|
-
hit: "hit";
|
|
649
|
-
miss: "miss";
|
|
650
|
-
set: "set";
|
|
651
|
-
}>>>;
|
|
652
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
653
|
-
keySearch: z.ZodOptional<z.ZodString>;
|
|
654
386
|
}, z.core.$strip>;
|
|
655
387
|
outputMetaSchema: z.ZodObject<{
|
|
656
388
|
totalCount: z.ZodOptional<z.ZodNumber>;
|
|
@@ -696,34 +428,26 @@ export declare const cacheLeaves: readonly [{
|
|
|
696
428
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
697
429
|
beforeDate?: string | undefined;
|
|
698
430
|
afterDate?: string | undefined;
|
|
699
|
-
orderBy?:
|
|
431
|
+
orderBy?: string | undefined;
|
|
700
432
|
orderDirection?: "asc" | "desc" | undefined;
|
|
701
433
|
searchQuery?: string | undefined;
|
|
702
434
|
groupsInclude?: string[] | undefined;
|
|
703
435
|
groupsExclude?: string[] | undefined;
|
|
704
436
|
tagsInclude?: string[] | undefined;
|
|
705
437
|
tagsExclude?: string[] | undefined;
|
|
706
|
-
operationsInclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
707
|
-
operationsExclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
708
|
-
keys?: string[] | undefined;
|
|
709
|
-
keySearch?: string | undefined;
|
|
710
438
|
} & {
|
|
711
439
|
cursor?: string | undefined;
|
|
712
440
|
pageSize?: number | undefined;
|
|
713
441
|
}, {
|
|
714
442
|
beforeDate?: string | undefined;
|
|
715
443
|
afterDate?: string | undefined;
|
|
716
|
-
orderBy?:
|
|
444
|
+
orderBy?: string | undefined;
|
|
717
445
|
orderDirection?: "asc" | "desc" | undefined;
|
|
718
446
|
searchQuery?: string | undefined;
|
|
719
447
|
groupsInclude?: string[] | undefined;
|
|
720
448
|
groupsExclude?: string[] | undefined;
|
|
721
449
|
tagsInclude?: string[] | undefined;
|
|
722
450
|
tagsExclude?: string[] | undefined;
|
|
723
|
-
operationsInclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
724
|
-
operationsExclude?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
725
|
-
keys?: string[] | undefined;
|
|
726
|
-
keySearch?: string | undefined;
|
|
727
451
|
} & {
|
|
728
452
|
cursor?: string | undefined;
|
|
729
453
|
pageSize?: unknown;
|
|
@@ -785,315 +509,20 @@ export declare const cacheLeaves: readonly [{
|
|
|
785
509
|
cacheKey: string;
|
|
786
510
|
}>;
|
|
787
511
|
}>>;
|
|
788
|
-
}, {
|
|
789
|
-
readonly method: "get";
|
|
790
|
-
readonly path: "cache/insights";
|
|
791
|
-
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"> & {
|
|
792
|
-
queryExtensionSchema: C_1["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_1["queryExtensionSchema"] : undefined;
|
|
793
|
-
outputMetaSchema: C_1["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? C_1["outputMetaSchema"] : undefined;
|
|
794
|
-
}> 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 ? {
|
|
795
|
-
feed: true;
|
|
796
|
-
} : {
|
|
797
|
-
feed?: boolean;
|
|
798
|
-
}) & import("@emeryld/rrroutes-contract").FeedQueryField<WithDefaults> & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
799
|
-
paramsSchema: WithDefaults["paramsSchema"];
|
|
800
|
-
} : {
|
|
801
|
-
paramsSchema: undefined;
|
|
802
|
-
}) : (WithDefaults["feed"] extends true ? {
|
|
803
|
-
feed: true;
|
|
804
|
-
} : {
|
|
805
|
-
feed?: boolean;
|
|
806
|
-
}) & (WithDefaults["querySchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
807
|
-
querySchema: WithDefaults["querySchema"];
|
|
808
|
-
} : {
|
|
809
|
-
querySchema?: undefined;
|
|
810
|
-
}) & import("@emeryld/rrroutes-contract").OutputField<WithDefaults> & (WithDefaults["paramsSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? {
|
|
811
|
-
paramsSchema: WithDefaults["paramsSchema"];
|
|
812
|
-
} : {
|
|
813
|
-
paramsSchema: undefined;
|
|
814
|
-
}))> : 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<{
|
|
815
|
-
outputSchema: z.ZodObject<{
|
|
816
|
-
computedAt: z.ZodNumber;
|
|
817
|
-
windowStart: z.ZodNullable<z.ZodNumber>;
|
|
818
|
-
windowEnd: z.ZodNullable<z.ZodNumber>;
|
|
819
|
-
groupBy: z.ZodEnum<{
|
|
820
|
-
key: "key";
|
|
821
|
-
tag: "tag";
|
|
822
|
-
both: "both";
|
|
823
|
-
}>;
|
|
824
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
825
|
-
key: z.ZodString;
|
|
826
|
-
currentSizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
827
|
-
lastSetAt: z.ZodNullable<z.ZodNumber>;
|
|
828
|
-
lastDeleteAt: z.ZodNullable<z.ZodNumber>;
|
|
829
|
-
lastHitAt: z.ZodNullable<z.ZodNumber>;
|
|
830
|
-
lastMissAt: z.ZodNullable<z.ZodNumber>;
|
|
831
|
-
lastActivityAt: z.ZodNullable<z.ZodNumber>;
|
|
832
|
-
totalHits: z.ZodNumber;
|
|
833
|
-
totalMisses: z.ZodNumber;
|
|
834
|
-
totalSets: z.ZodNumber;
|
|
835
|
-
totalDeletes: z.ZodNumber;
|
|
836
|
-
hitsSinceLastSet: z.ZodNumber;
|
|
837
|
-
missesSinceLastSet: z.ZodNumber;
|
|
838
|
-
deletesSinceLastSet: z.ZodNumber;
|
|
839
|
-
avgTimeBetweenSetsMs: z.ZodNullable<z.ZodNumber>;
|
|
840
|
-
avgHitsBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
841
|
-
avgMissesBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
842
|
-
hitRate: z.ZodNumber;
|
|
843
|
-
missRate: z.ZodNumber;
|
|
844
|
-
}, z.core.$strip>>>;
|
|
845
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
846
|
-
tag: z.ZodString;
|
|
847
|
-
approxCurrentSizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
848
|
-
totalHits: z.ZodNumber;
|
|
849
|
-
totalMisses: z.ZodNumber;
|
|
850
|
-
totalSets: z.ZodNumber;
|
|
851
|
-
totalDeletes: z.ZodNumber;
|
|
852
|
-
avgTimeBetweenSetsMs: z.ZodNullable<z.ZodNumber>;
|
|
853
|
-
avgHitsBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
854
|
-
avgMissesBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
855
|
-
hitRate: z.ZodNumber;
|
|
856
|
-
missRate: z.ZodNumber;
|
|
857
|
-
}, z.core.$strip>>>;
|
|
858
|
-
}, z.core.$strip>;
|
|
859
|
-
querySchema: z.ZodObject<{
|
|
860
|
-
beforeDate: z.ZodOptional<z.ZodString>;
|
|
861
|
-
afterDate: z.ZodOptional<z.ZodString>;
|
|
862
|
-
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
863
|
-
timestamp: "timestamp";
|
|
864
|
-
duration: "duration";
|
|
865
|
-
level: "level";
|
|
866
|
-
path: "path";
|
|
867
|
-
}>>;
|
|
868
|
-
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
869
|
-
asc: "asc";
|
|
870
|
-
desc: "desc";
|
|
871
|
-
}>>;
|
|
872
|
-
searchQuery: z.ZodOptional<z.ZodString>;
|
|
873
|
-
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
874
|
-
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
875
|
-
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
876
|
-
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
877
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
878
|
-
groupBy: z.ZodDefault<z.ZodEnum<{
|
|
879
|
-
key: "key";
|
|
880
|
-
tag: "tag";
|
|
881
|
-
both: "both";
|
|
882
|
-
}>>;
|
|
883
|
-
}, z.core.$strip>;
|
|
884
|
-
}, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
885
|
-
queryExtensionSchema: undefined;
|
|
886
|
-
outputMetaSchema: undefined;
|
|
887
|
-
}>, "querySchema" | "outputSchema" | "feed">> & {
|
|
888
|
-
feed?: boolean;
|
|
889
|
-
} & {
|
|
890
|
-
querySchema: z.ZodObject<{
|
|
891
|
-
beforeDate: z.ZodOptional<z.ZodString>;
|
|
892
|
-
afterDate: z.ZodOptional<z.ZodString>;
|
|
893
|
-
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
894
|
-
timestamp: "timestamp";
|
|
895
|
-
duration: "duration";
|
|
896
|
-
level: "level";
|
|
897
|
-
path: "path";
|
|
898
|
-
}>>;
|
|
899
|
-
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
900
|
-
asc: "asc";
|
|
901
|
-
desc: "desc";
|
|
902
|
-
}>>;
|
|
903
|
-
searchQuery: z.ZodOptional<z.ZodString>;
|
|
904
|
-
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
905
|
-
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
906
|
-
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
907
|
-
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
908
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
909
|
-
groupBy: z.ZodDefault<z.ZodEnum<{
|
|
910
|
-
key: "key";
|
|
911
|
-
tag: "tag";
|
|
912
|
-
both: "both";
|
|
913
|
-
}>>;
|
|
914
|
-
}, z.core.$strip>;
|
|
915
|
-
} & {
|
|
916
|
-
outputSchema: z.ZodObject<{
|
|
917
|
-
out: z.ZodObject<{
|
|
918
|
-
computedAt: z.ZodNumber;
|
|
919
|
-
windowStart: z.ZodNullable<z.ZodNumber>;
|
|
920
|
-
windowEnd: z.ZodNullable<z.ZodNumber>;
|
|
921
|
-
groupBy: z.ZodEnum<{
|
|
922
|
-
key: "key";
|
|
923
|
-
tag: "tag";
|
|
924
|
-
both: "both";
|
|
925
|
-
}>;
|
|
926
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
927
|
-
key: z.ZodString;
|
|
928
|
-
currentSizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
929
|
-
lastSetAt: z.ZodNullable<z.ZodNumber>;
|
|
930
|
-
lastDeleteAt: z.ZodNullable<z.ZodNumber>;
|
|
931
|
-
lastHitAt: z.ZodNullable<z.ZodNumber>;
|
|
932
|
-
lastMissAt: z.ZodNullable<z.ZodNumber>;
|
|
933
|
-
lastActivityAt: z.ZodNullable<z.ZodNumber>;
|
|
934
|
-
totalHits: z.ZodNumber;
|
|
935
|
-
totalMisses: z.ZodNumber;
|
|
936
|
-
totalSets: z.ZodNumber;
|
|
937
|
-
totalDeletes: z.ZodNumber;
|
|
938
|
-
hitsSinceLastSet: z.ZodNumber;
|
|
939
|
-
missesSinceLastSet: z.ZodNumber;
|
|
940
|
-
deletesSinceLastSet: z.ZodNumber;
|
|
941
|
-
avgTimeBetweenSetsMs: z.ZodNullable<z.ZodNumber>;
|
|
942
|
-
avgHitsBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
943
|
-
avgMissesBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
944
|
-
hitRate: z.ZodNumber;
|
|
945
|
-
missRate: z.ZodNumber;
|
|
946
|
-
}, z.core.$strip>>>;
|
|
947
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
948
|
-
tag: z.ZodString;
|
|
949
|
-
approxCurrentSizeBytes: z.ZodNullable<z.ZodNumber>;
|
|
950
|
-
totalHits: z.ZodNumber;
|
|
951
|
-
totalMisses: z.ZodNumber;
|
|
952
|
-
totalSets: z.ZodNumber;
|
|
953
|
-
totalDeletes: z.ZodNumber;
|
|
954
|
-
avgTimeBetweenSetsMs: z.ZodNullable<z.ZodNumber>;
|
|
955
|
-
avgHitsBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
956
|
-
avgMissesBetweenSets: z.ZodNullable<z.ZodNumber>;
|
|
957
|
-
hitRate: z.ZodNumber;
|
|
958
|
-
missRate: z.ZodNumber;
|
|
959
|
-
}, z.core.$strip>>>;
|
|
960
|
-
}, z.core.$strip>;
|
|
961
|
-
meta: z.ZodOptional<z.ZodString>;
|
|
962
|
-
}, z.core.$strip>;
|
|
963
|
-
} & {
|
|
964
|
-
paramsSchema: undefined;
|
|
965
|
-
}>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
|
|
966
|
-
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
967
|
-
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
968
|
-
groupBy: "key" | "tag" | "both";
|
|
969
|
-
beforeDate?: string | undefined;
|
|
970
|
-
afterDate?: string | undefined;
|
|
971
|
-
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
972
|
-
orderDirection?: "asc" | "desc" | undefined;
|
|
973
|
-
searchQuery?: string | undefined;
|
|
974
|
-
groupsInclude?: string[] | undefined;
|
|
975
|
-
groupsExclude?: string[] | undefined;
|
|
976
|
-
tagsInclude?: string[] | undefined;
|
|
977
|
-
tagsExclude?: string[] | undefined;
|
|
978
|
-
keys?: string[] | undefined;
|
|
979
|
-
}, {
|
|
980
|
-
beforeDate?: string | undefined;
|
|
981
|
-
afterDate?: string | undefined;
|
|
982
|
-
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
983
|
-
orderDirection?: "asc" | "desc" | undefined;
|
|
984
|
-
searchQuery?: string | undefined;
|
|
985
|
-
groupsInclude?: string[] | undefined;
|
|
986
|
-
groupsExclude?: string[] | undefined;
|
|
987
|
-
tagsInclude?: string[] | undefined;
|
|
988
|
-
tagsExclude?: string[] | undefined;
|
|
989
|
-
keys?: string[] | undefined;
|
|
990
|
-
groupBy?: "key" | "tag" | "both" | undefined;
|
|
991
|
-
}>;
|
|
992
|
-
paramsSchema: undefined;
|
|
993
|
-
outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
994
|
-
out: {
|
|
995
|
-
computedAt: number;
|
|
996
|
-
windowStart: number | null;
|
|
997
|
-
windowEnd: number | null;
|
|
998
|
-
groupBy: "key" | "tag" | "both";
|
|
999
|
-
keys?: {
|
|
1000
|
-
key: string;
|
|
1001
|
-
currentSizeBytes: number | null;
|
|
1002
|
-
lastSetAt: number | null;
|
|
1003
|
-
lastDeleteAt: number | null;
|
|
1004
|
-
lastHitAt: number | null;
|
|
1005
|
-
lastMissAt: number | null;
|
|
1006
|
-
lastActivityAt: number | null;
|
|
1007
|
-
totalHits: number;
|
|
1008
|
-
totalMisses: number;
|
|
1009
|
-
totalSets: number;
|
|
1010
|
-
totalDeletes: number;
|
|
1011
|
-
hitsSinceLastSet: number;
|
|
1012
|
-
missesSinceLastSet: number;
|
|
1013
|
-
deletesSinceLastSet: number;
|
|
1014
|
-
avgTimeBetweenSetsMs: number | null;
|
|
1015
|
-
avgHitsBetweenSets: number | null;
|
|
1016
|
-
avgMissesBetweenSets: number | null;
|
|
1017
|
-
hitRate: number;
|
|
1018
|
-
missRate: number;
|
|
1019
|
-
}[] | undefined;
|
|
1020
|
-
tags?: {
|
|
1021
|
-
tag: string;
|
|
1022
|
-
approxCurrentSizeBytes: number | null;
|
|
1023
|
-
totalHits: number;
|
|
1024
|
-
totalMisses: number;
|
|
1025
|
-
totalSets: number;
|
|
1026
|
-
totalDeletes: number;
|
|
1027
|
-
avgTimeBetweenSetsMs: number | null;
|
|
1028
|
-
avgHitsBetweenSets: number | null;
|
|
1029
|
-
avgMissesBetweenSets: number | null;
|
|
1030
|
-
hitRate: number;
|
|
1031
|
-
missRate: number;
|
|
1032
|
-
}[] | undefined;
|
|
1033
|
-
};
|
|
1034
|
-
meta?: string | undefined;
|
|
1035
|
-
}, {
|
|
1036
|
-
out: {
|
|
1037
|
-
computedAt: number;
|
|
1038
|
-
windowStart: number | null;
|
|
1039
|
-
windowEnd: number | null;
|
|
1040
|
-
groupBy: "key" | "tag" | "both";
|
|
1041
|
-
keys?: {
|
|
1042
|
-
key: string;
|
|
1043
|
-
currentSizeBytes: number | null;
|
|
1044
|
-
lastSetAt: number | null;
|
|
1045
|
-
lastDeleteAt: number | null;
|
|
1046
|
-
lastHitAt: number | null;
|
|
1047
|
-
lastMissAt: number | null;
|
|
1048
|
-
lastActivityAt: number | null;
|
|
1049
|
-
totalHits: number;
|
|
1050
|
-
totalMisses: number;
|
|
1051
|
-
totalSets: number;
|
|
1052
|
-
totalDeletes: number;
|
|
1053
|
-
hitsSinceLastSet: number;
|
|
1054
|
-
missesSinceLastSet: number;
|
|
1055
|
-
deletesSinceLastSet: number;
|
|
1056
|
-
avgTimeBetweenSetsMs: number | null;
|
|
1057
|
-
avgHitsBetweenSets: number | null;
|
|
1058
|
-
avgMissesBetweenSets: number | null;
|
|
1059
|
-
hitRate: number;
|
|
1060
|
-
missRate: number;
|
|
1061
|
-
}[] | undefined;
|
|
1062
|
-
tags?: {
|
|
1063
|
-
tag: string;
|
|
1064
|
-
approxCurrentSizeBytes: number | null;
|
|
1065
|
-
totalHits: number;
|
|
1066
|
-
totalMisses: number;
|
|
1067
|
-
totalSets: number;
|
|
1068
|
-
totalDeletes: number;
|
|
1069
|
-
avgTimeBetweenSetsMs: number | null;
|
|
1070
|
-
avgHitsBetweenSets: number | null;
|
|
1071
|
-
avgMissesBetweenSets: number | null;
|
|
1072
|
-
hitRate: number;
|
|
1073
|
-
missRate: number;
|
|
1074
|
-
}[] | undefined;
|
|
1075
|
-
};
|
|
1076
|
-
meta?: string | undefined;
|
|
1077
|
-
}>;
|
|
1078
|
-
outputMetaSchema: undefined;
|
|
1079
|
-
queryExtensionSchema: undefined;
|
|
1080
|
-
}>>>, "paramsSchema"> & {
|
|
1081
|
-
paramsSchema: undefined;
|
|
1082
|
-
}>>;
|
|
1083
512
|
}, {
|
|
1084
513
|
readonly method: "post";
|
|
1085
514
|
readonly path: "cache/clear";
|
|
1086
|
-
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<import("@emeryld/rrroutes-contract").Prettify<Omit<
|
|
515
|
+
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<import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
|
|
1087
516
|
feed: false;
|
|
1088
517
|
}>, "queryExtensionSchema" | "outputMetaSchema"> & {
|
|
1089
|
-
queryExtensionSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<
|
|
518
|
+
queryExtensionSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
|
|
1090
519
|
feed: false;
|
|
1091
|
-
}>["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<
|
|
520
|
+
}>["queryExtensionSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
|
|
1092
521
|
feed: false;
|
|
1093
522
|
}>["queryExtensionSchema"] : undefined;
|
|
1094
|
-
outputMetaSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<
|
|
523
|
+
outputMetaSchema: import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
|
|
1095
524
|
feed: false;
|
|
1096
|
-
}>["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<
|
|
525
|
+
}>["outputMetaSchema"] extends z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>> ? import("@emeryld/rrroutes-contract").Prettify<Omit<C_1, "feed"> & {
|
|
1097
526
|
feed: false;
|
|
1098
527
|
}>["outputMetaSchema"] : undefined;
|
|
1099
528
|
}> 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 ? {
|
|
@@ -1123,12 +552,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
1123
552
|
querySchema: z.ZodObject<{
|
|
1124
553
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
1125
554
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
1126
|
-
orderBy: z.ZodOptional<z.
|
|
1127
|
-
timestamp: "timestamp";
|
|
1128
|
-
duration: "duration";
|
|
1129
|
-
level: "level";
|
|
1130
|
-
path: "path";
|
|
1131
|
-
}>>;
|
|
555
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
1132
556
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
1133
557
|
asc: "asc";
|
|
1134
558
|
desc: "desc";
|
|
@@ -1138,20 +562,8 @@ export declare const cacheLeaves: readonly [{
|
|
|
1138
562
|
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1139
563
|
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1140
564
|
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
hit: "hit";
|
|
1144
|
-
miss: "miss";
|
|
1145
|
-
set: "set";
|
|
1146
|
-
}>>>;
|
|
1147
|
-
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1148
|
-
delete: "delete";
|
|
1149
|
-
hit: "hit";
|
|
1150
|
-
miss: "miss";
|
|
1151
|
-
set: "set";
|
|
1152
|
-
}>>>;
|
|
1153
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1154
|
-
keySearch: z.ZodOptional<z.ZodString>;
|
|
565
|
+
keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
566
|
+
keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1155
567
|
}, z.core.$strip>;
|
|
1156
568
|
}, "feed"> & {
|
|
1157
569
|
feed: false;
|
|
@@ -1164,12 +576,7 @@ export declare const cacheLeaves: readonly [{
|
|
|
1164
576
|
querySchema: z.ZodObject<{
|
|
1165
577
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
1166
578
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
1167
|
-
orderBy: z.ZodOptional<z.
|
|
1168
|
-
timestamp: "timestamp";
|
|
1169
|
-
duration: "duration";
|
|
1170
|
-
level: "level";
|
|
1171
|
-
path: "path";
|
|
1172
|
-
}>>;
|
|
579
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
1173
580
|
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
1174
581
|
asc: "asc";
|
|
1175
582
|
desc: "desc";
|
|
@@ -1179,20 +586,8 @@ export declare const cacheLeaves: readonly [{
|
|
|
1179
586
|
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1180
587
|
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1181
588
|
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
hit: "hit";
|
|
1185
|
-
miss: "miss";
|
|
1186
|
-
set: "set";
|
|
1187
|
-
}>>>;
|
|
1188
|
-
operationsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1189
|
-
delete: "delete";
|
|
1190
|
-
hit: "hit";
|
|
1191
|
-
miss: "miss";
|
|
1192
|
-
set: "set";
|
|
1193
|
-
}>>>;
|
|
1194
|
-
keys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1195
|
-
keySearch: z.ZodOptional<z.ZodString>;
|
|
589
|
+
keysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
590
|
+
keysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1196
591
|
}, z.core.$strip>;
|
|
1197
592
|
} & {
|
|
1198
593
|
outputSchema: z.ZodObject<{
|
|
@@ -1208,31 +603,27 @@ export declare const cacheLeaves: readonly [{
|
|
|
1208
603
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
1209
604
|
beforeDate?: string | undefined;
|
|
1210
605
|
afterDate?: string | undefined;
|
|
1211
|
-
orderBy?:
|
|
606
|
+
orderBy?: string | undefined;
|
|
1212
607
|
orderDirection?: "asc" | "desc" | undefined;
|
|
1213
608
|
searchQuery?: string | undefined;
|
|
1214
609
|
groupsInclude?: string[] | undefined;
|
|
1215
610
|
groupsExclude?: string[] | undefined;
|
|
1216
611
|
tagsInclude?: string[] | undefined;
|
|
1217
612
|
tagsExclude?: string[] | undefined;
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
keys?: string[] | undefined;
|
|
1221
|
-
keySearch?: string | undefined;
|
|
613
|
+
keysInclude?: string[] | undefined;
|
|
614
|
+
keysExclude?: string[] | undefined;
|
|
1222
615
|
}, {
|
|
1223
616
|
beforeDate?: string | undefined;
|
|
1224
617
|
afterDate?: string | undefined;
|
|
1225
|
-
orderBy?:
|
|
618
|
+
orderBy?: string | undefined;
|
|
1226
619
|
orderDirection?: "asc" | "desc" | undefined;
|
|
1227
620
|
searchQuery?: string | undefined;
|
|
1228
621
|
groupsInclude?: string[] | undefined;
|
|
1229
622
|
groupsExclude?: string[] | undefined;
|
|
1230
623
|
tagsInclude?: string[] | undefined;
|
|
1231
624
|
tagsExclude?: string[] | undefined;
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
keys?: string[] | undefined;
|
|
1235
|
-
keySearch?: string | undefined;
|
|
625
|
+
keysInclude?: string[] | undefined;
|
|
626
|
+
keysExclude?: string[] | undefined;
|
|
1236
627
|
}>;
|
|
1237
628
|
paramsSchema: undefined;
|
|
1238
629
|
outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|