aboutsummaryrefslogtreecommitdiff
path: root/src/client/Model.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-07-10 00:03:42 +0200
committerJoris Guyonvarch2015-07-10 00:03:42 +0200
commit0041c546869f0a7fd59a085cc75b481237b6c380 (patch)
tree4814108670fc1a3e7c5a334e884accd0e9dc5e96 /src/client/Model.elm
parent4ce9751c9e645916fdde71874c2cdadd252f32a0 (diff)
downloadbudget-0041c546869f0a7fd59a085cc75b481237b6c380.tar.gz
budget-0041c546869f0a7fd59a085cc75b481237b6c380.tar.bz2
budget-0041c546869f0a7fd59a085cc75b481237b6c380.zip
Fetching payments and showing them in a table
Diffstat (limited to 'src/client/Model.elm')
-rw-r--r--src/client/Model.elm17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/client/Model.elm b/src/client/Model.elm
new file mode 100644
index 0000000..50d0c06
--- /dev/null
+++ b/src/client/Model.elm
@@ -0,0 +1,17 @@
+module Model
+ ( Model
+ , initialModel
+ ) where
+
+import List
+
+import Model.Payment exposing (Payments)
+
+type alias Model =
+ { payments : Payments
+ }
+
+initialModel : Model
+initialModel =
+ { payments = []
+ }