UNPKG

@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

9 lines (8 loc) 424 B
import { TemplateHelpers } from './helpers/template-helpers'; import type { EntityParams } from './types'; export interface GenerateEntityParam extends EntityParams { templateHelpers: TemplateHelpers; entityPrefix?: string; entitySuffix?: string; } export declare const generateEntity: ({ model, fields, imports, apiExtraModels, templateHelpers: t, entityPrefix, entitySuffix, }: GenerateEntityParam) => string;