From 7cec05464aaff31188e4aa93d47cc516433c898e Mon Sep 17 00:00:00 2001 From: Firman Ramdhani <33869609+firmanramdhani@users.noreply.github.com> Date: Mon, 20 Jul 2026 15:15:01 +0700 Subject: [PATCH] feat: update API endpoint, add hardcoded auth token, and configure detail page highlight key --- .../index.tsx} | 4 ++-- .../{module-page-header.tsx => module-page-header/index.tsx} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename packages/ui/src/foundations/enterprise-module/components/{action-confirmation-modal.tsx => action-confirmation-modal/index.tsx} (98%) rename packages/ui/src/foundations/enterprise-module/components/{module-page-header.tsx => module-page-header/index.tsx} (99%) diff --git a/packages/ui/src/foundations/enterprise-module/components/action-confirmation-modal.tsx b/packages/ui/src/foundations/enterprise-module/components/action-confirmation-modal/index.tsx similarity index 98% rename from packages/ui/src/foundations/enterprise-module/components/action-confirmation-modal.tsx rename to packages/ui/src/foundations/enterprise-module/components/action-confirmation-modal/index.tsx index 0b52c3b..46913e0 100644 --- a/packages/ui/src/foundations/enterprise-module/components/action-confirmation-modal.tsx +++ b/packages/ui/src/foundations/enterprise-module/components/action-confirmation-modal/index.tsx @@ -4,8 +4,8 @@ import { useForm, FormProvider } from 'react-hook-form'; import { zodResolver } from '@hookform/resolvers/zod'; import type { BaseEntity } from '@repo/core-api/data-services'; -import type { ActionModalConfig, ActionModalState, ModuleActionType } from '../entities/entity'; -import { ModuleAction } from '../entities/entity'; +import type { ActionModalConfig, ActionModalState, ModuleActionType } from '../../entities/entity'; +import { ModuleAction } from '../../entities/entity'; // --------------------------------------------------------------------------- // Types diff --git a/packages/ui/src/foundations/enterprise-module/components/module-page-header.tsx b/packages/ui/src/foundations/enterprise-module/components/module-page-header/index.tsx similarity index 99% rename from packages/ui/src/foundations/enterprise-module/components/module-page-header.tsx rename to packages/ui/src/foundations/enterprise-module/components/module-page-header/index.tsx index 3760682..80d55f0 100644 --- a/packages/ui/src/foundations/enterprise-module/components/module-page-header.tsx +++ b/packages/ui/src/foundations/enterprise-module/components/module-page-header/index.tsx @@ -14,7 +14,7 @@ import { } from '@mantine/core'; import { useLocalStorage } from '@mantine/hooks'; import { ChevronRight, LucideIcon, Maximize2, Minimize2 } from 'lucide-react'; // <-- Update Import Icon -import { PageActions, PageActionsProps } from '../../../components'; +import { PageActions, PageActionsProps } from '../../../../components'; // --------------------------------------------------------------------------- // Types