@emeryld/rrroutes-openapi 2.4.2 → 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.
@@ -20,13 +20,13 @@ export declare const baseEntitySchema: z.ZodObject<{
20
20
  export declare const baseQuerySchema: z.ZodObject<{
21
21
  beforeDate: z.ZodOptional<z.ZodString>;
22
22
  afterDate: z.ZodOptional<z.ZodString>;
23
- orderBy: z.ZodDefault<z.ZodEnum<{
23
+ orderBy: z.ZodOptional<z.ZodEnum<{
24
24
  timestamp: "timestamp";
25
25
  duration: "duration";
26
26
  level: "level";
27
27
  path: "path";
28
28
  }>>;
29
- orderDirection: z.ZodDefault<z.ZodEnum<{
29
+ orderDirection: z.ZodOptional<z.ZodEnum<{
30
30
  asc: "asc";
31
31
  desc: "desc";
32
32
  }>>;
@@ -23,13 +23,13 @@ export type CacheLogType = z.infer<typeof cacheLogSchema>;
23
23
  export declare const cacheLogQuerySchema: z.ZodObject<{
24
24
  beforeDate: z.ZodOptional<z.ZodString>;
25
25
  afterDate: z.ZodOptional<z.ZodString>;
26
- orderBy: z.ZodDefault<z.ZodEnum<{
26
+ orderBy: z.ZodOptional<z.ZodEnum<{
27
27
  timestamp: "timestamp";
28
28
  duration: "duration";
29
29
  level: "level";
30
30
  path: "path";
31
31
  }>>;
32
- orderDirection: z.ZodDefault<z.ZodEnum<{
32
+ orderDirection: z.ZodOptional<z.ZodEnum<{
33
33
  asc: "asc";
34
34
  desc: "desc";
35
35
  }>>;
@@ -90,10 +90,10 @@ export declare const cacheLeaves: readonly [{
90
90
  docsMeta?: Record<string, unknown> | undefined;
91
91
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
92
92
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
93
- orderBy: "timestamp" | "duration" | "level" | "path";
94
- orderDirection: "asc" | "desc";
95
93
  beforeDate?: string | undefined;
96
94
  afterDate?: string | undefined;
95
+ orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
96
+ orderDirection?: "asc" | "desc" | undefined;
97
97
  searchQuery?: string | undefined;
98
98
  groupsInclude?: string[] | undefined;
99
99
  groupsExclude?: string[] | undefined;
@@ -175,10 +175,10 @@ export declare const cacheLeaves: readonly [{
175
175
  readonly outputMetaSchema: undefined;
176
176
  readonly bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
177
177
  readonly querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
178
- orderBy: "timestamp" | "duration" | "level" | "path";
179
- orderDirection: "asc" | "desc";
180
178
  beforeDate?: string | undefined;
181
179
  afterDate?: string | undefined;
180
+ orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
181
+ orderDirection?: "asc" | "desc" | undefined;
182
182
  searchQuery?: string | undefined;
183
183
  groupsInclude?: string[] | undefined;
184
184
  groupsExclude?: string[] | undefined;
@@ -56,13 +56,13 @@ export type EndpointType = z.output<typeof endpointSchema>;
56
56
  export declare const endpointFilterSchema: z.ZodObject<{
57
57
  beforeDate: z.ZodOptional<z.ZodString>;
58
58
  afterDate: z.ZodOptional<z.ZodString>;
59
- orderBy: z.ZodDefault<z.ZodEnum<{
59
+ orderBy: z.ZodOptional<z.ZodEnum<{
60
60
  timestamp: "timestamp";
61
61
  duration: "duration";
62
62
  level: "level";
63
63
  path: "path";
64
64
  }>>;
65
- orderDirection: z.ZodDefault<z.ZodEnum<{
65
+ orderDirection: z.ZodOptional<z.ZodEnum<{
66
66
  asc: "asc";
67
67
  desc: "desc";
68
68
  }>>;
@@ -126,10 +126,10 @@ export declare const endpointLeaves: readonly [{
126
126
  docsMeta?: Record<string, unknown> | undefined;
127
127
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
128
128
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
129
- orderBy: "timestamp" | "duration" | "level" | "path";
130
- orderDirection: "asc" | "desc";
131
129
  beforeDate?: string | undefined;
132
130
  afterDate?: string | undefined;
131
+ orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
132
+ orderDirection?: "asc" | "desc" | undefined;
133
133
  searchQuery?: string | undefined;
134
134
  groupsInclude?: string[] | undefined;
135
135
  groupsExclude?: string[] | undefined;
@@ -23,13 +23,13 @@ export type LogType = z.infer<typeof logSchema>;
23
23
  export declare const logQuerySchema: z.ZodObject<{
24
24
  beforeDate: z.ZodOptional<z.ZodString>;
25
25
  afterDate: z.ZodOptional<z.ZodString>;
26
- orderBy: z.ZodDefault<z.ZodEnum<{
26
+ orderBy: z.ZodOptional<z.ZodEnum<{
27
27
  timestamp: "timestamp";
28
28
  duration: "duration";
29
29
  level: "level";
30
30
  path: "path";
31
31
  }>>;
32
- orderDirection: z.ZodDefault<z.ZodEnum<{
32
+ orderDirection: z.ZodOptional<z.ZodEnum<{
33
33
  asc: "asc";
34
34
  desc: "desc";
35
35
  }>>;
@@ -80,10 +80,10 @@ export declare const logLeaves: readonly [{
80
80
  docsMeta?: Record<string, unknown> | undefined;
81
81
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
82
82
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
83
- orderBy: "timestamp" | "duration" | "level" | "path";
84
- orderDirection: "asc" | "desc";
85
83
  beforeDate?: string | undefined;
86
84
  afterDate?: string | undefined;
85
+ orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
86
+ orderDirection?: "asc" | "desc" | undefined;
87
87
  searchQuery?: string | undefined;
88
88
  groupsInclude?: string[] | undefined;
89
89
  groupsExclude?: string[] | undefined;
@@ -30,13 +30,13 @@ export type PresetType = z.infer<typeof presetSchema>;
30
30
  declare const presetQuerySchema: z.ZodObject<{
31
31
  beforeDate: z.ZodOptional<z.ZodString>;
32
32
  afterDate: z.ZodOptional<z.ZodString>;
33
- orderBy: z.ZodDefault<z.ZodEnum<{
33
+ orderBy: z.ZodOptional<z.ZodEnum<{
34
34
  timestamp: "timestamp";
35
35
  duration: "duration";
36
36
  level: "level";
37
37
  path: "path";
38
38
  }>>;
39
- orderDirection: z.ZodDefault<z.ZodEnum<{
39
+ orderDirection: z.ZodOptional<z.ZodEnum<{
40
40
  asc: "asc";
41
41
  desc: "desc";
42
42
  }>>;
@@ -75,10 +75,10 @@ export declare const presetLeaves: readonly [{
75
75
  docsMeta?: Record<string, unknown> | undefined;
76
76
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
77
77
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
78
- orderBy: "timestamp" | "duration" | "level" | "path";
79
- orderDirection: "asc" | "desc";
80
78
  beforeDate?: string | undefined;
81
79
  afterDate?: string | undefined;
80
+ orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
81
+ orderDirection?: "asc" | "desc" | undefined;
82
82
  searchQuery?: string | undefined;
83
83
  groupsInclude?: string[] | undefined;
84
84
  groupsExclude?: string[] | undefined;
@@ -32,13 +32,13 @@ export type RequestLogType = z.infer<typeof requestSchema>;
32
32
  export declare const requestQuerySchema: z.ZodObject<{
33
33
  beforeDate: z.ZodOptional<z.ZodString>;
34
34
  afterDate: z.ZodOptional<z.ZodString>;
35
- orderBy: z.ZodDefault<z.ZodEnum<{
35
+ orderBy: z.ZodOptional<z.ZodEnum<{
36
36
  timestamp: "timestamp";
37
37
  duration: "duration";
38
38
  level: "level";
39
39
  path: "path";
40
40
  }>>;
41
- orderDirection: z.ZodDefault<z.ZodEnum<{
41
+ orderDirection: z.ZodOptional<z.ZodEnum<{
42
42
  asc: "asc";
43
43
  desc: "desc";
44
44
  }>>;
@@ -47,7 +47,7 @@ export declare const requestQuerySchema: z.ZodObject<{
47
47
  groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
48
48
  tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
49
49
  tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
50
- methodsInclude: z.ZodDefault<z.ZodArray<z.ZodEnum<{
50
+ methodsInclude: z.ZodOptional<z.ZodArray<z.ZodEnum<{
51
51
  get: "get";
52
52
  post: "post";
53
53
  put: "put";
@@ -61,7 +61,7 @@ export declare const requestQuerySchema: z.ZodObject<{
61
61
  patch: "patch";
62
62
  delete: "delete";
63
63
  }>>>;
64
- statusesInclude: z.ZodDefault<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
64
+ statusesInclude: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
65
65
  statusesExclude: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
66
66
  path: z.ZodOptional<z.ZodString>;
67
67
  endpointKeysInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -94,18 +94,18 @@ export declare const requestLogLeaves: readonly [{
94
94
  docsMeta?: Record<string, unknown> | undefined;
95
95
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
96
96
  querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
97
- orderBy: "timestamp" | "duration" | "level" | "path";
98
- orderDirection: "asc" | "desc";
99
- methodsInclude: ("get" | "post" | "put" | "patch" | "delete")[];
100
- statusesInclude: number[];
101
97
  beforeDate?: string | undefined;
102
98
  afterDate?: string | undefined;
99
+ orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
100
+ orderDirection?: "asc" | "desc" | undefined;
103
101
  searchQuery?: string | undefined;
104
102
  groupsInclude?: string[] | undefined;
105
103
  groupsExclude?: string[] | undefined;
106
104
  tagsInclude?: string[] | undefined;
107
105
  tagsExclude?: string[] | undefined;
106
+ methodsInclude?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
108
107
  methodsExclude?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
108
+ statusesInclude?: number[] | undefined;
109
109
  statusesExclude?: number[] | undefined;
110
110
  path?: string | undefined;
111
111
  endpointKeysInclude?: string[] | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeryld/rrroutes-openapi",
3
- "version": "2.4.2",
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.11",
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",