Commit Graph
11 Commits
Author SHA1 Message Date
Firman Ramdhani 1c2090f4fb feat(core-api): implement abstract data transformer architecture
- **Core API**: Introduced `IDataTransformer` interface and `BaseDataTransformer` abstract class.
- **Data Services**: Updated `BaseRemoteDataServices` and `DataServicesConfig` to support optional transformer injection. CRUD methods now auto-transform data mapping (DTO <-> Entity) when a transformer is provided.
- **Generics**: Updated `CommonRemoteDataServices` to forward the `TDTO` generic for strict type safety. Fixed `ApiResponse<T>` casting and excess property type checks.
- **Showcase/Samples**: Created `BookingTransformer` (snake_case to camelCase mapping) and injected it into `booking.data-services.ts`.
- **Advanced Showcase**: Added `AdvancedBookingTransformer` and `AdvancedBookingService` to demonstrate extending base transformers with custom methods (e.g., `getAvailabilityChart`).
- **Documentation**: Added comprehensive developer guide at `apps/docs-dev/src/packages/core-api/transformers.md`.
- **Testing**: Added 16 new unit tests for transformer integrations (identity and mock scenarios).

Note: The implementation is 100% backward compatible. All 49/49 tests pass and the TypeScript typecheck is entirely clean.
2026-07-01 11:13:09 +07:00
Firman Ramdhani ecb16c759d refactor: migrate docs-dev from storybook to vitepress config and update devcontainer configuration 2026-06-24 13:14:44 +07:00
Firman Ramdhani b2e622c57e feat: improve diagram labels in README for clarity and consistency 2026-05-29 16:41:11 +07:00
Firman Ramdhani ab0625d393 feat: enhance architecture diagrams in README for core-api and core-i18n with improved styling and clarity 2026-05-29 16:29:46 +07:00
Firman Ramdhani d3eb242ebe docs: Enhance documentation across multiple modules for clarity and structure
- Updated CONFIGURATION.md to improve navigation and added mermaid diagrams for better visualization of processes.
- Revised IPC_ARCHITECTURE.md to clarify the security model and added diagrams to illustrate the architecture.
- Improved README.md files in core-api, core-events, core-i18n, and core-storage for consistency and clarity, including better descriptions and structural enhancements.
2026-05-29 16:21:25 +07:00
Firman Ramdhani b4af762baa style: enhance README diagrams with improved subgraph labels and node styling for clarity 2026-05-28 12:33:40 +07:00
Firman Ramdhani c510feadbb docs: update README files for core packages with architecture diagrams and usage examples 2026-05-28 12:20:53 +07:00
Firman Ramdhani 255704f867 feat: implement core-storage package with unified promise-based interface and encrypted-at-rest support 2026-05-22 22:23:02 +07:00
Firman Ramdhani 9b265b8f46 test: add unit tests for BaseRemoteDataServices functionality and OtelAdapter instrumentation 2026-05-22 18:17:57 +07:00
Firman Ramdhani 75827bfd71 fix: correct ASCII art alignment in README.md 2026-05-22 17:54:36 +07:00
Firman Ramdhani 4260e240a0 Refactor code structure for improved readability and maintainability 2026-05-22 17:53:35 +07:00