mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-30 16:54:57 +00:00
code: nextjs,frontends,list (3 files)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { prisma } from '../../core/prisma'
|
||||
import { prisma } from '../../../config/prisma'
|
||||
|
||||
export async function closeConnection(): Promise<void> {
|
||||
await prisma.$disconnect()
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user