From c0ad944d0b3b96ea531b3dc4a3d7d00075164c88 Mon Sep 17 00:00:00 2001 From: padreug Date: Sun, 2 Feb 2025 23:29:56 +0100 Subject: [PATCH] add local, url and social fields --- src/types/directory.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/types/directory.ts b/src/types/directory.ts index 86ac97e..61dba3a 100644 --- a/src/types/directory.ts +++ b/src/types/directory.ts @@ -2,7 +2,9 @@ export interface DirectoryItem { id: string name: string category: 'restaurant' | 'taxi' | 'lancha' | 'retail' | 'other' + local?: boolean description?: string + url?: string address?: string town?: string mapsUrl?: string @@ -14,4 +16,10 @@ export interface DirectoryItem { lng: number } imageUrl?: string + social?: { + facebook?: string + instagram?: string + twitter?: string + youtube?: string + } }