mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 16:51:13 -05:00
feat: Extract moderation filter and sort logic
This commit is contained in:
@@ -42,3 +42,16 @@ export type {
|
||||
ModerationConfig,
|
||||
DeleteSubmissionConfig,
|
||||
} from './actions';
|
||||
|
||||
// Sorting utilities
|
||||
export {
|
||||
sortModerationItems,
|
||||
getDefaultSortConfig,
|
||||
loadSortConfig,
|
||||
saveSortConfig,
|
||||
toggleSortDirection,
|
||||
getSortFieldLabel,
|
||||
isDefaultSortConfig,
|
||||
} from './sorting';
|
||||
|
||||
export type { SortConfig, SortField, SortDirection } from '@/types/moderation';
|
||||
|
||||
Reference in New Issue
Block a user