From 859ed3b2d08f56f4569515cd58de171a35c43573 Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Mon, 15 Apr 2024 10:59:15 +0300 Subject: [PATCH] MSP-3173 add paths in apiPaths --- src/constants/api/apiPaths.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/constants/api/apiPaths.ts b/src/constants/api/apiPaths.ts index 14a32e4..1149e8c 100644 --- a/src/constants/api/apiPaths.ts +++ b/src/constants/api/apiPaths.ts @@ -18,6 +18,8 @@ type PathKeys = | 'getAllPermissions' | 'baseUserUrl' | 'baseAdminUrl' + | 'getAllSession' + | 'revokeSession' | 'getAllLogs' | 'getLogEvents' | 'setLogEvents' @@ -51,6 +53,9 @@ export const apiPaths: Record = { deleteUser: '/delete_user', getRoles: '/get_roles', getAllPermissions: '/get_permissions', + // ======= SESSIONS ====== + getAllSession: '/session/all', + revokeSession: '/session/revoke', // ======= LOGS ====== getAllLogs: '/log/all', getLogEvents: '/log/events',