social_event.settings:
  type: config_object
  label: 'Social Event Settings'
  mapping:
    enroll:
      type: sequence
      label: 'For which group type a user should be added to the group when enrolling for an event.'
      group_type:
        type: string
        label: 'Group Type'
    disable_event_enroll:
      type: boolean
      label: 'Disable all event enrollments on your community'
    show_user_timezone:
      type: boolean
      label: 'Show user timezone'
    langcode:
      type: string
      label: 'Language code'

views.sort.social_event_date_sort:
  type: views_sort
  label: 'Date sort'
  mapping:
    granularity:
      type: string
      label: 'Granularity'

views.filter.social_event_date_filter:
  type: views_filter
  label: 'IN operator'
  mapping:
    expose:
      type: mapping
      label: 'Expose'
      mapping:
        reduce:
          type: boolean
          label: 'Reduce'
