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.

12 lines • 760 B
import { PropertyMetadata } from '../schema-builder/metadata/index.js'; /** * Returns the middleware applied with `@UseFieldMiddleware()` to the field as * seen from the class a mapped type is built from. That class may decorate a * member it inherits without redeclaring `@Field()`, so its prototype (which * extends the inherited list) is consulted, not only the declaring class. */ export declare function getSourceFieldMiddleware(item: PropertyMetadata, sourceClass?: Function | undefined): import("../index.js").FieldMiddleware<any, any, { [argName: string]: any; }, any>[]; export declare function applyFieldDecorators(targetClass: Function, item: PropertyMetadata, sourceClass?: Function): void; //# sourceMappingURL=type-helpers.utils.d.ts.map