@emeryld/rrroutes-openapi 2.3.4 → 2.3.5

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.
Files changed (75) hide show
  1. package/dist/docs/serializer.d.ts +3 -3
  2. package/dist/index.cjs +51 -21
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.ts +5 -0
  5. package/dist/index.mjs +51 -21
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/public/assets/docs.js +165 -45
  8. package/dist/web/utils/types.d.ts +1 -17
  9. package/dist/web/v2/components/endpoints/EndpointDetailPanel.d.ts +5 -0
  10. package/dist/web/v2/components/endpoints/EndpointPlayground.d.ts +6 -0
  11. package/dist/web/v2/components/endpoints/EndpointSummaryHeader.d.ts +6 -0
  12. package/dist/web/v2/components/endpoints/EndpointVolumeChart.d.ts +8 -0
  13. package/dist/web/v2/components/feedback/EmptyState.d.ts +8 -0
  14. package/dist/web/v2/components/feedback/ErrorState.d.ts +7 -0
  15. package/dist/web/v2/components/feedback/LoadingState.d.ts +5 -0
  16. package/dist/web/v2/components/filters/BaseFilterBar.d.ts +12 -0
  17. package/dist/web/v2/components/history/HistoryInsights.d.ts +6 -0
  18. package/dist/web/v2/components/history/RequestDetailDrawer.d.ts +9 -0
  19. package/dist/web/v2/components/history/RequestTable.d.ts +7 -0
  20. package/dist/web/v2/components/inputs/SearchInput.d.ts +12 -0
  21. package/dist/web/v2/components/json/JsonViewer.d.ts +7 -0
  22. package/dist/web/v2/components/layout/CardSection.d.ts +8 -0
  23. package/dist/web/v2/components/layout/PageContainer.d.ts +9 -0
  24. package/dist/web/v2/components/layout/SplitPane.d.ts +8 -0
  25. package/dist/web/v2/components/logs/CacheLogsTable.d.ts +6 -0
  26. package/dist/web/v2/components/logs/CacheSummaryTable.d.ts +6 -0
  27. package/dist/web/v2/components/logs/LogsTable.d.ts +7 -0
  28. package/dist/web/v2/components/presets/PresetCard.d.ts +7 -0
  29. package/dist/web/v2/components/presets/PresetForm.d.ts +7 -0
  30. package/dist/web/v2/components/presets/PresetOperationsEditor.d.ts +7 -0
  31. package/dist/web/v2/components/schema/SchemaTreeView.d.ts +7 -0
  32. package/dist/web/v2/components/tags/CacheOperationChip.d.ts +9 -0
  33. package/dist/web/v2/components/tags/HttpMethodChip.d.ts +10 -0
  34. package/dist/web/v2/components/tags/LogLevelChip.d.ts +10 -0
  35. package/dist/web/v2/components/tags/StatusChip.d.ts +8 -0
  36. package/dist/web/v2/hooks/useGlobalShortcuts.d.ts +6 -0
  37. package/dist/web/v2/hooks/useHttpColor.d.ts +2 -0
  38. package/dist/web/v2/hooks/useLeafEndpoint.d.ts +7 -0
  39. package/dist/web/v2/hooks/useQueryState.d.ts +7 -0
  40. package/dist/web/v2/hooks/useStatusColor.d.ts +1 -0
  41. package/dist/web/v2/pages/EndpointDetailPage.d.ts +1 -0
  42. package/dist/web/v2/pages/HistoryPage.d.ts +1 -0
  43. package/dist/web/v2/pages/LogsPage.d.ts +1 -0
  44. package/dist/web/v2/pages/NotFoundPage.d.ts +1 -0
  45. package/dist/web/v2/pages/PresetEditPage.d.ts +1 -0
  46. package/dist/web/v2/pages/PresetsPage.d.ts +1 -0
  47. package/dist/web/v2/pages/RoutesPage.d.ts +1 -0
  48. package/dist/web/v2/stores/playgroundStore.d.ts +33 -0
  49. package/dist/web/v2/types/filterTypes.d.ts +20 -0
  50. package/dist/web/v2/types/types.base.d.ts +13 -0
  51. package/dist/web/v2/types/types.cacheLog.d.ts +47 -1
  52. package/dist/web/v2/types/types.d.ts +17 -0
  53. package/dist/web/v2/types/types.endpoint.d.ts +42 -4
  54. package/dist/web/v2/types/types.log.d.ts +32 -1
  55. package/dist/web/v2/types/types.preset.d.ts +90 -2
  56. package/dist/web/v2/types/types.requestLog.d.ts +42 -3
  57. package/package.json +3 -3
  58. package/dist/web/v2/components/JsonInput.d.ts +0 -10
  59. package/dist/web/v2/components/JsonViewer.d.ts +0 -12
  60. package/dist/web/v2/components/MethodBadge.d.ts +0 -4
  61. package/dist/web/v2/components/New/HttpMethodChip.d.ts +0 -7
  62. package/dist/web/v2/components/New/ListToolBar.d.ts +0 -11
  63. package/dist/web/v2/components/New/MethodFiltersChips.d.ts +0 -7
  64. package/dist/web/v2/components/New/RequestStatusChip.d.ts +0 -6
  65. package/dist/web/v2/components/New/SplitPageLayout.d.ts +0 -7
  66. package/dist/web/v2/components/New/StabilityChip.d.ts +0 -7
  67. package/dist/web/v2/components/New/StatusRangeFilter.d.ts +0 -8
  68. package/dist/web/v2/components/RecordItem.d.ts +0 -34
  69. package/dist/web/v2/components/ResizableSidePanel.d.ts +0 -12
  70. package/dist/web/v2/components/SchemaTable.d.ts +0 -5
  71. package/dist/web/v2/components/SectionHeader.d.ts +0 -9
  72. package/dist/web/v2/endpoints/EndpointDetailsPanel.d.ts +0 -5
  73. package/dist/web/v2/endpoints/EndpointList.d.ts +0 -12
  74. package/dist/web/v2/endpoints/EndpointsPage.d.ts +0 -4
  75. package/dist/web/v2/endpoints/endpoints.utils.d.ts +0 -3
