7 lines
225 B
TypeScript
7 lines
225 B
TypeScript
export const projectRoutes = {
|
|
'create': '/api/projects',
|
|
getById: (id: string) => `/api/projects/${id}`,
|
|
getProjectByCustomerId: (customerId: string) => `/api/projects/customer/${customerId}`
|
|
}
|
|
;
|