Module

masSetup

setup access to MAS

Parameters:
Name Type Description
store object

restaf store

masControl object

control object from masSetup

models object

array of models to add

  • masControl used in masRun
object
Example
let masControl = await masSetup(store, ['modelA', 'modelB']);
Parameters:
Name Type Description
store object

restaf store

models object

an array of model names

logonPayload object

null|restaf logon payload

  • masControl used in masRun
object
Example
let masControl = await masSetup(store, ['modelA', 'modelB']);

setup access to MAS

Parameters:
Name Type Description
store object

restaf store

masControl object

control object from masSetup

models object

array of models to add

  • masControl used in masRun
object
Example
let masControl = await masSetup(store, ['modelA', 'modelB']);
Parameters:
Name Type Description
store object

restaf store

models object

an array of model names

logonPayload object

null|restaf logon payload

  • masControl used in masRun
object
Example
let masControl = await masSetup(store, ['modelA', 'modelB']);