feat(catalog): add support recipes monorepos

This commit is contained in:
Benjamin Nussbaum 2025-09-21 17:35:50 +02:00
parent e9037ef5d7
commit 0c5041a8ca
5 changed files with 268 additions and 11 deletions

View file

@ -140,7 +140,7 @@ class PlaylistItem extends Model
if (! $this->isMashup()) {
return view('trmnl-layouts.single', [
'colorDepth' => $device?->deviceModel?->color_depth,
'deviceVariant' => $device?->deviceModel?->name ?? 'og',
'deviceVariant' => $device?->deviceModel->name ?? 'og',
'scaleLevel' => $device?->deviceModel?->scale_level,
'slot' => $this->plugin instanceof Plugin
? $this->plugin->render('full', false)
@ -164,7 +164,7 @@ class PlaylistItem extends Model
return view('trmnl-layouts.mashup', [
'colorDepth' => $device?->deviceModel?->color_depth,
'deviceVariant' => $device?->deviceModel?->name ?? 'og',
'deviceVariant' => $device?->deviceModel->name ?? 'og',
'scaleLevel' => $device?->deviceModel?->scale_level,
'mashupLayout' => $this->getMashupLayoutType(),
'slot' => implode('', $pluginMarkups),