blob: 19d4305a6b03434e76f444927573125ab89442bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
module SignIn.Model exposing
( Model
, init
)
type alias Model =
{ login : String
, waitingServer : Bool
, result : Maybe (Result String String)
}
init : Maybe String -> Model
init mbSignInError =
{ login = ""
, waitingServer = False
, result = Maybe.map Err mbSignInError
}
|