@emeryld/rrroutes-openapi 2.6.7 → 2.7.0

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 (54) hide show
  1. package/dist/index.cjs +0 -1
  2. package/dist/index.cjs.map +1 -1
  3. package/dist/index.mjs +0 -1
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/public/assets/docs.css +1 -1
  6. package/dist/public/assets/docs.js +136 -190
  7. package/dist/web/v2/AppShell.d.ts +3 -1
  8. package/dist/web/v2/components/request/LastRunPanel.d.ts +0 -5
  9. package/dist/web/v2/hooks/useLeafEndpoint.d.ts +2 -2
  10. package/dist/web/v2/stores/playgroundSettingsStore.d.ts +0 -10
  11. package/dist/web/v2/types/types.cacheLog.d.ts +135 -49
  12. package/dist/web/v2/types/types.endpoint.d.ts +194 -140
  13. package/dist/web/v2/types/types.log.d.ts +48 -19
  14. package/dist/web/v2/types/types.preset.d.ts +168 -84
  15. package/dist/web/v2/types/types.requestLog.d.ts +135 -90
  16. package/dist/web/v2/types/types.scheduling.d.ts +87 -37
  17. package/dist/web/v2/types/types.socket.d.ts +69 -33
  18. package/package.json +9 -12
  19. package/dist/web/v2/components/diff/DiffViewer.d.ts +0 -7
  20. package/dist/web/v2/components/diff/RequestDiffSelector.d.ts +0 -15
  21. package/dist/web/v2/components/diff/SchemaDiffViewer.d.ts +0 -7
  22. package/dist/web/v2/components/feedback/CopyAsMenu.d.ts +0 -10
  23. package/dist/web/v2/components/feedback/CopySnackbar.d.ts +0 -1
  24. package/dist/web/v2/components/flows/FlowCanvas.d.ts +0 -13
  25. package/dist/web/v2/components/flows/FlowNodeEditor.d.ts +0 -8
  26. package/dist/web/v2/components/flows/FlowRunProgress.d.ts +0 -7
  27. package/dist/web/v2/components/flows/FlowToolbar.d.ts +0 -22
  28. package/dist/web/v2/components/flows/FlowVariablePanel.d.ts +0 -7
  29. package/dist/web/v2/components/flows/RecordingReviewDialog.d.ts +0 -9
  30. package/dist/web/v2/components/flows/nodes/ConditionNode.d.ts +0 -7
  31. package/dist/web/v2/components/flows/nodes/DelayNode.d.ts +0 -7
  32. package/dist/web/v2/components/flows/nodes/ExtractNode.d.ts +0 -8
  33. package/dist/web/v2/components/flows/nodes/RequestNode.d.ts +0 -7
  34. package/dist/web/v2/components/layout/ActivityBar.d.ts +0 -1
  35. package/dist/web/v2/components/layout/BentoGrid.d.ts +0 -17
  36. package/dist/web/v2/components/layout/ContentArea.d.ts +0 -1
  37. package/dist/web/v2/components/layout/PanelRegistry.d.ts +0 -17
  38. package/dist/web/v2/components/request/TimingBreakdown.d.ts +0 -11
  39. package/dist/web/v2/components/requests/timeline/TimelinePhaseBar.d.ts +0 -13
  40. package/dist/web/v2/components/requests/timeline/TimelineWaterfall.d.ts +0 -12
  41. package/dist/web/v2/hooks/useFlowKeyboardShortcuts.d.ts +0 -17
  42. package/dist/web/v2/hooks/useFlowRecording.d.ts +0 -13
  43. package/dist/web/v2/pages/DiffPage.d.ts +0 -1
  44. package/dist/web/v2/pages/FlowBuilderPage.d.ts +0 -1
  45. package/dist/web/v2/stores/flowStore.d.ts +0 -74
  46. package/dist/web/v2/stores/layoutStore.d.ts +0 -13
  47. package/dist/web/v2/stores/snackbarStore.d.ts +0 -17
  48. package/dist/web/v2/utils/codeGeneration.d.ts +0 -12
  49. package/dist/web/v2/utils/diffUtils.d.ts +0 -11
  50. package/dist/web/v2/utils/flowHelpers.d.ts +0 -33
  51. package/dist/web/v2/utils/flowPresets.d.ts +0 -11
  52. package/dist/web/v2/utils/flowRecorder.d.ts +0 -5
  53. package/dist/web/v2/utils/flowRunner.d.ts +0 -17
  54. package/dist/web/v2/utils/templateResolver.d.ts +0 -4
