const basicFields = [
  'uuid',
  'title',
  'slug',
  'content_type',
  'admin',
  'published_at',
  'updated_at'
]

const newsFields = [
  ...basicFields,
  'image',
  'chapo',
  { reactions: ['count', { users: ['uuid'] }] },
  { comments: ['count'] },
  {
    news_categories: {
      fields: ['uuid', 'title'],
      filters: { 'status:eq': 1 }
    }
  }
]

export { basicFields, newsFields }
