Commit Graph

26 Commits

Author SHA1 Message Date
9284b9a67b Refactor function definitions across multiple packages to remove luaScript references
- Updated functions.json files in theme_editor, ui_auth, ui_footer, ui_header, ui_home, ui_intro, ui_level2, ui_level3, ui_level4, ui_level5, ui_level6, ui_login, ui_pages, ui_permissions, user_manager, and workflow_editor packages.
- Removed luaScript entries from function definitions, retaining only category and other relevant metadata.
- Adjusted documentation in prisma/README.md to remove LuaScript entity reference.
2026-01-07 14:54:33 +00:00
3bb754dd72 refactor: update JSON usage to use scoped Json namespace 2026-01-07 14:36:31 +00:00
016cd662bf refactor: remove LuaScript entity and related operations 2026-01-07 14:36:19 +00:00
7eee87ec90 refactor: remove LuaScript entity and related operations
- Deleted all LuaScript CRUD operations from Client and entities.
- Removed LuaScript validation functions and related files.
- Updated InMemoryStore to remove LuaScript storage.
- Cleaned up tests by removing LuaScript related test cases.
- Adjusted documentation and quick start guide to reflect the removal of LuaScript functionality.
2026-01-07 14:25:01 +00:00
6d8b23e7a6 Refactor code structure for improved readability and maintainability 2026-01-07 14:18:49 +00:00
445f4f4028 Refactor workflow management and validation
- Updated `list_workflows.hpp` to replace `is_active` with `enabled` filter and added `tenant_id` filter.
- Modified sorting logic for workflows based on `created_at` to handle optional values.
- Enhanced `update_workflow.hpp` to include new fields: `nodes`, `edges`, `enabled`, `version`, and `created_at`.
- Removed obsolete `isValidWorkflowTrigger` validation function from `workflow_validation.hpp`.
- Adjusted unit tests in `client_test.cpp` to reflect changes in workflow and page management, including renaming fields and updating assertions.
- Updated Prisma schema in `schema.prisma` to align with new workflow and component models, including changes to data types and attributes.
- Introduced a new script `gen_prisma_schema.js` for generating Prisma schema from DBAL API schemas to maintain synchronization.
2026-01-07 13:43:37 +00:00
8e5930cd44 feat: update get package functions to use InstalledPackage entity and clarify documentation 2026-01-07 13:31:53 +00:00
693989bba8 feat: refactor create package function to use InstalledPackage entity and improve validation 2026-01-07 13:31:35 +00:00
92c280b0e6 feat: Add PageConfig and ComponentNode entities with CRUD operations
- Introduced `PageConfig` entity for page configuration and layout definition.
- Introduced `ComponentNode` entity for managing component hierarchy within pages.
- Implemented operations for creating, reading, updating, and deleting both entities.
- Updated Prisma schema to reflect new entities and relationships.
- Enhanced ACL rules for new entities to manage access control.
- Added conformance cases to test page and component hierarchy management.
- Created a script to check synchronization between DBAL and Prisma schemas.
2026-01-07 13:31:26 +00:00
25908192ef feat(schema-registry): enhance schema management with migration support and improved loading mechanisms
- Added migrationQueue to SchemaRegistry for tracking pending migrations.
- Implemented clear method to reset the registry state.
- Enhanced schema registration and retrieval methods to support entity normalization.
- Updated loadSchemaRegistry to handle entities and migrationQueue from JSON.
- Introduced saveSchemaRegistry to persist entities and migrationQueue.
- Added functions for approving and rejecting migrations.

feat(schema-scanner): implement package scanning for schema registration

- Created scanAllPackages function to scan directories for package metadata.
- Extracted and validated schema entities from package metadata.
- Registered schemas in the SchemaRegistry based on scanned packages.

fix(load-page-from-db): improve tenantId handling and null checks

- Updated tenantId handling to use nullish coalescing for better clarity.
- Refined null checks for page retrieval.

feat(validation): add Zod validation utilities for standardized data validation

- Introduced validation utilities for API requests and package data validation.
- Created common reusable schemas for various data types.
- Implemented package-specific validator factory for enhanced error reporting.

test(package-integration): fix potential null checks in package dependency resolution

- Updated package dependency resolution logic to handle undefined cases.

chore(package.json): add jsdom as a dev dependency for testing

- Included jsdom in devDependencies for improved testing capabilities.

fix(metadata): update package metadata for consistency and clarity

- Standardized packageId and name fields in metadata.json files across multiple packages.
2026-01-07 12:08:24 +00:00
copilot-swe-agent[bot]
0ab852d227 Initial plan: Fix README styles documentation
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2026-01-03 20:17:49 +00:00
Richard Ward
f2ebee76cf docs: package,production,dbal (20 files) 2025-12-30 23:47:16 +00:00
Richard Ward
434aa49e54 docs: production,dbal,hpp (5 files) 2025-12-30 23:41:52 +00:00
Richard Ward
46f0603854 docs: production,dbal,package (3 files) 2025-12-30 23:35:40 +00:00
Richard Ward
b6b379efdc docs: production,dbal,writer (4 files) 2025-12-30 23:35:13 +00:00
Richard Ward
afbeab8feb code: production,dbal,hpp (3 files) 2025-12-30 23:33:28 +00:00
Richard Ward
06f73d3996 docs: txt,storybook,src (2 files) 2025-12-30 23:33:00 +00:00
Richard Ward
e1595b0936 docs: production,dbal,txt (2 files) 2025-12-30 22:34:54 +00:00
Richard Ward
f8a92529b3 code: server,routes,production (1 files) 2025-12-30 22:34:28 +00:00
Richard Ward
c6a6cce84d code: rpc,restful,production (1 files) 2025-12-30 22:34:00 +00:00
Richard Ward
d43761e11a code: rpc,restful,production (1 files) 2025-12-30 22:33:33 +00:00
Richard Ward
ce650fe83e docs: production,dbal,txt (2 files) 2025-12-30 22:32:00 +00:00
Richard Ward
6d47884ba4 code: production,dbal,cpp (2 files) 2025-12-30 22:31:32 +00:00
Richard Ward
66b5e9430f code: schema,rpc,production (1 files) 2025-12-30 22:30:43 +00:00
cfa1e5bfee feat: add new icon components including Envelope, ChatCircle, HardDrives, WarningCircle, CheckCircle, XCircle, TrendUp, ShieldWarning, LockKey, Crown, Sparkle, BookOpen, Tree, Broom, Export, UploadSimple, Funnel, FunnelSimple, MapTrifold, PushPinSimple, Buildings, GithubLogo, and GoogleLogo 2025-12-30 12:21:15 +00:00
copilot-swe-agent[bot]
2180f608fb Restructure dbal folder: development, production, and shared
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
2025-12-27 13:30:57 +00:00