From da469f0731ca02846340e8f5d4f9a795b2471019 Mon Sep 17 00:00:00 2001 From: Abdul Rahman Reza Date: Tue, 14 Jan 2025 15:09:31 +0700 Subject: [PATCH] update add reverse map log activity type --- src/types/action.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/types/action.ts b/src/types/action.ts index 1711062..414a840 100644 --- a/src/types/action.ts +++ b/src/types/action.ts @@ -7,4 +7,15 @@ export enum ActivityType { "Download" = "W", "Login" = "I", "Logout" = "O", +}; + +export enum ActivityTypeReverse { + "C" = "Create", + "V" = "View", + "U" = "Update", + "D" = "Delete", + "T" = "Restore", + "W" = "Download", + "I" = "Login", + "O" = "Logout", }; \ No newline at end of file