| summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/Update/StoreParams.elm')
| -rw-r--r-- | src/Update/StoreParams.elm | 24 |
1 files changed, 24 insertions, 0 deletions
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, "")) + ) |


