mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-30 00:34:56 +00:00
- Created new test files for `page-renderer.layout.test.ts`, `page-renderer.lifecycle.test.ts`, and `page-renderer.permissions.test.ts` to cover various functionalities of the PageRenderer class. - Implemented tests for registering pages, loading pages from the database, filtering pages by level, and checking permissions based on user roles. - Removed the old `page-renderer.test.ts` file to streamline test organization and improve maintainability. refactor(schema): reorganize schema utility functions and add tests - Introduced a new structure for schema utility functions, grouping them into directories based on their functionality (e.g., `field`, `model`, `record`). - Added tests for schema utilities, including validation, serialization, and migration functions. - Created mock data for testing schema-related functionalities, ensuring comprehensive coverage of edge cases and expected behaviors. - Added backward compatibility for schema utilities through a new entry point. chore: clean up unused code and improve code organization - Removed redundant code and improved the organization of schema utility functions for better readability and maintainability. - Ensured all functions are properly imported and exported from their respective directories.