forcecraft/aion

Separate models + introduce sub-module inits

Opened this issue · 0 comments

Type

Refactor

Current behaviour
We have some chaos happening in our General/Models.elm file right now. What we would really want is make our main model like

{panelData: PanelData
,authData: AuthData
}
``` etc.

We would also refrain from initializing the models manually in the main Model file. Instead we would just say 

authData = Auth.Models.initialData


Should be way clearer!