From ac5b50e4a622ee0885678a96c69af7f49290bcee Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Fri, 14 Sep 2018 10:09:38 +0200 Subject: ... --- src/Update/StoreParams.elm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/Update/StoreParams.elm (limited to 'src/Update') diff --git a/src/Update/StoreParams.elm b/src/Update/StoreParams.elm new file mode 100644 index 0000000..3955ecd --- /dev/null +++ b/src/Update/StoreParams.elm @@ -0,0 +1,24 @@ +module Update.StoreParams exposing (apply_to) + +-- Elm ------------------------------------------------------------------------- + +-- Login ----------------------------------------------------------------------- +import Action.Ports + +import Struct.Event +import Struct.Flags +import Struct.Model + +-------------------------------------------------------------------------------- +-- LOCAL ----------------------------------------------------------------------- +-------------------------------------------------------------------------------- + +-------------------------------------------------------------------------------- +-- EXPORTED -------------------------------------------------------------------- +-------------------------------------------------------------------------------- +apply_to : Struct.Model.Type -> (Struct.Model.Type, (Cmd Struct.Event.Type)) +apply_to model = + ( + model, + (Action.Ports.store_params (5, "")) + ) -- cgit v1.2.3-70-g09d2