Interface: TriggerPayloadField
@faeyumbrea/obs-utils-api-types
@faeyumbrea/obs-utils-api-types / TriggerPayloadField
Defined in: types.d.ts:9
One field in a trigger’s payload schema. Drives both the editor’s condition
inputs (when filter !== false) and the value paths components can reference
via trigger.X (when display !== false).
Properties
Section titled “Properties”default?
Section titled “default?”
optionaldefault?:any
Defined in: types.d.ts:16
Default value used when the editor seeds a fresh condition.
display?
Section titled “display?”
optionaldisplay?:boolean
Defined in: types.d.ts:18
If false, this field cannot be referenced via trigger.
filter?
Section titled “filter?”
optionalfilter?:boolean
Defined in: types.d.ts:20
If false, this field is not exposed to the editor condition inputs. Defaults to true.
key:
string
Defined in: types.d.ts:11
Storage / lookup key.
label:
string
Defined in: types.d.ts:14
i18n key for the label. Resolved via game.i18n.localize() at render time.
type:
"string"|"number"|"boolean"|"Actor"|"ChatMessage"|"Roll"
Defined in: types.d.ts:12