UNPKG

cluedin-widget

Version:

This is the project for creating and managing widgets in CluedIn.

139 lines (138 loc) 4.48 kB
import formatHelper from './../format'; module.exports = { important: [ { display: 'Size', value: 'property-tika.Content-Length', key: 'size', format: formatHelper.bytesToSize }, { either: [ { display: 'Last modified at', key: 'lastmodifiedat', value: 'property-sharepoint.listitem.Modified', format: formatHelper.formatDate }, { display: 'Last modified at', key: 'lastmodifiedat', value: 'property-utcDateModified', format: formatHelper.formatDate }, { display: 'Last modified at', key: 'lastmodifiedat', value: 'property-ModifiedDateRaw', format: formatHelper.formatDate }, { display: 'Created at', key: 'createdat', value: 'property-CreatedDateRaw' } ] } ], all: [ { either: [ { display: 'Name', value: 'property-sharepoint.listitem.LinkFilename' }, { display: 'Name', value: 'property-sharepoint.listitem.NameOrTitle' }, { display: 'Name', value: 'property-DropBox Files' }, { display: 'Name', value: 'property-OriginalFilename' } ] }, 'property-slack.file.InitialComment', { display: 'Created at', value: 'property-CreatedDateRaw' }, { 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' } ] }, { either: [ { display: 'Width', value: 'property-tika.width', format: formatHelper.addPixel }, { display: 'Width', value: 'property-tika.Image Width' } ] }, { either: [ { display: 'Height', value: 'property-tika.height', format: formatHelper.addPixel }, { display: 'Height', value: 'property-tika.Image Height' } ] }, { display: 'Last Modified By', value: 'property-LastModifyingUserName' }, { display: 'Last Viewed By', value: 'property-LastViewedByMeDateRaw' }, { display: 'Number Comments', value: 'property-commentCount' }, { display: 'Number Starts', value: 'property-slack.file.NumStars' }, { display: 'Hosting Mode', value: 'property-slack.file.Mode' }, { display: 'Orientation', value: 'property-tika.Dimension ImageOrientation' }, { display: 'Pixel Ratio', value: 'property-tika.Dimension PixelAspectRatio' }, { display: 'Compression Type', value: 'property-tika.Compression CompressionTypeName' }, { display: 'Is Lossless?', value: 'property-tika.Compression Lossless', format: formatHelper.YesOrNo }, { display: 'Icon Link', value: 'property-IconLink' }, { display: 'Alternate Link', value: 'property-AlternateLink' }, { display: 'Download Url', value: 'property-DownloadUrl' } ] };