towerops/lib/towerops_web
Graham McIntire b53a53b199
Add comprehensive Dialyzer type specifications
- Add @type definitions to all schema modules:
  - User, UserCredential, Membership, Invitation
  - Organization, Site, AgentAssignment
  - InterfaceStat, SensorReading, Alert
- Fix all compilation warnings with stronger Elixir types:
  - Remove unused require Logger in log_filter.ex
  - Remove unused parse_float(nil) clause
  - Add pin operators (^) for variables in binary pattern matches
- Fix Dialyzer errors (25 → 0):
  - Remove unreachable pattern match clauses
  - Fix unmatched return values with _ = prefix
  - Update @spec for deliver_alert_notification/1
- Properly handle all Phoenix.PubSub.subscribe and Task.start return values
- Explicitly ignore if statement return values where needed

All files now pass mix compile --warnings-as-errors and mix dialyzer.
2026-01-17 10:52:02 -06:00
..
channels Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
components Update table borders to use lighter grey instead of black 2026-01-15 13:32:09 -06:00
controllers agent improvements and agent config 2026-01-16 17:26:51 -06:00
live Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
plugs Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
endpoint.ex agent improvements and agent config 2026-01-16 17:26:51 -06:00
gettext.ex init 2025-12-21 11:10:43 -06:00
router.ex agent improvements and agent config 2026-01-16 17:26:51 -06:00
telemetry.ex Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
user_auth.ex Convert User Settings from controller to LiveView 2026-01-15 16:29:50 -06:00