- Reverts the schneespur/ subdirectory restructure (b8e426b)
- Restores package.json and vite.config.js (needed for npm build, were
removed in an earlier cleanup before the restructure)
- Updates public/build/ assets with current Vite output (new content hashes)
17 lines
382 B
PHP
17 lines
382 B
PHP
<?php
|
|
|
|
namespace App\Services\Weather;
|
|
|
|
interface WeatherProviderInterface
|
|
{
|
|
public function fetchCurrent(float $lat, float $lon): ?WeatherData;
|
|
|
|
/**
|
|
* @return array{ok: bool, message: string, latency_ms: int}
|
|
*/
|
|
public function testConnection(float $lat, float $lon): array;
|
|
|
|
public function name(): string;
|
|
|
|
public function requiresApiKey(): bool;
|
|
}
|