UNPKG

@nestjs/graphql

Version:

Nest - modern, fast, powerful node.js web framework (@graphql)

13 lines 563 B
import { Type } from '@nestjs/common'; import 'reflect-metadata'; import { ArgsType, InputType, InterfaceType, ObjectType } from '../../decorators'; import { PropertyMetadata } from '../metadata'; export declare function getFieldsAndDecoratorForType<T>(objType: Type<T>, options?: { overrideFields?: boolean; }): { fields: PropertyMetadata[]; decoratorFactory: ClassDecorator; }; type ClassDecorator = typeof ArgsType | typeof InterfaceType | typeof ObjectType | typeof InputType; export {}; //# sourceMappingURL=get-fields-and-decorator.util.d.ts.map