UNPKG

cluedin-widget

Version:

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

92 lines (91 loc) 2.79 kB
import formatHelper from './../format'; module.exports = { important: [ { display: 'Type', key: 'type', value: 'property-extension' }, { either: [ { display: 'Author', value: 'property-tika.Last-Author', key: 'author' }, { display: 'Author', value: 'property-tika.dc:creator', key: 'author' } ] }, { display: 'Created at', value: 'property-tika.dcterms:created', key: 'createdat', format: formatHelper.formatDate }, { display: 'Last modified at', key: 'lastmodifiedat', value: 'property-tika.Last-Modified', format: formatHelper.formatDate }, { display: 'Size', value: 'property-tika.Content-Length', key: 'size', format: formatHelper.bytesToSize } ], all: [ { either: [ { display: 'Name', value: 'property-sharepoint.listitem.LinkFilename' }, { display: 'Name', value: 'property-tika.title' } ] }, { display: 'Time to read', value: 'property-tika.Word-Count', format: formatHelper.formatReadingTime, category: 'doctime', key: 'timetoread' }, { display: 'Time to present', value: 'property-tika.Word-Count', format: formatHelper.formatPresentationTime, category: 'doctime', key: 'timetopresent' }, { display: 'Total writing time', value: 'property-tika.Total-Time', format: formatHelper.formatMinutesFromSeconds, category: 'doctime', key: 'timetowrite' }, { display: 'Number Lines', value: 'property-slack.file.Lines' }, { display: 'File Type', value: 'property-tika.Content-Type', contentType: true }, 'property-tika.Template', 'property-document.numberOfPages', { display: 'Is Editable?', value: 'property-slack.file.Editable', format: formatHelper.YesOrNo }, { display: 'Hosting Mode', value: 'property-slack.file.Mode' }, { display: 'Is Sensitive Information?', value: 'isSensitiveInformation', format: formatHelper.YesOrNo } ] };