UNPKG

venom-generator

Version:

In the way of code generation, complete the storage model->computation model (business API) transformation to achieve the goal of design and implementation

12 lines (11 loc) 1.24 kB
import { IDirectiveInfo, IGQLType } from 'prisma-datamodel'; import * as util from './util'; export declare function publicMethods(category: string, typeName: string): string; export declare function publicMethod(category: string, server: string, typeName: string, directive: IDirectiveInfo, authorization: string): string; export declare function privateMethod(server: string, typeName: string, directive: IDirectiveInfo, authorization: string, aud: string): string; export declare function customMethod(category: string, typeName: string, directive: IDirectiveInfo, authorization: string): string; export declare function filter(category: string, type: IGQLType): string; export declare function deleteMethod(server: string, typeName: string, directive: IDirectiveInfo, authorization: string): string; export declare function updateMethod(server: string, typeName: string, directive: IDirectiveInfo, authorization: string): string; export declare function queryLinkMethod(typeName: string, queryLink: IDirectiveInfo): util.ServersgSchema; export declare function operationApiCode(category: string, importCalcAuthorization: string, imports: string, prismaFields: string, fields: string, filters: string, argNexus: string): string;