elm-pages-v3-beta/examples/routing/app/Api.elm

15 lines
308 B
Elm
Raw Normal View History

2021-05-07 20:51:29 +03:00
module Api exposing (routes)
import ApiRoute
import DataSource exposing (DataSource)
import Html exposing (Html)
import Route exposing (Route)
2021-05-07 20:51:29 +03:00
routes :
DataSource (List Route)
-> (Html Never -> String)
2021-07-31 01:35:02 +03:00
-> List (ApiRoute.ApiRoute ApiRoute.Response)
routes getStaticRoutes htmlToString =
2021-05-07 20:51:29 +03:00
[]