export const surveysRoutes = {
  base: () => '/surveys',
  catalog: () => `${surveysRoutes.base()}`,
  survey: {
    form: (id: number) => `${surveysRoutes.base()}/${id}`,
    detail: (id: number) => `${surveysRoutes.base()}/${id}/detail`,
    approvalDetail: (id: number) =>
      `${surveysRoutes.base()}/${id}/approval-detail`,
    completedDetail: (templateId: number, answerId: number) =>
      `${surveysRoutes.base()}/${templateId}/completed/${answerId}`,
  },
};
