(overrides: Record<string, unknown> = {})
| 72 | |
| 73 | /** Minimal ScheduleRecord-like object */ |
| 74 | const makeRecord = (overrides: Record<string, unknown> = {}) => ({ |
| 75 | id: 'rec-1', |
| 76 | targetId: 'flow-1', |
| 77 | triggerType: ScheduleTriggerType.AGENTFLOW, |
| 78 | cronExpression: '* * * * *', |
| 79 | timezone: 'UTC', |
| 80 | enabled: true, |
| 81 | workspaceId: 'ws-1', |
| 82 | scheduleInputMode: 'text' as const, |
| 83 | defaultInput: 'hello', |
| 84 | endDate: undefined as Date | undefined, |
| 85 | nextRunAt: undefined as Date | undefined, |
| 86 | ...overrides |
| 87 | }) |
| 88 | |
| 89 | /** Minimal ChatFlow-like object of AGENTFLOW type */ |
| 90 | const makeChatFlow = (overrides: Record<string, unknown> = {}) => ({ |
no outgoing calls
no test coverage detected