Skip to main content
Glama

Prisma MCP Server

Official
by prisma
Apache 2.0
4
44,192
  • Linux
  • Apple
globalOmit.ts536 B
import { uncapitalize } from '@prisma/client-common' import * as ts from '@prisma/ts-builders' import { DMMFHelper } from '../dmmf' import { getOmitName } from '../utils' export function globalOmitConfig(dmmf: DMMFHelper) { const objectType = ts.objectType().addMultiple( dmmf.datamodel.models.map((model) => { const type = ts.namedType(getOmitName(model.name)) return ts.property(uncapitalize(model.name), type).optional() }), ) return ts.moduleExport(ts.typeDeclaration('GlobalOmitConfig', objectType)) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prisma/prisma'

If you have feedback or need assistance with the MCP directory API, please join our Discord server