prisma-class-dto-generator
Version:
Generate Prisma DTOs with seamless class-validator and class-transformer integration for TypeScript applications.
7 lines (6 loc) • 388 B
TypeScript
export declare function FixArrayJsonSchemaReference(reference: any): PropertyDecorator;
export declare function FixItemJsonSchemaReference(reference: any): PropertyDecorator;
export declare function IsEntity(typeFunction: () => Promise<Function> | Function, options?: {
each: boolean;
}): PropertyDecorator;
export declare function ReferenceModel<T>(modelName: T): PropertyDecorator;