mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-23 14:15:33 +03:00
26 lines
604 B
Elm
26 lines
604 B
Elm
module Api exposing (routes)
|
|
|
|
import ApiRoute exposing (ApiRoute)
|
|
import BackendTask exposing (BackendTask)
|
|
import Html exposing (Html)
|
|
import Pages.Manifest as Manifest
|
|
import Route exposing (Route)
|
|
|
|
|
|
routes :
|
|
BackendTask (List Route)
|
|
-> (Maybe { indent : Int, newLines : Bool } -> Html Never -> String)
|
|
-> List (ApiRoute ApiRoute.Response)
|
|
routes getStaticRoutes htmlToString =
|
|
[]
|
|
|
|
|
|
manifest : Manifest.Config
|
|
manifest =
|
|
Manifest.init
|
|
{ name = "Site Name"
|
|
, description = "Description"
|
|
, startUrl = Route.Index |> Route.toPath
|
|
, icons = []
|
|
}
|