package home import "git.lohmar.co.uk/cclohmar/NextMyDay/internal/core/module" // Routes are the module's path-mode functions (SPEC-008 §4). The dashboard is // the module DEFAULT: SPEC-002 §4.4 makes `home` a PARAM2 case at level 2, and // with PARAM3 absent the module's default runs — so BOTH /{GUID} and // /{GUID}/home reach it. func (*Module) Routes() []module.Route { return []module.Route{ {Function: "dashboard", Handler: dashboard, Default: true}, } } // Actions is empty: the dashboard has no mutations. func (*Module) Actions() []module.Action { return nil }