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

Frontend Monorepo Template

Turborepo pnpm Node.js Vite React Electron TypeScript Vitest

A scalable, enterprise-ready Web & Desktop monorepo built with Turborepo, pnpm, Vite, and Electron. This repository is designed for long-term maintainability, featuring shared logic and UI libraries, centralized tooling configuration, turbo-powered task orchestration, and native desktop distribution with auto-updates.


🌍 Global Context

This repository utilizes a monorepo architecture to seamlessly share core systems, business logic, and UI components across multiple distribution targets (Web, Desktop, and Landing Page).

Topology Overview

  • apps/: Deployable applications (web, desktop, landing, docs-dev).
  • packages/: Shared libraries and core engines (core-api, core-storage, ui, utils, configs, etc.).

📚 Single Source of Truth

Important

Internal Documentation Hub All documentation, installation guides, architectural deep-dives, and API references are hosted internally via our VitePress application.

  • View in Git Repository (Raw Markdown): Read Overview Documentation

  • Run Documentation Locally:

    If this is your first time running the documentation, ensure you install the dependencies first:

    pnpm install
    

    Then, start the documentation server:

    pnpm dev:docs-dev
    

📝 License

This project is private and proprietary.

S
Description
No description provided
Readme
7.4 MiB
2026-09-04 09:34:41 +00:00
Languages
HTML 55.5%
JavaScript 27.1%
TypeScript 17.1%
CSS 0.2%