'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _reactIntl = require('react-intl');

exports.default = configContext => {
  const formatTimestamp = configContext.formatHelpers.formatTimestamp;


  return {
    default: {
      exhibitionNumber: {
        messages: (0, _reactIntl.defineMessages)({
          label: {
            'id': 'column.exhibition.default.exhibitionNumber',
            'defaultMessage': 'Exhibition number'
          }
        }),
        order: 10,
        sortBy: 'exhibitions_common:exhibitionNumber',
        width: 200
      },
      title: {
        messages: (0, _reactIntl.defineMessages)({
          label: {
            'id': 'column.exhibition.default.title',
            'defaultMessage': 'Title'
          }
        }),
        order: 20,
        sortBy: 'exhibitions_common:title',
        width: 450
      },
      updatedAt: {
        formatValue: formatTimestamp,
        messages: (0, _reactIntl.defineMessages)({
          label: {
            'id': 'column.exhibition.default.updatedAt',
            'defaultMessage': 'Updated'
          }
        }),
        order: 30,
        sortBy: 'collectionspace_core:updatedAt',
        width: 150
      }
    }
  };
};