aboutsummaryrefslogtreecommitdiff
path: root/src/client/Dialog/Model.elm
blob: ff8bc57fbf7192ef61ecc0cea32c3129b6749c54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module Dialog.Model exposing
  ( Model
  , init
  )

import Form exposing (Form)

import Dialog.AddPayment.Model as AddPayment
import Dialog.AddIncome.Model as AddIncome
import Dialog.AddCategory.Model as AddCategory

type alias Model =
  { addPayment : Form String AddPayment.Model
  , addIncome : Form String AddIncome.Model
  , addCategory : Form String AddCategory.Model
  }

init : Model
init =
  { addPayment = AddPayment.init
  , addIncome = AddIncome.init
  , addCategory = AddCategory.init
  }