Trigger
class Triggered {
@trigger('create.before', 'create.after', {
name: 'c_object_with_prop',
active: true,
principal: 'c_ok',
environment: 'production',
weight: 0.7
})
check({ memo, context, old, new, dryRun, inline, event, runtime }) {
console.log('checking')
}
static bakeMeACake() {
return true
}
}@trigger(...events, options)
Method Options
Examples
Last updated
Was this helpful?