@@ -51,7 +51,7 @@ export declare const endpointSchema: z.ZodObject<{
51
51
  meta: z.ZodRecord<z.ZodString, z.ZodString>;
52
52
  implemented: z.ZodOptional<z.ZodBoolean>;
53
53
  }, z.core.$strip>;
54
- export type Endpoint = z.output<typeof endpointSchema>;
54
+ export type EndpointType = z.output<typeof endpointSchema>;
55
55
  export declare const endpointFilterSchema: z.ZodObject<{
56
56
  beforeDate: z.ZodOptional<z.ZodString>;
57
57
  afterDate: z.ZodOptional<z.ZodString>;
@@ -67,7 +67,9 @@ export declare const endpointFilterSchema: z.ZodObject<{
67
67
  }>>;
68
68
  searchQuery: z.ZodOptional<z.ZodString>;
69
69
  groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ excludeGroups: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
71
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
+ excludeTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
71
73
  cursor: z.ZodOptional<z.ZodString>;
72
74
  methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
73
75
  get: "get";
@@ -76,6 +78,13 @@ export declare const endpointFilterSchema: z.ZodObject<{
76
78
  patch: "patch";
77
79
  delete: "delete";
78
80
  }>>>;
81
+ excludeMethods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
82
+ get: "get";
83
+ post: "post";
84
+ put: "put";
85
+ patch: "patch";
86
+ delete: "delete";
87
+ }>>>;
79
88
  path: z.ZodOptional<z.ZodString>;
80
89
  stability: z.ZodOptional<z.ZodArray<z.ZodEnum<{
81
90
  deprecated: "deprecated";
@@ -83,6 +92,12 @@ export declare const endpointFilterSchema: z.ZodObject<{
83
92
  beta: "beta";
84
93
  stable: "stable";
85
94
  }>>>;
95
+ excludeStability: z.ZodOptional<z.ZodArray<z.ZodEnum<{
96
+ deprecated: "deprecated";
97
+ experimental: "experimental";
98
+ beta: "beta";
99
+ stable: "stable";
100
+ }>>>;
86
101
  }, z.core.$strip>;
