Lists each resource's version resource in a package's domain, so that
ash.codegen writes the versions tables and Ash finds the versions.
AshPaperTrail's own include_versions? true does the same, but it reads
each resource's extensions to do so, which makes the domain's compile wait
for its resources while each resource's compile reads the package id from
the domain. The version module's name is known without compiling the
resource (<resource>.Version, AshPaperTrail's), so this extension adds it
by name.
It also adds the alternera_ui section: the package's own pages and
Workbench items (Alternera.Resource.UI), which belong to the
package rather than to one resource.
alternera_ui do
page :overview, "Finance overview", MyUI.Overview, description: "…"
workbench_item :converter, "Unit converter", MyUI.Converter, description: "…"
end