module LoggedIn.Model exposing ( Model , init ) import Time exposing (Time) import Model.Init exposing (..) import Model.Payment exposing (Payments) import Model.User exposing (Users, UserId) import Model.Income exposing (Incomes) import LoggedIn.Home.Model as HomeModel import LoggedIn.Income.Model as IncomeModel type alias Model = { home : HomeModel.Model , income : IncomeModel.Model , users : Users , me : UserId , payments : Payments , incomes : Incomes } init : Init -> Model init initData = { home = HomeModel.init , income = IncomeModel.init , users = initData.users , me = initData.me , payments = initData.payments , incomes = initData.incomes }