import { routeContainer } from "../core" ; import { AuthorizeConfig } from "../interfaces/authorize-config" ; export function access ( authorizeConfig ) { return function ( target ) { routeContainer . addModelDecorator ( target , authorizeConfig , "access" ) ; } ; }