cluedin-widget
Version:
This project contains all the pages needed for browsing entities and searching them. The aim is to replace the CluedIn.Webapp project with this one when all the pages ( including the Admin page ) will be ported to REACT.
79 lines (78 loc) • 2.27 kB
JavaScript
import formatHelper from './../format';
module.exports = {
important: [
{
either: [
{
display: 'Contact Email',
key: 'contactemail',
value: 'property-zendesk.comment.viaSourceFromAddress'
}]
},
{
display: 'Contact',
key: 'contact',
value: 'property-zendesk.comment.viaSourceFromName'
},
{
display: 'Via',
key: 'via',
value: 'property-zendesk.comment.viaChannel'
}],
all: [
{
display: 'Cretaed at',
value: 'property-zendesk.comment.createdAt',
format: formatHelper.formatDate
},
{
display: 'Is Public?',
value: 'property-zendesk.comment.isPublic',
format: formatHelper.YesOrNo
},
{
display: 'Channel',
value: 'property-zendesk.comment.viaChannel'
},
{
display: 'Channel Source',
value: 'property-zendesk.comment.viaSourceRel'
}, {
display: 'Number of Hearts',
value: 'property-asana.story.numberOfHearts'
}, {
display: 'Source',
value: 'property-asana.story.source'
}, {
display: 'Story Type',
value: 'property-asana.story.storyType'
},
{
display: 'Can comment?',
value: 'property-can_comment',
format: formatHelper.YesOrNo
}, {
display: 'Can hide?',
value: 'property-can_hide',
format: formatHelper.YesOrNo
}, {
display: 'Can like?',
value: 'property-can_like',
format: formatHelper.YesOrNo
}, {
display: 'Can remove?',
value: 'property',
format: formatHelper.YesOrNo
}, {
display: 'Comment Count',
value: 'property-comment_count'
}, {
display: 'Like count',
value: 'property-like_count'
}, {
display: 'User likes?',
value: 'property-user_likes',
format: formatHelper.YesOrNo
}
]
};