2021-05-07 20:51:29 +03:00
|
|
|
module Api exposing (routes)
|
|
|
|
|
|
|
|
import ApiRoute
|
2021-05-23 04:36:59 +03:00
|
|
|
import DataSource exposing (DataSource)
|
2021-05-07 20:51:29 +03:00
|
|
|
import DataSource.Http
|
2021-05-09 00:52:56 +03:00
|
|
|
import Html exposing (Html)
|
2021-05-07 20:51:29 +03:00
|
|
|
import Json.Encode
|
|
|
|
import OptimizedDecoder as Decode
|
2021-05-23 04:36:59 +03:00
|
|
|
import Route exposing (Route)
|
2021-05-07 20:51:29 +03:00
|
|
|
import Secrets
|
|
|
|
|
|
|
|
|
2021-05-09 00:52:56 +03:00
|
|
|
routes :
|
2021-05-23 04:36:59 +03:00
|
|
|
DataSource (List Route)
|
|
|
|
-> (Html Never -> String)
|
2021-05-09 00:52:56 +03:00
|
|
|
-> List (ApiRoute.Done ApiRoute.Response)
|
2021-05-23 04:36:59 +03:00
|
|
|
routes getStaticRoutes htmlToString =
|
2021-05-07 20:51:29 +03:00
|
|
|
[]
|