Skip to content

Releases: AppXpress/axus

0.1.8

16 Jun 19:42
094153f
Compare
Choose a tag to compare

Added CustomTableProvider support of withTableOql

v0.1.7

24 Nov 16:25
de8add8
Compare
Choose a tag to compare

Support for RunAsScope methods:

  • getTargetAsLoaded()
  • getStateAsLoaded()

Initialize runAsScope when defining your context definition (examples):

let myRunAsScope =
{
'stateAsLoaded': 'Pending',
'targetAsLoaded': require('./resources/myTargetAsLoaded.json')
}

let ctx1 = axus
.requireLocal('../../../myScriptDir', undefined, {}, '3.1.0', null, myRunAsScope)
.seed(require('./resources/mySeededResources.json'));

Alternatively:
let ctx2 = axus
.require('../../../myScriptDir')
.setRunAsScope(myRunAsScope)
.useLocal(require('./resources/mySeededResources.json'));

Calls to Providers.getPersistenceProvider().getTargetAsLoaded() or .getStateAsLoaded() will return these properties respectively.

v0.1.6

18 Nov 22:02
Compare
Choose a tag to compare
0.1.6