import { SetMetadata } from '@nestjs/common';
import { SuperAdminPermission } from '../../modules/superadmin/superadmin-permissions';

export const SUPERADMIN_PERMISSIONS_KEY = 'superadmin_permissions';

export const SuperAdminPermissions = (...permissions: SuperAdminPermission[]) =>
  SetMetadata(SUPERADMIN_PERMISSIONS_KEY, permissions);
