mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-24 15:12:01 +03:00
16 lines
405 B
Elm
16 lines
405 B
Elm
module Api exposing (routes)
|
|
|
|
import ApiRoute
|
|
import BackendTask exposing (BackendTask)
|
|
import FatalError exposing (FatalError)
|
|
import Html exposing (Html)
|
|
import Route exposing (Route)
|
|
|
|
|
|
routes :
|
|
BackendTask FatalError (List Route)
|
|
-> (Maybe { indent : Int, newLines : Bool } -> Html Never -> String)
|
|
-> List (ApiRoute.ApiRoute ApiRoute.Response)
|
|
routes getStaticRoutes htmlToString =
|
|
[]
|