| 75 | } |
| 76 | |
| 77 | function workflowRow(overrides: Record<string, unknown> = {}) { |
| 78 | return { |
| 79 | id: 'log-1', |
| 80 | workflowId: 'wf-1', |
| 81 | executionId: 'exec-1', |
| 82 | deploymentVersionId: null, |
| 83 | level: 'info', |
| 84 | status: 'success', |
| 85 | trigger: 'manual', |
| 86 | startedAt: new Date('2026-01-01T00:00:00.000Z'), |
| 87 | endedAt: new Date('2026-01-01T00:00:01.000Z'), |
| 88 | totalDurationMs: 1000, |
| 89 | costTotal: '0.1', |
| 90 | createdAt: new Date('2026-01-01T00:00:00.000Z'), |
| 91 | workflowName: 'My Workflow', |
| 92 | workflowDescription: null, |
| 93 | workflowFolderId: null, |
| 94 | workflowUserId: 'user-1', |
| 95 | workflowWorkspaceId: 'ws-1', |
| 96 | workflowCreatedAt: new Date('2026-01-01T00:00:00.000Z'), |
| 97 | workflowUpdatedAt: new Date('2026-01-01T00:00:00.000Z'), |
| 98 | pausedStatus: null, |
| 99 | pausedTotalPauseCount: 0, |
| 100 | pausedResumedCount: 0, |
| 101 | deploymentVersion: null, |
| 102 | deploymentVersionName: null, |
| 103 | sortValue: new Date('2026-01-01T00:00:00.000Z'), |
| 104 | ...overrides, |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | function jobRow(overrides: Record<string, unknown> = {}) { |
| 109 | return { |