import type { DMMF } from '@prisma/generator-helper' ; import type { GetDMMFOptions } from '@prisma/sdk' ; import { getDMMF as getRawDMMF } from '@prisma/sdk' ; import type { DMMF as PrismaClientDMMF } from '../runtime/dmmf-types' ; import { externalToInternalDmmf } from '../runtime/externalToInternalDmmf' ; export function getPrismaClientDMMF ( dmmf ) { return externalToInternalDmmf ( dmmf ) ; } export async function getDMMF ( options ) { const dmmf = await getRawDMMF ( options ) ; return getPrismaClientDMMF ( dmmf ) ; }