@@ -166,27 +166,55 @@ export declare const schedulingLeaves: readonly [{
166
166
  totalCount: z.ZodOptional<z.ZodNumber>;
167
167
  nextCursor: z.ZodOptional<z.ZodString>;
168
168
  }, z.core.$strip>;
169
- }>> & {
170
- outputSchema: z.ZodObject<{
171
- out: z.ZodArray<z.ZodObject<{
172
- id: z.ZodString;
173
- name: z.ZodString;
174
- description: z.ZodOptional<z.ZodString>;
175
- groupId: z.ZodOptional<z.ZodString>;
176
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
177
- createdAt: z.ZodNumber;
178
- updatedAt: z.ZodNumber;
179
- scheduledAt: z.ZodNumber;
180
- startedAt: z.ZodOptional<z.ZodNumber>;
181
- completedAt: z.ZodOptional<z.ZodNumber>;
182
- status: z.ZodString;
183
- }, z.core.$strip>>;
184
- meta: z.ZodObject<{
185
- totalCount: z.ZodOptional<z.ZodNumber>;
186
- nextCursor: z.ZodOptional<z.ZodString>;
187
- }, z.core.$strip>;
169
+ }>> & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
170
+ feed: true;
171
+ outputSchema: z.ZodArray<z.ZodObject<{
172
+ id: z.ZodString;
173
+ name: z.ZodString;
174
+ description: z.ZodOptional<z.ZodString>;
175
+ groupId: z.ZodOptional<z.ZodString>;
176
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
177
+ createdAt: z.ZodNumber;
178
+ updatedAt: z.ZodNumber;
179
+ scheduledAt: z.ZodNumber;
180
+ startedAt: z.ZodOptional<z.ZodNumber>;
181
+ completedAt: z.ZodOptional<z.ZodNumber>;
182
+ status: z.ZodString;
183
+ }, z.core.$strip>>;
184
+ querySchema: z.ZodObject<{
185
+ beforeDate: z.ZodOptional<z.ZodString>;
186
+ afterDate: z.ZodOptional<z.ZodString>;
187
+ orderBy: z.ZodOptional<z.ZodString>;
188
+ orderDirection: z.ZodOptional<z.ZodEnum<{
189
+ asc: "asc";
190
+ desc: "desc";
191
+ }>>;
192
+ searchQuery: z.ZodOptional<z.ZodString>;
193
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
194
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
195
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
196
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
197
+ statusesInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
198
+ statusesExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
188
199
  }, z.core.$strip>;
189
- } & {
200
+ outputMetaSchema: z.ZodObject<{
201
+ totalCount: z.ZodOptional<z.ZodNumber>;
202
+ nextCursor: z.ZodOptional<z.ZodString>;
203
+ }, z.core.$strip>;
204
+ queryExtensionSchema: z.ZodObject<{
205
+ cursor: z.ZodOptional<z.ZodString>;
206
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
207
+ }, z.core.$strip>;
208
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
209
+ queryExtensionSchema: z.ZodObject<{
210
+ cursor: z.ZodOptional<z.ZodString>;
211
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
212
+ }, z.core.$strip>;
213
+ outputMetaSchema: z.ZodObject<{
214
+ totalCount: z.ZodOptional<z.ZodNumber>;
215
+ nextCursor: z.ZodOptional<z.ZodString>;
216
+ }, z.core.$strip>;
217
+ }>> & {
190
218
  paramsSchema: undefined;
191
219
  }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
