| 16 | } from "lucide-react"; |
| 17 | |
| 18 | export interface CronJob { |
| 19 | id: string; |
| 20 | agentId: string; |
| 21 | name: string; |
| 22 | enabled: boolean; |
| 23 | createdAtMs?: number; |
| 24 | updatedAtMs?: number; |
| 25 | schedule: string | Record<string, unknown>; |
| 26 | sessionTarget?: string; |
| 27 | sessionTargetLabel?: string; |
| 28 | sessionTargetDescription?: string; |
| 29 | payload?: Record<string, unknown>; |
| 30 | delivery?: Record<string, unknown>; |
| 31 | deliverySummary?: string; |
| 32 | state?: Record<string, unknown>; |
| 33 | description?: string; |
| 34 | detailsText?: string; |
| 35 | scheduleDisplay?: string; |
| 36 | timezone?: string; |
| 37 | nextRun?: string | null; |
| 38 | nextRunAtMs?: number | null; |
| 39 | lastRun?: string | null; |
| 40 | lastRunAtMs?: number | null; |
| 41 | recurrenceKind?: "once" | "recurring" | "interval" | "unknown"; |
| 42 | recurrenceLabel?: string; |
| 43 | scheduleKind?: string | null; |
| 44 | lastRunStatus?: string | null; |
| 45 | lastDurationMs?: number | null; |
| 46 | lastError?: string | null; |
| 47 | consecutiveErrors?: number; |
| 48 | lastDeliveryStatus?: string | null; |
| 49 | hasIssue?: boolean; |
| 50 | } |
| 51 | |
| 52 | interface CronJobCardProps { |
| 53 | job: CronJob; |
nothing calls this directly
no outgoing calls
no test coverage detected