detail page done

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-03-31 16:47:18 +05:00
parent 0495f16e5e
commit 3fe54b5c3c
40 changed files with 2004 additions and 241 deletions

View File

@@ -0,0 +1,45 @@
// Pages
export { HistoryPage } from './ui/historyPage';
// Components
export { HistoryTable } from './ui/historyTable';
export { HistoryTableRow } from './ui/historyTableRow';
export { ResultBadge } from './ui/resultBadge';
export { Pagination } from './ui/pagination';
export { EmptyState, SkeletonRow, ErrorState } from './ui/tableStates';
// Hook
export { useHistory } from './lib/useHistory';
// Utils
export {
fetchPlagiarismHistory,
fetchPlagiarismDetail,
formatDate,
formatAmount,
truncateFileName,
} from './lib/utils';
// Types
export type {
PlagiarismCheck,
PlagiarismCheckDetail,
CheckResult,
HistoryApiResponse,
HistoryTableProps,
HistoryTableRowProps,
ResultBadgeProps,
FetchStatus,
HistoryState,
} from './lib/types';
// Constants
export {
TABLE_COLUMNS,
RESULT_CONFIG,
DEFAULT_PAGE_SIZE,
API_ENDPOINTS,
} from './lib/constants';
// Mock (for development/testing)
export { DEFAULT_HISTORY_ITEMS } from './lib/mock';