feat: add assessment, privacy and support flows

This commit is contained in:
TakuyaYagam1 committed 2026-10-08 08:08:25 +03:00
1 parent ee3738ee73
commit e4f24fa202
339 files changed
+56454 -1126

No files matched your search

+15
View File
@@ -15,15 +15,30 @@ export const paths = {
profile: "/candidate/profile",
questionnaire: "/candidate/questionnaire",
assessment: "/candidate/assessment",
assessmentAttempt: (attemptId: string) =>
`/candidate/assessment/${encodeURIComponent(attemptId)}`,
results: "/candidate/results",
invitations: "/candidate/invitations",
privacy: "/candidate/privacy",
supportCases: "/candidate/support/cases",
supportNew: "/candidate/support/cases/new",
supportManual: "/candidate/support/cases/manual-assessment",
supportCase: (caseId: string) => `/candidate/support/cases/${encodeURIComponent(caseId)}`,
},
employer: {
root: "/employer",
company: "/employer/company",
needs: "/employer/needs",
needNew: (organizationId?: string) =>
organizationId
? `/employer/needs/new?organization_id=${encodeURIComponent(organizationId)}`
: "/employer/needs/new",
need: (needId: string, organizationId: string) =>
`/employer/needs/${encodeURIComponent(needId)}?organization_id=${encodeURIComponent(organizationId)}`,
candidates: "/employer/candidates",
invitations: "/employer/invitations",
supportCases: "/employer/support/cases",
supportNew: "/employer/support/cases/new",
supportCase: (caseId: string) => `/employer/support/cases/${encodeURIComponent(caseId)}`,
},
} as const;