Remove legacy compatibility layer and enforce modular architecture

- Delete src/stores/market.ts compatibility re-export file
- Update 15 files to import from proper module path @/modules/market/stores/market
- Add necessary type exports to market store for external consumers
- Remove empty src/stores/ directory completely
- Enforce clean modular architecture without global store shortcuts

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
padreug 2025-09-07 02:30:37 +02:00
parent 4a3d2012be
commit c284ad5778
16 changed files with 23 additions and 21 deletions

View file

@ -101,12 +101,12 @@
<script setup lang="ts">
import { ref } from 'vue'
import { useMarketStore } from '@/stores/market'
import { useMarketStore } from '@/modules/market/stores/market'
import { Card, CardContent, CardFooter, CardTitle } from '@/components/ui/card'
import { Button } from '@/components/ui/button'
import { Badge } from '@/components/ui/badge'
import { ShoppingCart } from 'lucide-vue-next'
import type { Product } from '@/stores/market'
import type { Product } from '@/modules/market/stores/market'
interface Props {
product: Product