1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.exploreApiTagsMetadata = exports.exploreGlobalApiTagsMetadata = void 0;
|
4 | const constants_1 = require("../constants");
|
5 | const exploreGlobalApiTagsMetadata = (metatype) => {
|
6 | const tags = Reflect.getMetadata(constants_1.DECORATORS.API_TAGS, metatype);
|
7 | return tags ? { tags } : undefined;
|
8 | };
|
9 | exports.exploreGlobalApiTagsMetadata = exploreGlobalApiTagsMetadata;
|
10 | const exploreApiTagsMetadata = (instance, prototype, method) => Reflect.getMetadata(constants_1.DECORATORS.API_TAGS, method);
|
11 | exports.exploreApiTagsMetadata = exploreApiTagsMetadata;
|