Type Alias PrismaFullModel<PrismaClient, Model>

PrismaFullModel<PrismaClient, Model>: ExpandPrismaTypeMapPayload<PrismaClient[Model][symbol]["types"]["payload"]>

A full model entry with all relations from the given Prisma type map and model name.

Type Parameters

import type {Prisma} from '@prisma/client';
import type {FullPrismaModel} from '@augment-vir/common';

function doThing(fullModel: FullModel<Prisma.TypeMap, 'User'>) {}

@augment-vir/common