Extracts all model names from a generated PrismaClient.
PrismaClient
import type {PrismaClient} from '@prisma/client';import type {PrismaModelName} from '@augment-vir/common';function doThing(modelName: PrismaModelName<PrismaClient>) {} Copy
import type {PrismaClient} from '@prisma/client';import type {PrismaModelName} from '@augment-vir/common';function doThing(modelName: PrismaModelName<PrismaClient>) {}
@augment-vir/common
Extracts all model names from a generated
PrismaClient
.