export const days = [
  'Monday',
  'Tuesday',
  'Wednesday',
  'Thursday',
  'Friday',
  'Saturday',
  'Sunday'
]

export const newsFields = [
  'uuid',
  'title',
  'published_at',
  'chapo',
  'slug',
  'image',
  'content_type',
  { comments: ['count'] },
  {
    news_categories: {
      fields: ['uuid', 'title', 'color'],
      filters: { 'status:eq': 1 }
    }
  },
  {
    spaces: {
      fields: ['title', 'uuid', 'slug'],
      filters: { 'status:eq': 1 }
    }
  },
  {
    news_criticalities: {
      fields: ['title', 'color', 'image'],
      filters: { 'status:eq': 1 }
    }
  },
  {
    reactions: [
      'count',
      { users: ['uuid', 'title', 'image', 'firstname', 'lastname'] }
    ]
  }
]
