- Add non-null assertions for array access after length checks
- Fix middleware to check for undefined before setting headers
- Add type assertions for DBAL result data mapping
- Fix entity page to validate all params before use
- Provide default empty object for optional action handlers
- Down to 19 errors in src directory (from ~26)
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Add explicit 'this: any' type annotations to all DBAL integration functions
- Fix syntax errors from missing commas in function parameters
- Reduce TypeScript errors from 146 to ~75
- Update fakemui index.ts with note about Dialog components
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Enable strict TypeScript mode in tsconfig.json
- Update ESLint rules to be stricter (error instead of warn)
- Implement useDBAL hook with fetch-based DBAL API
- Implement useKV hook with key-value store operations
- Implement use-mobile hook with media query detection
- Implement logout function with session clearing
- Add permission check comments in app/page.tsx
- Replace throwing stub in user$file with placeholder returns
- Complete entity-specific fields in generate-package.ts
- Add database operation templates in generate-package.ts
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
- Included "ui_home" package in the bootstrap script for system initialization.
- Updated the root page handler to prioritize rendering from the god panel and installed packages.
- Created a detailed verification document for the landing page setup, including component structure and dependencies.
- Added database records for "ui_home" in installed packages and permissions for public access.
- Updated core packages and permissions YAML files to include "ui_home" with appropriate settings.
- Deleted the permissions package including its types, manager, and hooks.
- Removed renderer integration example and related permission checking functions.
- Cleaned up server package files, including package catalog entry and content type functions.
- Consolidated package loading logic into a unified package loader.
- Introduced new unified package management functions for loading and metadata retrieval.
- Added comprehensive documentation for the TypeScript JSON Abstraction Pattern, detailing its architecture, benefits, and practical use cases.
- Included examples of JSON input and corresponding TypeScript output, along with compiler implementation sketches.
feat: Enhance RootLayout to load header and footer packages
- Modified RootLayout to asynchronously load header and footer packages using the unified package loader.
- Rendered header and footer conditionally based on package metadata availability.
refactor: Update package-glue structure and imports
- Refactored package-glue exports to streamline imports and improve organization.
- Removed deprecated package-loader module and adjusted related imports accordingly.
fix: Correct package catalog imports in loader functions
- Updated import paths in various loader functions to reference the core package catalog correctly.
chore: Introduce unified package loader for better package management
- Created a unified package loader to handle loading packages from both filesystem JSON and legacy in-memory catalog.
- Implemented functions to load single and all packages, check package existence, and list package IDs.
feat: Add minimal declarative component renderer
- Introduced a lightweight declarative component registry to facilitate package component loading.
- Implemented functions for loading, retrieving, and listing registered components.