Files
compiler-explorer/static
Matt GodboltandClaude a60a3fc220 Reorganise components interfaces and move implementation functions
- ✅ Removed "GoldenLayout Type Safety Infrastructure" banner from components.interfaces.ts
- ✅ Moved GoldenLayout import to top of file with other imports
- ✅ Moved implementation functions from components.interfaces.ts to components.ts:
  - createTypedComponentConfig() - factory function
  - createTypedLayoutItem() - factory function
  - fromGoldenLayoutConfig() - validation/conversion function
  - toGoldenLayoutConfig() - conversion function
  - createTypedDragSource() - wrapper function
  - validateComponentState() and related validation helpers
- ✅ Updated all import statements across 5 files to import functions from components.js instead
- ✅ Kept only interface definitions and type guards in components.interfaces.ts
- ✅ Made validation non-permissive: unknown component names now return false instead of true
- ✅ All TypeScript checks pass, all tests pass (1091 tests), linter compliance achieved

Components.interfaces.ts now contains only true interface definitions while components.ts
contains all implementation functions, providing cleaner separation of concerns.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-12 17:35:35 -05:00
..
2025-05-19 06:51:21 -05:00
2025-02-26 02:07:09 +02:00
2025-02-26 02:07:09 +02:00
2025-02-26 02:07:09 +02:00
2024-10-25 12:19:04 +03:00
2025-04-24 12:10:37 -05:00
2025-04-24 12:10:37 -05:00
2025-04-24 18:41:55 -05:00