UNPKG

@agatee/graphql

Version:

Graphql module to use with Agatee

11 lines (10 loc) 561 B
import 'reflect-metadata'; export interface GatGqlResolverParams { schema?: string; __dirname?: string; } export declare function GatGqlResolver(params: GatGqlResolverParams): any; export declare function Query(schema: any): (target: any, key: any, descriptor: any) => void; export declare function Mutation(schema: any): (target: any, key: any, descriptor: any) => void; export declare function Custom(): (target: any, key: any, descriptor: any) => void; export declare function Permission(rule: any): (target: any, key: any, descriptor: any) => void;