towerops/lib/towerops_web
Graham McIntire a1e163d3ee
Add dialyzer type specs to refactored functions
Added comprehensive type specifications to all recently refactored
functions to improve type safety and enable dialyzer checking:

PollerWorker:
- detect_sensor_changes/3
- extract_thresholds/1
- detect_and_log_changes/4

EquipmentLive.Form:
- extract_snmp_config/1
- normalize_port/1
- test_snmp_connection/1

EquipmentLive.Show:
- seconds_to_weeks/1, seconds_to_days/1
- seconds_to_hours/1, seconds_to_minutes/1
- format_time_part/2

All specs use proper Elixir types and handle nil cases appropriately.
2026-01-06 13:12:55 -06:00
..
components Fix admin layout to use proper Phoenix component pattern 2026-01-06 13:04:22 -06:00
controllers Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
live Add dialyzer type specs to refactored functions 2026-01-06 13:12:55 -06:00
endpoint.ex init 2025-12-21 11:10:43 -06:00
gettext.ex init 2025-12-21 11:10:43 -06:00
router.ex Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
telemetry.ex format 2025-12-21 11:31:08 -06:00
user_auth.ex Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00