@premieroctet/next-admin
Version:
Next-Admin provides a customizable and turnkey admin dashboard for applications built with Next.js and powered by the Prisma ORM. It aims to simplify the development process by providing a turnkey admin system that can be easily integrated into your proje
12 lines • 592 B
TypeScript
import { ModelName, Schema } from "../types";
type UseAdvancedSearchParams<M extends ModelName> = {
resource: M;
schema: Schema;
};
declare const useAdvancedSearch: <M extends ModelName>({ resource, schema, }: UseAdvancedSearchParams<M>) => {
uiBlocks: import("../utils/advancedSearch").UIQueryBlock[] | null | undefined;
setUiBlocks: import("react").Dispatch<import("react").SetStateAction<import("../utils/advancedSearch").UIQueryBlock[] | null | undefined>>;
submitSearch: () => void;
};
export default useAdvancedSearch;
//# sourceMappingURL=useAdvancedSearch.d.ts.map