fix: why is this underscored
This commit is contained in:
parent
3770f3b993
commit
05345f2bb3
@ -171,9 +171,11 @@ duplexSolved :: JsDuplex CaptchaSolved _
|
|||||||
duplexSolved =
|
duplexSolved =
|
||||||
let
|
let
|
||||||
toRaw r = modify (Proxy :: Proxy "solvedAt") CoerceDate
|
toRaw r = modify (Proxy :: Proxy "solvedAt") CoerceDate
|
||||||
|
$ rename (Proxy :: Proxy "vendor") (Proxy :: Proxy "_vendor")
|
||||||
$ r
|
$ r
|
||||||
fromRaw r = pure
|
fromRaw r = pure
|
||||||
$ modify (Proxy :: Proxy "solvedAt") unwrap
|
$ modify (Proxy :: Proxy "solvedAt") unwrap
|
||||||
|
$ rename (Proxy :: Proxy "_vendor") (Proxy :: Proxy "vendor")
|
||||||
$ r
|
$ r
|
||||||
in
|
in
|
||||||
duplex toRaw fromRaw
|
duplex toRaw fromRaw
|
||||||
@ -237,10 +239,12 @@ duplexSoln =
|
|||||||
let
|
let
|
||||||
toRaw r = modify (Proxy :: Proxy "requestAt") CoerceDate
|
toRaw r = modify (Proxy :: Proxy "requestAt") CoerceDate
|
||||||
$ modify (Proxy :: Proxy "responseAt") CoerceDate
|
$ modify (Proxy :: Proxy "responseAt") CoerceDate
|
||||||
|
$ rename (Proxy :: Proxy "vendor") (Proxy :: Proxy "_vendor")
|
||||||
$ r
|
$ r
|
||||||
fromRaw r = pure
|
fromRaw r = pure
|
||||||
$ modify (Proxy :: Proxy "requestAt") (unwrap)
|
$ modify (Proxy :: Proxy "requestAt") (unwrap)
|
||||||
$ modify (Proxy :: Proxy "responseAt") (unwrap)
|
$ modify (Proxy :: Proxy "responseAt") (unwrap)
|
||||||
|
$ rename (Proxy :: Proxy "_vendor") (Proxy :: Proxy "vendor")
|
||||||
$ r
|
$ r
|
||||||
in
|
in
|
||||||
duplex toRaw fromRaw
|
duplex toRaw fromRaw
|
||||||
@ -248,8 +252,13 @@ duplexSoln =
|
|||||||
duplexInfo :: JsDuplex CaptchaInfo _
|
duplexInfo :: JsDuplex CaptchaInfo _
|
||||||
duplexInfo =
|
duplexInfo =
|
||||||
let
|
let
|
||||||
toRaw r = rename (Proxy :: Proxy "kind") (Proxy :: Proxy "_type") $ r
|
toRaw r = rename (Proxy :: Proxy "kind") (Proxy :: Proxy "_type")
|
||||||
fromRaw r = pure $ rename (Proxy :: Proxy "_type") (Proxy :: Proxy "kind") r
|
$ rename (Proxy :: Proxy "vendor") (Proxy :: Proxy "_vendor")
|
||||||
|
$ r
|
||||||
|
fromRaw r = pure
|
||||||
|
$ rename (Proxy :: Proxy "_type") (Proxy :: Proxy "kind")
|
||||||
|
$ rename (Proxy :: Proxy "_vendor") (Proxy :: Proxy "vendor")
|
||||||
|
$ r
|
||||||
in
|
in
|
||||||
duplex toRaw fromRaw
|
duplex toRaw fromRaw
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user