UNPKG

@nestjs/graphql

Version:

GraphQL for NestJS: code-first and schema-first APIs, resolvers as providers, subscriptions, federation and generated SDL, on Apollo or Mercurius.

17 lines • 703 B
import { GqlTypeReference, ReturnTypeFunc } from '../interfaces/return-type-func.interface'; import { TypeOptions } from '../interfaces/type-options.interface'; export interface ReflectTypeOptions { metadataKey: 'design:type' | 'design:returntype' | 'design:paramtypes'; prototype: object; propertyKey: string; explicitTypeFn?: ReturnTypeFunc; typeOptions?: TypeOptions; index?: number; ignoreOnUndefinedType?: boolean; } export interface TypeMetadata { typeFn?: (type?: any) => GqlTypeReference; options: TypeOptions; } export declare function reflectTypeFromMetadata(reflectOptions: ReflectTypeOptions): TypeMetadata; //# sourceMappingURL=reflection.utilts.d.ts.map