- 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.
- Added type annotations and class definitions in the dashboard layout, stats, and data table modules for improved type safety and documentation.
- Introduced new classes for UI components, props, and configuration in the form builder, navigation menu, notification center, and UI dialogs packages.
- Implemented detailed type definitions for actions, fields, and pagination components to streamline usage and enhance clarity.
- Updated initialization functions in multiple packages to include versioning and installation context.
- Improved structure and readability of the codebase by organizing and documenting component properties and methods.
- Created metadata cases and component structure tests for form_builder, forum_forge, irc_webchat, nav_menu, notification_center, schema_editor, screenshot_analyzer, social_hub, stream_cast, ui_auth, ui_dialogs, and ui_footer packages.
- Implemented validation for package ID format, version format, required fields, and expected components.
- Added Lua test scripts to validate component structures and metadata integrity.
- Ensured all packages adhere to the defined structure and dependencies.