192
220
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
@@ -354,18 +382,33 @@ export declare const schedulingLeaves: readonly [{
354
382
  totalCount: z.ZodOptional<z.ZodNumber>;
355
383
  nextCursor: z.ZodOptional<z.ZodString>;
356
384
  }, z.core.$strip>;
357
- }>> & {
358
- outputSchema: z.ZodObject<{
359
- out: z.ZodArray<z.ZodObject<{
360
- name: z.ZodString;
361
- payload: z.ZodString;
362
- }, z.core.$strip>>;
363
- meta: z.ZodObject<{
364
- totalCount: z.ZodOptional<z.ZodNumber>;
365
- nextCursor: z.ZodOptional<z.ZodString>;
366
- }, z.core.$strip>;
385
+ }>> & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
386
+ feed: true;
387
+ outputSchema: z.ZodArray<z.ZodObject<{
388
+ name: z.ZodString;
389
+ payload: z.ZodString;
390
+ }, z.core.$strip>>;
391
+ querySchema: z.ZodObject<{
392
+ name: z.ZodOptional<z.ZodString>;
367
393
  }, z.core.$strip>;
368
- } & {
394
+ outputMetaSchema: z.ZodObject<{
395
+ totalCount: z.ZodOptional<z.ZodNumber>;
396
+ nextCursor: z.ZodOptional<z.ZodString>;
397
+ }, z.core.$strip>;
398
+ queryExtensionSchema: z.ZodObject<{
399
+ cursor: z.ZodOptional<z.ZodString>;
400
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
401
+ }, z.core.$strip>;
402
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
403
+ queryExtensionSchema: z.ZodObject<{
404
+ cursor: z.ZodOptional<z.ZodString>;
405
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
406
+ }, z.core.$strip>;
407
+ outputMetaSchema: z.ZodObject<{
408
+ totalCount: z.ZodOptional<z.ZodNumber>;
409
+ nextCursor: z.ZodOptional<z.ZodString>;
410
+ }, z.core.$strip>;
411
+ }>> & {
369
412
  paramsSchema: undefined;
370
413
  }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
371
414
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
@@ -471,14 +514,21 @@ export declare const schedulingLeaves: readonly [{
471
514
  feed?: boolean;
472
515
  } & {
473
516
  querySchema?: undefined;
474
- } & {
517
+ } & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
518
+ bodySchema: z.ZodObject<{
519
+ name: z.ZodString;
520
+ payload: z.ZodAny;
521
+ runAt: z.ZodCoercedDate<unknown>;
522
+ }, z.core.$strip>;
475
523
  outputSchema: z.ZodObject<{
476
- out: z.ZodObject<{
477
- success: z.ZodBoolean;
478
- }, z.core.$strip>;
479
- meta: z.ZodOptional<z.ZodString>;
524
+ success: z.ZodBoolean;
480
525
  }, z.core.$strip>;
481
- } & {
526
+ }, "feed"> & {
527
+ feed: false;
528
+ }>, "queryExtensionSchema" | "outputMetaSchema"> & {
529
+ queryExtensionSchema: undefined;
530
+ outputMetaSchema: undefined;
531
+ }>> & {
482
532
  paramsSchema: undefined;
483
533
  }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
