MED-147: add doctor actions logging (#59)

* MED-147: add doctor actions logging

* enum casing
This commit is contained in:
Helena
2025-08-27 08:11:13 +03:00
committed by GitHub
parent f33f2b6db4
commit 8c6ce29c23
14 changed files with 236 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ import { Trans } from '@kit/ui/trans';
import { HomeLayoutPageHeader } from '../../_components/home-page-header';
import { loadAnalyses } from '../../_lib/server/load-analyses';
import OrderAnalysesCards from '../../_components/order-analyses-cards';
import { createPageViewLog, PAGE_VIEW_ACTION } from '~/lib/services/audit/pageView.service';
import { createPageViewLog, PageViewAction } from '~/lib/services/audit/pageView.service';
import { loadCurrentUserAccount } from '../../_lib/server/load-user-account';
export const generateMetadata = async () => {
@@ -27,7 +27,7 @@ async function OrderAnalysisPage() {
await createPageViewLog({
accountId: account.id,
action: PAGE_VIEW_ACTION.VIEW_ORDER_ANALYSIS,
action: PageViewAction.VIEW_ORDER_ANALYSIS,
});
return (