1 | import 'reflect-metadata';
|
2 | import { Complexity } from '../interfaces';
|
3 | import { BaseTypeOptions } from '../interfaces/base-type-options.interface';
|
4 | import { ReturnTypeFunc } from '../interfaces/return-type-func.interface';
|
5 |
|
6 |
|
7 |
|
8 | export type QueryOptions<T = any> = BaseTypeOptions<T> & {
|
9 | |
10 |
|
11 |
|
12 | name?: string;
|
13 | |
14 |
|
15 |
|
16 | description?: string;
|
17 | |
18 |
|
19 |
|
20 | deprecationReason?: string;
|
21 | |
22 |
|
23 |
|
24 | complexity?: Complexity;
|
25 | };
|
26 |
|
27 |
|
28 |
|
29 | export declare function Query(): MethodDecorator;
|
30 |
|
31 |
|
32 |
|
33 | export declare function Query(name: string): MethodDecorator;
|
34 |
|
35 |
|
36 |
|
37 | export declare function Query(typeFunc: ReturnTypeFunc, options?: QueryOptions): MethodDecorator;
|
38 |
|
\ | No newline at end of file |