1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.Info = void 0;
|
4 | require("reflect-metadata");
|
5 | const gql_paramtype_enum_1 = require("../enums/gql-paramtype.enum");
|
6 | const param_utils_1 = require("./param.utils");
|
7 | /**
|
8 | * Resolver method parameter decorator. Extracts the `Info`
|
9 | * object from the underlying platform and populates the decorated
|
10 | * parameter with the value of `Info`.
|
11 | */
|
12 | function Info(...pipes) {
|
13 | return (0, param_utils_1.createGqlPipesParamDecorator)(gql_paramtype_enum_1.GqlParamtype.INFO)(undefined, ...pipes);
|
14 | }
|
15 | exports.Info = Info;
|