import { SetMetadata } from '@nestjs/common';
import { FeatureKey } from './feature-catalog';

export const REQUIRE_FEATURE_KEY = 'require-feature';

export const RequireFeature = (feature: FeatureKey) =>
  SetMetadata(REQUIRE_FEATURE_KEY, feature);
