Skip to content

enhancement: Add Dynamic Business Entity APIs and Table Integration Support#47

Open
glitched-matrix44 wants to merge 4 commits into
mainfrom
IQU-enhancement-44
Open

enhancement: Add Dynamic Business Entity APIs and Table Integration Support#47
glitched-matrix44 wants to merge 4 commits into
mainfrom
IQU-enhancement-44

Conversation

@glitched-matrix44

Copy link
Copy Markdown
Contributor

Summary

Implements dynamic Business Entity APIs and integrates Business Entity data sources with table rendering and schema generation.

Business Entities can now be exposed through dynamic JSON-driven APIs, while table components can consume Business Entity list endpoints in the same manner as standard entities.

Changes

Dynamic Business Entity APIs

  • Added dynamic Business Entity List API:

    • GET /api/business-entity/list/{business_entity_name}
  • Added dynamic Business Entity Show API:

    • GET /api/business-entity/show/{business_entity_name}/{data_uid}
  • Implemented DynamicBusinessEntityController

  • Added Business Entity API route registrations

JSON-Driven Relationship Resolution

  • Resolve Business Entities by name, slug, or UID
  • Parse and execute Business Entity field_mapping configuration
  • Load primary entity records dynamically
  • Load configured meta fields
  • Traverse JSON-defined relationships
  • Support nested relationship structures
  • Support association/pivot entities through configured relationship mappings
  • Return structured nested API responses without entity-specific logic

Table Integration

  • Added Business Entity list API support in table components
  • Updated table providers to handle Business Entity data sources
  • Enabled table schema generation for Business Entities
  • Integrated Business Entity data retrieval with existing table rendering workflows
  • Maintained compatibility with existing entity-based tables

Files Added

  • src/Http/Controllers/DynamicBusinessEntityController.php

Files Updated

  • routes/api.php
  • public/js/form/form-block-builder.js
  • public/js/form/form.js
  • public/js/table/table-inbox-view.js
  • public/js/table/table-renderers.js
  • public/js/table/table-runtime.js
  • resources/views/layouts/sidebar.blade.php
  • resources/views/ui/list.blade.php

Testing

  • Verified Business Entity list API responses
  • Verified Business Entity show API responses
  • Verified nested relationship resolution from JSON configuration
  • Verified table schema generation using Business Entity data sources
  • Verified table rendering for Business Entities
  • Verified existing entity table functionality remains unaffected

Related Issues

@glitched-matrix44 glitched-matrix44 self-assigned this Jun 23, 2026
@glitched-matrix44 glitched-matrix44 added the enhancement New feature or request label Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

enhancement: implement dynamic business entity list and show APIs

1 participant