feat: implement shop CRUD operations and fix address deletion bug

- Add shop creation, editing, and deletion functionality
- Create AddShopModal and ConfirmDeleteModal components
- Add missing backend PUT/DELETE endpoints for shops
- Fix address field not clearing when edited to empty value
This commit is contained in:
2025-05-25 12:56:56 +02:00
parent cd39ac1fe8
commit 500cb8983c
5 changed files with 355 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ export interface Shop {
export interface ShopCreate {
name: string;
city: string;
address?: string;
address?: string | null;
}
export interface GroceryInEvent {