Merge branch 'master' of git.curoverse.com:arvados-workbench2 into 14479_ssh_keys
[arvados-workbench2.git] / src / routes / routes.ts
index 432cf750cb2f28f24e75d1986fe8064503f3b21e..b00b9fe23f66d43e2d82f1acd2d94ee4049e8cda 100644 (file)
@@ -18,7 +18,9 @@ export const Routes = {
     PROCESS_LOGS: `/process-logs/:id(${RESOURCE_UUID_PATTERN})`,
     SHARED_WITH_ME: '/shared-with-me',
     RUN_PROCESS: '/run-process',
-    WORKFLOWS: '/workflows'
+    WORKFLOWS: '/workflows',
+    SEARCH_RESULTS: '/search-results',
+    SSH_KEYS: `/ssh-keys`
 };
 
 export const getResourceUrl = (uuid: string) => {
@@ -72,3 +74,9 @@ export const matchRunProcessRoute = (route: string) =>
     
 export const matchWorkflowRoute = (route: string) =>
     matchPath<ResourceRouteParams>(route, { path: Routes.WORKFLOWS });
+
+export const matchSearchResultsRoute = (route: string) =>
+    matchPath<ResourceRouteParams>(route, { path: Routes.SEARCH_RESULTS });
+
+export const matchSshKeysRoute = (route: string) =>
+    matchPath(route, { path: Routes.SSH_KEYS });
\ No newline at end of file