*/ public function openTasksOf(int $userId): array; /** * The user's own jobs (5.6) that are still open (before done), by due * date (none last), then newest first. * * @return list */ public function openJobsOf(int $userId): array; /** * Jobs by Kanban status key (archived left out), every status included. * * @return array */ public function jobCountsByStatus(): array; /** * Open jobs (before done) whose due date is before the day. */ public function overdueJobCount(string $today): int; /** * Open tasks whose due date is before the day. */ public function overdueTaskCount(string $today): int; /** * The open tasks that have been late the longest. * * @return list */ public function oldestOverdueTasks(string $today, int $limit): array; }