@emeryld/rrroutes-openapi 2.3.3 → 2.3.4
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 +12 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +12 -6
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.js +45 -133
- package/dist/web/v2/types/types.cacheLog.d.ts +46 -44
- package/dist/web/v2/types/types.endpoint.d.ts +9 -0
- package/dist/web/v2/types/types.preset.d.ts +2 -2
- package/dist/web/v2/types/types.requestLog.d.ts +10 -0
- package/package.json +2 -2
|
@@ -117,49 +117,51 @@ export declare const cacheLeaves: readonly [{
|
|
|
117
117
|
totalCount?: number | undefined;
|
|
118
118
|
}>;
|
|
119
119
|
}>;
|
|
120
|
-
}, {
|
|
121
|
-
readonly
|
|
122
|
-
readonly
|
|
123
|
-
readonly
|
|
124
|
-
|
|
120
|
+
}, import("@emeryld/rrroutes-contract").LeafLowProfile<"post", "cache/clear", {
|
|
121
|
+
readonly description?: string | undefined;
|
|
122
|
+
readonly tags?: string[] | undefined;
|
|
123
|
+
readonly deprecated?: boolean | undefined;
|
|
124
|
+
readonly queryExtensionSchema: undefined;
|
|
125
|
+
readonly outputMetaSchema: undefined;
|
|
126
|
+
readonly bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
127
|
+
readonly querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
128
|
+
orderBy: "timestamp" | "duration" | "level" | "path";
|
|
129
|
+
orderDirection: "asc" | "desc";
|
|
130
|
+
beforeDate?: string | undefined;
|
|
131
|
+
afterDate?: string | undefined;
|
|
132
|
+
searchQuery?: string | undefined;
|
|
133
|
+
groups?: string[] | undefined;
|
|
125
134
|
tags?: string[] | undefined;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
150
|
-
orderDirection?: "asc" | "desc" | undefined;
|
|
151
|
-
searchQuery?: string | undefined;
|
|
152
|
-
groups?: string[] | undefined;
|
|
153
|
-
tags?: string[] | undefined;
|
|
154
|
-
cursor?: string | undefined;
|
|
155
|
-
operations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
156
|
-
}>;
|
|
157
|
-
paramsSchema: undefined;
|
|
158
|
-
outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
159
|
-
meta?: string | undefined;
|
|
160
|
-
}, {
|
|
161
|
-
meta?: string | undefined;
|
|
162
|
-
}>;
|
|
163
|
-
outputMetaSchema: undefined;
|
|
135
|
+
cursor?: string | undefined;
|
|
136
|
+
operations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
137
|
+
}, {
|
|
138
|
+
beforeDate?: string | undefined;
|
|
139
|
+
afterDate?: string | undefined;
|
|
140
|
+
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
141
|
+
orderDirection?: "asc" | "desc" | undefined;
|
|
142
|
+
searchQuery?: string | undefined;
|
|
143
|
+
groups?: string[] | undefined;
|
|
144
|
+
tags?: string[] | undefined;
|
|
145
|
+
cursor?: string | undefined;
|
|
146
|
+
operations?: ("delete" | "hit" | "miss" | "set")[] | undefined;
|
|
147
|
+
}>;
|
|
148
|
+
readonly outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
149
|
+
out: {
|
|
150
|
+
success: boolean;
|
|
151
|
+
};
|
|
152
|
+
meta?: string | undefined;
|
|
153
|
+
}, {
|
|
154
|
+
out: {
|
|
155
|
+
success: boolean;
|
|
156
|
+
};
|
|
157
|
+
meta?: string | undefined;
|
|
164
158
|
}>;
|
|
165
|
-
|
|
159
|
+
readonly bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
|
|
160
|
+
readonly feed?: boolean | undefined;
|
|
161
|
+
readonly summary?: string | undefined;
|
|
162
|
+
readonly docsGroup?: string | undefined;
|
|
163
|
+
readonly stability?: "experimental" | "beta" | "stable" | "deprecated" | undefined;
|
|
164
|
+
readonly docsHidden?: boolean | undefined;
|
|
165
|
+
readonly docsMeta?: Record<string, unknown> | undefined;
|
|
166
|
+
paramsSchema: undefined;
|
|
167
|
+
}>];
|
|
@@ -49,6 +49,7 @@ export declare const endpointSchema: z.ZodObject<{
|
|
|
49
49
|
}>;
|
|
50
50
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
51
51
|
meta: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
52
|
+
implemented: z.ZodOptional<z.ZodBoolean>;
|
|
52
53
|
}, z.core.$strip>;
|
|
53
54
|
export type Endpoint = z.output<typeof endpointSchema>;
|
|
54
55
|
export declare const endpointFilterSchema: z.ZodObject<{
|
|
@@ -151,6 +152,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
151
152
|
feed?: boolean | undefined;
|
|
152
153
|
summary?: string | undefined;
|
|
153
154
|
hidden?: boolean | undefined;
|
|
155
|
+
implemented?: boolean | undefined;
|
|
154
156
|
}[];
|
|
155
157
|
meta: {
|
|
156
158
|
totalCount?: number | undefined;
|
|
@@ -181,6 +183,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
181
183
|
feed?: boolean | undefined;
|
|
182
184
|
summary?: string | undefined;
|
|
183
185
|
hidden?: boolean | undefined;
|
|
186
|
+
implemented?: boolean | undefined;
|
|
184
187
|
}[];
|
|
185
188
|
meta: {
|
|
186
189
|
totalCount?: number | undefined;
|
|
@@ -239,6 +242,8 @@ export declare const endpointLeaves: readonly [{
|
|
|
239
242
|
output?: any;
|
|
240
243
|
headers?: Record<string, any> | undefined;
|
|
241
244
|
error?: string | undefined;
|
|
245
|
+
ip?: string | undefined;
|
|
246
|
+
userAgent?: string | undefined;
|
|
242
247
|
}[];
|
|
243
248
|
volumeTS: {
|
|
244
249
|
timestamp: string;
|
|
@@ -253,6 +258,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
253
258
|
feed?: boolean | undefined;
|
|
254
259
|
summary?: string | undefined;
|
|
255
260
|
hidden?: boolean | undefined;
|
|
261
|
+
implemented?: boolean | undefined;
|
|
256
262
|
};
|
|
257
263
|
meta: unknown;
|
|
258
264
|
}, {
|
|
@@ -294,6 +300,8 @@ export declare const endpointLeaves: readonly [{
|
|
|
294
300
|
output?: any;
|
|
295
301
|
headers?: Record<string, any> | undefined;
|
|
296
302
|
error?: string | undefined;
|
|
303
|
+
ip?: string | undefined;
|
|
304
|
+
userAgent?: string | undefined;
|
|
297
305
|
}[];
|
|
298
306
|
volumeTS: {
|
|
299
307
|
timestamp: string;
|
|
@@ -308,6 +316,7 @@ export declare const endpointLeaves: readonly [{
|
|
|
308
316
|
feed?: boolean | undefined;
|
|
309
317
|
summary?: string | undefined;
|
|
310
318
|
hidden?: boolean | undefined;
|
|
319
|
+
implemented?: boolean | undefined;
|
|
311
320
|
};
|
|
312
321
|
meta: unknown;
|
|
313
322
|
}>;
|
|
@@ -34,7 +34,7 @@ export declare const presetLeaves: readonly [{
|
|
|
34
34
|
description?: string | undefined;
|
|
35
35
|
groupId?: string | undefined;
|
|
36
36
|
tags?: string[] | undefined;
|
|
37
|
-
};
|
|
37
|
+
}[];
|
|
38
38
|
meta: {
|
|
39
39
|
totalCount?: number | undefined;
|
|
40
40
|
};
|
|
@@ -55,7 +55,7 @@ export declare const presetLeaves: readonly [{
|
|
|
55
55
|
description?: string | undefined;
|
|
56
56
|
groupId?: string | undefined;
|
|
57
57
|
tags?: string[] | undefined;
|
|
58
|
-
};
|
|
58
|
+
}[];
|
|
59
59
|
meta: {
|
|
60
60
|
totalCount?: number | undefined;
|
|
61
61
|
};
|
|
@@ -24,6 +24,8 @@ export declare const requestSchema: z.ZodObject<{
|
|
|
24
24
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
25
25
|
error: z.ZodOptional<z.ZodString>;
|
|
26
26
|
durationMs: z.ZodNumber;
|
|
27
|
+
ip: z.ZodOptional<z.ZodString>;
|
|
28
|
+
userAgent: z.ZodOptional<z.ZodString>;
|
|
27
29
|
}, z.core.$strip>;
|
|
28
30
|
export type RequestLogType = z.infer<typeof requestSchema>;
|
|
29
31
|
export declare const requestQuerySchema: z.ZodObject<{
|
|
@@ -115,6 +117,8 @@ export declare const requestLogLeaves: readonly [{
|
|
|
115
117
|
output?: any;
|
|
116
118
|
headers?: Record<string, any> | undefined;
|
|
117
119
|
error?: string | undefined;
|
|
120
|
+
ip?: string | undefined;
|
|
121
|
+
userAgent?: string | undefined;
|
|
118
122
|
}[];
|
|
119
123
|
meta: {
|
|
120
124
|
totalCount?: number | undefined;
|
|
@@ -139,6 +143,8 @@ export declare const requestLogLeaves: readonly [{
|
|
|
139
143
|
output?: any;
|
|
140
144
|
headers?: Record<string, any> | undefined;
|
|
141
145
|
error?: string | undefined;
|
|
146
|
+
ip?: string | undefined;
|
|
147
|
+
userAgent?: string | undefined;
|
|
142
148
|
}[];
|
|
143
149
|
meta: {
|
|
144
150
|
totalCount?: number | undefined;
|
|
@@ -201,6 +207,8 @@ export declare const requestLogLeaves: readonly [{
|
|
|
201
207
|
output?: any;
|
|
202
208
|
headers?: Record<string, any> | undefined;
|
|
203
209
|
error?: string | undefined;
|
|
210
|
+
ip?: string | undefined;
|
|
211
|
+
userAgent?: string | undefined;
|
|
204
212
|
};
|
|
205
213
|
meta: unknown;
|
|
206
214
|
}, {
|
|
@@ -246,6 +254,8 @@ export declare const requestLogLeaves: readonly [{
|
|
|
246
254
|
output?: any;
|
|
247
255
|
headers?: Record<string, any> | undefined;
|
|
248
256
|
error?: string | undefined;
|
|
257
|
+
ip?: string | undefined;
|
|
258
|
+
userAgent?: string | undefined;
|
|
249
259
|
};
|
|
250
260
|
meta: unknown;
|
|
251
261
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emeryld/rrroutes-openapi",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"dist"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@emeryld/rrroutes-client": "^2.3.
|
|
20
|
+
"@emeryld/rrroutes-client": "^2.3.9",
|
|
21
21
|
"@emeryld/rrroutes-contract": "^2.4.14",
|
|
22
22
|
"@emotion/cache": "^11.14.0",
|
|
23
23
|
"@emotion/react": "^11.14.0",
|