UNPKG

@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

8 lines 427 B
import { ClientAction, ModelAction, ModelName } from "../types"; export declare const SPECIFIC_IDS_TO_RUN_ACTION: { DELETE: string; }; export declare const useAction: <M extends ModelName>(resource: M, ids: string[] | number[]) => { runAction: (modelAction: Exclude<ModelAction<M>, ClientAction<M>> | Omit<Exclude<ModelAction<M>, ClientAction<M>>, "action">) => Promise<void>; }; //# sourceMappingURL=useAction.d.ts.map