code: nextjs,frontends,list (3 files)

This commit is contained in:
2025-12-26 03:41:47 +00:00
parent 14790edc09
commit 33c2d17f21
3 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import { prisma } from '../../core/prisma'
import { prisma } from '../../../config/prisma'
export async function closeConnection(): Promise<void> {
await prisma.$disconnect()

View File

@@ -1,5 +1,5 @@
import { buildWhereClause } from './build-where-clause'
import { getModel } from './get-model'
import { buildWhereClause } from '../../utils/build-where-clause'
import { getModel } from '../../utils/get-model'
export async function findFirstEntity(
entity: string,

View File

@@ -1,6 +1,6 @@
import { buildWhereClause } from './build-where-clause'
import { getModel } from './get-model'
import type { ListOptions, ListResult } from './types'
import { buildWhereClause } from '../../utils/build-where-clause'
import { getModel } from '../../utils/get-model'
import type { ListOptions, ListResult } from '../../adapter/types'
export async function listEntities(
entity: string,