X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/085692af7ee9809e2714edacad1251e78a196bd3..00ddf216e1a5046a858b1c8b49f0e967404474ca:/src/routes/routes.ts diff --git a/src/routes/routes.ts b/src/routes/routes.ts index fb28bd05be..432cf750cb 100644 --- a/src/routes/routes.ts +++ b/src/routes/routes.ts @@ -17,6 +17,8 @@ export const Routes = { TRASH: '/trash', PROCESS_LOGS: `/process-logs/:id(${RESOURCE_UUID_PATTERN})`, SHARED_WITH_ME: '/shared-with-me', + RUN_PROCESS: '/run-process', + WORKFLOWS: '/workflows' }; export const getResourceUrl = (uuid: string) => { @@ -64,3 +66,9 @@ export const matchProcessLogRoute = (route: string) => export const matchSharedWithMeRoute = (route: string) => matchPath(route, { path: Routes.SHARED_WITH_ME }); + +export const matchRunProcessRoute = (route: string) => + matchPath(route, { path: Routes.RUN_PROCESS }); + +export const matchWorkflowRoute = (route: string) => + matchPath(route, { path: Routes.WORKFLOWS });