| 3 | import { supabase } from "@/integrations/supabase/client"; |
| 4 | import { callBackend } from "@/lib/call-backend"; |
| 5 | |
| 6 | interface SearchBarProps { |
| 7 | onSearch: (query: string) => void; |
| 8 | /** @deprecated no longer required; geocoding goes through the mapbox-geocode edge function */ |
| 9 | mapToken?: string; |
| 10 | onLocationSelect?: (lng: number, lat: number, name: string) => void; |
| 11 | } |
| 12 | |
| 13 | interface GeocodingResult { |
nothing calls this directly
no outgoing calls
no test coverage detected