Initial SeConectai briefing system

This commit is contained in:
2026-10-04 10:42:23 -03:00
commit 45cd8d2f03
163 changed files with 12659 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import { db } from "@/lib/db";
export async function getEstruturaBriefing() {
return db.secao.findMany({
where: { ativo: true },
orderBy: { ordem: "asc" },
include: {
perguntas: {
where: { ativo: true },
orderBy: { ordem: "asc" },
include: {
ajuda: true
}
}
}
});
}