@emeryld/rrroutes-openapi 2.3.3 → 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 +62 -26
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.ts +5 -0
  5. package/dist/index.mjs +62 -26
  6. package/dist/index.mjs.map +1 -1
  7. package/dist/public/assets/docs.js +121 -89
  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 +93 -45
  52. package/dist/web/v2/types/types.d.ts +17 -0
  53. package/dist/web/v2/types/types.endpoint.d.ts +51 -4
  54. package/dist/web/v2/types/types.log.d.ts +32 -1
  55. package/dist/web/v2/types/types.preset.d.ts +92 -4
  56. package/dist/web/v2/types/types.requestLog.d.ts +52 -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
@@ -49,8 +49,9 @@ 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
- export type Endpoint = z.output<typeof endpointSchema>;
54
+ export type EndpointType = z.output<typeof endpointSchema>;
54
55
  export declare const endpointFilterSchema: z.ZodObject<{
55
56
  beforeDate: z.ZodOptional<z.ZodString>;
56
57
  afterDate: z.ZodOptional<z.ZodString>;
@@ -66,7 +67,9 @@ export declare const endpointFilterSchema: z.ZodObject<{
66
67
  }>>;
67
68
  searchQuery: z.ZodOptional<z.ZodString>;
68
69
  groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
+ excludeGroups: z.ZodOptional<z.ZodArray<z.ZodString>>;
69
71
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
72
+ excludeTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
70
73
  cursor: z.ZodOptional<z.ZodString>;
71
74
  methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
72
75
  get: "get";
@@ -75,6 +78,13 @@ export declare const endpointFilterSchema: z.ZodObject<{
75
78
  patch: "patch";
76
79
  delete: "delete";
77
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
+ }>>>;
78
88
  path: z.ZodOptional<z.ZodString>;
79
89
  stability: z.ZodOptional<z.ZodArray<z.ZodEnum<{
80
90
  deprecated: "deprecated";
@@ -82,6 +92,12 @@ export declare const endpointFilterSchema: z.ZodObject<{
82
92
  beta: "beta";
83
93
  stable: "stable";
84
94
  }>>>;
95
+ excludeStability: z.ZodOptional<z.ZodArray<z.ZodEnum<{
96
+ deprecated: "deprecated";
97
+ experimental: "experimental";
98
+ beta: "beta";
99
+ stable: "stable";
100
+ }>>>;
85
101
  }, z.core.$strip>;
86
102
  export declare const endpointLeaves: readonly [{
87
103
  readonly method: "get";
@@ -90,7 +106,16 @@ export declare const endpointLeaves: readonly [{
90
106
  description?: string | undefined;
91
107
  tags?: string[] | undefined;
92
108
  deprecated?: boolean | undefined;
93
- 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
+ }>;
94
119
  bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
95
120
  feed: true;
96
121
  summary?: string | undefined;
@@ -106,11 +131,18 @@ export declare const endpointLeaves: readonly [{
106
131
  afterDate?: string | undefined;
107
132
  searchQuery?: string | undefined;
108
133
  groups?: string[] | undefined;
134
+ excludeGroups?: string[] | undefined;
109
135
  tags?: string[] | undefined;
136
+ excludeTags?: string[] | undefined;
110
137
  cursor?: string | undefined;
111
138
  methods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
139
+ excludeMethods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
112
140
  path?: string | undefined;
113
141
  stability?: ("deprecated" | "experimental" | "beta" | "stable")[] | undefined;
142
+ excludeStability?: ("deprecated" | "experimental" | "beta" | "stable")[] | undefined;
143
+ } & {
144
+ cursor?: string | undefined;
145
+ pageSize?: number | undefined;
114
146
  }, {
115
147
  beforeDate?: string | undefined;
116
148
  afterDate?: string | undefined;
@@ -118,11 +150,18 @@ export declare const endpointLeaves: readonly [{
118
150
  orderDirection?: "asc" | "desc" | undefined;
119
151
  searchQuery?: string | undefined;
120
152
  groups?: string[] | undefined;
153
+ excludeGroups?: string[] | undefined;
121
154
  tags?: string[] | undefined;
155
+ excludeTags?: string[] | undefined;
122
156
  cursor?: string | undefined;
123
157
  methods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
158
+ excludeMethods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
124
159
  path?: string | undefined;
125
160
  stability?: ("deprecated" | "experimental" | "beta" | "stable")[] | undefined;
161
+ excludeStability?: ("deprecated" | "experimental" | "beta" | "stable")[] | undefined;
162
+ } & {
163
+ cursor?: string | undefined;
164
+ pageSize?: number | undefined;
126
165
  }>;
127
166
  paramsSchema: undefined;
128
167
  outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
@@ -151,6 +190,7 @@ export declare const endpointLeaves: readonly [{
151
190
  feed?: boolean | undefined;
152
191
  summary?: string | undefined;
153
192
  hidden?: boolean | undefined;
193
+ implemented?: boolean | undefined;
154
194
  }[];
155
195
  meta: {
156
196
  totalCount?: number | undefined;
@@ -181,6 +221,7 @@ export declare const endpointLeaves: readonly [{
181
221
  feed?: boolean | undefined;
182
222
  summary?: string | undefined;
183
223
  hidden?: boolean | undefined;
224
+ implemented?: boolean | undefined;
184
225
  }[];
185
226
  meta: {
186
227
  totalCount?: number | undefined;
@@ -239,9 +280,11 @@ export declare const endpointLeaves: readonly [{
239
280
  output?: any;
240
281
  headers?: Record<string, any> | undefined;
241
282
  error?: string | undefined;
283
+ ip?: string | undefined;
284
+ userAgent?: string | undefined;
242
285
  }[];
243
286
  volumeTS: {
244
- timestamp: string;
287
+ timestamp: number;
245
288
  count: number;
246
289
  }[];
247
290
  averageDurationMs: number;
@@ -253,6 +296,7 @@ export declare const endpointLeaves: readonly [{
253
296
  feed?: boolean | undefined;
254
297
  summary?: string | undefined;
255
298
  hidden?: boolean | undefined;
299
+ implemented?: boolean | undefined;
256
300
  };
257
301
  meta: unknown;
258
302
  }, {
@@ -294,9 +338,11 @@ export declare const endpointLeaves: readonly [{
294
338
  output?: any;
295
339
  headers?: Record<string, any> | undefined;
296
340
  error?: string | undefined;
341
+ ip?: string | undefined;
342
+ userAgent?: string | undefined;
297
343
  }[];
298
344
  volumeTS: {
299
- timestamp: string;
345
+ timestamp: number;
300
346
  count: number;
301
347
  }[];
302
348
  averageDurationMs: number;
@@ -308,6 +354,7 @@ export declare const endpointLeaves: readonly [{
308
354
  feed?: boolean | undefined;
309
355
  summary?: string | undefined;
310
356
  hidden?: boolean | undefined;
357
+ implemented?: boolean | undefined;
311
358
  };
312
359
  meta: unknown;
313
360
  }>;
@@ -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;
@@ -34,7 +103,7 @@ export declare const presetLeaves: readonly [{
34
103
  description?: string | undefined;
35
104
  groupId?: string | undefined;
36
105
  tags?: string[] | undefined;
37
- };
106
+ }[];
38
107
  meta: {
39
108
  totalCount?: number | undefined;
40
109
  };
@@ -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;
@@ -55,7 +126,7 @@ export declare const presetLeaves: readonly [{
55
126
  description?: string | undefined;
56
127
  groupId?: string | undefined;
57
128
  tags?: string[] | undefined;
58
- };
129
+ }[];
59
130
  meta: {
60
131
  totalCount?: number | undefined;
61
132
  };
@@ -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 {};
@@ -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<{
@@ -41,7 +43,9 @@ export declare const requestQuerySchema: z.ZodObject<{
41
43
  }>>;
42
44
  searchQuery: z.ZodOptional<z.ZodString>;
43
45
  groups: z.ZodOptional<z.ZodArray<z.ZodString>>;
46
+ excludeGroups: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
47
  tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
48
+ excludeTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
45
49
  cursor: z.ZodOptional<z.ZodString>;
46
50
  methods: z.ZodDefault<z.ZodArray<z.ZodEnum<{
47
51
  get: "get";
@@ -50,8 +54,18 @@ export declare const requestQuerySchema: z.ZodObject<{
50
54
  patch: "patch";
51
55
  delete: "delete";
52
56
  }>>>;
53
- 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>>>;
54
66
  path: z.ZodOptional<z.ZodString>;
67
+ endpointKey: z.ZodOptional<z.ZodString>;
68
+ excludeEndpointKey: z.ZodOptional<z.ZodString>;
55
69
  }, z.core.$strip>;
56
70
  export declare const requestLogLeaves: readonly [{
57
71
  readonly method: "get";
@@ -60,7 +74,16 @@ export declare const requestLogLeaves: readonly [{
60
74
  description?: string | undefined;
61
75
  tags?: string[] | undefined;
62
76
  deprecated?: boolean | undefined;
63
- 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
+ }>;
64
87
  bodyFiles?: import("@emeryld/rrroutes-contract").FileField[] | undefined;
65
88
  feed: true;
66
89
  summary?: string | undefined;
@@ -78,9 +101,18 @@ export declare const requestLogLeaves: readonly [{
78
101
  afterDate?: string | undefined;
79
102
  searchQuery?: string | undefined;
80
103
  groups?: string[] | undefined;
104
+ excludeGroups?: string[] | undefined;
81
105
  tags?: string[] | undefined;
106
+ excludeTags?: string[] | undefined;
82
107
  cursor?: string | undefined;
108
+ excludeMethods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
109
+ excludeStatuses?: number[] | undefined;
83
110
  path?: string | undefined;
111
+ endpointKey?: string | undefined;
112
+ excludeEndpointKey?: string | undefined;
113
+ } & {
114
+ cursor?: string | undefined;
115
+ pageSize?: number | undefined;
84
116
  }, {
85
117
  beforeDate?: string | undefined;
86
118
  afterDate?: string | undefined;
@@ -88,11 +120,20 @@ export declare const requestLogLeaves: readonly [{
88
120
  orderDirection?: "asc" | "desc" | undefined;
89
121
  searchQuery?: string | undefined;
90
122
  groups?: string[] | undefined;
123
+ excludeGroups?: string[] | undefined;
91
124
  tags?: string[] | undefined;
125
+ excludeTags?: string[] | undefined;
92
126
  cursor?: string | undefined;
93
127
  methods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
94
- statuses?: number[] | undefined;
128
+ excludeMethods?: ("get" | "post" | "put" | "patch" | "delete")[] | undefined;
129
+ statuses?: unknown[] | undefined;
130
+ excludeStatuses?: unknown[] | undefined;
95
131
  path?: string | undefined;
132
+ endpointKey?: string | undefined;
133
+ excludeEndpointKey?: string | undefined;
134
+ } & {
135
+ cursor?: string | undefined;
136
+ pageSize?: number | undefined;
96
137
  }>;
97
138
  paramsSchema: undefined;
98
139
  outputSchema: import("@emeryld/rrroutes-contract").RouteSchema<{
@@ -115,6 +156,8 @@ export declare const requestLogLeaves: readonly [{
115
156
  output?: any;
116
157
  headers?: Record<string, any> | undefined;
117
158
  error?: string | undefined;
159
+ ip?: string | undefined;
160
+ userAgent?: string | undefined;
118
161
  }[];
119
162
  meta: {
120
163
  totalCount?: number | undefined;
@@ -139,6 +182,8 @@ export declare const requestLogLeaves: readonly [{
139
182
  output?: any;
140
183
  headers?: Record<string, any> | undefined;
141
184
  error?: string | undefined;
185
+ ip?: string | undefined;
186
+ userAgent?: string | undefined;
142
187
  }[];
143
188
  meta: {
144
189
  totalCount?: number | undefined;
@@ -201,6 +246,8 @@ export declare const requestLogLeaves: readonly [{
201
246
  output?: any;
202
247
  headers?: Record<string, any> | undefined;
203
248
  error?: string | undefined;
249
+ ip?: string | undefined;
250
+ userAgent?: string | undefined;
204
251
  };
205
252
  meta: unknown;
206
253
  }, {
@@ -246,6 +293,8 @@ export declare const requestLogLeaves: readonly [{
246
293
  output?: any;
247
294
  headers?: Record<string, any> | undefined;
248
295
  error?: string | undefined;
296
+ ip?: string | undefined;
297
+ userAgent?: string | undefined;
249
298
  };
250
299
  meta: unknown;
251
300
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeryld/rrroutes-openapi",
3
- "version": "2.3.3",
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.5",
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 {};