import { Type } from '@nestjs/common' ; import { DECORATORS } from '../constants' ; export const exploreGlobalApiTagsMetadata = ( metatype ) => { const tags = Reflect . getMetadata ( DECORATORS . API_TAGS , metatype ) ; return tags ? { tags } : undefined ; } ; export const exploreApiTagsMetadata = ( instance , prototype , method ) => Reflect . getMetadata ( DECORATORS . API_TAGS , method ) ;