Type Alias PrismaBasicModel<PrismaClient, Model>

PrismaBasicModel: PrismaClient["model"][Model]["payload"]["scalars"]

A basic model entry with only its immediate properties.

Type Parameters

import type {PrismaClient} from '@prisma/client';
import type {PrismaBasicModel} from '@augment-vir/common';

function doThing(fullModel: PrismaBasicModel<PrismaClient, 'user'>) {}