Refactor to vertical slice

This commit is contained in:
Jose Selesan
2026-06-26 14:05:37 -03:00
parent 3949c9add1
commit c8477de5d2
149 changed files with 5011 additions and 5127 deletions

View File

@@ -0,0 +1,5 @@
import { db } from '@/lib/prisma';
export async function getComplexBySlug(slug: string) {
return db.complex.findUnique({ where: { complexSlug: slug } });
}