Add custom traits to Segment Node (#1145)

This commit is contained in:
Ricardo Espinoza
2020-11-10 17:05:08 -05:00
committed by GitHub
parent 1630d20e39
commit 03a672300f
3 changed files with 104 additions and 0 deletions

View File

@@ -285,6 +285,38 @@ export const trackFields = [
},
],
},
{
displayName: 'Custom Traits',
name: 'customTraitsUi',
placeholder: 'Add Custom Trait',
type: 'fixedCollection',
default: '',
typeOptions: {
multipleValues: true,
},
options: [
{
name: 'customTraitValues',
displayName: 'Custom Traits',
values: [
{
displayName: 'Key',
name: 'key',
type: 'string',
default: '',
description: '',
},
{
displayName: 'Value',
name: 'value',
type: 'string',
default: '',
description: '',
},
],
},
],
},
],
},
],