484
534
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
@@ -192,33 +192,62 @@ export declare const socketLeaves: readonly [{
192
192
  totalCount: z.ZodOptional<z.ZodNumber>;
193
193
  nextCursor: z.ZodOptional<z.ZodString>;
194
194
  }, z.core.$strip>;
195
- }>> & {
196
- outputSchema: z.ZodObject<{
197
- out: z.ZodArray<z.ZodObject<{
198
- id: z.ZodString;
199
- description: z.ZodOptional<z.ZodString>;
200
- groupId: z.ZodOptional<z.ZodString>;
201
- tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
202
- createdAt: z.ZodNumber;
203
- updatedAt: z.ZodNumber;
204
- name: z.ZodString;
205
- message: z.ZodOptional<z.ZodAny>;
206
- origin: z.ZodUnion<readonly [z.ZodLiteral<"server">, z.ZodString]>;
207
- direction: z.ZodEnum<{
208
- incoming: "incoming";
209
- outgoing: "outgoing";
210
- broadcast: "broadcast";
211
- }>;
212
- socketId: z.ZodOptional<z.ZodString>;
213
- rooms: z.ZodOptional<z.ZodArray<z.ZodString>>;
214
- except: z.ZodOptional<z.ZodArray<z.ZodString>>;
215
- }, z.core.$strip>>;
216
- meta: z.ZodObject<{
217
- totalCount: z.ZodOptional<z.ZodNumber>;
218
- nextCursor: z.ZodOptional<z.ZodString>;
219
- }, z.core.$strip>;
195
+ }>> & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<{
196
+ feed: true;
197
+ outputSchema: z.ZodArray<z.ZodObject<{
198
+ id: z.ZodString;
199
+ description: z.ZodOptional<z.ZodString>;
200
+ groupId: z.ZodOptional<z.ZodString>;
201
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
202
+ createdAt: z.ZodNumber;
203
+ updatedAt: z.ZodNumber;
204
+ name: z.ZodString;
205
+ message: z.ZodOptional<z.ZodAny>;
206
+ origin: z.ZodUnion<readonly [z.ZodLiteral<"server">, z.ZodString]>;
207
+ direction: z.ZodEnum<{
208
+ incoming: "incoming";
209
+ outgoing: "outgoing";
210
+ broadcast: "broadcast";
211
+ }>;
212
+ socketId: z.ZodOptional<z.ZodString>;
213
+ rooms: z.ZodOptional<z.ZodArray<z.ZodString>>;
214
+ except: z.ZodOptional<z.ZodArray<z.ZodString>>;
215
+ }, z.core.$strip>>;
216
+ querySchema: z.ZodObject<{
217
+ beforeDate: z.ZodOptional<z.ZodString>;
218
+ afterDate: z.ZodOptional<z.ZodString>;
219
+ orderBy: z.ZodOptional<z.ZodString>;
220
+ orderDirection: z.ZodOptional<z.ZodEnum<{
221
+ asc: "asc";
222
+ desc: "desc";
223
+ }>>;
224
+ searchQuery: z.ZodOptional<z.ZodString>;
225
+ groupsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
226
+ groupsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
227
+ tagsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
228
+ tagsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
229
+ eventName: z.ZodOptional<z.ZodString>;
230
+ roomsInclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
231
+ roomsExclude: z.ZodOptional<z.ZodArray<z.ZodString>>;
220
232
  }, z.core.$strip>;
221
- } & {
233
+ outputMetaSchema: z.ZodObject<{
234
+ totalCount: z.ZodOptional<z.ZodNumber>;
235
+ nextCursor: z.ZodOptional<z.ZodString>;
236
+ }, z.core.$strip>;
237
+ queryExtensionSchema: z.ZodObject<{
238
+ cursor: z.ZodOptional<z.ZodString>;
239
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
240
+ }, z.core.$strip>;
241
+ }, "queryExtensionSchema" | "outputMetaSchema"> & {
242
+ queryExtensionSchema: z.ZodObject<{
243
+ cursor: z.ZodOptional<z.ZodString>;
244
+ pageSize: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
245
+ }, z.core.$strip>;
246
+ outputMetaSchema: z.ZodObject<{
247
+ totalCount: z.ZodOptional<z.ZodNumber>;
248
+ nextCursor: z.ZodOptional<z.ZodString>;
249
+ }, z.core.$strip>;
250
+ }>> & {
222
251
  paramsSchema: undefined;
223
252
  }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
224
253
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<unknown, unknown> | undefined;
@@ -367,15 +396,22 @@ export declare const socketLeaves: readonly [{
367
396
  feed?: boolean;
368
397
  } & {
369
398
  querySchema?: undefined;
370
- } & {
399
+ } & import("@emeryld/rrroutes-contract").OutputField<import("@emeryld/rrroutes-contract").Prettify<Omit<import("@emeryld/rrroutes-contract").Prettify<Omit<{
400
+ bodySchema: z.ZodObject<{
401
+ eventName: z.ZodString;
402
+ message: z.ZodOptional<z.ZodJSONSchema>;
403
+ toRoomId: z.ZodNullable<z.ZodArray<z.ZodString>>;
404
+ }, z.core.$strip>;
371
405
  outputSchema: z.ZodObject<{
372
- out: z.ZodObject<{
373
- success: z.ZodBoolean;
374
- eventId: z.ZodOptional<z.ZodString>;
375
- }, z.core.$strip>;
376
- meta: z.ZodOptional<z.ZodString>;
406
+ success: z.ZodBoolean;
407
+ eventId: z.ZodOptional<z.ZodString>;
377
408
  }, z.core.$strip>;
378
- } & {
409
+ }, "feed"> & {
410
+ feed: false;
411
+ }>, "queryExtensionSchema" | "outputMetaSchema"> & {
412
+ queryExtensionSchema: undefined;
413
+ outputMetaSchema: undefined;
414
+ }>> & {
379
415
  paramsSchema: undefined;
380
416
  }>, "outputMetaSchema" | "bodySchema" | "querySchema" | "paramsSchema" | "outputSchema"> & {
381
417
  bodySchema: import("@emeryld/rrroutes-contract").RouteSchema<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emeryld/rrroutes-openapi",
3
- "version": "2.6.7",
3
+ "version": "2.7.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -17,20 +17,18 @@
17
17
  "dist"
18
18
  ],
19
19
  "dependencies": {
20
- "@emeryld/rrroutes-client": "^2.5.5",
21
- "@emeryld/rrroutes-contract": "^2.5.6",
20
+ "@emeryld/rrroutes-client": "^2.7.13",
21
+ "@emeryld/rrroutes-contract": "^2.6.6",
22
22
  "@emotion/cache": "^11.14.0",
23
23
  "@emotion/react": "^11.14.0",
24
24
  "@emotion/styled": "^11.14.1",
25
- "@mui/icons-material": "^7.3.7",
26
- "@mui/material": "^7.3.7",
27
- "@tanstack/react-query": "^5.90.20",
28
- "@xyflow/react": "^12.10.0",
29
- "diff": "^8.0.3",
25
+ "@mui/icons-material": "^7.3.9",
26
+ "@mui/material": "^7.3.9",
27
+ "@tanstack/react-query": "^5.96.2",
30
28
  "react": "^18.3.1",
31
29
  "react-dom": "^18.3.1",
32
- "react-router-dom": "^7.13.0",
33
- "recharts": "^3.7.0",
30
+ "react-router-dom": "^7.14.0",
31
+ "recharts": "^3.8.1",
34
32
  "socket.io-client": "^4.8.3",
35
33
  "zod": "^4.3.6"
36
34
  },
@@ -38,8 +36,7 @@
38
36
  "express": "^5.1.0"
39
37
  },
40
38
  "devDependencies": {
41
- "@jest/globals": "^30.2.0",
42
- "@types/diff": "^8.0.0",
39
+ "@jest/globals": "^30.3.0",
43
40
  "@types/express": "^5.0.6",
44
41
  "@types/react": "^18.3.28",
45
42
  "@types/react-dom": "^18.3.7",
@@ -1,7 +0,0 @@
1
- type DiffViewerProps = {
2
- left: unknown;
3
- right: unknown;
4
- title?: string;
5
- };
6
- export default function DiffViewer({ left, right, title }: DiffViewerProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,15 +0,0 @@
1
- type RequestOption = {
2
- id: string;
3
- method: string;
4
- path: string;
5
- status: number;
6
- createdAt: number;
7
- };
8
- type RequestDiffSelectorProps = {
9
- requests: RequestOption[];
10
- value: string | null;
11
- onChange: (id: string | null) => void;
12
- label?: string;
13
- };
14
- export default function RequestDiffSelector({ requests, value, onChange, label, }: RequestDiffSelectorProps): import("react/jsx-runtime").JSX.Element;
15
- export {};
@@ -1,7 +0,0 @@
1
- import type { SerializableSchema } from '../../types/types.endpoint.js';
2
- type SchemaDiffViewerProps = {
3
- data: unknown;
4
- schema: SerializableSchema;
5
- };
6
- export default function SchemaDiffViewer({ data, schema, }: SchemaDiffViewerProps): import("react/jsx-runtime").JSX.Element;
7
- export {};
@@ -1,10 +0,0 @@
1
- type CopyAsMenuProps = {
2
- method: string;
3
- url: string;
4
- headers?: Record<string, string>;
5
- body?: string;
6
- queryParams?: Record<string, string>;
7
- size?: 'small' | 'medium';
8
- };
9
- export default function CopyAsMenu({ method, url, headers, body, queryParams, size, }: CopyAsMenuProps): import("react/jsx-runtime").JSX.Element;
10
- export {};
@@ -1 +0,0 @@
1
- export default function CopySnackbar(): import("react/jsx-runtime").JSX.Element;
@@ -1,13 +0,0 @@
1
- import { type Node, type Edge, type OnNodesChange, type OnEdgesChange, type OnConnect } from '@xyflow/react';
2
- import '@xyflow/react/dist/style.css';
3
- type FlowCanvasProps = {
4
- nodes: Node[];
5
- edges: Edge[];
6
- onNodesChange: OnNodesChange;
7
- onEdgesChange: OnEdgesChange;
8
- onConnect: OnConnect;
9
- onNodeClick?: (event: React.MouseEvent, node: Node) => void;
10
- onMouseMove?: (event: React.MouseEvent) => void;
11
- };
12
- declare const _default: import("react").NamedExoticComponent<FlowCanvasProps>;
13
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { FlowStepNode } from '../../stores/flowStore.js';
2
- type FlowNodeEditorProps = {
3
- node: FlowStepNode | null;
4
- onUpdate: (nodeId: string, data: unknown) => void;
5
- onClose: () => void;
6
- };
7
- export default function FlowNodeEditor({ node, onUpdate, onClose, }: FlowNodeEditorProps): import("react/jsx-runtime").JSX.Element | null;
8
- export {};
@@ -1,7 +0,0 @@
1
- import type { FlowRunState, FlowStepNode } from '../../stores/flowStore.js';
2
- type FlowRunProgressProps = {
3
- runState: FlowRunState;
4
- nodes: FlowStepNode[];
5
- };
6
- declare const _default: import("react").NamedExoticComponent<FlowRunProgressProps>;
7
- export default _default;
@@ -1,22 +0,0 @@
1
- import type { FlowDefinition, FlowNodeType } from '../../stores/flowStore.js';
2
- import { type PresetTemplate } from '../../utils/flowPresets.js';
3
- type FlowToolbarProps = {
4
- flowName: string;
5
- onFlowNameChange: (name: string) => void;
6
- flows: FlowDefinition[];
7
- activeFlowId: string | null;
8
- onSelectFlow: (id: string | null) => void;
9
- onNewFlow: () => void;
10
- onLoadPreset: (template: PresetTemplate) => void;
11
- onSave: () => void;
12
- onAddNode: (type: FlowNodeType) => void;
13
- onRun: () => void;
14
- isRunning: boolean;
15
- isRecording: boolean;
16
- recordedRequestCount: number;
17
- onStartRecording: () => void;
18
- onStopRecording: () => void;
19
- connectSource: string | null;
20
- };
21
- declare const _default: import("react").NamedExoticComponent<FlowToolbarProps>;
22
- export default _default;
@@ -1,7 +0,0 @@
1
- import type { FlowStepNode, FlowVariable } from '../../stores/flowStore.js';
2
- type FlowVariablePanelProps = {
3
- variables: FlowVariable[];
4
- nodes: FlowStepNode[];
5
- };
6
- declare const _default: import("react").NamedExoticComponent<FlowVariablePanelProps>;
7
- export default _default;
@@ -1,9 +0,0 @@
1
- import type { RequestLogType } from '../../types/types.requestLog.js';
2
- type RecordingReviewDialogProps = {
3
- open: boolean;
4
- requests: RequestLogType[];
5
- onGenerate: (selectedRequests: RequestLogType[], flowName: string) => void;
6
- onCancel: () => void;
7
- };
8
- export default function RecordingReviewDialog({ open, requests, onGenerate, onCancel, }: RecordingReviewDialogProps): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1,7 +0,0 @@
1
- import { type Node, type NodeProps } from '@xyflow/react';
2
- type ConditionNodeData = {
3
- expression: string;
4
- onSelect?: () => void;
5
- };
6
- declare const _default: import("react").NamedExoticComponent<NodeProps<Node<ConditionNodeData>>>;
7
- export default _default;
@@ -1,7 +0,0 @@
1
- import { type Node, type NodeProps } from '@xyflow/react';
2
- type DelayNodeData = {
3
- durationMs: number;
4
- onSelect?: () => void;
5
- };
6
- declare const _default: import("react").NamedExoticComponent<NodeProps<Node<DelayNodeData>>>;
7
- export default _default;
@@ -1,8 +0,0 @@
1
- import { type Node, type NodeProps } from '@xyflow/react';
2
- type ExtractNodeData = {
3
- variableName: string;
4
- jsonPath: string;
5
- onSelect?: () => void;
6
- };
7
- declare const _default: import("react").NamedExoticComponent<NodeProps<Node<ExtractNodeData>>>;
8
- export default _default;
@@ -1,7 +0,0 @@
1
- import { type Node, type NodeProps } from '@xyflow/react';
2
- import type { RequestNodeData } from '../../../stores/flowStore.js';
3
- type RequestNodeDataWithSelect = RequestNodeData & {
4
- onSelect?: () => void;
5
- };
6
- declare const _default: import("react").NamedExoticComponent<NodeProps<Node<RequestNodeDataWithSelect>>>;
7
- export default _default;
@@ -1 +0,0 @@
1
- export default function ActivityBar(): import("react/jsx-runtime").JSX.Element;
@@ -1,17 +0,0 @@
1
- import { type ReactNode } from 'react';
2
- type BentoGridProps = {
3
- children: ReactNode;
4
- };
5
- export declare function BentoGrid({ children }: BentoGridProps): import("react/jsx-runtime").JSX.Element;
6
- type BentoRowProps = {
7
- sizes?: number[];
8
- children: ReactNode;
9
- };
10
- export declare function BentoRow({ sizes: initialSizes, children }: BentoRowProps): import("react/jsx-runtime").JSX.Element;
11
- type BentoCardProps = {
12
- title?: string;
13
- actions?: ReactNode;
14
- children: ReactNode;
15
- };
16
- export declare function BentoCard({ title, actions, children }: BentoCardProps): import("react/jsx-runtime").JSX.Element;
17
- export {};
@@ -1 +0,0 @@
1
- export default function ContentArea(): import("react/jsx-runtime").JSX.Element;
@@ -1,17 +0,0 @@
1
- import { type ComponentType, type ReactElement } from 'react';
2
- export type PanelGroup = 'api' | 'data' | 'tools' | 'system';
3
- export type PanelDefinition = {
4
- id: string;
5
- title: string;
6
- icon: string;
7
- iconElement: ReactElement;
8
- group: PanelGroup;
9
- showInSidebar: boolean;
10
- component: React.LazyExoticComponent<ComponentType<unknown>>;
11
- };
12
- declare const registry: Record<string, PanelDefinition>;
13
- export declare function getPanelDefinition(id: string): PanelDefinition | undefined;
14
- export declare function getAllPanels(): PanelDefinition[];
15
- export declare function getPanelIds(): string[];
16
- export declare function getSidebarPanels(): PanelDefinition[];
17
- export default registry;
@@ -1,11 +0,0 @@
1
- type Phase = {
2
- label: string;
3
- durationMs: number;
4
- color?: string;
5
- };
6
- type TimingBreakdownProps = {
7
- durationMs: number;
8
- phases?: Phase[];
9
- };
10
- export default function TimingBreakdown({ durationMs, phases, }: TimingBreakdownProps): import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,13 +0,0 @@
1
- import type { RequestTimelineEvent } from './types.js';
2
- type SubPhase = {
3
- label: string;
4
- percent: number;
5
- };
6
- type TimelinePhaseBarProps = {
7
- kind: RequestTimelineEvent['kind'];
8
- widthPercent: number;
9
- label?: string;
10
- subPhases?: Array<SubPhase>;
11
- };
12
- export default function TimelinePhaseBar({ kind, widthPercent, label, subPhases, }: TimelinePhaseBarProps): import("react/jsx-runtime").JSX.Element;
13
- export {};
@@ -1,12 +0,0 @@
1
- import type { RequestTimelineEvent } from './types.js';
2
- type TimelineWaterfallEvent = {
3
- event: RequestTimelineEvent;
4
- deltaMs: number | null;
5
- };
6
- type TimelineWaterfallProps = {
7
- events: Array<TimelineWaterfallEvent>;
8
- maxDeltaMs: number;
9
- onEventClick?: (event: RequestTimelineEvent) => void;
10
- };
11
- export default function TimelineWaterfall({ events, maxDeltaMs, onEventClick, }: TimelineWaterfallProps): import("react/jsx-runtime").JSX.Element;
12
- export {};
@@ -1,17 +0,0 @@
1
- import { type Edge, type Node } from '@xyflow/react';
2
- import { type Dispatch, type SetStateAction } from 'react';
3
- import type { FlowStepNode } from '../stores/flowStore.js';
4
- type UseFlowKeyboardShortcutsArgs = {
5
- selectedNode: FlowStepNode | null;
6
- setSelectedNode: Dispatch<SetStateAction<FlowStepNode | null>>;
7
- connectSource: string | null;
8
- setConnectSource: Dispatch<SetStateAction<string | null>>;
9
- setNodes: Dispatch<SetStateAction<Node[]>>;
10
- setEdges: Dispatch<SetStateAction<Edge[]>>;
11
- mousePosRef: React.RefObject<{
12
- x: number;
13
- y: number;
14
- }>;
15
- };
16
- export declare function useFlowKeyboardShortcuts({ selectedNode, setSelectedNode, connectSource, setConnectSource, setNodes, setEdges, mousePosRef, }: UseFlowKeyboardShortcutsArgs): void;
17
- export {};
@@ -1,13 +0,0 @@
1
- import type { FlowDefinition } from '../stores/flowStore.js';
2
- import type { RequestLogType } from '../types/types.requestLog.js';
3
- type UseFlowRecordingReturn = {
4
- isRecording: boolean;
5
- recordedRequests: RequestLogType[];
6
- showReviewDialog: boolean;
7
- handleStartRecording: () => void;
8
- handleStopRecording: () => void;
9
- handleGenerateFlow: (selectedRequests: RequestLogType[], flowName: string) => FlowDefinition;
10
- handleCancelRecording: () => void;
11
- };
12
- export declare function useFlowRecording(): UseFlowRecordingReturn;
13
- export {};
@@ -1 +0,0 @@
1
- export default function DiffPage(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export default function FlowBuilderPage(): import("react/jsx-runtime").JSX.Element;