morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::ServedBundle Struct Reference

An application's bundle, built and immutable: what UiService serves. More...

#include <service.hpp>

Public Attributes

ApplicationInfo application
 The application.
std::vector< std::string > vocabularies
 The vocabularies the bundle needs, sorted; always expr/1 and ui/1.
std::string manifest
 The manifest's text.
std::string digest
 The manifest's content hash, which ui-hello replies with.
std::map< std::string, ServedFile, std::less<> > files
 Every file by its content hash, the manifest included.
std::vector< ServedScreen > screens
 The catalog's screens, in registration order.
std::vector< ActionRef > appActions
 The actions the app document names.
std::vector< std::string > appModelTypes
 The model types the app document names.
std::vector< ActionRef > allActions
 Every action any served document names, sorted and unique: the candidates of permitted.
std::optional< std::map< std::string, ModelInfo, std::less<> > > models
 The model facts the registry's catalog gave, for every model type a document names; absent when it has no model lookup.
std::optional< std::map< std::string, ActionInfo, std::less<> > > actions
 The action facts the registry's catalog gave, for every action a document names; absent when it has no action lookup.
std::optional< std::map< std::string, std::string, std::less<> > > views
 The view documents the registry's catalog gave, by the action of their v-query, for every action a document names; absent when it has no view lookup.
std::optional< std::map< std::string, std::string, std::less<> > > wizards
 The wizard documents the registry's catalog gave, by the action of their first step, for every action a document names; absent when it has no wizard lookup.

Detailed Description

An application's bundle, built and immutable: what UiService serves.

Definition at line 96 of file service.hpp.

Member Data Documentation

◆ application

ApplicationInfo morph::ui::ServedBundle::application

The application.

Definition at line 98 of file service.hpp.

◆ vocabularies

std::vector<std::string> morph::ui::ServedBundle::vocabularies

The vocabularies the bundle needs, sorted; always expr/1 and ui/1.

Definition at line 100 of file service.hpp.

◆ manifest

std::string morph::ui::ServedBundle::manifest

The manifest's text.

Definition at line 102 of file service.hpp.

◆ digest

std::string morph::ui::ServedBundle::digest

The manifest's content hash, which ui-hello replies with.

Definition at line 104 of file service.hpp.

◆ files

std::map<std::string, ServedFile, std::less<> > morph::ui::ServedBundle::files

Every file by its content hash, the manifest included.

Definition at line 106 of file service.hpp.

◆ screens

std::vector<ServedScreen> morph::ui::ServedBundle::screens

The catalog's screens, in registration order.

Definition at line 108 of file service.hpp.

◆ appActions

std::vector<ActionRef> morph::ui::ServedBundle::appActions

The actions the app document names.

Definition at line 110 of file service.hpp.

◆ appModelTypes

std::vector<std::string> morph::ui::ServedBundle::appModelTypes

The model types the app document names.

Definition at line 112 of file service.hpp.

◆ allActions

std::vector<ActionRef> morph::ui::ServedBundle::allActions

Every action any served document names, sorted and unique: the candidates of permitted.

Definition at line 114 of file service.hpp.

◆ models

std::optional<std::map<std::string, ModelInfo, std::less<> > > morph::ui::ServedBundle::models

The model facts the registry's catalog gave, for every model type a document names; absent when it has no model lookup.

Definition at line 117 of file service.hpp.

◆ actions

std::optional<std::map<std::string, ActionInfo, std::less<> > > morph::ui::ServedBundle::actions

The action facts the registry's catalog gave, for every action a document names; absent when it has no action lookup.

Definition at line 120 of file service.hpp.

◆ views

std::optional<std::map<std::string, std::string, std::less<> > > morph::ui::ServedBundle::views

The view documents the registry's catalog gave, by the action of their v-query, for every action a document names; absent when it has no view lookup.

Definition at line 123 of file service.hpp.

◆ wizards

std::optional<std::map<std::string, std::string, std::less<> > > morph::ui::ServedBundle::wizards

The wizard documents the registry's catalog gave, by the action of their first step, for every action a document names; absent when it has no wizard lookup.

Definition at line 126 of file service.hpp.


The documentation for this struct was generated from the following file: