import { createEntityHook } from './useEntityBase';
import type { AuditLogDTO } from '@/types';
import { ENDPOINTS } from '@/constants/endpoints';
import i18n from "@/lib/i18n";

export const useAuditLogs = createEntityHook<AuditLogDTO, never, never>(
  i18n.t('hooks.useAuditLogs.text_1'),
  ENDPOINTS.AUDIT_LOGS.LIST,
);