feat(schedules): add 'select all N' across pages

- Add GetAllScheduleIdsAction + GetFilteredScheduleIdsTask
- Add GET /dashboard/schedules/all-ids route returning filtered IDs
- Add selectAllFiltered method to Index.vue
- Button 'Выбрать все N' appears when total > per-page count
This commit is contained in:
F4ilji
2026-08-20 11:31:04 +05:00
parent 24387d6767
commit e6d223d15c
5 changed files with 85 additions and 0 deletions
@@ -0,0 +1,17 @@
<?php
namespace App\Containers\Dashboard\Actions\Schedules;
use App\Containers\Dashboard\Tasks\Schedules\GetFilteredScheduleIdsTask;
class GetAllScheduleIdsAction
{
public function __construct(
private readonly GetFilteredScheduleIdsTask $task,
) {}
public function run(array $filters = []): array
{
return $this->task->run($filters);
}
}