Files
Ahmed Bouhuolia fa98b06a09 refactor(webapp): standardize withX HOC types with shared MapState generic and props interfaces
- Extract shared `MapState<MappedProps, OwnProps>` generic into `containers/hoc.types.ts`,
  replacing 57 per-file local type duplicates
- Add exported `WithXProps` interfaces to all state HOCs that lacked them, replacing
  `MapState<Record<string, unknown>, Props>` with the properly typed generic
- Add exported `WithXActionsProps` interfaces to all action HOCs, annotating
  `mapDispatchToProps` return types and ensuring consistent exports
- Fix TS errors in `withAlertStoreConnect`, `withDrawers`, `withAuthentication`,
  `withCurrentOrganization`, and `withOrganization` (missing args and missing casts)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-22 15:25:45 +02:00
..