Files
metabuilder/docs/archive/src/lib
JohnDoe6345789 3537211368 feat(todos): Add comprehensive TODO lists for various project areas
- Created TODO files for Testing, DBAL, Frontend, Packages, Database, and Lua Scripting.
- Updated README with a quick reference table for all TODO files and their priorities.
- Added specific tasks for improving testing coverage, implementing DBAL features, enhancing frontend components, and refining package management.
- Included documentation tasks to ensure thorough coverage and clarity across all areas.
- Implemented initial unit tests for the useAuth hook and improved password generation logic.
- Enhanced package loader functionality to support modular package seed data retrieval.
- Updated page renderer to include public role in permission checks.
- Added comments for future unit tests in workflow engine and other critical areas.
2025-12-25 15:47:15 +00:00
..

Core Library Modules

Overview

Core utility modules providing functionality for authentication, database access, Lua scripting, package management, and more.

Location

/src/lib/

Core Modules

Authentication & Security

  • auth.ts - Authentication utilities and helpers
  • password-utils.ts - Password hashing and validation
  • security-scanner.ts - Security scanning and validation

Database Layer

  • database.ts - Main database abstraction layer
  • database-new.ts - New database implementation
  • database-dbal.server.ts - DBAL server integration
  • prisma.ts - Prisma client initialization
  • secure-db-layer.ts - Secure database wrapper

Lua & Scripting

  • lua-engine.ts - Lua script execution engine
  • sandboxed-lua-engine.ts - Sandboxed Lua environment
  • lua-snippets.ts - Lua code snippet library
  • lua-examples.ts - Lua example code

Component System

  • component-catalog.ts - Component catalog management
  • component-registry.ts - Component registration
  • component-types.ts - Component type definitions
  • builder-types.ts - Builder-related types

Page & Schema Management

  • page-renderer.ts - Renders pages from definitions
  • page-definition-builder.ts - Builds page definitions
  • schema-utils.ts - Schema utility functions
  • schema-types.ts - Schema type definitions
  • default-schema.ts - Default schema templates

Package System

  • package-catalog.ts - Package catalog management
  • package-loader.ts - Loads packages from storage
  • package-export.ts - Exports packages
  • package-glue.ts - Glues packages together
  • package-types.ts - Package type definitions

DBAL Integration

  • dbal-client.ts - DBAL client
  • dbal-integration.ts - DBAL integration layer

Declarative Components

  • declarative-component-renderer.ts - Renders components from declarations

Type System

  • level-types.ts - Level-specific types

Workflow

  • workflow-engine.ts - Workflow execution engine

Utilities

  • utils.ts - General utility functions