feat: configure and display public seller descriptions
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-10 07:40:18 -04:00
parent e630a89e8d
commit 94c37250d1
22 changed files with 158 additions and 6 deletions
@@ -273,6 +273,7 @@ export function createListingRepository(db) {
marketValueCurrency: override?.currency ?? valuation?.currency ?? null,
marketValueUpdatedAt: override?.createdAt ?? valuation?.calculatedAt ?? null,
sellerDisplayName: result.sellerDisplayName,
sellerDescription: result.sellerSettings?.general?.publicDescription || null,
sellerContactEmail: result.sellerSettings?.general?.publicContactEmail ?? null,
sellerContactPhone: result.sellerSettings?.general?.publicContactPhone ?? null,
};
@@ -47,6 +47,7 @@ export function createProductRepository(db) {
return {
...result.product,
sellerDisplayName: result.sellerDisplayName,
sellerDescription: result.sellerSettings?.general?.publicDescription || null,
sellerContactEmail: result.sellerSettings?.general?.publicContactEmail ?? null,
sellerContactPhone: result.sellerSettings?.general?.publicContactPhone ?? null,
};