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:
parent
4a3d2012be
commit
c284ad5778
16 changed files with 23 additions and 21 deletions
|
|
@ -12,7 +12,13 @@ import type {
|
|||
OrderStatus, StallCart, FilterData, SortOptions,
|
||||
PaymentRequest, PaymentStatus
|
||||
} from '../types/market'
|
||||
// Import types that are used in the store implementation
|
||||
|
||||
// Re-export types for external use
|
||||
export type {
|
||||
Market, Stall, Product, Order, ShippingZone,
|
||||
OrderStatus, StallCart, FilterData, SortOptions,
|
||||
PaymentRequest, PaymentStatus
|
||||
} from '../types/market'
|
||||
|
||||
export const useMarketStore = defineStore('market', () => {
|
||||
const auth = useAuth()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue