BREAKING: Fix bug breaking Elm compiler
parent
e6257d8e38
commit
4349a14a87
|
@ -159,7 +159,8 @@ type alias PhantomV1 a =
|
||||||
|
|
||||||
|
|
||||||
loginWithUsernameAndPasswordV1 : LoginWithUsernameAndPasswordInputV1 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
loginWithUsernameAndPasswordV1 : LoginWithUsernameAndPasswordInputV1 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
||||||
loginWithUsernameAndPasswordV1 { username, password } context =
|
loginWithUsernameAndPasswordV1 { username, password } =
|
||||||
|
\context ->
|
||||||
A.request
|
A.request
|
||||||
{ attributes =
|
{ attributes =
|
||||||
[ R.bodyString "password" password
|
[ R.bodyString "password" password
|
||||||
|
@ -194,7 +195,8 @@ loginWithUsernameAndPasswordV1 { username, password } context =
|
||||||
|
|
||||||
|
|
||||||
loginWithUsernameAndPasswordV2 : LoginWithUsernameAndPasswordInputV2 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
loginWithUsernameAndPasswordV2 : LoginWithUsernameAndPasswordInputV2 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
||||||
loginWithUsernameAndPasswordV2 { deviceId, initialDeviceDisplayName, username, password } context =
|
loginWithUsernameAndPasswordV2 { deviceId, initialDeviceDisplayName, username, password } =
|
||||||
|
\context ->
|
||||||
A.request
|
A.request
|
||||||
{ attributes =
|
{ attributes =
|
||||||
[ R.bodyOpString "device_id" deviceId
|
[ R.bodyOpString "device_id" deviceId
|
||||||
|
@ -235,7 +237,8 @@ loginWithUsernameAndPasswordV2 { deviceId, initialDeviceDisplayName, username, p
|
||||||
|
|
||||||
|
|
||||||
loginWithUsernameAndPasswordV3 : LoginWithUsernameAndPasswordInputV2 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
loginWithUsernameAndPasswordV3 : LoginWithUsernameAndPasswordInputV2 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
||||||
loginWithUsernameAndPasswordV3 { deviceId, initialDeviceDisplayName, username, password } context =
|
loginWithUsernameAndPasswordV3 { deviceId, initialDeviceDisplayName, username, password } =
|
||||||
|
\context ->
|
||||||
A.request
|
A.request
|
||||||
{ attributes =
|
{ attributes =
|
||||||
[ R.bodyOpString "address" Nothing
|
[ R.bodyOpString "address" Nothing
|
||||||
|
@ -283,7 +286,8 @@ loginWithUsernameAndPasswordV3 { deviceId, initialDeviceDisplayName, username, p
|
||||||
|
|
||||||
|
|
||||||
loginWithUsernameAndPasswordV4 : LoginWithUsernameAndPasswordInputV2 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
loginWithUsernameAndPasswordV4 : LoginWithUsernameAndPasswordInputV2 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
||||||
loginWithUsernameAndPasswordV4 { deviceId, initialDeviceDisplayName, username, password } context =
|
loginWithUsernameAndPasswordV4 { deviceId, initialDeviceDisplayName, username, password } =
|
||||||
|
\context ->
|
||||||
A.request
|
A.request
|
||||||
{ attributes =
|
{ attributes =
|
||||||
[ R.bodyOpString "address" Nothing
|
[ R.bodyOpString "address" Nothing
|
||||||
|
@ -335,7 +339,8 @@ loginWithUsernameAndPasswordV4 { deviceId, initialDeviceDisplayName, username, p
|
||||||
|
|
||||||
|
|
||||||
loginWithUsernameAndPasswordV5 : LoginWithUsernameAndPasswordInputV2 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
loginWithUsernameAndPasswordV5 : LoginWithUsernameAndPasswordInputV2 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
||||||
loginWithUsernameAndPasswordV5 { deviceId, initialDeviceDisplayName, username, password } context =
|
loginWithUsernameAndPasswordV5 { deviceId, initialDeviceDisplayName, username, password } =
|
||||||
|
\context ->
|
||||||
A.request
|
A.request
|
||||||
{ attributes =
|
{ attributes =
|
||||||
[ R.bodyOpString "address" Nothing
|
[ R.bodyOpString "address" Nothing
|
||||||
|
@ -387,7 +392,8 @@ loginWithUsernameAndPasswordV5 { deviceId, initialDeviceDisplayName, username, p
|
||||||
|
|
||||||
|
|
||||||
loginWithUsernameAndPasswordV6 : LoginWithUsernameAndPasswordInputV3 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
loginWithUsernameAndPasswordV6 : LoginWithUsernameAndPasswordInputV3 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
||||||
loginWithUsernameAndPasswordV6 { deviceId, enableRefreshToken, initialDeviceDisplayName, username, password } context =
|
loginWithUsernameAndPasswordV6 { deviceId, enableRefreshToken, initialDeviceDisplayName, username, password } =
|
||||||
|
\context ->
|
||||||
A.request
|
A.request
|
||||||
{ attributes =
|
{ attributes =
|
||||||
[ R.bodyOpString "address" Nothing
|
[ R.bodyOpString "address" Nothing
|
||||||
|
@ -440,7 +446,8 @@ loginWithUsernameAndPasswordV6 { deviceId, enableRefreshToken, initialDeviceDisp
|
||||||
|
|
||||||
|
|
||||||
loginWithUsernameAndPasswordV7 : LoginWithUsernameAndPasswordInputV3 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
loginWithUsernameAndPasswordV7 : LoginWithUsernameAndPasswordInputV3 i -> A.TaskChain (PhantomV1 a) (PhantomV1 { a | accessToken : () })
|
||||||
loginWithUsernameAndPasswordV7 { deviceId, enableRefreshToken, initialDeviceDisplayName, username, password } context =
|
loginWithUsernameAndPasswordV7 { deviceId, enableRefreshToken, initialDeviceDisplayName, username, password } =
|
||||||
|
\context ->
|
||||||
A.request
|
A.request
|
||||||
{ attributes =
|
{ attributes =
|
||||||
[ R.bodyOpString "address" Nothing
|
[ R.bodyOpString "address" Nothing
|
||||||
|
|
|
@ -20,7 +20,8 @@ import Time
|
||||||
|
|
||||||
|
|
||||||
getNow : A.TaskChain a { a | now : () }
|
getNow : A.TaskChain a { a | now : () }
|
||||||
getNow _ =
|
getNow =
|
||||||
|
\_ ->
|
||||||
Task.map
|
Task.map
|
||||||
(\now ->
|
(\now ->
|
||||||
{ messages = [ E.SetNow now ]
|
{ messages = [ E.SetNow now ]
|
||||||
|
|
Loading…
Reference in New Issue