nextjs-panel
Version:
Schema-based admin panel generator for Next.js using Prisma and React components.
14 lines (13 loc) • 344 B
TypeScript
import { NextRequest, NextResponse } from 'next/server';
export declare function GET(): Promise<NextResponse<{
name: string;
email: string;
password: string;
id: number;
}[]>>;
export declare function POST(req: NextRequest): Promise<NextResponse<{
name: string;
email: string;
password: string;
id: number;
}>>;