Skip to content

masSetup

devakumaraswamy edited this page Jan 21, 2020 · 2 revisions

masSetup ⇒ object

setup access to MAS

Returns: object -

  • masControl used in masRun
Param Type Description
store object

restaf store

models object

an array of model names

logonPayload object

null or restaf logon payload

Example

let masControl = await masSetup(store, ['modelA', 'modelB'], null);
Clone this wiki locally