Files
metabuilder/dbal
johndoe6345789 c33787912c fix(dbal): add tenantId auto-add to loadFromDirectory, fix ComponentNode schema
loadFromDirectory() was missing the tenantId field auto-add logic that
loadFromFile() already had, causing "Unknown field: tenantId" on all
entities using the shorthand `"tenantId": true` convention.

Also corrected ComponentNode schema to match the C++ struct fields
(pageId, parentId, childIds, order) instead of the wrong Redux shape.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 09:20:28 +00:00
..

DBAL - Database Abstraction Layer

A language-agnostic database abstraction layer that provides a secure interface between client applications and database backends.

Structure

dbal/
├── development/     # TypeScript implementation (fast iteration)
├── production/      # C++ implementation (security & performance)
├── shared/          # Shared resources (API specs, tools, etc.)
└── docs/            # Documentation

Development

TypeScript (Development)

cd development
npm install
npm run build
npm test

C++ (Production)

cd production
# See production/docs/ for C++ build instructions

Shared Resources

  • API Schemas: shared/api/schema/
  • Tools: shared/tools/ (codegen, build assistant)
  • Scripts: shared/scripts/ (build, test)

License

MIT - See LICENSE file.