towerops/lib/towerops_web/live
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
..
admin Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
agent_live Update agent setup instructions with Watchtower auto-updates 2026-01-16 17:38:30 -06:00
alert_live Fix impersonation to show correct user data and banner 2026-01-06 13:22:13 -06:00
equipment_live Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
graph_live Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
org Enhance agent assignment UI with clear inheritance indicators 2026-01-14 16:20:20 -06:00
org_live Fix impersonation to show correct user data and banner 2026-01-06 13:22:13 -06:00
site_live Enhance agent assignment UI with clear inheritance indicators 2026-01-14 16:20:20 -06:00
dashboard_live.ex fix dialyzer things 2026-01-03 12:56:40 -06:00
dashboard_live.html.heex Fix impersonation to show correct user data and banner 2026-01-06 13:22:13 -06:00
mobile_qr_live.ex Add comprehensive Dialyzer type specifications 2026-01-17 10:52:02 -06:00
user_settings_live.ex Convert User Settings from controller to LiveView 2026-01-15 16:29:50 -06:00