aboutsummaryrefslogtreecommitdiff
path: root/src/client/LoggedData.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/LoggedData.elm')
-rw-r--r--src/client/LoggedData.elm44
1 files changed, 0 insertions, 44 deletions
diff --git a/src/client/LoggedData.elm b/src/client/LoggedData.elm
deleted file mode 100644
index e048247..0000000
--- a/src/client/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 : Time -> Translations -> Conf -> LoggedInModel.Model -> LoggedData
-build currentTime translations conf loggedIn =
- { currentTime = currentTime
- , translations = translations
- , conf = conf
- , users = loggedIn.users
- , me = loggedIn.me
- , payments = loggedIn.payments
- , incomes = loggedIn.incomes
- , categories = loggedIn.categories
- , paymentCategories = loggedIn.paymentCategories
- }