public function index(Request $request): View 	{ 		$disk = $request->disk;  		$disks = Media::without('model')->select('disk')->groupBy('disk')->orderBy('disk')->get();  		$records = Media::without('model') 			->selectRaw('model_type, sum(size) as files_size, count(*) as files_count') 			->when($disk, function (object $query, string $disk): void { 				$query->where('disk', $disk); 			}) 			->groupBy('model_type') 			->orderBy('model_type') 			->get();  		return view('storage.list', compact('disks', 'records', 'disk')); 	}