typegraphql-prisma-nestjs
Version:
This project is a fork of another with minor changes, created for personal use.
6 lines (5 loc) • 407 B
TypeScript
export declare const modelAttributeRegex: RegExp;
export declare const fieldAttributeRegex: RegExp;
export declare const attributeNameRegex: RegExp;
export declare const attributeArgsRegex: RegExp;
export declare function parseDocumentationAttributes<TData extends object = object>(documentation: string | undefined, expectedAttributeName: string, expectedAttributeKind: "model" | "field"): Partial<TData>;