/** * Backward-compatible wrapper around useEntityHistory. * Real logic lives in useEntityHistory.ts. */ import { useEntityHistory, type EntityHistoryActor, type EntityHistoryEntry } from './useEntityHistory' export type ProductHistoryActor = EntityHistoryActor export type ProductHistoryEntry = EntityHistoryEntry export function useProductHistory() { return useEntityHistory('product') }