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.
65 lines (64 loc) • 2 kB
JavaScript
import formatHelper from './../format';
module.exports = {
important: [],
all: [
{
display: 'Name',
value: 'property-sharepoint.listitem.LinkFilename'
}, {
either: [
{
display: 'Number Lines',
value: 'property-slack.file.Lines'
}
]
}, {
either: [
{
display: 'Last modified at',
value: 'property-sharepoint.listitem.Modified',
format: formatHelper.formatDate
},
{
display: 'Last modified at',
value: 'property-modifiedDate',
format: formatHelper.formatDate
},
{
display: 'Last modified at',
value: 'property-ModifiedDateRaw',
format: formatHelper.formatDate
}
]
}, {
either: [
{
display: 'File Type',
value: 'property-sharepoint.listitem.DocIcon'
},
{
display: 'File Type',
value: 'property-slack.file.FileType',
contentType: true
}, {
display: 'File Type',
value: 'property-extension',
contentType: true
}
]
}, {
either: [ {
display: 'Size',
value: 'property-tika.Content-Length',
format: formatHelper.bytesToSize
} ]
}, {
display: 'Is Editable?',
value: 'property-slack.file.Editable',
format: formatHelper.YesOrNo
}, {
display: 'Number Stars',
value: 'property-slack.file.NumStars'
}
]
};