export const coursesRoutes = {
  base: () => '/courses',
  newCourse: () => `${coursesRoutes.base()}/new`,
  detail: (id?: number) => `${coursesRoutes.base()}/${id ?? ':id'}`,
  editCourse: (id?: number) => `${coursesRoutes.detail(id)}/edit`,
  draftCourse: (id?: number) => `${coursesRoutes.detail(id)}/draft`,
  duplicateCourse: (id?: number) => `${coursesRoutes.detail(id)}/duplicate`,
  reportCourse: (id?: number) => `${coursesRoutes.detail(id)}/report`,
};
