(queuedAt: Date)
| 63 | sql`${workflowSchedule.deploymentVersionId} = (select ${workflowDeploymentVersion.id} from ${workflowDeploymentVersion} where ${workflowDeploymentVersion.workflowId} = ${workflowSchedule.workflowId} and ${workflowDeploymentVersion.isActive} = true)` |
| 64 | |
| 65 | const workflowScheduleFilter = (queuedAt: Date) => |
| 66 | and( |
| 67 | dueFilter(queuedAt), |
| 68 | sql`(${workflowSchedule.sourceType} = 'workflow' OR ${workflowSchedule.sourceType} IS NULL)`, |
| 69 | activeWorkflowDeploymentFilter() |
| 70 | ) |
| 71 | |
| 72 | const jobScheduleFilter = (queuedAt: Date) => |
| 73 | and(dueFilter(queuedAt), sql`${workflowSchedule.sourceType} = 'job'`) |
no test coverage detected