| 2 | import { PAGINATION } from "@/config/constants"; |
| 3 | |
| 4 | interface UseEntitySearchProps<T extends { |
| 5 | search: string; |
| 6 | page: number |
| 7 | }> { |
| 8 | params: T; |
| 9 | setParams: (params: T) => void; |
| 10 | debounceMs?: number; |
| 11 | } |
| 12 | |
| 13 | export function useEntitySearch<T extends { |
| 14 | search: string; |
nothing calls this directly
no outgoing calls
no test coverage detected