/** * Backward-compatible wrapper around useEntityHistory. * Real logic lives in useEntityHistory.ts. */ import { useEntityHistory, type EntityHistoryActor, type EntityHistoryEntry } from './useEntityHistory' export type ComponentHistoryActor = EntityHistoryActor export type ComponentHistoryEntry = EntityHistoryEntry export function useComponentHistory() { return useEntityHistory('composant') }