mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-29 00:05:01 +00:00
FIXED ISSUES: 1. Generated missing types.generated.ts file (364 lines) - Codegen script creates 14 entity types from YAML schemas - All import errors resolved 2. Fixed blob/index.ts window reference (browser API in Node.js) - Removed typeof window check - Use try-catch for require() fallback 3. Fixed adapter-factory.ts exactOptionalPropertyTypes errors - Only include queryTimeout in options when defined - Prisma, Postgres, MySQL adapters updated 4. Fixed factory.ts type assignments - Build PrismaClientConfig conditionally - Only assign defined values to avoid undefined violations 5. Fixed KV operations - batch.ts: Remove explicit undefined from nextCursor return - write.ts: Use spread operator to conditionally include expiresAt 6. Fixed websocket-bridge/state.ts - Use spread operator to conditionally include auth 7. Fixed workflow-operations.ts description handling - Remove explicit undefined assignments - Conditionally include optional description field RESULT: ✅ DBAL compiles successfully to /dbal/development/dist/ ✅ All exports available in index.d.ts ✅ Build artifacts complete Next: Initialize database with db:push Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>