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.

110 lines (109 loc) 3.56 kB
import formatHelper from './../format'; module.exports = { important: [ { either: [ { display: 'Name', value: 'property-sharepoint.listitem.LinkFilename' }, { display: 'Name', value: 'property-OriginalFilename' }, { display: 'Name', value: 'property-DropBox Files' } ] } ], all: [ { either: [ { display: 'Size', value: 'property-bytes', format: formatHelper.bytesToSize }, { display: 'Size', value: 'property-size', } ] }, { either: [ { display: 'Created at', value: 'property-CreatedDateRaw', format: formatHelper.formatDate }, { display: 'Created at', value: 'property-clientMTime', format: formatHelper.formatDate }, { display: 'Created at', value: 'property-clientMTimeDate', format: formatHelper.formatDate } ] }, { display: 'Last Modified By', value: 'property-LastModifyingUserName' }, { either: [{ display: 'Modified at', value: 'property-sharepoint.listitem.Modified', format: formatHelper.formatDate }, { display: 'Last Modified at', value: 'property-ModifiedDateRaw', format: formatHelper.formatDate }, { display: 'Last Modified at', value: 'property-modifiedDate', format: formatHelper.formatDate }, { display: 'Last Modified at', value: 'property-modified', 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-FileExtension' }, { display: 'File Type', value: 'property-extension' }] }, { display: 'Hosting Mode', value: 'property-slack.file.Mode' }, { display: 'Number Of Stars', value: 'property-slack.file.NumStars' }, { display: 'Is Editable', value: 'property-slack.file.Editable', format: formatHelper.YesOrNo }, { display: 'Number Lines', value: 'property-slack.file.Lines' }, { display: 'Icon Link', value: 'property-IconLink' }, { display: 'Alternate Link', value: 'property-AlternateLink' }, { display: 'Download Url', value: 'property-DownloadUrl' } ] };