Merge branch 'master' of git.curoverse.com:arvados-workbench2 into 14500_admin_api_tokens
[arvados-workbench2.git] / src / routes / routes.ts
index 71d920ab3e4d984dcf126a5aaf6b439431dde9d7..7f15a8de74bb52c47e67a5f1e608a1e3ab0df9cf 100644 (file)
@@ -25,7 +25,8 @@ export const Routes = {
     SSH_KEYS: `/ssh-keys`,
     MY_ACCOUNT: '/my-account',
     KEEP_SERVICES: `/keep-services`,
-    COMPUTE_NODES: `/nodes`
+    COMPUTE_NODES: `/nodes`,
+    API_CLIENT_AUTHORIZATIONS: `/api_client_authorizations`
 };
 
 export const getResourceUrl = (uuid: string) => {
@@ -99,4 +100,7 @@ export const matchKeepServicesRoute = (route: string) =>
     matchPath(route, { path: Routes.KEEP_SERVICES });
 
 export const matchComputeNodesRoute = (route: string) =>
-    matchPath(route, { path: Routes.COMPUTE_NODES });
\ No newline at end of file
+    matchPath(route, { path: Routes.COMPUTE_NODES });
+
+export const matchApiClientAuthorizationsRoute = (route: string) =>
+    matchPath(route, { path: Routes.API_CLIENT_AUTHORIZATIONS });
\ No newline at end of file