Extracts the creation data for a model from the given PrismaClient type.
PrismaClient
import {type PrismaClient} from '@prisma/client';import {type PrismaModelCreate} from '@augment-vir/common';function doThing(entry: PrismaModelCreate<PrismaClient, 'User'>) {} Copy
import {type PrismaClient} from '@prisma/client';import {type PrismaModelCreate} from '@augment-vir/common';function doThing(entry: PrismaModelCreate<PrismaClient, 'User'>) {}
@augment-vir/common
Extracts the creation data for a model from the given
PrismaClient
type.