const options = {
  noCellUpdate: true,
  noCreate: true,
  titleList: 'Errors',
  title: 'Error',
  headers: [
    { title: 'key', key: 'key', maxWidth: 100 },
    { title: 'Value', key: 'value' },
    { title: 'Message', key: 'body', multi: true },
  ],
  model: [
    {
      type: 'section',
      opened: true,
      fields: [
        { type: 'string', label: '_id', name: '_id', noUpdate: true, noCreate: true },
        { type: 'text', label: 'key', name: 'key' },
        { type: 'text', label: 'value', name: 'value' },
        { type: 'multi', label: 'body', name: 'body' },
        { type: 'multi', label: 'subject', name: 'subject' },
      ],
    },
  ],
};

export default options;
