towerops/lib/towerops
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
..
accounts Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
admin Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
alerts Set default email sender to hi@towerops.net 2026-01-04 11:16:12 -06:00
equipment Add sensor value change tracking and threshold monitoring 2026-01-05 14:01:35 -06:00
monitoring Fix compiler warnings in equipment monitor 2026-01-05 14:37:03 -06:00
organizations fix dialyzer things 2026-01-03 12:56:40 -06:00
sites 1. Sites Management 2025-12-21 13:39:19 -06:00
snmp Add dialyzer type specs to refactored functions 2026-01-06 13:12:55 -06:00
accounts.ex Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
admin.ex Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
alerts.ex fix a few bits 2026-01-03 14:58:06 -06:00
application.ex event pubsub 2026-01-05 12:23:15 -06:00
equipment.ex Implement event logging system and fix sensor display 2026-01-05 10:42:34 -06:00
mailer.ex format 2025-12-21 11:31:08 -06:00
monitoring.ex mix format 2025-12-21 17:17:35 -06:00
organizations.ex fix dialyzer things 2026-01-03 12:56:40 -06:00
release.ex fix dialyzer things 2026-01-03 12:56:40 -06:00
repo.ex init 2025-12-21 11:10:43 -06:00
sites.ex 1. Sites Management 2025-12-21 13:39:19 -06:00
snmp.ex snmp bits 2026-01-03 14:41:28 -06:00