Variables
Const ARTIFACT
ARTIFACT: string = "ARTIFACT"
Const GLOBAL
GLOBAL: string = "GLOBAL"
Const applyChange
applyChange: any = require('deep-diff').applyChange
Const compressToEncodedURIComponent
compressToEncodedURIComponent: any = require('lz-string').compressToEncodedURIComponent
Const decompressFromEncodedURIComponent
decompressFromEncodedURIComponent: any = require('lz-string').decompressFromEncodedURIComponent
Const diff
diff: any = require('deep-diff').diff
Function passed to addAction or applyAction which alters and returns the desired state. Always has the current state as the first parameter. Has optional additional parameters which can be passed through the args parameter in applyAction, or by using addArgs in the Action object.