UNPKG

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.

130 lines (129 loc) 4.15 kB
import formatHelper from './../format'; module.exports = { important: [], all: [ { either: [ { display: 'Name', value: 'property-sharepoint.listitem.LinkFilename' }, { display: 'Name', value: 'property-tika.title' }, { display: 'Name', value: 'property-title' }, { display: 'Name', value: 'property-OriginalFilename' } ] }, { either: [ { display: 'Author', value: 'property-tika.Author' }, { display: 'Author', value: 'property-tika.dc:creator' } ] }, { either: [ { display: 'Created at', value: 'property-tika.dcterms:created', format: formatHelper.formatDate }, { display: 'Created at', value: 'property-created_on', format: formatHelper.formatDate }, { display: 'Created at', value: 'property-CreatedDateRaw', format: formatHelper.formatDate } ] }, { either: [ { display: 'Last modified by', value: 'property-tika.Last-Author' } ] }, { either: [ { display: 'Last modified at', value: 'property-tika.Last-Modified', format: formatHelper.formatDate }, { display: 'Last modified at', value: 'property-ModifiedDateRaw', format: formatHelper.formatDate } ] }, { display: 'Last modified by', value: 'property-LastModifyingUserName' }, { display: 'Last viewed at', value: 'property-LastViewedByMeDateRaw' }, { either: [ { display: 'FileType', value: 'property-sharepoint.listitem.DocIcon' }, { display: 'FileType', value: 'property-extension' }, { display: 'FileType', value: 'property-slack.file.FileType', contentType: true }, { display: 'FileType', value: 'property-FileExtension', contentType: true } ] }, { either:[ { display: 'Size', value: 'property-size' },{ display: 'Size', value: 'property-tika.Content-Length', format: formatHelper.bytesToSize },{ display: 'Size', value: 'property-bytes', format: formatHelper.bytesToSize } ] }, 'property-type', 'property-podio.file.HostedBy', { display: 'Hosting Mode', value: 'property-slack.file.Mode' }, { display: 'Number Of Stars', value: 'property-slack.file.NumStars' }, { display: 'Number Of Lines', value: 'property-slack.file.Lines' }, { display: 'Alternate Link', value: 'property-AlternateLink' }, { display: 'Icon Link', value: 'property-IconLink' }, { display: 'Download Url', value: "property-DownloadUrl" } ] };