@weverson_na/prisma-generator-nestjs-dto
Version:
Advanced Prisma Generator with Smart Merge v2: Creates DTO and Entity classes with AST-based preservation, intelligent import management, and modular architecture for NestJS
10 lines (9 loc) • 364 B
TypeScript
import { DMMF } from '@prisma/generator-helper';
export declare class RelationFieldHelper {
static getRelationScalars(fields: DMMF.Field[]): Record<string, string[]>;
static getRelationConnectInputFields({ field, allModels, }: {
field: DMMF.Field;
allModels: DMMF.Model[];
}): Set<DMMF.Field>;
private static getForeignKeyFields;
}