detail page done
This commit is contained in:
45
src/widgets/history/index.ts
Normal file
45
src/widgets/history/index.ts
Normal 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';
|
||||
Reference in New Issue
Block a user