1 | import { PipeTransform, Type } from '@nestjs/common';
|
2 | import 'reflect-metadata';
|
3 | import { GqlParamtype } from '../enums/gql-paramtype.enum';
|
4 | export type ParamData = object | string | number;
|
5 | export type ParamsMetadata = Record<number, {
|
6 | index: number;
|
7 | data?: ParamData;
|
8 | }>;
|
9 | export declare const createGqlParamDecorator: (paramtype: GqlParamtype) => (data?: ParamData) => ParameterDecorator;
|
10 | export declare const addPipesMetadata: (paramtype: GqlParamtype, data: any, pipes: (Type<PipeTransform> | PipeTransform)[], target: Record<string, any>, key: string | symbol, index: number) => void;
|
11 | export declare const createGqlPipesParamDecorator: (paramtype: GqlParamtype) => (data?: any, ...pipes: (Type<PipeTransform> | PipeTransform)[]) => ParameterDecorator;
|
12 |
|
\ | No newline at end of file |