(options: GetDMMFOptions)
| 56 | } |
| 57 | |
| 58 | export async function getInternalDMMF(options: GetDMMFOptions): Promise<DMMF.Document> { |
| 59 | return Promise.resolve(handleGetDmmfResult(getInternalDMMFRaw(options))) |
| 60 | } |
| 61 | |
| 62 | function handleGetDmmfResult(result: ReturnType<typeof getDMMFRaw>): DMMF.Document { |
| 63 | if ('error' in result) { |
nothing calls this directly
no test coverage detected