[MINOR] Layout DTO lacks structural validation #49

Closed
opened 2026-01-29 18:52:23 +00:00 by jason.woltje · 0 comments
Owner

The layout field in layout DTOs uses any[] with no widget schema validation.

Should:

  1. Create a widget type/interface or DTO
  2. Use it to validate the layout structure
  3. Ensure widget IDs, types, and configurations are properly typed

Files affected:

  • src/layouts/dto/*.dto.ts
The `layout` field in layout DTOs uses `any[]` with no widget schema validation. Should: 1. Create a widget type/interface or DTO 2. Use it to validate the layout structure 3. Ensure widget IDs, types, and configurations are properly typed Files affected: - src/layouts/dto/*.dto.ts
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#49