import { Booster } from '../booster' ; import { Class , RoleMetadata , RoleInterface } from '@boostercloud/framework-types' ; param roleMetadata export function Role ( roleMetadata ) { return ( role ) : void => { Booster . configureCurrentEnv ( ( config ) : void => { config . roles [ role . name ] = roleMetadata ; } ) ; } ; }