Weather

emits.js 13 lines

Files · 9
12345678910111213// Metadata only. Runtime handlers are registered once in index.jsx.
export const emits = [
  {
    name: "weather-updated",
    description:
      "Emitted after fetching and storing current Open-Meteo weather and daily SQL forecasts for a saved location.",
  },
  {
    name: "weather-alert",
    description:
      "Emitted on each refresh with weather_code >= 65; includes rain, snow, showers, and thunderstorms, without deduplication.",
  },
];