From 89d719e8ebf0f9b9b407208ae124c6c2878056cd Mon Sep 17 00:00:00 2001 From: Anastasiia Date: Mon, 15 Apr 2024 20:09:48 +0300 Subject: [PATCH] MSP-3174 add paths in apiPaths --- src/constants/api/apiPaths.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/constants/api/apiPaths.ts b/src/constants/api/apiPaths.ts index 0246857..14a32e4 100644 --- a/src/constants/api/apiPaths.ts +++ b/src/constants/api/apiPaths.ts @@ -18,6 +18,9 @@ type PathKeys = | 'getAllPermissions' | 'baseUserUrl' | 'baseAdminUrl' + | 'getAllLogs' + | 'getLogEvents' + | 'setLogEvents' | 'getSystemTree' | 'getById' | 'setList' @@ -48,6 +51,10 @@ export const apiPaths: Record = { deleteUser: '/delete_user', getRoles: '/get_roles', getAllPermissions: '/get_permissions', + // ======= LOGS ====== + getAllLogs: '/log/all', + getLogEvents: '/log/events', + setLogEvents: '/log/set_events', // ======= APPLICATIONS ====== getSystemTree: '/application/get_system_tree', // ======= ACCESS_LIST ======