import { SetMetadata } from '@nestjs/common' ; export const SCOPES_KEY = 'scopes' ; export const ACTOR_SCOPES_KEY = 'actor-scopes' ; export const Scopes = ( ... scopes ) => SetMetadata ( SCOPES_KEY , scopes ) ; export const ActorScopes = ( ... scopes ) => SetMetadata ( ACTOR_SCOPES_KEY , scopes ) ;