57 lines
1021 B
TypeScript
57 lines
1021 B
TypeScript
export type {
|
|
/**
|
|
* Top-level configuration for all filters
|
|
*/
|
|
FilterConfig,
|
|
/**
|
|
* Configuration for a single grouping of filter properties
|
|
*/
|
|
FilterGroupConfig,
|
|
} from './types/filter';
|
|
|
|
/**
|
|
* Global reactive filter state
|
|
*/
|
|
export {
|
|
/**
|
|
* Low-level property selection store
|
|
*/
|
|
filtersStore,
|
|
} from './state/filters.svelte';
|
|
|
|
/**
|
|
* Main filter controller
|
|
*/
|
|
export {
|
|
/**
|
|
* High-level manager for syncing search and filters
|
|
*/
|
|
filterManager,
|
|
} from './state/manager.svelte';
|
|
|
|
/**
|
|
* Sorting logic
|
|
*/
|
|
export {
|
|
/**
|
|
* Map of human-readable labels to API sort keys
|
|
*/
|
|
SORT_MAP,
|
|
/**
|
|
* List of all available sort options for the UI
|
|
*/
|
|
SORT_OPTIONS,
|
|
/**
|
|
* Valid sort key values
|
|
*/
|
|
type SortApiValue,
|
|
/**
|
|
* UI model for a single sort option
|
|
*/
|
|
type SortOption,
|
|
/**
|
|
* Reactive store for the current sort selection
|
|
*/
|
|
sortStore,
|
|
} from './store/sortStore.svelte';
|