feat(api): Add compatibility layer for API v1

This commit is contained in:
2026-02-22 18:39:14 +03:00
parent 82f252f32f
commit ad1a9364b8
6 changed files with 8624 additions and 10 deletions
+10
View File
@@ -39,3 +39,13 @@ type TimesResult struct {
Location Location `json:"location"`
Times []Times `json:"prayertimes"`
}
type LegacyLocation struct {
ID int
Country string
City string
Region string
Latitude float64
Longitude float64
Timezone string
}