fix: renders media exists badge on movie results

This commit is contained in:
2025-07-13 22:21:04 -05:00
parent b42981b2a1
commit 31e364d691
10 changed files with 83 additions and 64 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Library\Action\Result;
use App\Library\Dto\MediaFileDto;
use OneToMany\RichBundle\Contract\ResultInterface;
class LibrarySearchResult implements ResultInterface
@@ -9,7 +10,7 @@ class LibrarySearchResult implements ResultInterface
public function __construct(
public object|array $input,
public bool $exists,
public ?\SplFileInfo $file = null,
public ?MediaFileDto $file = null,
public ?object $ptn = null,
) {}
}