mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-06-30 12:55:02 +00:00
addded page.tsx
This commit is contained in:
parent
0393299936
commit
0a93f0b743
1 changed files with 0 additions and 6 deletions
|
|
@ -7,12 +7,6 @@ import { type getUploadedFiles } from "@/app/db/surveyDB/schema/surveyDB";
|
|||
import { EmptyObject } from "react-hook-form";
|
||||
|
||||
|
||||
export async function fetchDocuments(uprn: number): Promise<getUploadedFiles> {
|
||||
return surveyDB.query.uploaded_files.findMany({
|
||||
where: eq(uploaded_files.uprn, String(uprn)),
|
||||
});
|
||||
}
|
||||
|
||||
async function getDocuments(
|
||||
uprn: number
|
||||
): Promise< getUploadedFiles> {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue