"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

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

var _blobHelpers = require("../../../helpers/blobHelpers");

var _default = configContext => {
  const {
    formatTimestamp
  } = configContext.formatHelpers;
  return {
    default: {
      blobCsid: {
        formatValue: _blobHelpers.thumbnailImage,
        messages: (0, _reactIntl.defineMessages)({
          label: {
            "id": "column.media.default.blobCsid",
            "defaultMessage": "Thumbnail"
          }
        }),
        order: 10,
        width: 70
      },
      identificationNumber: {
        messages: (0, _reactIntl.defineMessages)({
          label: {
            "id": "column.media.default.identificationNumber",
            "defaultMessage": "Identification number"
          }
        }),
        order: 20,
        sortBy: 'media_common:identificationNumber',
        width: 200
      },
      title: {
        messages: (0, _reactIntl.defineMessages)({
          label: {
            "id": "column.media.default.title",
            "defaultMessage": "Title"
          }
        }),
        order: 30,
        sortBy: 'media_common:title',
        width: 380
      },
      updatedAt: {
        formatValue: formatTimestamp,
        messages: (0, _reactIntl.defineMessages)({
          label: {
            "id": "column.media.default.updatedAt",
            "defaultMessage": "Updated"
          }
        }),
        order: 40,
        sortBy: 'collectionspace_core:updatedAt',
        width: 150
      }
    }
  };
};

exports.default = _default;