(output: CreateOutput)
| 15 | return `${input.cron ?? ''}${input.prompt ? `: ${truncate(input.prompt, 60, true)}` : ''}`; |
| 16 | } |
| 17 | export function renderCreateResultMessage(output: CreateOutput): React.ReactNode { |
| 18 | return <MessageResponse> |
| 19 | <Text> |
| 20 | Scheduled <Text bold>{output.id}</Text>{' '} |
| 21 | <Text dimColor>({output.humanSchedule})</Text> |
| 22 | </Text> |
| 23 | </MessageResponse>; |
| 24 | } |
| 25 | |
| 26 | // --- CronDelete ------------------------------------------------------------- |
| 27 |
nothing calls this directly
no outgoing calls
no test coverage detected