UNPKG

kapix-typegraphql-prisma

Version:

![integration logo](https://raw.githubusercontent.com/MichalLytek/typegraphql-prisma/main/img/integration.png)

10 lines (9 loc) 917 B
import { Project } from "ts-morph"; import { DmmfDocument } from "./dmmf/dmmf-document"; import { DMMF } from "./dmmf/types"; import { GeneratorOptions } from "./options"; export declare function generateOutputTypeClassFromType(project: Project, dirPath: string, type: DMMF.OutputType, dmmfDocument: DmmfDocument, generatorOptions: GeneratorOptions): void; export declare function transformTSTypePostGis(fieldTSType: string, isGeometry: boolean | undefined, action: string | null): string; export declare function transformTypeGraphQLTypePostGis(typeGraphQLType: string, isGeometry: boolean | undefined, action: string | null): string; export declare function generateImportsPostGis(typeName: string, sourceFile: any, fieldsToEmit: DMMF.SchemaArg[]): string | null; export declare function generateInputTypeClassFromType(project: Project, dirPath: string, inputType: DMMF.InputType, options: GeneratorOptions): void;