87
102
  export declare const endpointLeaves: readonly [{
88
103
  readonly method: "get";
@@ -91,7 +106,16 @@ export declare const endpointLeaves: readonly [{
91
106
  description?: string | undefined;
92
107
  tags?: string[] | undefined;
93
108
  deprecated?: boolean | undefined;
94
- queryExtensionSchema: undefined;
109
+ queryExtensionSchema: z.ZodObject<{
110
+ cursor: z.ZodOptional<z.ZodString>;
111
+ pageSize: z.ZodOptional<z.ZodNumber>;
112
+ }, z.core.$strip> & import("@emeryld/rrroutes-contract").RouteSchema<{
113
+ cursor?: string | undefined;
114
+ pageSize?: number | undefined;
115
+ }, {
116
+ cursor?: string | undefined;
117
+ pageSize?: number | undefined;
118
+ }>;
95
119
  bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
96
120
  feed: true;
97
121
  summary?: string | undefined;
@@ -107,11 +131,18 @@ export declare const endpointLeaves: readonly [{
107
131
  afterDate?: string | undefined;
108
132
  searchQuery?: string | undefined;
109
133
  groups?: string[] | undefined;
134
+ excludeGroups?: string[] | undefined;
110
135
  tags?: string[] | undefined;
136
+ excludeTags?: string[] | undefined;
111
137
  cursor?: string | undefined;
112
138
  methods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
139
+ excludeMethods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
113
140
  path?: string | undefined;
114
141
  stability?: ("deprecated" | "experimental" | "beta" | "stable")[] | undefined;
142
+ excludeStability?: ("deprecated" | "experimental" | "beta" | "stable")[] | undefined;
143
+ } & {
144
+ cursor?: string | undefined;
145
+ pageSize?: number | undefined;
115
146
  }, {
116
147
  beforeDate?: string | undefined;
117
148
  afterDate?: string | undefined;
@@ -119,11 +150,18 @@ export declare const endpointLeaves: readonly [{
119
150
  orderDirection?: "asc" | "desc" | undefined;
120
151
  searchQuery?: string | undefined;
121
152
  groups?: string[] | undefined;
153
+ excludeGroups?: string[] | undefined;
122
154
  tags?: string[] | undefined;
155
+ excludeTags?: string[] | undefined;
123
156
  cursor?: string | undefined;
124
157
  methods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
158
+ excludeMethods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
125
159
  path?: string | undefined;
126
160
  stability?: ("deprecated" | "experimental" | "beta" | "stable")[] | undefined;
161
+ excludeStability?: ("deprecated" | "experimental" | "beta" | "stable")[] | undefined;
162
+ } & {
163
+ cursor?: string | undefined;
164
+ pageSize?: number | undefined;
127
165
  }>;
128
166
  paramsSchema: undefined;
129
167
  outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
@@ -246,7 +284,7 @@ export declare const endpointLeaves: readonly [{
246
284
  userAgent?: string | undefined;
247
285
  }[];
248
286
  volumeTS: {
249
- timestamp: string;
287
+ timestamp: number;
250
288
  count: number;
251
289
  }[];
252
290
  averageDurationMs: number;
@@ -304,7 +342,7 @@ export declare const endpointLeaves: readonly [{
304
342
  userAgent?: string | undefined;
305
343
  }[];
306
344
  volumeTS: {
307
- timestamp: string;
345
+ timestamp: number;
308
346
  count: number;
309
347
  }[];
310
348
  averageDurationMs: number;
@@ -16,6 +16,7 @@ export declare const logSchema: z.ZodObject<{
16
16
  }>;
17
17
  meta: z.ZodJSONSchema;
18
18
  }, z.core.$strip>;
19
+ export type LogType = z.infer<typeof logSchema>;
19
20
  export declare const logQuerySchema: z.ZodObject<{
20
21
  beforeDate: z.ZodOptional<z.ZodString>;
21
22
  afterDate: z.ZodOptional<z.ZodString>;
@@ -31,7 +32,9 @@ export declare const logQuerySchema: z.ZodObject<{
31
32
  }>>;
32
33
  searchQuery: z.ZodOptional<z.ZodString>;
33
34
  groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
+ excludeGroups: z.ZodOptional<z.ZodArray<z.ZodString>>;
34
36
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
+ excludeTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
35
38
  cursor: z.ZodOptional<z.ZodString>;
36
39
  level: z.ZodOptional<z.ZodArray<z.ZodEnum<{
37
40
  error: "error";
@@ -40,6 +43,13 @@ export declare const logQuerySchema: z.ZodObject<{
40
43
  debug: "debug";
41
44
  trace: "trace";
42
45
  }>>>;
46
+ excludeLevel: z.ZodOptional<z.ZodArray<z.ZodEnum<{
47
+ error: "error";
48
+ info: "info";
49
+ warning: "warning";
50
+ debug: "debug";
51
+ trace: "trace";
52
+ }>>>;
43
53
  }, z.core.$strip>;
44
54
  export declare const logLeaves: readonly [{
45
55
  readonly method: "get";
@@ -48,7 +58,16 @@ export declare const logLeaves: readonly [{
48
58
  description?: string | undefined;
49
59
  tags?: string[] | undefined;
50
60
  deprecated?: boolean | undefined;
51
- queryExtensionSchema: undefined;
61
+ queryExtensionSchema: z.ZodObject<{
62
+ cursor: z.ZodOptional<z.ZodString>;
63
+ pageSize: z.ZodOptional<z.ZodNumber>;
64
+ }, z.core.$strip> & import("@emeryld/rrroutes-contract").RouteSchema<{
65
+ cursor?: string | undefined;
66
+ pageSize?: number | undefined;
67
+ }, {
68
+ cursor?: string | undefined;
69
+ pageSize?: number | undefined;
70
+ }>;
52
71
  bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
53
72
  feed: true;
54
73
  summary?: string | undefined;
@@ -64,9 +83,15 @@ export declare const logLeaves: readonly [{
64
83
  afterDate?: string | undefined;
65
84
  searchQuery?: string | undefined;
66
85
  groups?: string[] | undefined;
86
+ excludeGroups?: string[] | undefined;
67
87
  tags?: string[] | undefined;
88
+ excludeTags?: string[] | undefined;
68
89
  cursor?: string | undefined;
69
90
  level?: ("error" | "info" | "warning" | "debug" | "trace")[] | undefined;
91
+ excludeLevel?: ("error" | "info" | "warning" | "debug" | "trace")[] | undefined;
92
+ } & {
93
+ cursor?: string | undefined;
94
+ pageSize?: number | undefined;
70
95
  }, {
71
96
  beforeDate?: string | undefined;
72
97
  afterDate?: string | undefined;
@@ -74,9 +99,15 @@ export declare const logLeaves: readonly [{
74
99
  orderDirection?: "asc" | "desc" | undefined;
75
100
  searchQuery?: string | undefined;
76
101
  groups?: string[] | undefined;
102
+ excludeGroups?: string[] | undefined;
77
103
  tags?: string[] | undefined;
104
+ excludeTags?: string[] | undefined;
78
105
  cursor?: string | undefined;
79
106
  level?: ("error" | "info" | "warning" | "debug" | "trace")[] | undefined;
107
+ excludeLevel?: ("error" | "info" | "warning" | "debug" | "trace")[] | undefined;
108
+ } & {
109
+ cursor?: string | undefined;
110
+ pageSize?: number | undefined;
80
111
  }>;
81
112
  paramsSchema: undefined;
82
113
  outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
@@ -1,4 +1,30 @@
1
1
  import z from 'zod';
2
+ declare const presetSchema: 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
+ operations: z.ZodArray<z.ZodObject<{
11
+ name: z.ZodString;
12
+ stepNumber: z.ZodNumber;
13
+ endpointId: z.ZodOptional<z.ZodString>;
14
+ method: z.ZodEnum<{
15
+ get: "get";
16
+ post: "post";
17
+ put: "put";
18
+ patch: "patch";
19
+ delete: "delete";
20
+ }>;
21
+ path: z.ZodString;
22
+ body: z.ZodOptional<z.ZodJSONSchema>;
23
+ extraHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
24
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
25
+ }, z.core.$strip>>;
26
+ }, z.core.$strip>;
27
+ export type PresetType = z.infer<typeof presetSchema>;
2
28
  export declare const presetLeaves: readonly [{
3
29
  readonly method: "get";
4
30
  readonly path: "presets";
@@ -6,7 +32,16 @@ export declare const presetLeaves: readonly [{
6
32
  description?: string | undefined;
7
33
  tags?: string[] | undefined;
8
34
  deprecated?: boolean | undefined;
9
- queryExtensionSchema: undefined;
35
+ queryExtensionSchema: z.ZodObject<{
36
+ cursor: z.ZodOptional<z.ZodString>;
37
+ pageSize: z.ZodOptional<z.ZodNumber>;
38
+ }, z.core.$strip> & import("@emeryld/rrroutes-contract").RouteSchema<{
39
+ cursor?: string | undefined;
40
+ pageSize?: number | undefined;
41
+ }, {
42
+ cursor?: string | undefined;
43
+ pageSize?: number | undefined;
44
+ }>;
10
45
  bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
11
46
  feed: true;
12
47
  summary?: string | undefined;
@@ -15,7 +50,39 @@ export declare const presetLeaves: readonly [{
15
50
  docsHidden?: boolean | undefined;
16
51
  docsMeta?: Record<string, unknown> | undefined;
17
52
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
18
- querySchema: undefined;
53
+ querySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
54
+ orderBy: "timestamp" | "duration" | "level" | "path";
55
+ orderDirection: "asc" | "desc";
56
+ beforeDate?: string | undefined;
57
+ afterDate?: string | undefined;
58
+ searchQuery?: string | undefined;
59
+ groups?: string[] | undefined;
60
+ excludeGroups?: string[] | undefined;
61
+ tags?: string[] | undefined;
62
+ excludeTags?: string[] | undefined;
63
+ cursor?: string | undefined;
64
+ name?: string | undefined;
65
+ excludeName?: string | undefined;
66
+ } & {
67
+ cursor?: string | undefined;
68
+ pageSize?: number | undefined;
69
+ }, {
70
+ beforeDate?: string | undefined;
71
+ afterDate?: string | undefined;
72
+ orderBy?: "timestamp" | "duration" | "level" | "path" | undefined;
73
+ orderDirection?: "asc" | "desc" | undefined;
74
+ searchQuery?: string | undefined;
75
+ groups?: string[] | undefined;
76
+ excludeGroups?: string[] | undefined;
77
+ tags?: string[] | undefined;
78
+ excludeTags?: string[] | undefined;
79
+ cursor?: string | undefined;
80
+ name?: string | undefined;
81
+ excludeName?: string | undefined;
82
+ } & {
83
+ cursor?: string | undefined;
84
+ pageSize?: number | undefined;
85
+ }>;
19
86
  paramsSchema: undefined;
20
87
  outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
21
88
  out: {
@@ -24,6 +91,8 @@ export declare const presetLeaves: readonly [{
24
91
  createdAt: number;
25
92
  updatedAt: number;
26
93
  operations: {
94
+ name: string;
95
+ stepNumber: number;
27
96
  method: "get" | "post" | "put" | "patch" | "delete";
28
97
  path: string;
29
98
  endpointId?: string | undefined;
@@ -45,6 +114,8 @@ export declare const presetLeaves: readonly [{
45
114
  createdAt: number;
46
115
  updatedAt: number;
47
116
  operations: {
117
+ name: string;
118
+ stepNumber: number;
48
119
  method: "get" | "post" | "put" | "patch" | "delete";
49
120
  path: string;
50
121
  endpointId?: string | undefined;
@@ -87,6 +158,8 @@ export declare const presetLeaves: readonly [{
87
158
  createdAt: number;
88
159
  updatedAt: number;
89
160
  operations: {
161
+ name: string;
162
+ stepNumber: number;
90
163
  method: "get" | "post" | "put" | "patch" | "delete";
91
164
  path: string;
92
165
  endpointId?: string | undefined;
@@ -103,6 +176,8 @@ export declare const presetLeaves: readonly [{
103
176
  createdAt: number;
104
177
  updatedAt: number;
105
178
  operations: {
179
+ name: string;
180
+ stepNumber: number;
106
181
  method: "get" | "post" | "put" | "patch" | "delete";
107
182
  path: string;
108
183
  endpointId?: string | undefined;
@@ -123,6 +198,8 @@ export declare const presetLeaves: readonly [{
123
198
  createdAt: number;
124
199
  updatedAt: number;
125
200
  operations: {
201
+ name: string;
202
+ stepNumber: number;
126
203
  method: "get" | "post" | "put" | "patch" | "delete";
127
204
  path: string;
128
205
  endpointId?: string | undefined;
@@ -142,6 +219,8 @@ export declare const presetLeaves: readonly [{
142
219
  createdAt: number;
143
220
  updatedAt: number;
144
221
  operations: {
222
+ name: string;
223
+ stepNumber: number;
145
224
  method: "get" | "post" | "put" | "patch" | "delete";
146
225
  path: string;
147
226
  endpointId?: string | undefined;
@@ -178,6 +257,8 @@ export declare const presetLeaves: readonly [{
178
257
  createdAt: number;
179
258
  updatedAt: number;
180
259
  operations: {
260
+ name: string;
261
+ stepNumber: number;
181
262
  method: "get" | "post" | "put" | "patch" | "delete";
182
263
  path: string;
183
264
  endpointId?: string | undefined;
@@ -194,6 +275,8 @@ export declare const presetLeaves: readonly [{
194
275
  createdAt: number;
195
276
  updatedAt: number;
196
277
  operations: {
278
+ name: string;
279
+ stepNumber: number;
197
280
  method: "get" | "post" | "put" | "patch" | "delete";
198
281
  path: string;
199
282
  endpointId?: string | undefined;
@@ -214,6 +297,8 @@ export declare const presetLeaves: readonly [{
214
297
  createdAt: number;
215
298
  updatedAt: number;
216
299
  operations: {
300
+ name: string;
301
+ stepNumber: number;
217
302
  method: "get" | "post" | "put" | "patch" | "delete";
218
303
  path: string;
219
304
  endpointId?: string | undefined;
@@ -233,6 +318,8 @@ export declare const presetLeaves: readonly [{
233
318
  createdAt: number;
234
319
  updatedAt: number;
235
320
  operations: {
321
+ name: string;
322
+ stepNumber: number;
236
323
  method: "get" | "post" | "put" | "patch" | "delete";
237
324
  path: string;
238
325
  endpointId?: string | undefined;
@@ -249,3 +336,4 @@ export declare const presetLeaves: readonly [{
249
336
  outputMetaSchema: undefined;
250
337
  }>;
251
338
  }];
339
+ export {};
@@ -43,7 +43,9 @@ export declare const requestQuerySchema: z.ZodObject<{
43
43
  }>>;
44
44
  searchQuery: z.ZodOptional<z.ZodString>;
45
45
  groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
46
+ excludeGroups: z.ZodOptional<z.ZodArray<z.ZodString>>;
46
47
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
48
+ excludeTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
47
49
  cursor: z.ZodOptional<z.ZodString>;
48
50
  methods: z.ZodDefault<z.ZodArray<z.ZodEnum<{
49
51
  get: "get";
@@ -52,8 +54,18 @@ export declare const requestQuerySchema: z.ZodObject<{
52
54
  patch: "patch";
53
55
  delete: "delete";
54
56
  }>>>;
55
- statuses: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
57
+ excludeMethods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
58
+ get: "get";
59
+ post: "post";
60
+ put: "put";
61
+ patch: "patch";
62
+ delete: "delete";
63
+ }>>>;
64
+ statuses: z.ZodDefault<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
65
+ excludeStatuses: z.ZodOptional<z.ZodArray<z.ZodCoercedNumber<unknown>>>;
56
66
  path: z.ZodOptional<z.ZodString>;
67
+ endpointKey: z.ZodOptional<z.ZodString>;
68
+ excludeEndpointKey: z.ZodOptional<z.ZodString>;
57
69
  }, z.core.$strip>;
58
70
  export declare const requestLogLeaves: readonly [{
59
71
  readonly method: "get";
@@ -62,7 +74,16 @@ export declare const requestLogLeaves: readonly [{
62
74
  description?: string | undefined;
63
75
  tags?: string[] | undefined;
64
76
  deprecated?: boolean | undefined;
65
- queryExtensionSchema: undefined;
77
+ queryExtensionSchema: z.ZodObject<{
78
+ cursor: z.ZodOptional<z.ZodString>;
79
+ pageSize: z.ZodOptional<z.ZodNumber>;
80
+ }, z.core.$strip> & import("@emeryld/rrroutes-contract").RouteSchema<{
81
+ cursor?: string | undefined;
82
+ pageSize?: number | undefined;
83
+ }, {
84
+ cursor?: string | undefined;
85
+ pageSize?: number | undefined;
86
+ }>;
66
87
  bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
67
88
  feed: true;
68
89
  summary?: string | undefined;
@@ -80,9 +101,18 @@ export declare const requestLogLeaves: readonly [{
80
101
  afterDate?: string | undefined;
81
102
  searchQuery?: string | undefined;
82
103
  groups?: string[] | undefined;
104
+ excludeGroups?: string[] | undefined;
83
105
  tags?: string[] | undefined;
106
+ excludeTags?: string[] | undefined;
84
107
  cursor?: string | undefined;
108
+ excludeMethods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
109
+ excludeStatuses?: number[] | undefined;
85
110
  path?: string | undefined;
111
+ endpointKey?: string | undefined;
112
+ excludeEndpointKey?: string | undefined;
113
+ } & {
114
+ cursor?: string | undefined;
115
+ pageSize?: number | undefined;
86
116
  }, {
87
117
  beforeDate?: string | undefined;
88
118
  afterDate?: string | undefined;
@@ -90,11 +120,20 @@ export declare const requestLogLeaves: readonly [{
90
120
  orderDirection?: "asc" | "desc" | undefined;
91
121
  searchQuery?: string | undefined;
92
122
  groups?: string[] | undefined;
123
+ excludeGroups?: string[] | undefined;
93
124
  tags?: string[] | undefined;
125
+ excludeTags?: string[] | undefined;
94
126
  cursor?: string | undefined;
95
127
  methods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
96
- statuses?: number[] | undefined;
128
+ excludeMethods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
129
+ statuses?: unknown[] | undefined;
130
+ excludeStatuses?: unknown[] | undefined;
97
131
  path?: string | undefined;
132
+ endpointKey?: string | undefined;
133
+ excludeEndpointKey?: string | undefined;
134
+ } & {
135
+ cursor?: string | undefined;
136
+ pageSize?: number | undefined;
98
137
  }>;
99
138
  paramsSchema: undefined;
100
139
  outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeryld/rrroutes-openapi",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -17,8 +17,8 @@
17
17
  "dist"
18
18
  ],
19
19
  "dependencies": {
20
- "@emeryld/rrroutes-client": "^2.3.9",
21
- "@emeryld/rrroutes-contract": "^2.4.14",
20
+ "@emeryld/rrroutes-client": "^2.3.11",
21
+ "@emeryld/rrroutes-contract": "^2.4.17",
22
22
  "@emotion/cache": "^11.14.0",
23
23
  "@emotion/react": "^11.14.0",
24
24
  "@emotion/styled": "^11.14.1",
@@ -1,10 +0,0 @@
1
- export declare function JsonInput({ value, onChange, placeholder, }: {
2
- value?: string;
3
- onChange?: (next: string) => void;
4
- placeholder?: string;
5
- }): import("react/jsx-runtime").JSX.Element;
6
- export declare function KeyValueList({ label, data, emptyLabel, }: {
7
- label: string;
8
- data: Record<string, string>;
9
- emptyLabel: string;
10
- }): import("react/jsx-runtime").JSX.Element;
@@ -1,12 +0,0 @@
1
- export type JsonViewerProps = {
2
- label: string;
3
- value: unknown;
4
- emptyLabel?: string;
5
- collapsedLines?: number;
6
- };
7
- export declare const formatResponse: (data: unknown) => string;
8
- export declare const truncateLines: (text: string, maxLines: number) => string;
9
- /**
10
- * Read-only JSON/text viewer with truncation + copy.
11
- */
12
- export declare function JsonViewer({ label, value, emptyLabel, collapsedLines, }: JsonViewerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,4 +0,0 @@
1
- export type MethodBadgeProps = {
2
- method: string;
3
- };
4
- export declare function MethodBadge({ method }: MethodBadgeProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { MethodType } from '../../types/types.base';
2
- type Props = {
3
- method: MethodType;
4
- size?: 'small' | 'medium';
5
- };
6
- export declare function HttpMethodChip({ method, size }: Props): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,11 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type ListToolbarProps = {
3
- title?: string;
4
- searchPlaceholder?: string;
5
- searchValue?: string;
6
- onSearchChange: (value: string) => void;
7
- filtersSlot?: ReactNode;
8
- actionsSlot?: ReactNode;
9
- };
10
- export declare function ListToolbar({ title, searchPlaceholder, searchValue, onSearchChange, filtersSlot, actionsSlot, }: ListToolbarProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,7 +0,0 @@
1
- import { MethodType } from '../../types/types.base.js';
2
- type MethodFilterChipsProps = {
3
- value: MethodType[] | undefined;
4
- onChange: (value: MethodType[] | undefined) => void;
5
- };
6
- export declare function MethodFilterChips({ value, onChange }: MethodFilterChipsProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,6 +0,0 @@
1
- type Props = {
2
- status: number;
3
- size?: 'small' | 'medium';
4
- };
5
- export declare function RequestStatusChip({ status, size }: Props): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1,7 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type Props = {
3
- list: ReactNode;
4
- detail: ReactNode;
5
- };
6
- export declare function SplitPageLayout({ list, detail }: Props): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,7 +0,0 @@
1
- import { Endpoint } from '../../types/types.endpoint';
2
- type Props = {
3
- value: Endpoint['stability'];
4
- size?: 'small' | 'medium';
5
- };
6
- export declare function StabilityChip({ value, size }: Props): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,8 +0,0 @@
1
- export type StatusRange = 'any' | '2xx' | '3xx' | '4xx' | '5xx';
2
- type Props = {
3
- value: StatusRange;
4
- onChange: (value: StatusRange) => void;
5
- size?: 'small' | 'medium';
6
- };
7
- export declare function StatusRangeFilter({ value, onChange, size }: Props): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,34 +0,0 @@
1
- export type RecordItem = {
2
- key: string;
3
- value?: string;
4
- enabled: boolean;
5
- };
6
- export type RecordInput = RecordItem[];
7
- export type RecordInputUpdate = {
8
- operation: 'add';
9
- value: RecordItem;
10
- } | {
11
- operation: 'change';
12
- idx: number;
13
- value: RecordItem;
14
- } | {
15
- operation: 'remove';
16
- idx: number;
17
- };
18
- type RecodItemSectionProps = {
19
- title: string;
20
- rows: RecordInput;
21
- onUpdateRow?: (index: number, next: RecordInputUpdate) => void;
22
- onAddRow?: () => void;
23
- onRemoveRow?: (index: number) => void;
24
- defaultOpen?: boolean;
25
- showToggle?: boolean;
26
- disableKey?: boolean;
27
- placeholder?: {
28
- key?: string;
29
- value?: string;
30
- };
31
- gridClassName?: string;
32
- };
33
- export declare function RecordItemSection({ title, rows, onUpdateRow, onAddRow, onRemoveRow, defaultOpen, showToggle, disableKey, placeholder, }: RecodItemSectionProps): import("react/jsx-runtime").JSX.Element;
34
- export {};
@@ -1,12 +0,0 @@
1
- import { ReactNode } from 'react';
2
- type ResizableSidePanelProps = {
3
- children: ReactNode;
4
- isVisible: boolean;
5
- resizable?: boolean;
6
- minWidth?: number;
7
- maxWidth?: number;
8
- initialWidth?: number;
9
- onClose?: () => void;
10
- };
11
- declare const ResizableSidePanel: ({ children, isVisible, resizable, minWidth, maxWidth, initialWidth, onClose, }: ResizableSidePanelProps) => import("react/jsx-runtime").JSX.Element | null;
12
- export default ResizableSidePanel;
@@ -1,5 +0,0 @@
1
- import { SerializableSchemaNode } from '../../../docs/schemaIntrospection';
2
- export declare function SchemaTable({ node, title, }: {
3
- title?: string;
4
- node?: SerializableSchemaNode;
5
- }): import("react/jsx-runtime").JSX.Element | null;
@@ -1,9 +0,0 @@
1
- type Props = {
2
- title: string;
3
- hasRows: boolean;
4
- open: boolean;
5
- setOpen: (updater: (prev: boolean) => boolean) => void;
6
- onAddRow?: () => void;
7
- };
8
- export declare function SectionHeader({ title, hasRows, open, setOpen, onAddRow, }: Props): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,5 +0,0 @@
1
- type Props = {
2
- endpointId: string;
3
- };
4
- export declare function EndpointDetailsPanel({ endpointId }: Props): import("react/jsx-runtime").JSX.Element;
5
- export {};