Type Alias: CustomEventNumberConfig
@torque-labs/torque-utils • Docs
@torque-labs/torque-utils / CustomEventNumberConfig
Type Alias: CustomEventNumberConfig
Custom event config type for number properties
Type declaration
Name
Type
Description
description
?
null
| string
A short description to the user of the custom event field
image
?
null
| string
An image to display with the custom event field in the UI (eg. screenshots)
label
?
null
| string
The label for the custom field that will displayed in the UI
name
string
The name of the custom field
Type declaration
Name
Type
Description
type
"number"
Number custom event field type
validation
{ max
: null
| number
; min
: null
| number
; }
Validation for this custom event number property
validation.max
?
null
| number
Maximum value for this number field
validation.min
?
null
| number
Minimum value for this number field
Defined in
Last updated