(jobId: string, workspaceId: string)
| 91 | } |
| 92 | |
| 93 | const activeJobCondition = (jobId: string, workspaceId: string) => |
| 94 | and( |
| 95 | eq(workflowSchedule.id, jobId), |
| 96 | eq(workflowSchedule.sourceWorkspaceId, workspaceId), |
| 97 | eq(workflowSchedule.sourceType, 'job'), |
| 98 | isNull(workflowSchedule.archivedAt) |
| 99 | ) |
| 100 | |
| 101 | function parseOneTimeRun(time: string, timezone: string): Date | null { |
| 102 | let timeStr = time |
no test coverage detected