brands-in-shops feature implemented

This commit is contained in:
2025-05-27 23:41:04 +02:00
parent 7037be370e
commit 2846bcbb1c
9 changed files with 559 additions and 36 deletions

View File

@@ -122,4 +122,19 @@ export interface ShopStats {
total_spent: number;
visit_count: number;
avg_per_visit: number;
}
export interface BrandInShop {
id: number;
shop_id: number;
brand_id: number;
created_at: string;
updated_at?: string;
shop: Shop;
brand: Brand;
}
export interface BrandInShopCreate {
shop_id: number;
brand_id: number;
}