Tasks get an ordered checklist (spec 8.2, phase 3): items are checked done with who and when recorded, also by subcontractors attached to the job; others add, rename, reorder and remove items. Items go with their task. The spec gets a phase 3 chapter (18.1), and open questions move to chapter 19. Co-Authored-By: Claude Opus 5.5 <[email protected]>
19 lines
399 B
PHP
19 lines
399 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Modules\Jobs\Application\Contracts;
|
|
|
|
use App\Modules\Jobs\Application\DTOs\ChecklistItemSummary;
|
|
|
|
interface ChecklistQueries
|
|
{
|
|
/**
|
|
* The task's checklist in its order; empty when the task belongs to
|
|
* another job.
|
|
*
|
|
* @return list<ChecklistItemSummary>
|
|
*/
|
|
public function checklistOf(int $jobId, int $taskId): array;
|
|
}
|