import { type TableConfig, useTableManager } from '@/hooks/use-table-manager';
import { type IRevision } from '@/shared/types/flottes/revision';
import { _revisions, DEFAULT_REVISION_TABLE_HEAD } from '@/shared/_mock/flottes/_revision';

const revisionConfig: TableConfig<IRevision> = {
  initialData: _revisions,
  defaultTableHead: DEFAULT_REVISION_TABLE_HEAD,
};

export function useRevisionTable() {
  return useTableManager<IRevision>(revisionConfig);
} 