summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWinnie Hellmann <winnie@gitlab.com>2018-11-01 15:36:03 +0100
committerWinnie Hellmann <winnie@gitlab.com>2018-11-01 18:13:19 +0100
commit0b64f3911c247cb05ea9d234eedaaa115f5a5035 (patch)
treeeb307f087c0835a72525920aceed8b1a1560cd33
parentf7c0a18b8a061bfea650897b22dce24d712c6439 (diff)
downloadgitlab-ce-winh-javascript-routes.tar.gz
Add new frontend:routes Rake taskwinh-javascript-routes
-rw-r--r--app/assets/javascripts/routes.js981
-rw-r--r--lib/tasks/frontend/routes.rake68
2 files changed, 1049 insertions, 0 deletions
diff --git a/app/assets/javascripts/routes.js b/app/assets/javascripts/routes.js
new file mode 100644
index 00000000000..67a89d8b395
--- /dev/null
+++ b/app/assets/javascripts/routes.js
@@ -0,0 +1,981 @@
+// This file was generated by bin/rake frontend:routes
+const baseUrl = gon.relative_url_root || '';
+export const abuseReportsPath = params => `${baseUrl}/abuse_reports`;
+export const acceptInvitePath = params => `${baseUrl}/invites/${params.id}/accept`;
+export const acceptTermPath = params => `${baseUrl}/-/users/terms/${params.id}/accept`;
+export const activeCommonNamespaceProjectPrometheusMetricsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/prometheus/metrics/active_common`;
+export const activityDashboardPath = params => `${baseUrl}/dashboard/activity`;
+export const activityGroupPath = params => `${baseUrl}/groups/${params.id}/-/activity`;
+export const activityNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/activity`;
+export const additionalMetricsNamespaceProjectEnvironmentDeploymentPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/${params.environmentId}/deployments/${params.id}/additional_metrics`;
+export const additionalMetricsNamespaceProjectEnvironmentPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/${params.id}/additional_metrics`;
+export const adminAbuseReportPath = params => `${baseUrl}/admin/abuse_reports/${params.id}`;
+export const adminAbuseReportsPath = params => `${baseUrl}/admin/abuse_reports`;
+export const adminAppearancesPath = params => `${baseUrl}/admin/appearance`;
+export const adminApplicationPath = params => `${baseUrl}/admin/applications/${params.id}`;
+export const adminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings`;
+export const adminApplicationSettingsServicePath = params => `${baseUrl}/admin/application_settings/services/${params.id}`;
+export const adminApplicationSettingsServicesPath = params => `${baseUrl}/admin/application_settings/services`;
+export const adminApplicationsPath = params => `${baseUrl}/admin/applications`;
+export const adminBackgroundJobsPath = params => `${baseUrl}/admin/background_jobs`;
+export const adminBroadcastMessagePath = params => `${baseUrl}/admin/broadcast_messages/${params.id}`;
+export const adminBroadcastMessagesPath = params => `${baseUrl}/admin/broadcast_messages`;
+export const adminDeployKeyPath = params => `${baseUrl}/admin/deploy_keys/${params.id}`;
+export const adminDeployKeysPath = params => `${baseUrl}/admin/deploy_keys`;
+export const adminGitalyServersPath = params => `${baseUrl}/admin/gitaly_servers`;
+export const adminGroupEditPath = params => `${baseUrl}/admin/groups/${params.id}/edit`;
+export const adminGroupMembersUpdatePath = params => `${baseUrl}/admin/groups/${params.id}/members_update`;
+export const adminGroupPath = params => `${baseUrl}/admin/groups/${params.id}`;
+export const adminGroupsPath = params => `${baseUrl}/admin/groups`;
+export const adminHealthCheckPath = params => `${baseUrl}/admin/health_check`;
+export const adminHookHookLogPath = params => `${baseUrl}/admin/hooks/${params.hookId}/hook_logs/${params.id}`;
+export const adminHookPath = params => `${baseUrl}/admin/hooks/${params.id}`;
+export const adminHooksPath = params => `${baseUrl}/admin/hooks`;
+export const adminImpersonationPath = params => `${baseUrl}/admin/impersonation`;
+export const adminJobsPath = params => `${baseUrl}/admin/jobs`;
+export const adminLabelPath = params => `${baseUrl}/admin/labels/${params.id}`;
+export const adminLabelsPath = params => `${baseUrl}/admin/labels`;
+export const adminLogsPath = params => `${baseUrl}/admin/logs`;
+export const adminNamespaceProjectPath = params => `${baseUrl}/admin/projects/${params.namespaceId}/${params.id}`;
+export const adminNamespaceProjectRunnerProjectPath = params => `${baseUrl}/admin/projects/${params.namespaceId}/${params.projectId}/runner_projects/${params.id}`;
+export const adminNamespaceProjectRunnerProjectsPath = params => `${baseUrl}/admin/projects/${params.namespaceId}/${params.projectId}/runner_projects`;
+export const adminProjectsPath = params => `${baseUrl}/admin/projects`;
+export const adminRequestsProfilePath = params => `${baseUrl}/admin/requests_profiles/${params.name}`;
+export const adminRequestsProfilesPath = params => `${baseUrl}/admin/requests_profiles`;
+export const adminRootPath = params => `${baseUrl}/admin`;
+export const adminRunnerPath = params => `${baseUrl}/admin/runners/${params.id}`;
+export const adminRunnersPath = params => `${baseUrl}/admin/runners`;
+export const adminSpamLogPath = params => `${baseUrl}/admin/spam_logs/${params.id}`;
+export const adminSpamLogsPath = params => `${baseUrl}/admin/spam_logs`;
+export const adminSystemInfoPath = params => `${baseUrl}/admin/system_info`;
+export const adminUserIdentitiesPath = params => `${baseUrl}/admin/users/${params.userId}/identities`;
+export const adminUserIdentityPath = params => `${baseUrl}/admin/users/${params.userId}/identities/${params.id}`;
+export const adminUserImpersonationTokensPath = params => `${baseUrl}/admin/users/${params.userId}/impersonation_tokens`;
+export const adminUserKeyPath = params => `${baseUrl}/admin/users/${params.userId}/keys/${params.id}`;
+export const adminUserPath = params => `${baseUrl}/admin/users/${params.id}`;
+export const adminUsersPath = params => `${baseUrl}/admin/users`;
+export const apiApiPath = () => `${baseUrl}/`;
+export const apiGraphqlPath = params => `${baseUrl}/api/graphql`;
+export const apiV3PathPath = () => `${baseUrl}/api/v3/path`;
+export const apiV3UserPath = () => `${baseUrl}/api/v3/user`;
+export const apiV4ApplicationSettingsPath = () => `${baseUrl}/api/v4/application/settings`;
+export const apiV4ApplicationsPath = () => `${baseUrl}/api/v4/applications`;
+export const apiV4AvatarPath = params => `${baseUrl}/api/v4/avatar`;
+export const apiV4BroadcastMessagesPath = params => `${baseUrl}/api/v4/broadcast_messages/${params.id}`;
+export const apiV4CiLintPath = params => `${baseUrl}/api/v4/ci/lint`;
+export const apiV4CircuitBreakersFailingPath = params => `${baseUrl}/api/v4/circuit_breakers/${params.type}/failing`;
+export const apiV4CircuitBreakersPath = params => `${baseUrl}/api/v4/circuit_breakers/${params.type}`;
+export const apiV4DeployKeysPath = params => `${baseUrl}/api/v4/deploy_keys`;
+export const apiV4EventsPath = params => `${baseUrl}/api/v4/events`;
+export const apiV4FeaturesPath = params => `${baseUrl}/api/v4/features`;
+export const apiV4GroupsSearchPath = params => `${baseUrl}/api/v4/groups/${params.id}/search`;
+export const apiV4GroupsAccessRequestsApprovePath = params => `${baseUrl}/api/v4/groups/${params.id}/access_requests/${params.userId}/approve`;
+export const apiV4GroupsAccessRequestsPath = params => `${baseUrl}/api/v4/groups/${params.id}/access_requests/${params.userId}`;
+export const apiV4GroupsBadgesPath = params => `${baseUrl}/api/v4/groups/${params.id}/badges/${params.badgeId}`;
+export const apiV4GroupsBadgesRenderPath = params => `${baseUrl}/api/v4/groups/${params.id}/badges/render`;
+export const apiV4GroupsBoardsListsPath = params => `${baseUrl}/api/v4/groups/${params.id}/boards/${params.boardId}/lists/${params.listId}`;
+export const apiV4GroupsBoardsPath = params => `${baseUrl}/api/v4/groups/${params.id}/boards`;
+export const apiV4GroupsCustomAttributesPath = params => `${baseUrl}/api/v4/groups/custom_attributes/${params.key}`;
+export const apiV4GroupsIssuesPath = params => `${baseUrl}/api/v4/groups/${params.id}/issues`;
+export const apiV4GroupsMembersAllPath = params => `${baseUrl}/api/v4/groups/${params.id}/members/all`;
+export const apiV4GroupsMembersPath = params => `${baseUrl}/api/v4/groups/${params.id}/members/${params.userId}`;
+export const apiV4GroupsMergeRequestsPath = params => `${baseUrl}/api/v4/groups/${params.id}/merge_requests`;
+export const apiV4GroupsMilestonesIssuesPath = params => `${baseUrl}/api/v4/groups/${params.id}/milestones/${params.milestoneId}/issues`;
+export const apiV4GroupsMilestonesMergeRequestsPath = params => `${baseUrl}/api/v4/groups/${params.id}/milestones/${params.milestoneId}/merge_requests`;
+export const apiV4GroupsMilestonesPath = params => `${baseUrl}/api/v4/groups/${params.id}/milestones/${params.milestoneId}`;
+export const apiV4GroupsNotificationSettingsPath = params => `${baseUrl}/api/v4/groups/${params.id}/notification_settings`;
+export const apiV4GroupsPath = params => `${baseUrl}/api/v4/groups/${params.id}`;
+export const apiV4GroupsProjectsPath = params => `${baseUrl}/api/v4/groups/${params.id}/projects/${params.projectId}`;
+export const apiV4GroupsSubgroupsPath = params => `${baseUrl}/api/v4/groups/${params.id}/subgroups`;
+export const apiV4GroupsVariablesPath = params => `${baseUrl}/api/v4/groups/${params.id}/variables/${params.key}`;
+export const apiV4HooksPath = params => `${baseUrl}/api/v4/hooks/${params.id}`;
+export const apiV4InternalAllowedPath = () => `${baseUrl}/api/v4/internal/allowed`;
+export const apiV4InternalAuthorizedKeysPath = () => `${baseUrl}/api/v4/internal/authorized_keys`;
+export const apiV4InternalBroadcastMessagePath = () => `${baseUrl}/api/v4/internal/broadcast_message`;
+export const apiV4InternalBroadcastMessagesPath = () => `${baseUrl}/api/v4/internal/broadcast_messages`;
+export const apiV4InternalCheckPath = () => `${baseUrl}/api/v4/internal/check`;
+export const apiV4InternalDiscoverPath = () => `${baseUrl}/api/v4/internal/discover`;
+export const apiV4InternalLfsAuthenticatePath = () => `${baseUrl}/api/v4/internal/lfs_authenticate`;
+export const apiV4InternalMergeRequestUrlsPath = () => `${baseUrl}/api/v4/internal/merge_request_urls`;
+export const apiV4InternalNotifyPostReceivePath = () => `${baseUrl}/api/v4/internal/notify_post_receive`;
+export const apiV4InternalPostReceivePath = () => `${baseUrl}/api/v4/internal/post_receive`;
+export const apiV4InternalPreReceivePath = () => `${baseUrl}/api/v4/internal/pre_receive`;
+export const apiV4InternalTwoFactorRecoveryCodesPath = () => `${baseUrl}/api/v4/internal/two_factor_recovery_codes`;
+export const apiV4IssuesPath = params => `${baseUrl}/api/v4/issues`;
+export const apiV4JobsArtifactsAuthorizePath = params => `${baseUrl}/api/v4/jobs/${params.id}/artifacts/authorize`;
+export const apiV4JobsArtifactsPath = params => `${baseUrl}/api/v4/jobs/${params.id}/artifacts`;
+export const apiV4JobsPath = params => `${baseUrl}/api/v4/jobs/${params.id}`;
+export const apiV4JobsRequestPath = params => `${baseUrl}/api/v4/jobs/request`;
+export const apiV4JobsTracePath = params => `${baseUrl}/api/v4/jobs/${params.id}/trace`;
+export const apiV4KeysPath = () => `${baseUrl}/api/v4/keys`;
+export const apiV4MarkdownPath = params => `${baseUrl}/api/v4/markdown`;
+export const apiV4MergeRequestsPath = params => `${baseUrl}/api/v4/merge_requests`;
+export const apiV4NamespacesPath = params => `${baseUrl}/api/v4/namespaces/${params.id}`;
+export const apiV4NotificationSettingsPath = params => `${baseUrl}/api/v4/notification_settings`;
+export const apiV4PagesDomainsPath = params => `${baseUrl}/api/v4/pages/domains`;
+export const apiV4PathPath = () => `${baseUrl}/api/v4/path`;
+export const apiV4ProjectIssuePath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}`;
+export const apiV4ProjectsSearchPath = params => `${baseUrl}/api/v4/projects/${params.id}/search`;
+export const apiV4ProjectsRefTriggerPipelinePath = params => `${baseUrl}/api/v4/projects/${params.id}/trigger/pipeline`;
+export const apiV4ProjectsAccessRequestsApprovePath = params => `${baseUrl}/api/v4/projects/${params.id}/access_requests/${params.userId}/approve`;
+export const apiV4ProjectsAccessRequestsPath = params => `${baseUrl}/api/v4/projects/${params.id}/access_requests/${params.userId}`;
+export const apiV4ProjectsArchivePath = params => `${baseUrl}/api/v4/projects/${params.id}/archive`;
+export const apiV4ProjectsBadgesPath = params => `${baseUrl}/api/v4/projects/${params.id}/badges/${params.badgeId}`;
+export const apiV4ProjectsBadgesRenderPath = params => `${baseUrl}/api/v4/projects/${params.id}/badges/render`;
+export const apiV4ProjectsBoardsListsPath = params => `${baseUrl}/api/v4/projects/${params.id}/boards/${params.boardId}/lists/${params.listId}`;
+export const apiV4ProjectsBoardsPath = params => `${baseUrl}/api/v4/projects/${params.id}/boards`;
+export const apiV4ProjectsCustomAttributesPath = params => `${baseUrl}/api/v4/projects/custom_attributes/${params.key}`;
+export const apiV4ProjectsDeployKeysEnablePath = params => `${baseUrl}/api/v4/projects/${params.id}/deploy_keys/${params.keyId}/enable`;
+export const apiV4ProjectsDeployKeysPath = params => `${baseUrl}/api/v4/projects/${params.id}/deploy_keys/${params.keyId}`;
+export const apiV4ProjectsDeploymentsPath = params => `${baseUrl}/api/v4/projects/${params.id}/deployments/${params.deploymentId}`;
+export const apiV4ProjectsEnvironmentsPath = params => `${baseUrl}/api/v4/projects/${params.id}/environments/${params.environmentId}`;
+export const apiV4ProjectsEnvironmentsStopPath = params => `${baseUrl}/api/v4/projects/${params.id}/environments/${params.environmentId}/stop`;
+export const apiV4ProjectsEventsPath = params => `${baseUrl}/api/v4/projects/${params.id}/events`;
+export const apiV4ProjectsExportDownloadPath = params => `${baseUrl}/api/v4/projects/${params.id}/export/download`;
+export const apiV4ProjectsExportPath = params => `${baseUrl}/api/v4/projects/${params.id}/export`;
+export const apiV4ProjectsForkPath = params => `${baseUrl}/api/v4/projects/${params.id}/fork/${params.forkedFromId}`;
+export const apiV4ProjectsForksPath = params => `${baseUrl}/api/v4/projects/${params.id}/forks`;
+export const apiV4ProjectsHooksPath = params => `${baseUrl}/api/v4/projects/${params.id}/hooks/${params.hookId}`;
+export const apiV4ProjectsHousekeepingPath = params => `${baseUrl}/api/v4/projects/${params.id}/housekeeping`;
+export const apiV4ProjectsImportPath = params => `${baseUrl}/api/v4/projects/${params.id}/import`;
+export const apiV4ProjectsIssuesAddSpentTimePath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}/add_spent_time`;
+export const apiV4ProjectsIssuesAwardEmojiPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/award_emoji/${params.awardId}`;
+export const apiV4ProjectsIssuesClosedByPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}/closed_by`;
+export const apiV4ProjectsIssuesDiscussionsNotesPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.noteableId}/discussions/${params.discussionId}/notes/${params.noteId}`;
+export const apiV4ProjectsIssuesDiscussionsPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.noteableId}/discussions/${params.discussionId}`;
+export const apiV4ProjectsIssuesMovePath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}/move`;
+export const apiV4ProjectsIssuesNotesAwardEmojiPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/notes/award_emoji/${params.awardId}`;
+export const apiV4ProjectsIssuesNotesPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.noteableId}/notes/${params.noteId}`;
+export const apiV4ProjectsIssuesParticipantsPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}/participants`;
+export const apiV4ProjectsIssuesPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}`;
+export const apiV4ProjectsIssuesResetSpentTimePath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}/reset_spent_time`;
+export const apiV4ProjectsIssuesResetTimeEstimatePath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}/reset_time_estimate`;
+export const apiV4ProjectsIssuesResourceLabelEventsPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.eventableId}/resource_label_events/${params.eventId}`;
+export const apiV4ProjectsIssuesSubscribePath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.subscribableId}/subscribe`;
+export const apiV4ProjectsIssuesTimeEstimatePath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}/time_estimate`;
+export const apiV4ProjectsIssuesTimeStatsPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}/time_stats`;
+export const apiV4ProjectsIssuesTodoPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}/todo`;
+export const apiV4ProjectsIssuesUnsubscribePath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.subscribableId}/unsubscribe`;
+export const apiV4ProjectsIssuesUserAgentDetailPath = params => `${baseUrl}/api/v4/projects/${params.id}/issues/${params.issueIid}/user_agent_detail`;
+export const apiV4ProjectsJobsArtifactsArtifactPathPath = params => `${baseUrl}/api/v4/projects/${params.id}/jobs/${params.jobId}/artifacts/artifact_path`;
+export const apiV4ProjectsJobsArtifactsDownloadPath = params => `${baseUrl}/api/v4/projects/${params.id}/jobs/artifacts/${params.refName}/download`;
+export const apiV4ProjectsJobsArtifactsKeepPath = params => `${baseUrl}/api/v4/projects/${params.id}/jobs/${params.jobId}/artifacts/keep`;
+export const apiV4ProjectsJobsArtifactsPath = params => `${baseUrl}/api/v4/projects/${params.id}/jobs/${params.jobId}/artifacts`;
+export const apiV4ProjectsJobsCancelPath = params => `${baseUrl}/api/v4/projects/${params.id}/jobs/${params.jobId}/cancel`;
+export const apiV4ProjectsJobsErasePath = params => `${baseUrl}/api/v4/projects/${params.id}/jobs/${params.jobId}/erase`;
+export const apiV4ProjectsJobsPath = params => `${baseUrl}/api/v4/projects/${params.id}/jobs/${params.jobId}`;
+export const apiV4ProjectsJobsPlayPath = params => `${baseUrl}/api/v4/projects/${params.id}/jobs/${params.jobId}/play`;
+export const apiV4ProjectsJobsRetryPath = params => `${baseUrl}/api/v4/projects/${params.id}/jobs/${params.jobId}/retry`;
+export const apiV4ProjectsJobsTracePath = params => `${baseUrl}/api/v4/projects/${params.id}/jobs/${params.jobId}/trace`;
+export const apiV4ProjectsLabelsPath = params => `${baseUrl}/api/v4/projects/${params.id}/labels`;
+export const apiV4ProjectsLabelsSubscribePath = params => `${baseUrl}/api/v4/projects/${params.id}/labels/${params.subscribableId}/subscribe`;
+export const apiV4ProjectsLabelsUnsubscribePath = params => `${baseUrl}/api/v4/projects/${params.id}/labels/${params.subscribableId}/unsubscribe`;
+export const apiV4ProjectsLanguagesPath = params => `${baseUrl}/api/v4/projects/${params.id}/languages`;
+export const apiV4ProjectsMembersAllPath = params => `${baseUrl}/api/v4/projects/${params.id}/members/all`;
+export const apiV4ProjectsMembersPath = params => `${baseUrl}/api/v4/projects/${params.id}/members/${params.userId}`;
+export const apiV4ProjectsMergeRequestsAddSpentTimePath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.mergeRequestIid}/add_spent_time`;
+export const apiV4ProjectsMergeRequestsAwardEmojiPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/award_emoji/${params.awardId}`;
+export const apiV4ProjectsMergeRequestsCancelMergeWhenPipelineSucceedsPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/cancel_merge_when_pipeline_succeeds`;
+export const apiV4ProjectsMergeRequestsChangesPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/changes`;
+export const apiV4ProjectsMergeRequestsClosesIssuesPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/closes_issues`;
+export const apiV4ProjectsMergeRequestsCommitsPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/commits`;
+export const apiV4ProjectsMergeRequestsDiscussionsNotesPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.noteableId}/discussions/${params.discussionId}/notes/${params.noteId}`;
+export const apiV4ProjectsMergeRequestsDiscussionsPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.noteableId}/discussions/${params.discussionId}`;
+export const apiV4ProjectsMergeRequestsMergePath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/merge`;
+export const apiV4ProjectsMergeRequestsNotesAwardEmojiPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/notes/award_emoji/${params.awardId}`;
+export const apiV4ProjectsMergeRequestsNotesPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.noteableId}/notes/${params.noteId}`;
+export const apiV4ProjectsMergeRequestsParticipantsPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/participants`;
+export const apiV4ProjectsMergeRequestsPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.mergeRequestIid}`;
+export const apiV4ProjectsMergeRequestsPipelinesPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/pipelines`;
+export const apiV4ProjectsMergeRequestsResetSpentTimePath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.mergeRequestIid}/reset_spent_time`;
+export const apiV4ProjectsMergeRequestsResetTimeEstimatePath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.mergeRequestIid}/reset_time_estimate`;
+export const apiV4ProjectsMergeRequestsResourceLabelEventsPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.eventableId}/resource_label_events/${params.eventId}`;
+export const apiV4ProjectsMergeRequestsSubscribePath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.subscribableId}/subscribe`;
+export const apiV4ProjectsMergeRequestsTimeEstimatePath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.mergeRequestIid}/time_estimate`;
+export const apiV4ProjectsMergeRequestsTimeStatsPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.mergeRequestIid}/time_stats`;
+export const apiV4ProjectsMergeRequestsTodoPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.mergeRequestIid}/todo`;
+export const apiV4ProjectsMergeRequestsUnsubscribePath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.subscribableId}/unsubscribe`;
+export const apiV4ProjectsMergeRequestsVersionsPath = params => `${baseUrl}/api/v4/projects/${params.id}/merge_requests/${params.mergeRequestIid}/versions/${params.versionId}`;
+export const apiV4ProjectsMilestonesIssuesPath = params => `${baseUrl}/api/v4/projects/${params.id}/milestones/${params.milestoneId}/issues`;
+export const apiV4ProjectsMilestonesMergeRequestsPath = params => `${baseUrl}/api/v4/projects/${params.id}/milestones/${params.milestoneId}/merge_requests`;
+export const apiV4ProjectsMilestonesPath = params => `${baseUrl}/api/v4/projects/${params.id}/milestones/${params.milestoneId}`;
+export const apiV4ProjectsNotificationSettingsPath = params => `${baseUrl}/api/v4/projects/${params.id}/notification_settings`;
+export const apiV4ProjectsPagesAccessPath = params => `${baseUrl}/api/v4/projects/${params.id}/pages_access`;
+export const apiV4ProjectsPagesDomainsPath = params => `${baseUrl}/api/v4/projects/${params.id}/pages/domains/${params.domain}`;
+export const apiV4ProjectsPath = params => `${baseUrl}/api/v4/projects/${params.id}`;
+export const apiV4ProjectsPipelinePath = params => `${baseUrl}/api/v4/projects/${params.id}/pipeline`;
+export const apiV4ProjectsPipelineSchedulesPath = params => `${baseUrl}/api/v4/projects/${params.id}/pipeline_schedules/${params.pipelineScheduleId}`;
+export const apiV4ProjectsPipelineSchedulesTakeOwnershipPath = params => `${baseUrl}/api/v4/projects/${params.id}/pipeline_schedules/${params.pipelineScheduleId}/take_ownership`;
+export const apiV4ProjectsPipelineSchedulesVariablesPath = params => `${baseUrl}/api/v4/projects/${params.id}/pipeline_schedules/${params.pipelineScheduleId}/variables/${params.key}`;
+export const apiV4ProjectsPipelinesCancelPath = params => `${baseUrl}/api/v4/projects/${params.id}/pipelines/${params.pipelineId}/cancel`;
+export const apiV4ProjectsPipelinesJobsPath = params => `${baseUrl}/api/v4/projects/${params.id}/pipelines/${params.pipelineId}/jobs`;
+export const apiV4ProjectsPipelinesPath = params => `${baseUrl}/api/v4/projects/${params.id}/pipelines/${params.pipelineId}`;
+export const apiV4ProjectsPipelinesRetryPath = params => `${baseUrl}/api/v4/projects/${params.id}/pipelines/${params.pipelineId}/retry`;
+export const apiV4ProjectsProtectedBranchesPath = params => `${baseUrl}/api/v4/projects/${params.id}/protected_branches/${params.name}`;
+export const apiV4ProjectsProtectedTagsPath = params => `${baseUrl}/api/v4/projects/${params.id}/protected_tags/${params.name}`;
+export const apiV4ProjectsRepositoryArchivePath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/archive`;
+export const apiV4ProjectsRepositoryBlobsPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/blobs/${params.sha}`;
+export const apiV4ProjectsRepositoryBlobsRawPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/blobs/${params.sha}/raw`;
+export const apiV4ProjectsRepositoryBranchesPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/branches/${params.branch}`;
+export const apiV4ProjectsRepositoryBranchesProtectPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/branches/${params.branch}/protect`;
+export const apiV4ProjectsRepositoryBranchesUnprotectPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/branches/${params.branch}/unprotect`;
+export const apiV4ProjectsRepositoryCommitsCherryPickPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/commits/${params.sha}/cherry_pick`;
+export const apiV4ProjectsRepositoryCommitsCommentsPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/commits/${params.sha}/comments`;
+export const apiV4ProjectsRepositoryCommitsDiffPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/commits/${params.sha}/diff`;
+export const apiV4ProjectsRepositoryCommitsDiscussionsNotesPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/commits/${params.noteableId}/discussions/${params.discussionId}/notes/${params.noteId}`;
+export const apiV4ProjectsRepositoryCommitsDiscussionsPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/commits/${params.noteableId}/discussions/${params.discussionId}`;
+export const apiV4ProjectsRepositoryCommitsMergeRequestsPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/commits/${params.sha}/merge_requests`;
+export const apiV4ProjectsRepositoryCommitsPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/commits/${params.sha}`;
+export const apiV4ProjectsRepositoryCommitsRefsPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/commits/${params.sha}/refs`;
+export const apiV4ProjectsRepositoryCommitsStatusesPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/commits/${params.sha}/statuses`;
+export const apiV4ProjectsRepositoryComparePath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/compare`;
+export const apiV4ProjectsRepositoryContributorsPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/contributors`;
+export const apiV4ProjectsRepositoryFilesPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/files/${params.filePath}`;
+export const apiV4ProjectsRepositoryFilesRawPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/files/${params.filePath}/raw`;
+export const apiV4ProjectsRepositoryMergeBasePath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/merge_base`;
+export const apiV4ProjectsRepositoryMergedBranchesPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/merged_branches`;
+export const apiV4ProjectsRepositoryTagsPath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/tags/${params.tagName}`;
+export const apiV4ProjectsRepositoryTagsReleasePath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/tags/${params.tagName}/release`;
+export const apiV4ProjectsRepositoryTreePath = params => `${baseUrl}/api/v4/projects/${params.id}/repository/tree`;
+export const apiV4ProjectsRunnersPath = params => `${baseUrl}/api/v4/projects/${params.id}/runners/${params.runnerId}`;
+export const apiV4ProjectsServicesAsanaPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/asana`;
+export const apiV4ProjectsServicesAssemblaPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/assembla`;
+export const apiV4ProjectsServicesBambooPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/bamboo`;
+export const apiV4ProjectsServicesBugzillaPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/bugzilla`;
+export const apiV4ProjectsServicesBuildkitePath = params => `${baseUrl}/api/v4/projects/${params.id}/services/buildkite`;
+export const apiV4ProjectsServicesCampfirePath = params => `${baseUrl}/api/v4/projects/${params.id}/services/campfire`;
+export const apiV4ProjectsServicesCustomIssueTrackerPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/custom-issue-tracker`;
+export const apiV4ProjectsServicesDroneCiPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/drone-ci`;
+export const apiV4ProjectsServicesEmailsOnPushPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/emails-on-push`;
+export const apiV4ProjectsServicesExternalWikiPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/external-wiki`;
+export const apiV4ProjectsServicesFlowdockPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/flowdock`;
+export const apiV4ProjectsServicesHangoutsChatPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/hangouts-chat`;
+export const apiV4ProjectsServicesHipchatPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/hipchat`;
+export const apiV4ProjectsServicesIrkerPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/irker`;
+export const apiV4ProjectsServicesJiraPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/jira`;
+export const apiV4ProjectsServicesKubernetesPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/kubernetes`;
+export const apiV4ProjectsServicesMattermostPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/mattermost`;
+export const apiV4ProjectsServicesMattermostSlashCommandsPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/mattermost-slash-commands`;
+export const apiV4ProjectsServicesMattermostSlashCommandsTriggerPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/mattermost_slash_commands/trigger`;
+export const apiV4ProjectsServicesMicrosoftTeamsPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/microsoft-teams`;
+export const apiV4ProjectsServicesMockCiPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/mock-ci`;
+export const apiV4ProjectsServicesMockDeploymentPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/mock-deployment`;
+export const apiV4ProjectsServicesMockMonitoringPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/mock-monitoring`;
+export const apiV4ProjectsServicesPackagistPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/packagist`;
+export const apiV4ProjectsServicesPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/${params.serviceSlug}`;
+export const apiV4ProjectsServicesPipelinesEmailPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/pipelines-email`;
+export const apiV4ProjectsServicesPivotaltrackerPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/pivotaltracker`;
+export const apiV4ProjectsServicesPrometheusPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/prometheus`;
+export const apiV4ProjectsServicesPushoverPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/pushover`;
+export const apiV4ProjectsServicesRedminePath = params => `${baseUrl}/api/v4/projects/${params.id}/services/redmine`;
+export const apiV4ProjectsServicesSlackPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/slack`;
+export const apiV4ProjectsServicesSlackSlashCommandsPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/slack-slash-commands`;
+export const apiV4ProjectsServicesSlackSlashCommandsTriggerPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/slack_slash_commands/trigger`;
+export const apiV4ProjectsServicesTeamcityPath = params => `${baseUrl}/api/v4/projects/${params.id}/services/teamcity`;
+export const apiV4ProjectsSharePath = params => `${baseUrl}/api/v4/projects/${params.id}/share/${params.groupId}`;
+export const apiV4ProjectsSnapshotPath = params => `${baseUrl}/api/v4/projects/snapshot`;
+export const apiV4ProjectsSnippetsAwardEmojiPath = params => `${baseUrl}/api/v4/projects/${params.id}/snippets/award_emoji/${params.awardId}`;
+export const apiV4ProjectsSnippetsDiscussionsNotesPath = params => `${baseUrl}/api/v4/projects/${params.id}/snippets/${params.noteableId}/discussions/${params.discussionId}/notes/${params.noteId}`;
+export const apiV4ProjectsSnippetsDiscussionsPath = params => `${baseUrl}/api/v4/projects/${params.id}/snippets/${params.noteableId}/discussions/${params.discussionId}`;
+export const apiV4ProjectsSnippetsNotesAwardEmojiPath = params => `${baseUrl}/api/v4/projects/${params.id}/snippets/notes/award_emoji/${params.awardId}`;
+export const apiV4ProjectsSnippetsNotesPath = params => `${baseUrl}/api/v4/projects/${params.id}/snippets/${params.noteableId}/notes/${params.noteId}`;
+export const apiV4ProjectsSnippetsPath = params => `${baseUrl}/api/v4/projects/${params.id}/snippets/${params.snippetId}`;
+export const apiV4ProjectsSnippetsRawPath = params => `${baseUrl}/api/v4/projects/${params.id}/snippets/${params.snippetId}/raw`;
+export const apiV4ProjectsSnippetsUserAgentDetailPath = params => `${baseUrl}/api/v4/projects/${params.id}/snippets/${params.snippetId}/user_agent_detail`;
+export const apiV4ProjectsStarPath = params => `${baseUrl}/api/v4/projects/${params.id}/star`;
+export const apiV4ProjectsStatusesPath = params => `${baseUrl}/api/v4/projects/${params.id}/statuses/${params.sha}`;
+export const apiV4ProjectsTemplatesPath = params => `${baseUrl}/api/v4/projects/${params.id}/templates/${params.type}/${params.name}`;
+export const apiV4ProjectsTransferPath = params => `${baseUrl}/api/v4/projects/${params.id}/transfer`;
+export const apiV4ProjectsTriggersPath = params => `${baseUrl}/api/v4/projects/${params.id}/triggers/${params.triggerId}`;
+export const apiV4ProjectsTriggersTakeOwnershipPath = params => `${baseUrl}/api/v4/projects/${params.id}/triggers/${params.triggerId}/take_ownership`;
+export const apiV4ProjectsUnarchivePath = params => `${baseUrl}/api/v4/projects/${params.id}/unarchive`;
+export const apiV4ProjectsUnstarPath = params => `${baseUrl}/api/v4/projects/${params.id}/unstar`;
+export const apiV4ProjectsUploadsPath = params => `${baseUrl}/api/v4/projects/${params.id}/uploads`;
+export const apiV4ProjectsUserPath = params => `${baseUrl}/api/v4/projects/user/${params.userId}`;
+export const apiV4ProjectsUsersPath = params => `${baseUrl}/api/v4/projects/${params.id}/users`;
+export const apiV4ProjectsVariablesPath = params => `${baseUrl}/api/v4/projects/${params.id}/variables/${params.key}`;
+export const apiV4ProjectsWikisAttachmentsPath = params => `${baseUrl}/api/v4/projects/wikis/attachments`;
+export const apiV4ProjectsWikisPath = params => `${baseUrl}/api/v4/projects/wikis/${params.slug}`;
+export const apiV4RunnersAllPath = params => `${baseUrl}/api/v4/runners/all`;
+export const apiV4RunnersJobsPath = params => `${baseUrl}/api/v4/runners/${params.id}/jobs`;
+export const apiV4RunnersPath = params => `${baseUrl}/api/v4/runners/${params.id}`;
+export const apiV4RunnersVerifyPath = params => `${baseUrl}/api/v4/runners/verify`;
+export const apiV4SearchPath = params => `${baseUrl}/api/v4/search`;
+export const apiV4SidekiqCompoundMetricsPath = () => `${baseUrl}/api/v4/sidekiq/compound_metrics`;
+export const apiV4SidekiqJobStatsPath = () => `${baseUrl}/api/v4/sidekiq/job_stats`;
+export const apiV4SidekiqProcessMetricsPath = () => `${baseUrl}/api/v4/sidekiq/process_metrics`;
+export const apiV4SidekiqQueueMetricsPath = () => `${baseUrl}/api/v4/sidekiq/queue_metrics`;
+export const apiV4SnippetsPath = params => `${baseUrl}/api/v4/snippets/${params.id}`;
+export const apiV4SnippetsPublicPath = params => `${baseUrl}/api/v4/snippets/public`;
+export const apiV4SnippetsRawPath = params => `${baseUrl}/api/v4/snippets/${params.id}/raw`;
+export const apiV4SnippetsUserAgentDetailPath = params => `${baseUrl}/api/v4/snippets/${params.id}/user_agent_detail`;
+export const apiV4TemplatesDockerfilesPath = params => `${baseUrl}/api/v4/templates/dockerfiles/${params.name}`;
+export const apiV4TemplatesGitignoresPath = params => `${baseUrl}/api/v4/templates/gitignores/${params.name}`;
+export const apiV4TemplatesGitlabCiYmlsPath = params => `${baseUrl}/api/v4/templates/gitlab_ci_ymls/${params.name}`;
+export const apiV4TemplatesLicensesPath = params => `${baseUrl}/api/v4/templates/licenses/${params.name}`;
+export const apiV4TodosMarkAsDonePath = params => `${baseUrl}/api/v4/todos/${params.id}/mark_as_done`;
+export const apiV4TodosPath = params => `${baseUrl}/api/v4/todos`;
+export const apiV4UserActivitiesPath = params => `${baseUrl}/api/v4/user/activities`;
+export const apiV4UserEmailsPath = params => `${baseUrl}/api/v4/user/emails/${params.emailId}`;
+export const apiV4UserGpgKeysPath = params => `${baseUrl}/api/v4/user/gpg_keys/${params.keyId}`;
+export const apiV4UserGpgKeysRevokePath = params => `${baseUrl}/api/v4/user/gpg_keys/${params.keyId}/revoke`;
+export const apiV4UserKeysPath = params => `${baseUrl}/api/v4/user/keys/${params.keyId}`;
+export const apiV4UserPath = () => `${baseUrl}/api/v4/user`;
+export const apiV4UserStatusPath = params => `${baseUrl}/api/v4/user/status`;
+export const apiV4UsersBlockPath = params => `${baseUrl}/api/v4/users/${params.id}/block`;
+export const apiV4UsersCustomAttributesPath = params => `${baseUrl}/api/v4/users/custom_attributes/${params.key}`;
+export const apiV4UsersEmailsPath = params => `${baseUrl}/api/v4/users/${params.id}/emails/${params.emailId}`;
+export const apiV4UsersEventsPath = params => `${baseUrl}/api/v4/users/${params.id}/events`;
+export const apiV4UsersGpgKeysPath = params => `${baseUrl}/api/v4/users/${params.id}/gpg_keys/${params.keyId}`;
+export const apiV4UsersGpgKeysRevokePath = params => `${baseUrl}/api/v4/users/${params.id}/gpg_keys/${params.keyId}/revoke`;
+export const apiV4UsersImpersonationTokensPath = params => `${baseUrl}/api/v4/users/${params.userId}/impersonation_tokens/${params.impersonationTokenId}`;
+export const apiV4UsersKeysPath = params => `${baseUrl}/api/v4/users/${params.id}/keys/${params.keyId}`;
+export const apiV4UsersPath = params => `${baseUrl}/api/v4/users/${params.id}`;
+export const apiV4UsersProjectsPath = params => `${baseUrl}/api/v4/users/${params.userId}/projects`;
+export const apiV4UsersStatusPath = params => `${baseUrl}/api/v4/users/${params.idOrUsername}/status`;
+export const apiV4UsersUnblockPath = params => `${baseUrl}/api/v4/users/${params.id}/unblock`;
+export const apiV4VersionPath = () => `${baseUrl}/api/v4/version`;
+export const applicationsProfilePath = params => `${baseUrl}/profile/applications`;
+export const applyImportNamespaceProjectProjectMembersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/project_members/apply_import`;
+export const approveAccessRequestGroupGroupMemberPath = params => `${baseUrl}/groups/${params.groupId}/-/group_members/${params.id}/approve_access_request`;
+export const approveAccessRequestNamespaceProjectProjectMemberPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/project_members/${params.id}/approve_access_request`;
+export const archiveAlternativeNamespaceProjectRepositoryPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/repository/archive`;
+export const archiveDeprecatedNamespaceProjectRepositoryPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/repository/${params.id}/archive`;
+export const archiveNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/archive`;
+export const assignRelatedIssuesNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/assign_related_issues`;
+export const auditLogProfilePath = params => `${baseUrl}/profile/audit_log`;
+export const authorizeGroupUploadsPath = params => `${baseUrl}/groups/${params.groupId}/-/uploads/authorize`;
+export const authorizeNamespaceProjectUploadsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/uploads/authorize`;
+export const autocompleteAwardEmojisPath = params => `${baseUrl}/autocomplete/award_emojis`;
+export const autocompleteProjectsPath = params => `${baseUrl}/autocomplete/projects`;
+export const autocompleteUsersPath = params => `${baseUrl}/autocomplete/users`;
+export const batchPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/info/lfs/objects/batch`;
+export const blockAdminUserPath = params => `${baseUrl}/admin/users/${params.id}/block`;
+export const boardIssuePath = params => `${baseUrl}/-/boards/${params.boardId}/issues/${params.id}`;
+export const boardIssuesPath = params => `${baseUrl}/-/boards/${params.boardId}/issues`;
+export const boardListIssuePath = params => `${baseUrl}/-/boards/${params.boardId}/lists/${params.listId}/issues/${params.id}`;
+export const boardListIssuesPath = params => `${baseUrl}/-/boards/${params.boardId}/lists/${params.listId}/issues`;
+export const boardListPath = params => `${baseUrl}/-/boards/${params.boardId}/lists/${params.id}`;
+export const boardListsPath = params => `${baseUrl}/-/boards/${params.boardId}/lists`;
+export const branchesNamespaceProjectCommitPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/commit/${params.id}/branches`;
+export const browseNamespaceProjectBuildArtifactsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/builds/${params.buildId}/artifacts/browse/${params.path}`;
+export const browseNamespaceProjectJobArtifactsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.jobId}/artifacts/browse/${params.path}`;
+export const buildNamespaceProjectBadgesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/badges/${params.ref}/build`;
+export const buildsNamespaceProjectPipelinePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/${params.id}/builds`;
+export const bulkRestoreDashboardTodosPath = params => `${baseUrl}/dashboard/todos/bulk_restore`;
+export const bulkUpdateNamespaceProjectIssuesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/bulk_update`;
+export const bulkUpdateNamespaceProjectMergeRequestsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/bulk_update`;
+export const callbackGoogleApiAuthPath = params => `${baseUrl}/-/google_api/auth/callback`;
+export const callbackImportBitbucketPath = params => `${baseUrl}/import/bitbucket/callback`;
+export const callbackImportBitbucketServerPath = params => `${baseUrl}/import/bitbucket_server/callback`;
+export const callbackImportFogbugzPath = params => `${baseUrl}/import/fogbugz/callback`;
+export const callbackImportGithubPath = params => `${baseUrl}/import/github/callback`;
+export const callbackImportGitlabPath = params => `${baseUrl}/import/gitlab/callback`;
+export const callbackImportGoogleCodePath = params => `${baseUrl}/import/google_code/callback`;
+export const canCreateBranchNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/can_create_branch`;
+export const cancelAllAdminJobsPath = params => `${baseUrl}/admin/jobs/cancel_all`;
+export const cancelAllNamespaceProjectJobsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/cancel_all`;
+export const cancelMergeWhenPipelineSucceedsNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/cancel_merge_when_pipeline_succeeds`;
+export const cancelNamespaceProjectJobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.id}/cancel`;
+export const cancelNamespaceProjectPipelinePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/${params.id}/cancel`;
+export const cancelUserRegistrationPath = params => `${baseUrl}/users/cancel`;
+export const chartsNamespaceProjectGraphPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/graphs/${params.id}/charts`;
+export const chartsNamespaceProjectPipelinesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/charts`;
+export const cherryPickNamespaceProjectCommitPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/commit/${params.id}/cherry_pick`;
+export const ciCdAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/ci_cd`;
+export const ciEnvironmentsStatusNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/ci_environments_status`;
+export const ciLintPath = params => `${baseUrl}/ci/lint`;
+export const ciNamespaceProjectGraphPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/graphs/${params.id}/ci`;
+export const ciRootPath = params => `${baseUrl}/ci`;
+export const clearRepositoryCheckStatesAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/clear_repository_check_states`;
+export const codesProfileTwoFactorAuthPath = params => `${baseUrl}/profile/two_factor_auth/codes`;
+export const commandsNamespaceProjectAutocompleteSourcesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/autocomplete_sources/commands`;
+export const commitChangeContentNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/commit_change_content`;
+export const commitsNamespaceProjectGraphPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/graphs/${params.id}/commits`;
+export const commitsNamespaceProjectJsonMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/commits`;
+export const commitsNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/commits`;
+export const configureImportBitbucketServerPath = params => `${baseUrl}/import/bitbucket_server/configure`;
+export const confirmAdminUserPath = params => `${baseUrl}/admin/users/${params.id}/confirm`;
+export const conflictForPathNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/conflict_for_path`;
+export const conflictsNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/conflicts`;
+export const coverageNamespaceProjectBadgesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/badges/${params.ref}/coverage`;
+export const createDeployTokenNamespaceProjectSettingsRepositoryPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/settings/repository/deploy_token/create`;
+export const createGcpNamespaceProjectClustersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/clusters/create_gcp`;
+export const createMergeRequestNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/create_merge_request`;
+export const createU2fProfileTwoFactorAuthPath = params => `${baseUrl}/profile/two_factor_auth/create_u2f`;
+export const createUserMapImportFogbugzPath = params => `${baseUrl}/import/fogbugz/user_map`;
+export const createUserMapImportGoogleCodePath = params => `${baseUrl}/import/google_code/user_map`;
+export const createUserNamespaceProjectClustersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/clusters/create_user`;
+export const dashboardGroupsPath = params => `${baseUrl}/dashboard/groups`;
+export const dashboardLabelsPath = params => `${baseUrl}/dashboard/labels`;
+export const dashboardMilestonePath = params => `${baseUrl}/dashboard/milestones/${params.id}`;
+export const dashboardMilestonesPath = params => `${baseUrl}/dashboard/milestones`;
+export const dashboardProjectsPath = params => `${baseUrl}/dashboard/projects`;
+export const dashboardSnippetsPath = params => `${baseUrl}/dashboard/snippets`;
+export const dashboardTodoPath = params => `${baseUrl}/dashboard/todos/${params.id}`;
+export const dashboardTodosPath = params => `${baseUrl}/dashboard/todos`;
+export const declineInvitePath = params => `${baseUrl}/invites/${params.id}/decline`;
+export const declineTermPath = params => `${baseUrl}/-/users/terms/${params.id}/decline`;
+export const deleteAttachmentNamespaceProjectNotePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/notes/${params.id}/delete_attachment`;
+export const deleteAttachmentSnippetNotePath = params => `${baseUrl}/snippets/${params.snippetId}/notes/${params.id}/delete_attachment`;
+export const denyProfileChatNamesPath = params => `${baseUrl}/profile/chat_names/deny`;
+export const destroyAllDashboardTodosPath = params => `${baseUrl}/dashboard/todos/destroy_all`;
+export const destroyUserSessionPath = params => `${baseUrl}/users/sign_out`;
+export const diffForPathNamespaceProjectCommitPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/commit/${params.id}/diff_for_path`;
+export const diffForPathNamespaceProjectCompareIndexPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/compare/diff_for_path`;
+export const diffForPathNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/diff_for_path`;
+export const diffForPathNamespaceProjectMergeRequestsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/diff_for_path`;
+export const diffsNamespaceProjectJsonMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/diffs`;
+export const diffsNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/diffs`;
+export const disableNamespaceProjectDeployKeyPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/deploy_keys/${params.id}/disable`;
+export const disableTwoFactorAdminUserPath = params => `${baseUrl}/admin/users/${params.id}/disable_two_factor`;
+export const discussionsNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/discussions`;
+export const discussionsNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/discussions`;
+export const downloadExportNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/download_export`;
+export const downloadNamespaceProjectBuildArtifactsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/builds/${params.buildId}/artifacts/download`;
+export const downloadNamespaceProjectJobArtifactsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.jobId}/artifacts/download`;
+export const editAdminApplicationPath = params => `${baseUrl}/admin/applications/${params.id}/edit`;
+export const editAdminApplicationSettingsServicePath = params => `${baseUrl}/admin/application_settings/services/${params.id}/edit`;
+export const editAdminBroadcastMessagePath = params => `${baseUrl}/admin/broadcast_messages/${params.id}/edit`;
+export const editAdminDeployKeyPath = params => `${baseUrl}/admin/deploy_keys/${params.id}/edit`;
+export const editAdminHookPath = params => `${baseUrl}/admin/hooks/${params.id}/edit`;
+export const editAdminLabelPath = params => `${baseUrl}/admin/labels/${params.id}/edit`;
+export const editAdminUserIdentityPath = params => `${baseUrl}/admin/users/${params.userId}/identities/${params.id}/edit`;
+export const editAdminUserPath = params => `${baseUrl}/admin/users/${params.id}/edit`;
+export const editGroupLabelPath = params => `${baseUrl}/groups/${params.groupId}/-/labels/${params.id}/edit`;
+export const editGroupMilestonePath = params => `${baseUrl}/groups/${params.groupId}/-/milestones/${params.id}/edit`;
+export const editGroupPath = params => `${baseUrl}/groups/${params.id}/-/edit`;
+export const editGroupRunnerPath = params => `${baseUrl}/groups/${params.groupId}/-/runners/${params.id}/edit`;
+export const editLfsLockPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/info/lfs/locks/${params.id}/edit`;
+export const editNamespaceProjectDeployKeyPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/deploy_keys/${params.id}/edit`;
+export const editNamespaceProjectEnvironmentPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/${params.id}/edit`;
+export const editNamespaceProjectHookPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/hooks/${params.id}/edit`;
+export const editNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/edit`;
+export const editNamespaceProjectLabelPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/labels/${params.id}/edit`;
+export const editNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/edit`;
+export const editNamespaceProjectMilestonePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/milestones/${params.id}/edit`;
+export const editNamespaceProjectPagesDomainPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pages/domains/${params.id}/edit`;
+export const editNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/edit`;
+export const editNamespaceProjectPipelineSchedulePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipeline_schedules/${params.id}/edit`;
+export const editNamespaceProjectRunnerPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/runners/${params.id}/edit`;
+export const editNamespaceProjectServicePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/services/${params.id}/edit`;
+export const editNamespaceProjectSnippetPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/snippets/${params.id}/edit`;
+export const editNamespaceProjectTagReleasePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/tags/${params.tagId}/release/edit`;
+export const editNamespaceProjectTriggerPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/triggers/${params.id}/edit`;
+export const editOauthApplicationPath = params => `${baseUrl}/oauth/applications/${params.id}/edit`;
+export const editProfilePasswordPath = params => `${baseUrl}/profile/password/edit`;
+export const editSnippetPath = params => `${baseUrl}/snippets/${params.id}/edit`;
+export const editUserPasswordPath = params => `${baseUrl}/users/password/edit`;
+export const editUserRegistrationPath = params => `${baseUrl}/users/edit`;
+export const emailConfirmationPath = params => `${baseUrl}/profile/emails/confirmation`;
+export const enableNamespaceProjectDeployKeyPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/deploy_keys/${params.id}/enable`;
+export const eraseNamespaceProjectJobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.id}/erase`;
+export const exploreGroupsPath = params => `${baseUrl}/explore/groups`;
+export const exploreProjectsPath = params => `${baseUrl}/explore/projects`;
+export const exploreRootPath = params => `${baseUrl}/explore`;
+export const exploreSnippetsPath = params => `${baseUrl}/explore/snippets`;
+export const exportNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/export`;
+export const failuresNamespaceProjectPipelinePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/${params.id}/failures`;
+export const faviconAdminAppearancesPath = params => `${baseUrl}/admin/appearance/favicon`;
+export const fileNamespaceProjectBuildArtifactsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/builds/${params.buildId}/artifacts/file/${params.path}`;
+export const fileNamespaceProjectJobArtifactsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.jobId}/artifacts/file/${params.path}`;
+export const folderNamespaceProjectEnvironmentsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/folders/${params.id}`;
+export const generateBoardListsPath = params => `${baseUrl}/-/boards/${params.boardId}/lists/generate`;
+export const generateNamespaceProjectLabelsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/labels/generate`;
+export const generateNewExportNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/generate_new_export`;
+export const geoAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/geo`;
+export const gitReceivePackPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/git-receive-pack`;
+export const gitUploadPackPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/git-upload-pack`;
+export const graphiqlRailsPath = () => `${baseUrl}/-/graphql-explorer`;
+export const groupArchivedPath = params => `${baseUrl}/groups/${params.id}/-/archived`;
+export const groupAvatarPath = params => `${baseUrl}/groups/${params.groupId}/-/avatar`;
+export const groupBoardPath = params => `${baseUrl}/groups/${params.groupId}/-/boards/${params.id}`;
+export const groupBoardsPath = params => `${baseUrl}/groups/${params.groupId}/-/boards`;
+export const groupCanonicalPath = params => `${baseUrl}/groups/${params.id}`;
+export const groupChildrenPath = params => `${baseUrl}/groups/${params.groupId}/-/children`;
+export const groupGroupMemberPath = params => `${baseUrl}/groups/${params.groupId}/-/group_members/${params.id}`;
+export const groupGroupMembersPath = params => `${baseUrl}/groups/${params.groupId}/-/group_members`;
+export const groupLabelPath = params => `${baseUrl}/groups/${params.groupId}/-/labels/${params.id}`;
+export const groupLabelsPath = params => `${baseUrl}/groups/${params.groupId}/-/labels`;
+export const groupMilestonePath = params => `${baseUrl}/groups/${params.groupId}/-/milestones/${params.id}`;
+export const groupMilestonesPath = params => `${baseUrl}/groups/${params.groupId}/-/milestones`;
+export const groupPath = params => `${baseUrl}/${params.id}`;
+export const groupPreviewMarkdownPath = params => `${baseUrl}/groups/${params.groupId}/preview_markdown`;
+export const groupRunnerPath = params => `${baseUrl}/groups/${params.groupId}/-/runners/${params.id}`;
+export const groupRunnersPath = params => `${baseUrl}/groups/${params.groupId}/-/runners`;
+export const groupSettingsCiCdPath = params => `${baseUrl}/groups/${params.groupId}/-/settings/ci_cd`;
+export const groupSharedPath = params => `${baseUrl}/groups/${params.id}/-/shared`;
+export const groupSharedProjectsPath = params => `${baseUrl}/groups/${params.groupId}/-/shared_projects`;
+export const groupUploadsPath = params => `${baseUrl}/groups/${params.groupId}/-/uploads`;
+export const groupVariablesPath = params => `${baseUrl}/groups/${params.groupId}/-/variables`;
+export const groupsPath = params => `${baseUrl}/groups`;
+export const headerLogosAdminAppearancesPath = params => `${baseUrl}/admin/appearance/header_logos`;
+export const healthCheckPath = params => `${baseUrl}/health_check/${params.checks}`;
+export const helpInstanceConfigurationPath = params => `${baseUrl}/help/instance_configuration`;
+export const helpPagePath = params => `${baseUrl}/help/${params.path}`;
+export const helpPath = params => `${baseUrl}/help`;
+export const helpShortcutsPath = params => `${baseUrl}/help/shortcuts`;
+export const helpUiPath = params => `${baseUrl}/help/ui`;
+export const housekeepingNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/housekeeping`;
+export const idePath = params => `${baseUrl}/-/ide`;
+export const impersonateAdminUserPath = params => `${baseUrl}/admin/users/${params.id}/impersonate`;
+export const importBitbucketPath = params => `${baseUrl}/import/bitbucket`;
+export const importBitbucketServerPath = params => `${baseUrl}/import/bitbucket_server`;
+export const importFogbugzPath = params => `${baseUrl}/import/fogbugz`;
+export const importGiteaPath = params => `${baseUrl}/import/gitea`;
+export const importGithubPath = params => `${baseUrl}/import/github`;
+export const importGitlabPath = params => `${baseUrl}/import/gitlab`;
+export const importGitlabProjectPath = params => `${baseUrl}/import/gitlab_project`;
+export const importGoogleCodePath = params => `${baseUrl}/import/google_code`;
+export const importManifestPath = params => `${baseUrl}/import/manifest`;
+export const importNamespaceProjectProjectMembersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/project_members/import`;
+export const infoRefsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/info/refs`;
+export const installApplicationsNamespaceProjectClusterPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/clusters/${params.id}/applications/${params.application}`;
+export const instanceStatisticsCohortsPath = params => `${baseUrl}/-/instance_statistics/cohorts`;
+export const instanceStatisticsConversationalDevelopmentIndexIndexPath = params => `${baseUrl}/-/instance_statistics/conversational_development_index`;
+export const instanceStatisticsRootPath = params => `${baseUrl}/-/instance_statistics`;
+export const integrationsAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/integrations`;
+export const invitePath = params => `${baseUrl}/invites/${params.id}`;
+export const issuesDashboardPath = params => `${baseUrl}/dashboard/issues`;
+export const issuesGroupCalendarPath = params => `${baseUrl}/groups/${params.id}/-/issues`;
+export const issuesGroupPath = params => `${baseUrl}/groups/${params.id}/-/issues`;
+export const issuesNamespaceProjectAutocompleteSourcesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/autocomplete_sources/issues`;
+export const jobsImportBitbucketPath = params => `${baseUrl}/import/bitbucket/jobs`;
+export const jobsImportBitbucketServerPath = params => `${baseUrl}/import/bitbucket_server/jobs`;
+export const jobsImportFogbugzPath = params => `${baseUrl}/import/fogbugz/jobs`;
+export const jobsImportGiteaPath = params => `${baseUrl}/import/gitea/jobs`;
+export const jobsImportGithubPath = params => `${baseUrl}/import/github/jobs`;
+export const jobsImportGitlabPath = params => `${baseUrl}/import/gitlab/jobs`;
+export const jobsImportGoogleCodePath = params => `${baseUrl}/import/google_code/jobs`;
+export const jobsImportManifestPath = params => `${baseUrl}/import/manifest/jobs`;
+export const jwtAuthPath = params => `${baseUrl}/jwt/auth`;
+export const keepNamespaceProjectJobArtifactsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.jobId}/artifacts/keep`;
+export const keysAdminUserPath = params => `${baseUrl}/admin/users/${params.id}/keys`;
+export const labelsDashboardMilestonePath = params => `${baseUrl}/dashboard/milestones/${params.id}/labels`;
+export const labelsGroupMilestonePath = params => `${baseUrl}/groups/${params.groupId}/-/milestones/${params.id}/labels`;
+export const labelsNamespaceProjectAutocompleteSourcesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/autocomplete_sources/labels`;
+export const labelsNamespaceProjectMilestonePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/milestones/${params.id}/labels`;
+export const languagesNamespaceProjectGraphPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/graphs/${params.id}/languages`;
+export const latestSucceededNamespaceProjectArtifactsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/artifacts/${params.refNameAndPath}`;
+export const leaveGroupGroupMembersPath = params => `${baseUrl}/groups/${params.groupId}/-/group_members/leave`;
+export const leaveNamespaceProjectProjectMembersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/project_members/leave`;
+export const legacyActivityRedirectPath = params => `${baseUrl}/groups/${params.groupId}/activity/${params.rest}`;
+export const legacyEditRedirectPath = params => `${baseUrl}/groups/${params.groupId}/edit/${params.rest}`;
+export const legacyGroupMembersRedirectPath = params => `${baseUrl}/groups/${params.groupId}/group_members/${params.rest}`;
+export const legacyIssuesRedirectPath = params => `${baseUrl}/groups/${params.groupId}/issues/${params.rest}`;
+export const legacyLabelsRedirectPath = params => `${baseUrl}/groups/${params.groupId}/labels/${params.rest}`;
+export const legacyMergeRequestsRedirectPath = params => `${baseUrl}/groups/${params.groupId}/merge_requests/${params.rest}`;
+export const legacyMilestonesRedirectPath = params => `${baseUrl}/groups/${params.groupId}/milestones/${params.rest}`;
+export const legacyProjectsRedirectPath = params => `${baseUrl}/groups/${params.groupId}/projects/${params.rest}`;
+export const letterOpenerWebPath = () => `${baseUrl}/rails/letter_opener`;
+export const lfsLockPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/info/lfs/locks/${params.id}`;
+export const lfsLocksPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/info/lfs/locks`;
+export const livenessPath = params => `${baseUrl}/-/liveness`;
+export const logoAdminAppearancesPath = params => `${baseUrl}/admin/appearance/logo`;
+export const logsFileNamespaceProjectRefPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/refs/${params.id}/logs_tree/${params.path}`;
+export const logsTreeNamespaceProjectRefPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/refs/${params.id}/logs_tree`;
+export const markAsHamAdminSpamLogPath = params => `${baseUrl}/admin/spam_logs/${params.id}/mark_as_ham`;
+export const markAsSpamNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/mark_as_spam`;
+export const markAsSpamNamespaceProjectSnippetPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/snippets/${params.id}/mark_as_spam`;
+export const markAsSpamSnippetPath = params => `${baseUrl}/snippets/${params.id}/mark_as_spam`;
+export const membersNamespaceProjectAutocompleteSourcesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/autocomplete_sources/members`;
+export const mergeNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/merge`;
+export const mergeRequestsDashboardMilestonePath = params => `${baseUrl}/dashboard/milestones/${params.id}/merge_requests`;
+export const mergeRequestsDashboardPath = params => `${baseUrl}/dashboard/merge_requests`;
+export const mergeRequestsGroupMilestonePath = params => `${baseUrl}/groups/${params.groupId}/-/milestones/${params.id}/merge_requests`;
+export const mergeRequestsGroupPath = params => `${baseUrl}/groups/${params.id}/-/merge_requests`;
+export const mergeRequestsNamespaceProjectAutocompleteSourcesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/autocomplete_sources/merge_requests`;
+export const mergeRequestsNamespaceProjectCommitPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/commit/${params.id}/merge_requests`;
+export const mergeRequestsNamespaceProjectMilestonePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/milestones/${params.id}/merge_requests`;
+export const metricsAndProfilingAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/metrics_and_profiling`;
+export const metricsNamespaceProjectEnvironmentDeploymentPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/${params.environmentId}/deployments/${params.id}/metrics`;
+export const metricsNamespaceProjectEnvironmentPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/${params.id}/metrics`;
+export const metricsNamespaceProjectEnvironmentsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/metrics`;
+export const metricsPath = params => `${baseUrl}/-/metrics`;
+export const milestonesNamespaceProjectAutocompleteSourcesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/autocomplete_sources/milestones`;
+export const moveNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/move`;
+export const namespaceProjectArchivePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/archive/${params.id}`;
+export const namespaceProjectAvatarPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/avatar`;
+export const namespaceProjectBadgesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/badges`;
+export const namespaceProjectBlamePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/blame/${params.id}`;
+export const namespaceProjectBlobDiffPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/blob/${params.id}/diff`;
+export const namespaceProjectBlobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/blob/${params.id}`;
+export const namespaceProjectBoardPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/boards/${params.id}`;
+export const namespaceProjectBoardsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/boards`;
+export const namespaceProjectBranchPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/branches/${params.id}`;
+export const namespaceProjectBranchesFilteredPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/branches/${params.state}`;
+export const namespaceProjectBranchesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/branches`;
+export const namespaceProjectBuildPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/builds/${params.id}`;
+export const namespaceProjectBuildsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/builds`;
+export const namespaceProjectCiLintPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/ci/lint`;
+export const namespaceProjectClusterPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/clusters/${params.id}`;
+export const namespaceProjectClustersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/clusters`;
+export const namespaceProjectCommitPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/commit/${params.id}`;
+export const namespaceProjectCommitsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/commits/${params.id}`;
+export const namespaceProjectCommitsRootPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/commits`;
+export const namespaceProjectCompareIndexPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/compare`;
+export const namespaceProjectComparePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/compare/${params.from}...${params.to}`;
+export const namespaceProjectContainerRegistryIndexPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/container_registry`;
+export const namespaceProjectContainerRegistryPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/container_registry/${params.id}`;
+export const namespaceProjectCreateBlobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/create/${params.id}`;
+export const namespaceProjectCreateDirPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/create_dir/${params.id}`;
+export const namespaceProjectCycleAnalyticsCodePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/cycle_analytics/events/code`;
+export const namespaceProjectCycleAnalyticsIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/cycle_analytics/events/issue`;
+export const namespaceProjectCycleAnalyticsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/cycle_analytics`;
+export const namespaceProjectCycleAnalyticsPlanPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/cycle_analytics/events/plan`;
+export const namespaceProjectCycleAnalyticsProductionPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/cycle_analytics/events/production`;
+export const namespaceProjectCycleAnalyticsReviewPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/cycle_analytics/events/review`;
+export const namespaceProjectCycleAnalyticsStagingPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/cycle_analytics/events/staging`;
+export const namespaceProjectCycleAnalyticsTestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/cycle_analytics/events/test`;
+export const namespaceProjectDeployKeyPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/deploy_keys/${params.id}`;
+export const namespaceProjectDeployKeysPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/deploy_keys`;
+export const namespaceProjectEditBlobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/edit/${params.id}`;
+export const namespaceProjectEnvironmentDeploymentsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/${params.environmentId}/deployments`;
+export const namespaceProjectEnvironmentPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/${params.id}`;
+export const namespaceProjectEnvironmentsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments`;
+export const namespaceProjectFilesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/files/${params.id}`;
+export const namespaceProjectFindFilePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/find_file/${params.id}`;
+export const namespaceProjectForksPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/forks`;
+export const namespaceProjectGraphPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/graphs/${params.id}`;
+export const namespaceProjectGroupLinkPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/group_links/${params.id}`;
+export const namespaceProjectGroupLinksPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/group_links`;
+export const namespaceProjectHookHookLogPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/hooks/${params.hookId}/hook_logs/${params.id}`;
+export const namespaceProjectHookPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/hooks/${params.id}`;
+export const namespaceProjectHooksPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/hooks`;
+export const namespaceProjectImportPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/import`;
+export const namespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}`;
+export const namespaceProjectIssuesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues`;
+export const namespaceProjectJobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.id}`;
+export const namespaceProjectJobsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs`;
+export const namespaceProjectLabelPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/labels/${params.id}`;
+export const namespaceProjectLabelsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/labels`;
+export const namespaceProjectMattermostPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/mattermost`;
+export const namespaceProjectMergeRequestDiscussionPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.mergeRequestId}/discussions/${params.id}`;
+export const namespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}`;
+export const namespaceProjectMergeRequestsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests`;
+export const namespaceProjectMergedBranchesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merged_branches`;
+export const namespaceProjectMilestonePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/milestones/${params.id}`;
+export const namespaceProjectMilestonesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/milestones`;
+export const namespaceProjectMirrorPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/mirror`;
+export const namespaceProjectNetworkPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/network/${params.id}`;
+export const namespaceProjectNewBlobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/new/${params.id}`;
+export const namespaceProjectNewMergeRequestBranchFromPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/new/${params.mergeRequestSourceBranch}/branch_from`;
+export const namespaceProjectNewMergeRequestBranchToPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/new/${params.mergeRequestSourceBranch}/branch_to`;
+export const namespaceProjectNewMergeRequestDiffForPathPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/new/${params.mergeRequestSourceBranch}/diff_for_path`;
+export const namespaceProjectNewMergeRequestDiffsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/new/${params.mergeRequestSourceBranch}/diffs`;
+export const namespaceProjectNewMergeRequestJsonDiffsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/new/${params.mergeRequestSourceBranch}/diffs`;
+export const namespaceProjectNewMergeRequestJsonPipelinesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/new/${params.mergeRequestSourceBranch}/pipelines`;
+export const namespaceProjectNewMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/new/${params.mergeRequestSourceBranch}`;
+export const namespaceProjectNewMergeRequestPipelinesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/new/${params.mergeRequestSourceBranch}/pipelines`;
+export const namespaceProjectNotePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/notes/${params.id}`;
+export const namespaceProjectNoteableNotesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/noteable/${params.targetType}/${params.targetId}/notes`;
+export const namespaceProjectNotesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/notes`;
+export const namespaceProjectPagesDomainPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pages/domains/${params.id}`;
+export const namespaceProjectPagesDomainsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pages/domains`;
+export const namespaceProjectPagesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pages`;
+export const namespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}`;
+export const namespaceProjectPipelinePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/${params.id}`;
+export const namespaceProjectPipelineSchedulePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipeline_schedules/${params.id}`;
+export const namespaceProjectPipelineSchedulesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipeline_schedules`;
+export const namespaceProjectPipelinesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines`;
+export const namespaceProjectPipelinesSettingsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/settings`;
+export const namespaceProjectPreviewBlobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/preview/${params.id}`;
+export const namespaceProjectProjectMemberPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/project_members/${params.id}`;
+export const namespaceProjectProjectMembersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/project_members`;
+export const namespaceProjectProtectedBranchPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/protected_branches/${params.id}`;
+export const namespaceProjectProtectedBranchesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/protected_branches`;
+export const namespaceProjectProtectedTagPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/protected_tags/${params.id}`;
+export const namespaceProjectProtectedTagsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/protected_tags`;
+export const namespaceProjectRawPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/raw/${params.id}`;
+export const namespaceProjectRegistryRepositoryTagPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/registry/repository/${params.repositoryId}/tags/${params.id}`;
+export const namespaceProjectRegistryRepositoryTagsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/registry/repository/${params.repositoryId}/tags`;
+export const namespaceProjectRepositoryPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/repository`;
+export const namespaceProjectRunnerPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/runners/${params.id}`;
+export const namespaceProjectRunnerProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/runner_projects/${params.id}`;
+export const namespaceProjectRunnerProjectsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/runner_projects`;
+export const namespaceProjectRunnersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/runners`;
+export const namespaceProjectServicePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/services/${params.id}`;
+export const namespaceProjectSettingsCiCdPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/settings/ci_cd`;
+export const namespaceProjectSettingsIntegrationsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/settings/integrations`;
+export const namespaceProjectSettingsMembersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/settings/members`;
+export const namespaceProjectSettingsRepositoryPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/settings/repository`;
+export const namespaceProjectSignaturesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/commits/${params.id}/signatures`;
+export const namespaceProjectSnippetPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/snippets/${params.id}`;
+export const namespaceProjectSnippetsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/snippets`;
+export const namespaceProjectTagPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/tags/${params.id}`;
+export const namespaceProjectTagReleasePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/tags/${params.tagId}/release`;
+export const namespaceProjectTagsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/tags`;
+export const namespaceProjectTemplatePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/templates/${params.templateType}/${params.key}`;
+export const namespaceProjectTodosPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/todos`;
+export const namespaceProjectTreePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/tree/${params.id}`;
+export const namespaceProjectTriggerPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/triggers/${params.id}`;
+export const namespaceProjectTriggersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/triggers`;
+export const namespaceProjectUpdateBlobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/update/${params.id}`;
+export const namespaceProjectUploadsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/uploads`;
+export const namespaceProjectVariablesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/variables`;
+export const namespaceProjectWikiEditPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/wikis/${params.id}/edit`;
+export const namespaceProjectWikiHistoryPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/wikis/${params.id}/history`;
+export const namespaceProjectWikiPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/wikis/${params.id}`;
+export const namespaceProjectWikiPreviewMarkdownPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/wikis/${params.id}/preview_markdown`;
+export const namespaceProjectWikisGitAccessPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/wikis/git_access`;
+export const namespaceProjectWikisPagesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/wikis/pages`;
+export const namespaceProjectWikisPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/wikis`;
+export const nativeOauthAuthorizationPath = params => `${baseUrl}/oauth/authorize/native`;
+export const networkAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/network`;
+export const newAbuseReportPath = params => `${baseUrl}/abuse_reports/new`;
+export const newAdminApplicationPath = params => `${baseUrl}/admin/applications/new`;
+export const newAdminDeployKeyPath = params => `${baseUrl}/admin/deploy_keys/new`;
+export const newAdminGroupPath = params => `${baseUrl}/admin/groups/new`;
+export const newAdminLabelPath = params => `${baseUrl}/admin/labels/new`;
+export const newAdminUserIdentityPath = params => `${baseUrl}/admin/users/${params.userId}/identities/new`;
+export const newAdminUserPath = params => `${baseUrl}/admin/users/new`;
+export const newEmailConfirmationPath = params => `${baseUrl}/profile/emails/confirmation/new`;
+export const newGroupLabelPath = params => `${baseUrl}/groups/${params.groupId}/-/labels/new`;
+export const newGroupMilestonePath = params => `${baseUrl}/groups/${params.groupId}/-/milestones/new`;
+export const newGroupPath = params => `${baseUrl}/groups/new`;
+export const newImportBitbucketServerPath = params => `${baseUrl}/import/bitbucket_server/new`;
+export const newImportFogbugzPath = params => `${baseUrl}/import/fogbugz/new`;
+export const newImportGiteaPath = params => `${baseUrl}/import/gitea/new`;
+export const newImportGithubPath = params => `${baseUrl}/import/github/new`;
+export const newImportGitlabProjectPath = params => `${baseUrl}/import/gitlab_project/new`;
+export const newImportGoogleCodePath = params => `${baseUrl}/import/google_code/new`;
+export const newImportManifestPath = params => `${baseUrl}/import/manifest/new`;
+export const newIssuableAddressNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/new_issuable_address`;
+export const newLfsLockPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/info/lfs/locks/new`;
+export const newNamespaceProjectBranchPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/branches/new`;
+export const newNamespaceProjectClusterPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/clusters/new`;
+export const newNamespaceProjectDeployKeyPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/deploy_keys/new`;
+export const newNamespaceProjectEnvironmentPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/new`;
+export const newNamespaceProjectForkPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/forks/new`;
+export const newNamespaceProjectImportPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/import/new`;
+export const newNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/new`;
+export const newNamespaceProjectLabelPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/labels/new`;
+export const newNamespaceProjectMattermostPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/mattermost/new`;
+export const newNamespaceProjectMilestonePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/milestones/new`;
+export const newNamespaceProjectPagesDomainPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pages/domains/new`;
+export const newNamespaceProjectPipelinePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/new`;
+export const newNamespaceProjectPipelineSchedulePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipeline_schedules/new`;
+export const newNamespaceProjectSnippetPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/snippets/new`;
+export const newNamespaceProjectTagPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/tags/new`;
+export const newOauthApplicationPath = params => `${baseUrl}/oauth/applications/new`;
+export const newProfileChatNamePath = params => `${baseUrl}/profile/chat_names/new`;
+export const newProfilePasswordPath = params => `${baseUrl}/profile/password/new`;
+export const newProjectPath = params => `${baseUrl}/projects/new`;
+export const newSnippetPath = params => `${baseUrl}/snippets/new`;
+export const newUserConfirmationPath = params => `${baseUrl}/users/confirmation/new`;
+export const newUserMapImportFogbugzPath = params => `${baseUrl}/import/fogbugz/user_map`;
+export const newUserMapImportGoogleCodePath = params => `${baseUrl}/import/google_code/user_map`;
+export const newUserPasswordPath = params => `${baseUrl}/users/password/new`;
+export const newUserRegistrationPath = params => `${baseUrl}/users/sign_up`;
+export const newUserSessionPath = params => `${baseUrl}/users/sign_in`;
+export const newUserUnlockPath = params => `${baseUrl}/users/unlock/new`;
+export const notificationSettingPath = params => `${baseUrl}/notification_settings/${params.id}`;
+export const notificationSettingsPath = params => `${baseUrl}/notification_settings`;
+export const oauthApplicationPath = params => `${baseUrl}/oauth/applications/${params.id}`;
+export const oauthApplicationsPath = params => `${baseUrl}/oauth/applications`;
+export const oauthAuthorizationPath = params => `${baseUrl}/oauth/authorize`;
+export const oauthAuthorizedApplicationPath = params => `${baseUrl}/oauth/authorized_applications/${params.id}`;
+export const oauthAuthorizedApplicationsPath = params => `${baseUrl}/oauth/authorized_applications`;
+export const oauthDiscoveryKeysPath = params => `${baseUrl}/oauth/discovery/keys`;
+export const oauthDiscoveryProviderPath = params => `${baseUrl}/.well-known/openid-configuration`;
+export const oauthDiscoveryWebfingerPath = params => `${baseUrl}/.well-known/webfinger`;
+export const oauthIntrospectPath = params => `${baseUrl}/oauth/introspect`;
+export const oauthJiraPath = params => `${baseUrl}/login/oauth/${params.all}`;
+export const oauthRevokePath = params => `${baseUrl}/oauth/revoke`;
+export const oauthTokenInfoPath = params => `${baseUrl}/oauth/token/info`;
+export const oauthTokenPath = params => `${baseUrl}/oauth/token`;
+export const oauthUserinfoPath = params => `${baseUrl}/oauth/userinfo`;
+export const omniauthErrorPath = params => `${baseUrl}/users/auth/${params.provider}/omniauth_error`;
+export const participantsDashboardMilestonePath = params => `${baseUrl}/dashboard/milestones/${params.id}/participants`;
+export const participantsGroupMilestonePath = params => `${baseUrl}/groups/${params.groupId}/-/milestones/${params.id}/participants`;
+export const participantsNamespaceProjectMilestonePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/milestones/${params.id}/participants`;
+export const pauseAdminRunnerPath = params => `${baseUrl}/admin/runners/${params.id}/pause`;
+export const pauseGroupRunnerPath = params => `${baseUrl}/groups/${params.groupId}/-/runners/${params.id}/pause`;
+export const pauseNamespaceProjectRunnerPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/runners/${params.id}/pause`;
+export const peekRoutesPath = () => `${baseUrl}/-/peek`;
+export const personalAccessTokenImportGiteaPath = params => `${baseUrl}/import/gitea/personal_access_token`;
+export const personalAccessTokenImportGithubPath = params => `${baseUrl}/import/github/personal_access_token`;
+export const pipelineNamespaceProjectBadgesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/badges/${params.ref}/pipeline`;
+export const pipelineStatusNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/pipeline_status`;
+export const pipelinesNamespaceProjectCommitPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/commit/${params.id}/pipelines`;
+export const pipelinesNamespaceProjectJsonMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/pipelines`;
+export const pipelinesNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/pipelines`;
+export const playNamespaceProjectJobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.id}/play`;
+export const playNamespaceProjectPipelineSchedulePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipeline_schedules/${params.id}/play`;
+export const preferencesAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/preferences`;
+export const previewAdminBroadcastMessagesPath = params => `${baseUrl}/admin/broadcast_messages/preview`;
+export const previewMarkdownNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/preview_markdown`;
+export const previewMarkdownSnippetsPath = params => `${baseUrl}/snippets/preview_markdown`;
+export const previewSignInAdminAppearancesPath = params => `${baseUrl}/admin/appearance/preview_sign_in`;
+export const profileAccountPath = params => `${baseUrl}/profile/account`;
+export const profileActiveSessionPath = params => `${baseUrl}/profile/active_sessions/${params.id}`;
+export const profileActiveSessionsPath = params => `${baseUrl}/profile/active_sessions`;
+export const profileAvatarPath = params => `${baseUrl}/profile/avatar`;
+export const profileChatNamePath = params => `${baseUrl}/profile/chat_names/${params.id}`;
+export const profileChatNamesPath = params => `${baseUrl}/profile/chat_names`;
+export const profileEmailPath = params => `${baseUrl}/profile/emails/${params.id}`;
+export const profileEmailsPath = params => `${baseUrl}/profile/emails`;
+export const profileGpgKeyPath = params => `${baseUrl}/profile/gpg_keys/${params.id}`;
+export const profileGpgKeysPath = params => `${baseUrl}/profile/gpg_keys`;
+export const profileKeyPath = params => `${baseUrl}/profile/keys/${params.id}`;
+export const profileKeysPath = params => `${baseUrl}/profile/keys`;
+export const profileNotificationsPath = params => `${baseUrl}/profile/notifications`;
+export const profilePasswordPath = params => `${baseUrl}/profile/password`;
+export const profilePath = params => `${baseUrl}/profile`;
+export const profilePersonalAccessTokensPath = params => `${baseUrl}/profile/personal_access_tokens`;
+export const profilePreferencesPath = params => `${baseUrl}/profile/preferences`;
+export const profileTwoFactorAuthPath = params => `${baseUrl}/profile/two_factor_auth`;
+export const profileU2fRegistrationPath = params => `${baseUrl}/profile/u2f_registrations/${params.id}`;
+export const projectsAdminUserPath = params => `${baseUrl}/admin/users/${params.id}/projects`;
+export const projectsGroupPath = params => `${baseUrl}/groups/${params.id}/-/projects`;
+export const projectsPath = params => `${baseUrl}/projects`;
+export const promoteNamespaceProjectLabelPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/labels/${params.id}/promote`;
+export const promoteNamespaceProjectMilestonePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/milestones/${params.id}/promote`;
+export const publicPath = params => `${baseUrl}/public`;
+export const publicProjectsPath = params => `${baseUrl}/public/projects`;
+export const railsInfoPath = params => `${baseUrl}/rails/info`;
+export const railsInfoPropertiesPath = params => `${baseUrl}/rails/info/properties`;
+export const railsInfoRoutesPath = params => `${baseUrl}/rails/info/routes`;
+export const railsMailersPath = params => `${baseUrl}/rails/mailers`;
+export const rawNamespaceProjectBuildArtifactsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/builds/${params.buildId}/artifacts/raw/${params.path}`;
+export const rawNamespaceProjectBuildPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/builds/${params.id}/raw`;
+export const rawNamespaceProjectJobArtifactsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.jobId}/artifacts/raw/${params.path}`;
+export const rawNamespaceProjectJobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.id}/raw`;
+export const rawNamespaceProjectSnippetPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/snippets/${params.id}/raw`;
+export const rawSnippetPath = params => `${baseUrl}/snippets/${params.id}/raw`;
+export const readinessPath = params => `${baseUrl}/-/readiness`;
+export const realtimeChangesNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/realtime_changes`;
+export const rebaseNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/rebase`;
+export const referencedMergeRequestsNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/referenced_merge_requests`;
+export const refsNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/refs`;
+export const relatedBranchesNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/related_branches`;
+export const removeEmailAdminUserPath = params => `${baseUrl}/admin/users/${params.id}/remove/${params.emailId}`;
+export const removeExportNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/remove_export`;
+export const removeForkNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/remove_fork`;
+export const removePriorityNamespaceProjectLabelPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/labels/${params.id}/remove_priority`;
+export const removeWipNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/remove_wip`;
+export const reportingAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/reporting`;
+export const repositoryAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/repository`;
+export const repositoryCheckAdminNamespaceProjectPath = params => `${baseUrl}/admin/projects/${params.namespaceId}/${params.id}/repository_check`;
+export const requestAccessGroupGroupMembersPath = params => `${baseUrl}/groups/${params.groupId}/-/group_members/request_access`;
+export const requestAccessNamespaceProjectProjectMembersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/project_members/request_access`;
+export const resendConfirmationInstructionsProfileEmailPath = params => `${baseUrl}/profile/emails/${params.id}/resend_confirmation_instructions`;
+export const resendInviteGroupGroupMemberPath = params => `${baseUrl}/groups/${params.groupId}/-/group_members/${params.id}/resend_invite`;
+export const resendInviteNamespaceProjectProjectMemberPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/project_members/${params.id}/resend_invite`;
+export const resetCacheNamespaceProjectSettingsCiCdPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/settings/ci_cd/reset_cache`;
+export const resetFeedTokenProfilePath = params => `${baseUrl}/profile/reset_feed_token`;
+export const resetHealthCheckTokenAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/reset_health_check_token`;
+export const resetIncomingEmailTokenProfilePath = params => `${baseUrl}/profile/reset_incoming_email_token`;
+export const resetProfilePasswordPath = params => `${baseUrl}/profile/password/reset`;
+export const resetRegistrationTokenAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/reset_registration_token`;
+export const resetRegistrationTokenGroupSettingsCiCdPath = params => `${baseUrl}/groups/${params.groupId}/-/settings/ci_cd/reset_registration_token`;
+export const resetRegistrationTokenNamespaceProjectSettingsCiCdPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/settings/ci_cd/reset_registration_token`;
+export const resolveConflictsNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/resolve_conflicts`;
+export const resolveNamespaceProjectMergeRequestDiscussionPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.mergeRequestId}/discussions/${params.id}/resolve`;
+export const resolveNamespaceProjectNotePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/notes/${params.id}/resolve`;
+export const restoreDashboardTodoPath = params => `${baseUrl}/dashboard/todos/${params.id}/restore`;
+export const resumeAdminRunnerPath = params => `${baseUrl}/admin/runners/${params.id}/resume`;
+export const resumeGroupRunnerPath = params => `${baseUrl}/groups/${params.groupId}/-/runners/${params.id}/resume`;
+export const resumeNamespaceProjectRunnerPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/runners/${params.id}/resume`;
+export const retryAdminHookHookLogPath = params => `${baseUrl}/admin/hooks/${params.hookId}/hook_logs/${params.id}/retry`;
+export const retryNamespaceProjectHookHookLogPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/hooks/${params.hookId}/hook_logs/${params.id}/retry`;
+export const retryNamespaceProjectJobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.id}/retry`;
+export const retryNamespaceProjectPipelinePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/${params.id}/retry`;
+export const revertNamespaceProjectCommitPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/commit/${params.id}/revert`;
+export const revokeAdminUserImpersonationTokenPath = params => `${baseUrl}/admin/users/${params.userId}/impersonation_tokens/${params.id}/revoke`;
+export const revokeNamespaceProjectDeployTokenPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/deploy_tokens/${params.id}/revoke`;
+export const revokeProfileGpgKeyPath = params => `${baseUrl}/profile/gpg_keys/${params.id}/revoke`;
+export const revokeProfilePersonalAccessTokenPath = params => `${baseUrl}/profile/personal_access_tokens/${params.id}/revoke`;
+export const rootDashboardPath = params => `${baseUrl}/dashboard`;
+export const rootPath = () => `${baseUrl}/`;
+export const searchAutocompletePath = params => `${baseUrl}/search/autocomplete`;
+export const searchPath = params => `${baseUrl}/search`;
+export const setPrioritiesNamespaceProjectLabelsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/labels/set_priorities`;
+export const showGroupUploadsPath = params => `${baseUrl}/groups/${params.groupId}/-/uploads/${params.secret}/${params.filename}`;
+export const showNamespaceProjectUploadsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/uploads/${params.secret}/${params.filename}`;
+export const sidekiqPath = () => `${baseUrl}/admin/sidekiq`;
+export const signaturesNamespaceProjectCompareIndexPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/compare/signatures`;
+export const skipProfileTwoFactorAuthPath = params => `${baseUrl}/profile/two_factor_auth/skip`;
+export const snippetNotePath = params => `${baseUrl}/snippets/${params.snippetId}/notes/${params.id}`;
+export const snippetNotesPath = params => `${baseUrl}/snippets/${params.snippetId}/notes`;
+export const snippetPath = params => `${baseUrl}/snippets/${params.id}`;
+export const snippetsNamespaceProjectAutocompleteSourcesPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/autocomplete_sources/snippets`;
+export const snippetsPath = params => `${baseUrl}/snippets`;
+export const sortIssuesNamespaceProjectMilestonePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/milestones/${params.id}/sort_issues`;
+export const sortMergeRequestsNamespaceProjectMilestonePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/milestones/${params.id}/sort_merge_requests`;
+export const sshHostKeysNamespaceProjectMirrorPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/mirror/ssh_host_keys`;
+export const stageAjaxNamespaceProjectPipelinePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/${params.id}/stage_ajax`;
+export const stageNamespaceProjectPipelinePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/${params.id}/stage`;
+export const starredDashboardProjectsPath = params => `${baseUrl}/dashboard/projects/starred`;
+export const starredExploreProjectsPath = params => `${baseUrl}/explore/projects/starred`;
+export const statusImportBitbucketPath = params => `${baseUrl}/import/bitbucket/status`;
+export const statusImportBitbucketServerPath = params => `${baseUrl}/import/bitbucket_server/status`;
+export const statusImportFogbugzPath = params => `${baseUrl}/import/fogbugz/status`;
+export const statusImportGiteaPath = params => `${baseUrl}/import/gitea/status`;
+export const statusImportGithubPath = params => `${baseUrl}/import/github/status`;
+export const statusImportGitlabPath = params => `${baseUrl}/import/gitlab/status`;
+export const statusImportGoogleCodePath = params => `${baseUrl}/import/google_code/status`;
+export const statusImportManifestPath = params => `${baseUrl}/import/manifest/status`;
+export const statusNamespaceProjectClusterPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/clusters/${params.id}/status`;
+export const statusNamespaceProjectJobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.id}/status`;
+export const statusNamespaceProjectPipelinePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipelines/${params.id}/status`;
+export const stopNamespaceProjectEnvironmentPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/${params.id}/stop`;
+export const switchNamespaceProjectRefsPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/refs/switch`;
+export const takeOwnershipNamespaceProjectPipelineSchedulePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pipeline_schedules/${params.id}/take_ownership`;
+export const takeOwnershipNamespaceProjectTriggerPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/triggers/${params.id}/take_ownership`;
+export const templatesAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/templates`;
+export const terminalNamespaceProjectEnvironmentPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/environments/${params.id}/terminal`;
+export const terminalNamespaceProjectJobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.id}/terminal`;
+export const termsPath = params => `${baseUrl}/-/users/terms`;
+export const testAdminHookPath = params => `${baseUrl}/admin/hooks/${params.id}/test`;
+export const testNamespaceProjectHookPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/hooks/${params.id}/test`;
+export const testNamespaceProjectServicePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/services/${params.id}/test`;
+export const testReportsNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/test_reports`;
+export const toggleAwardEmojiNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/toggle_award_emoji`;
+export const toggleAwardEmojiNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/toggle_award_emoji`;
+export const toggleAwardEmojiNamespaceProjectNotePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/notes/${params.id}/toggle_award_emoji`;
+export const toggleAwardEmojiNamespaceProjectSnippetPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/snippets/${params.id}/toggle_award_emoji`;
+export const toggleAwardEmojiSnippetNotePath = params => `${baseUrl}/snippets/${params.snippetId}/notes/${params.id}/toggle_award_emoji`;
+export const toggleAwardEmojiSnippetPath = params => `${baseUrl}/snippets/${params.id}/toggle_award_emoji`;
+export const toggleGroupRunnersNamespaceProjectRunnersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/runners/toggle_group_runners`;
+export const toggleSharedRunnersNamespaceProjectRunnersPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/runners/toggle_shared_runners`;
+export const toggleStarNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/toggle_star`;
+export const toggleSubscriptionGroupLabelPath = params => `${baseUrl}/groups/${params.groupId}/-/labels/${params.id}/toggle_subscription`;
+export const toggleSubscriptionNamespaceProjectIssuePath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/issues/${params.id}/toggle_subscription`;
+export const toggleSubscriptionNamespaceProjectLabelPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/labels/${params.id}/toggle_subscription`;
+export const toggleSubscriptionNamespaceProjectMergeRequestPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/merge_requests/${params.id}/toggle_subscription`;
+export const traceNamespaceProjectJobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.id}/trace`;
+export const transferAdminNamespaceProjectPath = params => `${baseUrl}/admin/projects/${params.namespaceId}/${params.id}/transfer`;
+export const transferGroupPath = params => `${baseUrl}/groups/${params.id}/-/transfer`;
+export const transferNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/transfer`;
+export const trendingExploreProjectsPath = params => `${baseUrl}/explore/projects/trending`;
+export const unarchiveNamespaceProjectPath = params => `${baseUrl}/${params.namespaceId}/${params.id}/unarchive`;
+export const unblockAdminUserPath = params => `${baseUrl}/admin/users/${params.id}/unblock`;
+export const unlinkProfileAccountPath = params => `${baseUrl}/profile/account/unlink`;
+export const unlockAdminUserPath = params => `${baseUrl}/admin/users/${params.id}/unlock`;
+export const unlockLfsLockPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/info/lfs/locks/${params.id}/unlock`;
+export const unscheduleNamespaceProjectJobPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/-/jobs/${params.id}/unschedule`;
+export const unsubscribeSentNotificationPath = params => `${baseUrl}/sent_notifications/${params.id}/unsubscribe`;
+export const updateNowNamespaceProjectMirrorPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/mirror/update_now`;
+export const updateUsernameProfilePath = params => `${baseUrl}/profile/update_username`;
+export const uploadImportManifestPath = params => `${baseUrl}/import/manifest/upload`;
+export const uploadPath = params => `${baseUrl}/uploads/${params.model}`;
+export const usageDataAdminApplicationSettingsPath = params => `${baseUrl}/admin/application_settings/usage_data`;
+export const userActivityPath = params => `${baseUrl}/users/${params.username}/activity`;
+export const userCalendarActivitiesPath = params => `${baseUrl}/users/${params.username}/calendar_activities`;
+export const userCalendarPath = params => `${baseUrl}/users/${params.username}/calendar`;
+export const userCalloutsPath = params => `${baseUrl}/-/user_callouts`;
+export const userConfirmationPath = params => `${baseUrl}/users/confirmation`;
+export const userContributedProjectsPath = params => `${baseUrl}/users/${params.username}/contributed`;
+export const userExistsPath = params => `${baseUrl}/users/${params.username}/exists`;
+export const userGroupsPath = params => `${baseUrl}/users/${params.username}/groups`;
+export const userPasswordPath = params => `${baseUrl}/users/password`;
+export const userPath = params => `${baseUrl}/${params.username}`;
+export const userProjectsPath = params => `${baseUrl}/users/${params.username}/projects`;
+export const userRegistrationPath = params => `${baseUrl}/users`;
+export const userSessionPath = params => `${baseUrl}/users/sign_in`;
+export const userSnippetsPath = params => `${baseUrl}/users/${params.username}/snippets`;
+export const userUnlockPath = params => `${baseUrl}/users/unlock`;
+export const usersAlmostTherePath = params => `${baseUrl}/users/almost_there`;
+export const verifyLfsLocksPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/info/lfs/locks/verify`;
+export const verifyNamespaceProjectPagesDomainPath = params => `${baseUrl}/${params.namespaceId}/${params.projectId}/pages/domains/${params.id}/verify`;
diff --git a/lib/tasks/frontend/routes.rake b/lib/tasks/frontend/routes.rake
new file mode 100644
index 00000000000..50669f00cc4
--- /dev/null
+++ b/lib/tasks/frontend/routes.rake
@@ -0,0 +1,68 @@
+Route = Struct.new(:name, :path, :has_params?) do
+ def <=> (other)
+ self.name <=> other.name
+ end
+end
+
+def placeholder_params_hash(params)
+ Hash[params.zip(params.map { |param| "${params.#{param.to_s.camelize(:lower)}}" })]
+end
+
+class InternalRouteGenerator
+ def self.path_for_route(route, params)
+ path = route.format(placeholder_params_hash(params))
+ path = path.gsub(/%7B(.+?)%7D/, '{\1}') # undo escaping of JavaScript placeholdes
+ path.gsub(/\.\$\{params.format\}$/, '') # we favor ?format=
+ end
+
+ def self.all
+ routes = Rails.application.routes.routes.named_routes
+ routes.map do |name, route|
+ params = route.parts
+ Route.new("#{name}_path", self.path_for_route(route, params), !params.empty?)
+ end
+ end
+end
+
+class ApiRouteGenerator
+ def self.path_for_route(route, params, api_version)
+ values = placeholder_params_hash(params).merge(version: api_version)
+ segments = route.path_segments_with_values(values).reject { |s| route.optional_segment?(s) }
+ '/' + segments.join('/')
+ end
+
+ def self.all
+ routes = Array(Grape::API.decorated_routes)
+ routes.flat_map do |route|
+ Array(route.route_options[:version]).map do |api_version|
+ params = route.route_options[:params].keys
+ name = route.path_helper_name({ version: api_version, format: route.extension })
+ Route.new(name, self.path_for_route(route, params, api_version), !params.empty?)
+ end
+ end
+ end
+end
+
+namespace :frontend do
+ task :routes do
+ def write_routes(file, routes)
+ routes.each do |route|
+ name = route.name.camelize(:lower)
+ path = "${baseUrl}#{route.path}"
+ if route.has_params?
+ file.puts "export const #{name} = params => `#{path}`;"
+ else
+ file.puts "export const #{name} = () => `#{path}`;"
+ end
+ end
+ end
+
+ all_routes = (InternalRouteGenerator.all + ApiRouteGenerator.all).uniq { |route| route.name }.sort
+ output_path = File.join(Rails.root, 'app', 'assets', 'javascripts', 'routes.js')
+ File.open(output_path, 'w') do |file|
+ file.puts '// This file was generated by bin/rake frontend:routes'
+ file.puts "const baseUrl = gon.relative_url_root || '';"
+ write_routes(file, all_routes)
+ end
+ end
+end