buildModuleParams()
function buildModuleParams(guestId: string, params?: HostProvidedParams): ModuleParameters;
Build a ModuleParameters object for a self-initializing guest.
Reads hostUrl, manifestPath, and homeRoute from the app config
for the given guest id. The host only provides values the config
doesn't have: theme, history, and optionally initialRoute.
Parameters
guestId
string
App id as defined in app.config.json (e.g. 'loanapp')
params?
HostProvidedParams = {}
Host-provided values (theme, history, initialRoute, custom keys)
Returns
ModuleParameters
ModuleParameters ready for getParameters()