Split queries into prisma and sql.

This commit is contained in:
Mike Cao
2025-09-29 16:55:07 -07:00
parent 1a66e3df73
commit b9fbbc6453
69 changed files with 117 additions and 115 deletions

View File

@@ -1,5 +1,5 @@
import { parseRequest } from '@/lib/request';
import { deleteReport, getReport, updateReport } from '@/queries';
import { deleteReport, getReport, updateReport } from '@/queries/prisma';
import { canDeleteReport, canUpdateReport, canViewReport } from '@/permissions';
import { unauthorized, json, notFound, ok } from '@/lib/response';
import { reportSchema } from '@/lib/schema';