UNPKG

prisma-json-types-generator

Version:
15 lines 531 B
/** * A regex to match the JSON output of a field's comment type. * * @example `[TYPE] comment...` */ export declare const JSON_REGEX: RegExp; export declare const LITERAL_REGEX: RegExp; /** * A list of regexes to match all types and subtypes generated by prisma for a specific * model */ export declare function createRegexForType(name: string): RegExp[]; /** If the provided type is a update one variant */ export declare function isUpdateOneType(type: string): RegExpMatchArray | null; //# sourceMappingURL=regex.d.ts.map