mirror of
https://github.com/BrianHicks/elm-duet.git
synced 2024-10-04 00:47:23 +03:00
regenerate examples
This commit is contained in:
parent
a8473d9727
commit
e47f2415ae
@ -168,16 +168,16 @@ encodeNewJwt newJwt =
|
||||
port logout : Value -> Cmd msg
|
||||
|
||||
|
||||
logout_ : Logout -> Cmd msg
|
||||
logout_ value =
|
||||
sendLogout : Logout -> Cmd msg
|
||||
sendLogout value =
|
||||
logout (encodeLogout value)
|
||||
|
||||
|
||||
port newJwt : Value -> Cmd msg
|
||||
|
||||
|
||||
newJwt_ : NewJwt -> Cmd msg
|
||||
newJwt_ value =
|
||||
sendNewJwt : NewJwt -> Cmd msg
|
||||
sendNewJwt value =
|
||||
newJwt (encodeNewJwt value)
|
||||
|
||||
```
|
||||
|
@ -39,14 +39,14 @@ encodeNewJwt newJwt =
|
||||
port logout : Value -> Cmd msg
|
||||
|
||||
|
||||
logout_ : Logout -> Cmd msg
|
||||
logout_ value =
|
||||
sendLogout : Logout -> Cmd msg
|
||||
sendLogout value =
|
||||
logout (encodeLogout value)
|
||||
|
||||
|
||||
port newJwt : Value -> Cmd msg
|
||||
|
||||
|
||||
newJwt_ : NewJwt -> Cmd msg
|
||||
newJwt_ value =
|
||||
sendNewJwt : NewJwt -> Cmd msg
|
||||
sendNewJwt value =
|
||||
newJwt (encodeNewJwt value)
|
||||
|
@ -47,14 +47,14 @@ encodeJsToElm jsToElm =
|
||||
port elmToJs : Value -> Cmd msg
|
||||
|
||||
|
||||
elmToJs_ : ElmToJs -> Cmd msg
|
||||
elmToJs_ value =
|
||||
sendElmToJs : ElmToJs -> Cmd msg
|
||||
sendElmToJs value =
|
||||
elmToJs (encodeElmToJs value)
|
||||
|
||||
|
||||
port jsToElm : (Value -> msg) -> Sub msg
|
||||
|
||||
|
||||
jsToElm_ : (Result Json.Decode.Error JsToElm -> msg) -> Sub msg
|
||||
jsToElm_ toMsg =
|
||||
subscribeToJsToElm : (Result Json.Decode.Error JsToElm -> msg) -> Sub msg
|
||||
subscribeToJsToElm toMsg =
|
||||
jsToElm (/value -> toMsg (Json.Decode.decodeValue value jsToElmDecoder)
|
||||
|
@ -414,38 +414,38 @@ encodeSendNotification sendNotification =
|
||||
port changeDocument : Value -> Cmd msg
|
||||
|
||||
|
||||
changeDocument_ : ChangeDocument -> Cmd msg
|
||||
changeDocument_ value =
|
||||
sendChangeDocument : ChangeDocument -> Cmd msg
|
||||
sendChangeDocument value =
|
||||
changeDocument (encodeChangeDocument value)
|
||||
|
||||
|
||||
port docFromAutomerge : (Value -> msg) -> Sub msg
|
||||
|
||||
|
||||
docFromAutomerge_ : (Result Json.Decode.Error DocFromAutomerge -> msg) -> Sub msg
|
||||
docFromAutomerge_ toMsg =
|
||||
subscribeToDocFromAutomerge : (Result Json.Decode.Error DocFromAutomerge -> msg) -> Sub msg
|
||||
subscribeToDocFromAutomerge toMsg =
|
||||
docFromAutomerge (/value -> toMsg (Json.Decode.decodeValue value docFromAutomergeDecoder)
|
||||
|
||||
|
||||
port notificationPermission : (Value -> msg) -> Sub msg
|
||||
|
||||
|
||||
notificationPermission_ : (Result Json.Decode.Error NotificationPermission -> msg) -> Sub msg
|
||||
notificationPermission_ toMsg =
|
||||
subscribeToNotificationPermission : (Result Json.Decode.Error NotificationPermission -> msg) -> Sub msg
|
||||
subscribeToNotificationPermission toMsg =
|
||||
notificationPermission (/value -> toMsg (Json.Decode.decodeValue value notificationPermissionDecoder)
|
||||
|
||||
|
||||
port requestNotificationPermission : Value -> Cmd msg
|
||||
|
||||
|
||||
requestNotificationPermission_ : RequestNotificationPermission -> Cmd msg
|
||||
requestNotificationPermission_ value =
|
||||
sendRequestNotificationPermission : RequestNotificationPermission -> Cmd msg
|
||||
sendRequestNotificationPermission value =
|
||||
requestNotificationPermission (encodeRequestNotificationPermission value)
|
||||
|
||||
|
||||
port sendNotification : Value -> Cmd msg
|
||||
|
||||
|
||||
sendNotification_ : SendNotification -> Cmd msg
|
||||
sendNotification_ value =
|
||||
sendSendNotification : SendNotification -> Cmd msg
|
||||
sendSendNotification value =
|
||||
sendNotification (encodeSendNotification value)
|
||||
|
Loading…
Reference in New Issue
Block a user