MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / UseEntitySearchProps

Interface UseEntitySearchProps

src/hooks/use-entity-search.tsx:4–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected