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.

126 lines (125 loc) 4.35 kB
import formatHelper from './../format'; module.exports = { important: [], all: [ { either: [ { display: 'Name', value: 'property-sharepoint.listitem.LinkFilename' } ] }, { display: 'Time to read', value: 'property-document.wordCount', format: formatHelper.formatReadingTime, category: 'doctime', key: 'timetoread' }, { either: [{ display: 'Creation Date', value: 'property-tika.Creation-Date', format: formatHelper.formatDate }, { display: 'Creation Date', value: 'property-CreatedDateRaw', format: formatHelper.formatDate }, { display: 'Creation Date', value: 'property-clientMTimeDate', format: formatHelper.formatDate }, { display: 'Creation Date', value: 'property-googleDrive.File.createdDateRaw', format: formatHelper.formatDate }] }, { 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 }, { display: 'Creation Date', value: 'property-googleDrive.File.modifiedDate', format: formatHelper.formatDate }, { display: 'Creation Date', value: 'property-googleDrive.File.modifiedDateRaw', format: formatHelper.formatDate } ] }, { display: 'Last Modified By', value: "property-LastModifyingUserName" }, { display: 'Last Viewed At', value: 'property-LastViewedByMeDateRaw' }, { display: 'File Type', value: 'property-sharepoint.listitem.DocIcon', contentType: true }, 'property-document.numberOfPages', 'property-document.revisionNumber', 'property-document.template', { display: 'Number Of Notes', value: 'property-presentation.numberOfNotes' }, 'property-presentation.presentationFormat', 'property-sharepoint.listitem.DocIcon', { display: 'Size', value: 'property-tika.Content-Length', format: formatHelper.bytesToSize }, { either: [ { display: 'Number Lines', value: 'property-slack.file.Lines' } ] }, { either: [ { display: 'File Type', value: 'property-slack.file.MimeType', contentType: true }, { display: 'File Type', value: 'property-extension', contentType: true } ] }, { display: 'Number Stars', value: 'property-slack.file.NumStars' }, { display: 'Is Editable?', value: 'property-slack.file.Editable', format: formatHelper.YesOrNo }, { display: 'Icon Link', value: 'property-IconLink' }, { display: 'Alternate Link', value: 'property-AlternateLink' }, { either: [ { display: 'Size', value: 'property-size' }, { display: 'Bytes', value: 'property-bytes', format: formatHelper.bytesToSize } ] } ] };