import { SetMetadata } from '@nestjs/common' ; import { RateLimiterOptions } from './rate-limiter.interface' ; export const RateLimit = ( options ) : MethodDecorator => SetMetadata ( 'rateLimit' , options ) ;