import { container } from '@/application/container'; /** * Backward-compatible facade — data lives in infrastructure layer */ export const products = container.productRepository.findAll(); export function getProductBySlug(slug: string) { return container.getProductBySlug.execute(slug); } export function getProductsByCategory(category: string) { return container.productRepository.findByCategory(category); } export function getFeaturedProducts() { return container.productRepository.findFeatured(); }