summaryrefslogtreecommitdiff
blob: 3955ecd24f2b0823e1fda34b75d863bbdc4e1d31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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, ""))
   )