import { RequestMethod } from '@nestjs/common' ; import { IRoute } from '../app.types' ; export const ROUTES = [ { path : '/users/:id' , protected : false , method : RequestMethod . GET } , { path : '/users/:id' , protected : false , method : RequestMethod . POST } , { path : '/users/:id' , protected : true , method : RequestMethod . PUT } , { path : '/users/' , protected : false , method : RequestMethod . GET } , { path : '/users/' , protected : false , method : RequestMethod . POST } , ] ;