UNPKG

@ptc-org/nestjs-query-graphql

Version:
6 lines (5 loc) 392 B
import { Class, MetaValue } from '@ptc-org/nestjs-query-core'; import { QueryArgsTypeOpts } from '../types'; export type QueryOptionsDecoratorOpts<DTO> = QueryArgsTypeOpts<DTO>; export declare function QueryOptions(opts: QueryOptionsDecoratorOpts<any>): (target: Class<unknown>) => void; export declare const getQueryOptions: <DTO>(DTOClass: Class<DTO>) => MetaValue<QueryArgsTypeOpts<DTO>>;