fix(35-01): extend ItemWithCategory with image and currency fields (FIX-02)

- Add imageUrl, dominantColor, cropZoom, cropX, cropY, priceCurrency to interface
- Server already returns these fields via withImageUrls(); type was just incomplete
This commit is contained in:
2026-04-19 19:41:44 +02:00
parent 7fca92985a
commit b43a932217

View File

@@ -40,6 +40,12 @@ interface ItemWithCategory {
updatedAt: string; updatedAt: string;
categoryName: string; categoryName: string;
categoryIcon: string; categoryIcon: string;
imageUrl: string | null;
dominantColor: string | null;
cropZoom: number | null;
cropX: number | null;
cropY: number | null;
priceCurrency: string | null;
} }
export function useItems() { export function useItems() {