feat(admin): merge Site Settings and Wishlist into single Configurações panel

Single-wishlist apps no longer need two separate edit sections.
Both siteTitle/homepageSubtext and wishlist fields now save together
in one action from a unified Configurações card.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Adriano Belisario
2026-05-03 21:10:58 +00:00
parent 21e8b7e137
commit 3df9a67b97
5 changed files with 126 additions and 64 deletions

View File

@@ -82,6 +82,8 @@ export async function POST(
const {
name,
description,
price,
currency,
quantity,
imageUrl,
purchaseUrls,
@@ -126,6 +128,8 @@ export async function POST(
wishlistId: id,
name,
description: description || null,
price: price != null ? Number(price) : null,
currency: currency || 'BRL',
quantity: quantity || 1,
imageUrl: imageUrl || null,
purchaseUrls: purchaseUrls || null,