From ee832d0f9687dc49c1d5cf71f0147e5c1839d743 Mon Sep 17 00:00:00 2001 From: padreug Date: Sun, 2 Feb 2025 17:17:15 +0100 Subject: [PATCH] add directory item type --- src/types/directory.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/types/directory.ts diff --git a/src/types/directory.ts b/src/types/directory.ts new file mode 100644 index 0000000..58a69e7 --- /dev/null +++ b/src/types/directory.ts @@ -0,0 +1,13 @@ +export interface DirectoryItem { + id: string + name: string + category: 'restaurant' | 'taxi' | 'ferry' | 'retail' | 'other' + description: string + address?: string + contact?: string + coordinates?: { + lat: number + lng: number + } + imageUrl?: string +} \ No newline at end of file