mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-25 09:21:57 +03:00
Add some missing doc comments.
This commit is contained in:
parent
56b3e7f855
commit
c7dbf796b1
@ -126,6 +126,8 @@ Steps
|
|||||||
|
|
||||||
@docs FieldInfoSimple, FieldState, FinalFieldInfo, FormInfo, No, RawFieldState, TimeOfDay, Yes
|
@docs FieldInfoSimple, FieldState, FinalFieldInfo, FormInfo, No, RawFieldState, TimeOfDay, Yes
|
||||||
|
|
||||||
|
@docs fieldStatusToString
|
||||||
|
|
||||||
-}
|
-}
|
||||||
|
|
||||||
import DataSource exposing (DataSource)
|
import DataSource exposing (DataSource)
|
||||||
@ -156,6 +158,7 @@ type FieldStatus
|
|||||||
| Blurred
|
| Blurred
|
||||||
|
|
||||||
|
|
||||||
|
{-| -}
|
||||||
fieldStatusToString : FieldStatus -> String
|
fieldStatusToString : FieldStatus -> String
|
||||||
fieldStatusToString fieldStatus =
|
fieldStatusToString fieldStatus =
|
||||||
case fieldStatus of
|
case fieldStatus of
|
||||||
|
@ -3,10 +3,10 @@ module Server.Response exposing
|
|||||||
, json, plainText, temporaryRedirect, permanentRedirect
|
, json, plainText, temporaryRedirect, permanentRedirect
|
||||||
, emptyBody, body, bytesBody, base64Body
|
, emptyBody, body, bytesBody, base64Body
|
||||||
, render
|
, render
|
||||||
|
, errorPage, mapError
|
||||||
, map
|
, map
|
||||||
, withHeader, withHeaders, withStatusCode, withSetCookieHeader
|
, withHeader, withHeaders, withStatusCode, withSetCookieHeader
|
||||||
, toJson
|
, toJson
|
||||||
, errorPage, mapError
|
|
||||||
)
|
)
|
||||||
|
|
||||||
{-|
|
{-|
|
||||||
@ -45,6 +45,11 @@ You can use `withHeader` and `withStatusCode` to customize either type of Respon
|
|||||||
|
|
||||||
@docs render
|
@docs render
|
||||||
|
|
||||||
|
|
||||||
|
## Rendering Error Pages
|
||||||
|
|
||||||
|
@docs errorPage, mapError
|
||||||
|
|
||||||
@docs map
|
@docs map
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user