Refactor: snake_case → camelCase dans blueprints, templates et vues
- Blueprints : renommage des champs (member_name, related_articles, background_video, play_links, images_gallery, external_links) et des noms de sections - Templates JSON PHP : clés de sortie et appels ->method() en camelCase - Vues Svelte (Play, Portfolio) : accès aux données alignés Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d8a0fde34c
commit
69859cc60f
19 changed files with 63 additions and 76 deletions
|
|
@ -8,8 +8,8 @@ $specificData = [
|
|||
'lettering' => $game->lettering()->toFile()?->url(),
|
||||
'description' => $game->description()->value(),
|
||||
'thumbnail' => $game->thumbnail()->toFile()?->url(),
|
||||
'background_image' => $game->background_image()->toFile()?->url(),
|
||||
'play_links' => $game->play_links()->toStructure()->map(fn($l) => [
|
||||
'backgroundImage' => $game->backgroundImage()->toFile()?->url(),
|
||||
'playLinks' => $game->playLinks()->toStructure()->map(fn($l) => [
|
||||
'label' => $l->label()->value(),
|
||||
'url' => $l->url()->value(),
|
||||
])->values(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue