import { SetMetadata } from '@nestjs/common';
import { Modules } from 'src/common/mappers/module-access.mapper';

export const MODULES_KEY = 'modules';
export const ModuleAccessAllowed = (...modules: Modules[]) =>
  SetMetadata(MODULES_KEY, modules);


