import { SetMetadata } from '@nestjs/common' ; export const Roles = ( ... roles ) => SetMetadata ( 'roles' , roles ) ; export enum RolesEnum { SELF = 'SELF' , ADMIN = 'ROLE_ADMIN' , USER = 'ROLE_USER' }