(ms: number)
| 64 | } |
| 65 | |
| 66 | function formatIntervalLabel(ms: number): string { |
| 67 | if (ms >= 86400000) return `Every ${Math.round(ms / 86400000)}d`; |
| 68 | if (ms >= 3600000) return `Every ${Math.round(ms / 3600000)}h`; |
| 69 | if (ms >= 60000) return `Every ${Math.round(ms / 60000)}m`; |
| 70 | return `Every ${Math.round(ms / 1000)}s`; |
| 71 | } |
| 72 | |
| 73 | function getJobEmoji(agentId: string): string { |
| 74 | const emojis: Record<string, string> = { |
no outgoing calls
no test coverage detected