TriggerDefinition interface

Properties

body

The body of the trigger, it can also be passed as a stringifed function

id

The id of the trigger.

triggerOperation

The trigger operation, should be one of the values of TriggerOperation.

triggerType

The type of the trigger, should be one of the values of TriggerType.

Property Details

body

The body of the trigger, it can also be passed as a stringifed function

body: string | () => void

Property Value

string | () => void

id

The id of the trigger.

id?: string

Property Value

string

triggerOperation

The trigger operation, should be one of the values of TriggerOperation.

triggerOperation: TriggerOperation

Property Value

triggerType

The type of the trigger, should be one of the values of TriggerType.

triggerType: TriggerType

Property Value