From 6a11ed24204aa27128986b59f64ff5b16ab8d13c Mon Sep 17 00:00:00 2001 From: Firman Ramdhani <33869609+firmanramdhani@users.noreply.github.com> Date: Mon, 20 Jul 2026 14:12:04 +0700 Subject: [PATCH] fix: update module configuration imports to use lowercase variable names for consistency --- .../modules/example/full-page/domain/factories/index.ts | 6 +++--- .../modules/example/single-page/domain/factories/index.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/src/apps/modules/example/full-page/domain/factories/index.ts b/apps/web/src/apps/modules/example/full-page/domain/factories/index.ts index 45bf752..126e93d 100644 --- a/apps/web/src/apps/modules/example/full-page/domain/factories/index.ts +++ b/apps/web/src/apps/modules/example/full-page/domain/factories/index.ts @@ -9,7 +9,7 @@ import { apiClient } from '../../../../../../core/lib/api-client'; import { FullPageRemoteDataServices } from '../../data/full-page.remote.service'; -import { FullPageModuleConfig } from '../constants/full-page.constants'; +import { fullPageModuleConfig } from '../constants/full-page.constants'; import { FullPageRemoteDataTransformer } from '../transformers/full-page.remote.transformer'; /** @@ -24,7 +24,7 @@ export const fullPageDataTransformer = new FullPageRemoteDataTransformer(); * It is fully wired with the HTTP client and automatically handles data mapping via the injected transformer. */ export const fullPageDataService = new FullPageRemoteDataServices(apiClient, { - apiUrl: FullPageModuleConfig.apiUrl, - moduleKey: FullPageModuleConfig.moduleKey, + apiUrl: fullPageModuleConfig.apiUrl, + moduleKey: fullPageModuleConfig.moduleKey, transformer: fullPageDataTransformer, }); diff --git a/apps/web/src/apps/modules/example/single-page/domain/factories/index.ts b/apps/web/src/apps/modules/example/single-page/domain/factories/index.ts index 30cfe38..4b5550e 100644 --- a/apps/web/src/apps/modules/example/single-page/domain/factories/index.ts +++ b/apps/web/src/apps/modules/example/single-page/domain/factories/index.ts @@ -9,7 +9,7 @@ import { apiClient } from '../../../../../../core/lib/api-client'; import { SinglePageRemoteDataServices } from '../../data/single-page.remote.service'; -import { SinglePageModuleConfig } from '../constants/single-page.constants'; +import { singlePageModuleConfig } from '../constants/single-page.constants'; import { SinglePageRemoteDataTransformer } from '../transformers/single-page.remote.transformer'; /** @@ -24,7 +24,7 @@ export const singlePageDataTransformer = new SinglePageRemoteDataTransformer(); * It is fully wired with the HTTP client and automatically handles data mapping via the injected transformer. */ export const singlePageDataService = new SinglePageRemoteDataServices(apiClient, { - apiUrl: SinglePageModuleConfig.apiUrl, - moduleKey: SinglePageModuleConfig.moduleKey, + apiUrl: singlePageModuleConfig.apiUrl, + moduleKey: singlePageModuleConfig.moduleKey, transformer: singlePageDataTransformer, });