Fix docs.

This commit is contained in:
Dillon Kearns 2022-03-05 09:34:23 -08:00
parent 0310152df4
commit a788a05a73
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
module Server.Request exposing
( Request(..)
, Method(..), methodToString
, succeed, fromResult
, succeed, fromResult, skipMatch, validationError
, requestTime, optionalHeader, expectContentType, expectJsonBody, jsonBodyResult
, acceptMethod, acceptContentTypes
, map, map2, oneOf, andMap, andThen
@ -12,7 +12,6 @@ module Server.Request exposing
, File, expectMultiPartFormPost
, map3
, errorsToString, errorToString, getDecoder, ValidationError
, skipMatch, validationError
)
{-|
@ -21,7 +20,7 @@ module Server.Request exposing
@docs Method, methodToString
@docs succeed, fromResult
@docs succeed, fromResult, skipMatch, validationError
@docs requestTime, optionalHeader, expectContentType, expectJsonBody, jsonBodyResult
@ -158,6 +157,7 @@ type ValidationError
| MissingQueryParam { missingParam : String, allQueryParams : String }
{-| -}
validationError : String -> ValidationError
validationError =
ValidationError

View File

@ -2,7 +2,7 @@ module Server.Session exposing (Decoder, NotLoadedReason(..), Session(..), Value
{-|
@docs Decoder, NotLoadedReason, Session, SessionUpdate, Value, clearFlashCookies, empty, expectSession, flash, flashPrefix, get, insert, noUpdates, oneUpdate, remove, setValues, succeed, unwrap, update, updateAllFields, withFlash, withFlash, withSession
@docs Decoder, NotLoadedReason, Session, Value, clearFlashCookies, empty, expectSession, flashPrefix, get, insert, remove, setValues, succeed, unwrap, update, withFlash, withSession
-}