import { SetMetadata } from '@nestjs/common';

export const API_KEY_METADATA = 'api-key';

export const ApiKeyAuth = (): MethodDecorator & ClassDecorator => {
  return SetMetadata(API_KEY_METADATA, true);
};
