Add icons back to spots & alerts

This commit is contained in:
Ian Renton
2026-09-05 09:48:56 +01:00
parent d6e53c14e9
commit 3e4327ec0c
20 changed files with 167 additions and 73 deletions
+9
View File
@@ -20,6 +20,7 @@ info:
* Added DTMBA, FEA, BIWOTA, COTA & PGA SIGs
* Removed the distinction between LSB & USB (both will now show as SSB) and between the various digital voice modes, which will now show as DV.
* Added `sig_type`, `icon`, `region_flag` and `refs_globally_unique` to SIG data
* Added `icon` to spot and alert data
* Added `alert_type` and `url` to alert data
* Added `contests_skip_max_duration_check` to alert query parameters
* SIG reference types (e.g. "Park") are now capitalised to match other enums
@@ -1298,6 +1299,10 @@ components:
Propagation mode, if known. This is only populated when the upstream spot specifically states it; Spothole
does not try to determine it using its own algorithm.
$ref: "#/components/schemas/PropagationMode"
icon:
type: string
description: Icon to use when displaying this spot in the web UI. Chosen from the Font Awesome set.
example: "fa-tower-cell"
SpotSubmission:
@@ -1466,6 +1471,10 @@ components:
type: string
description: The ID the source gave it, if any.
example: "GUID-123456"
icon:
type: string
description: Icon to use when displaying this spot in the web UI. Chosen from the Font Awesome set.
example: "fa-tower-cell"
AlertStream: