@emeryld/rrroutes-openapi 2.4.1 → 2.4.3
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 +34 -26
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.mjs +34 -26
- package/dist/index.mjs.map +1 -1
- package/dist/public/assets/docs.js +60 -60
- package/dist/web/v2/components/tags/CacheOperationChip.d.ts +3 -3
- package/dist/web/v2/components/tags/HttpMethodChip.d.ts +2 -2
- package/dist/web/v2/components/tags/LogLevelChip.d.ts +3 -3
- package/dist/web/v2/components/tags/StatusChip.d.ts +2 -2
- package/dist/web/v2/components/tags/chip.types.d.ts +1 -0
- package/dist/web/v2/types/filterTypes.d.ts +4 -16
- package/dist/web/v2/types/types.base.d.ts +6 -7
- package/dist/web/v2/types/types.cacheLog.d.ts +45 -41
- package/dist/web/v2/types/types.endpoint.d.ts +30 -31
- package/dist/web/v2/types/types.log.d.ts +26 -25
- package/dist/web/v2/types/types.preset.d.ts +37 -16
- package/dist/web/v2/types/types.requestLog.d.ts +36 -37
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import z from 'zod';
|
|
2
|
+
import { paginationSchema } from './types.base';
|
|
2
3
|
export declare const requestSchema: z.ZodObject<{
|
|
3
4
|
id: z.ZodString;
|
|
4
5
|
name: z.ZodString;
|
|
@@ -31,42 +32,42 @@ export type RequestLogType = z.infer<typeof requestSchema>;
|
|
|
31
32
|
export declare const requestQuerySchema: z.ZodObject<{
|
|
32
33
|
beforeDate: z.ZodOptional<z.ZodString>;
|
|
33
34
|
afterDate: z.ZodOptional<z.ZodString>;
|
|
34
|
-
orderBy: z.
|
|
35
|
+
orderBy: z.ZodOptional<z.ZodEnum<{
|
|
35
36
|
timestamp: "timestamp";
|
|
36
37
|
duration: "duration";
|
|
37
38
|
level: "level";
|
|
38
39
|
path: "path";
|
|
39
40
|
}>>;
|
|
40
|
-
orderDirection: z.
|
|
41
|
+
orderDirection: z.ZodOptional<z.ZodEnum<{
|
|
41
42
|
asc: "asc";
|
|
42
43
|
desc: "desc";
|
|
43
44
|
}>>;
|
|
44
45
|
searchQuery: z.ZodOptional<z.ZodString>;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
methods: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
46
|
+
groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
47
|
+
groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
48
|
+
tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
49
|
+
tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
50
|
+
methodsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
51
51
|
get: "get";
|
|
52
52
|
post: "post";
|
|
53
53
|
put: "put";
|
|
54
54
|
patch: "patch";
|
|
55
55
|
delete: "delete";
|
|
56
56
|
}>>>;
|
|
57
|
-
|
|
57
|
+
methodsExclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
58
58
|
get: "get";
|
|
59
59
|
post: "post";
|
|
60
60
|
put: "put";
|
|
61
61
|
patch: "patch";
|
|
62
62
|
delete: "delete";
|
|
63
63
|
}>>>;
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
statusesInclude: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
|
|
65
|
+
statusesExclude: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
|
|
66
66
|
path: z.ZodOptional<z.ZodString>;
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
endpointKeysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
68
|
+
endpointKeysExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
69
69
|
}, z.core.$strip>;
|
|
70
|
+
export type HistoryFilter = z.infer<typeof requestQuerySchema> & z.infer<typeof paginationSchema>;
|
|
70
71
|
export declare const requestLogLeaves: readonly [{
|
|
71
72
|
readonly method: "get";
|
|
72
73
|
readonly path: "requests";
|
|
@@ -93,23 +94,22 @@ export declare const requestLogLeaves: readonly [{
|
|
|
93
94
|
docsMeta?: Record<string, unknown> | undefined;
|
|
94
95
|
bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
|
|
95
96
|
querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
|
|
96
|
-
orderBy: "timestamp" | "duration" | "level" | "path";
|
|
97
|
-
orderDirection: "asc" | "desc";
|
|
98
|
-
methods: ("get" | "post" | "put" | "patch" | "delete")[];
|
|
99
|
-
statuses: number[];
|
|
100
97
|
beforeDate?: string | undefined;
|
|
101
98
|
afterDate?: string | undefined;
|
|
99
|
+
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
100
|
+
orderDirection?: "asc" | "desc" | undefined;
|
|
102
101
|
searchQuery?: string | undefined;
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
102
|
+
groupsInclude?: string[] | undefined;
|
|
103
|
+
groupsExclude?: string[] | undefined;
|
|
104
|
+
tagsInclude?: string[] | undefined;
|
|
105
|
+
tagsExclude?: string[] | undefined;
|
|
106
|
+
methodsInclude?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
|
|
107
|
+
methodsExclude?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
|
|
108
|
+
statusesInclude?: number[] | undefined;
|
|
109
|
+
statusesExclude?: number[] | undefined;
|
|
110
110
|
path?: string | undefined;
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
endpointKeysInclude?: string[] | undefined;
|
|
112
|
+
endpointKeysExclude?: string[] | undefined;
|
|
113
113
|
} & {
|
|
114
114
|
cursor?: string | undefined;
|
|
115
115
|
pageSize?: number | undefined;
|
|
@@ -119,18 +119,17 @@ export declare const requestLogLeaves: readonly [{
|
|
|
119
119
|
orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
|
|
120
120
|
orderDirection?: "asc" | "desc" | undefined;
|
|
121
121
|
searchQuery?: string | undefined;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
excludeStatuses?: unknown[] | undefined;
|
|
122
|
+
groupsInclude?: string[] | undefined;
|
|
123
|
+
groupsExclude?: string[] | undefined;
|
|
124
|
+
tagsInclude?: string[] | undefined;
|
|
125
|
+
tagsExclude?: string[] | undefined;
|
|
126
|
+
methodsInclude?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
|
|
127
|
+
methodsExclude?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
|
|
128
|
+
statusesInclude?: unknown[] | undefined;
|
|
129
|
+
statusesExclude?: unknown[] | undefined;
|
|
131
130
|
path?: string | undefined;
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
endpointKeysInclude?: string[] | undefined;
|
|
132
|
+
endpointKeysExclude?: string[] | undefined;
|
|
134
133
|
} & {
|
|
135
134
|
cursor?: string | undefined;
|
|
136
135
|
pageSize?: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emeryld/rrroutes-openapi",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@emotion/styled": "^11.14.1",
|
|
25
25
|
"@mui/icons-material": "^7.3.6",
|
|
26
26
|
"@mui/material": "^7.3.6",
|
|
27
|
-
"@tanstack/react-query": "^5.90.
|
|
27
|
+
"@tanstack/react-query": "^5.90.12",
|
|
28
28
|
"react": "^18.3.1",
|
|
29
29
|
"react-dom": "^18.3.1",
|
|
30
30
|
"react-router-dom": "^7.10.0",
|