@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
18 lines • 482 B
TypeScript
export type Query = Record<string, string | string[] | number | null>;
export type PushParams = {
pathname: string;
query?: Query;
};
type Router = {
push: (params: PushParams) => void;
replace: (params: PushParams) => void;
refresh: () => void;
setQuery: (query: Query, merge?: boolean) => void;
};
export type RouterInterface = {
router: Router;
query: Record<string, string>;
pathname: string;
};
export {};
//# sourceMappingURL=types.d.ts.map