x-weather
Version:
A collection of web components implementing portions of the OpenWeatherMap API.
2 lines (1 loc) • 1.11 kB
JavaScript
import"./utilities.js";import"./types.js";import"./updateCurrentWeather.js";import{getCurrentWeather as t}from"./getCurrentWeather.js";import"./updateForecastWeather.js";import{getForecastWeather as e}from"./getForecastWeather.js";import{swapPrimaryScaleCurrent as r,swapPrimaryScaleForecast as a,updateLocation as i}from"./index.js";import"./_rollupPluginBabelHelpers-5bd7183e.js";import"./redux-a2f99696.js";import{store as p}from"./configureStore.js";import"./initialState.js";import"./utilities2.js";import"./current.js";import"./forecast.js";import"./preferences.js";import"./index2.js";import"./root.js";import"./middleware.js";var s=e=>{var{appid:r,host:a,latitude:i,longitude:s,placename:o}=e;p.dispatch(t({appid:r,host:a,latitude:i,longitude:s,placename:o}))},o=t=>{var{appid:r,host:a,latitude:i,longitude:s,placename:o}=t;p.dispatch(e({appid:r,host:a,latitude:i,longitude:s,placename:o}))},m=t=>{p.dispatch(r(t))},d=t=>{p.dispatch(a(t))},l=t=>{p.dispatch(i(t))};export{s as getCurrentWeather,o as getForecastWeather,m as swapPrimaryScaleCurrent,d as swapPrimaryScaleForecast,l as updateLocation};