export default {
  // USERS
  users: {
    extendedUrl: ['uuid'],
    modalFields: [
      'uuid',
      'firstname',
      'lastname',
      'function',
      'image',
      'email',
      'phone',
      'sites'
    ]
  },
  // GED - Shared documents
  shared_documents: {
    extendedUrl: ['uuid'],
    modalFields: [
      'uuid',
      'title',
      'content_type',
      'admin',
      'content',
      'published_at',
      'updated_at',
      'file',
      { folders: ['title'] },
      { authors: ['uuid', 'firstname', 'lastname'] },
      'sites',
      { clients: ['uuid', 'machine_name'] }
    ]
  },

  // GED - My space
  space_documents: {
    extendedUrl: ['uuid'],
    modalFields: [
      'uuid',
      'title',
      'content_type',
      'admin',
      'content',
      'published_at',
      'updated_at',
      'file',
      { folders: ['title'] },
      { authors: ['uuid', 'firstname', 'lastname'] },
      'sites',
      { clients: ['uuid', 'machine_name'] }
    ]
  }
}
