export default {
  users: {
    extendedUrl: ['uuid'],
    modalFields: [
      'uuid',
      'firstname',
      'lastname',
      'image',
      'phone',
      'mobile',
      'function',
      'email',
      'zip',
      'sectors',
      'city',
      { departments: ['title'] },
      { users_status: ['title'] },
      { franchised_spaces: ['title', 'slug'] },
      'linkedin',
      'facebook'
    ]
  },
  documents: {
    extendedUrl: ['uuid'],
    modalFields: [
      'uuid',
      'title',
      'content_type',
      'admin',
      'content',
      'published_at',
      'updated_at',
      'file',
      { folders: ['title', 'uuid'] },
      { authors: ['uuid', 'firstname', 'lastname'] }
    ]
  },
  franchised_spaces_documents: {
    extendedUrl: ['uuid'],
    modalFields: [
      'uuid',
      'title',
      'content_type',
      'admin',
      'content',
      'published_at',
      'file',
      { franchised_spaces_folders: ['title', 'uuid'] },
      { authors: ['uuid', 'firstname', 'lastname'] }
    ]
  },
  popin: {
    modalFields: ['uuid', 'title', 'content', 'class']
  }
}
