aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/LoggedData.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/LoggedData.elm')
-rw-r--r--src/client/elm/LoggedData.elm44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/client/elm/LoggedData.elm b/src/client/elm/LoggedData.elm
deleted file mode 100644
index 9bb0a7f..0000000
--- a/src/client/elm/LoggedData.elm
+++ /dev/null
@@ -1,44 +0,0 @@
-module LoggedData exposing
- ( LoggedData
- , build
- )
-
-import Time exposing (Time)
-
-import Msg exposing (Msg)
-
-import Model exposing (Model)
-import Model.Translations exposing (..)
-import Model.Conf exposing (..)
-import Model.Payment exposing (Payments)
-import Model.User exposing (Users, UserId)
-import Model.Income exposing (Incomes)
-import Model.Category exposing (Categories)
-import Model.PaymentCategory exposing (PaymentCategories)
-
-import LoggedIn.Model as LoggedInModel
-
-type alias LoggedData =
- { currentTime : Time
- , translations : Translations
- , conf : Conf
- , users : Users
- , me : UserId
- , payments : Payments
- , incomes : Incomes
- , categories : Categories
- , paymentCategories : PaymentCategories
- }
-
-build : Model -> LoggedInModel.Model -> LoggedData
-build model loggedIn =
- { currentTime = model.currentTime
- , translations = model.translations
- , conf = model.conf
- , users = loggedIn.users
- , me = loggedIn.me
- , payments = loggedIn.payments
- , incomes = loggedIn.incomes
- , categories = loggedIn.categories
- , paymentCategories = loggedIn.paymentCategories
- }