const CONTACT_ACTIVITY_FEATURE_FLAG = 'user-contact-activities'

const FILTER_KEYS = {
  dataHubAndExternalActivity: 'dataHubAndExternalActivity',
  myActivity: 'myActivity',
  externalActivity: 'externalActivity',
  dataHubActivity: 'dataHubActivity',
}

const FILTER_ITEMS = {
  dataHubAndExternalActivity: {
    label: 'All Data Hub & external activity',
    value: FILTER_KEYS.dataHubAndExternalActivity,
  },

  externalActivity: {
    label: 'All external activity',
    value: FILTER_KEYS.externalActivity,
  },

  myActivity: {
    label: 'My activity',
    value: FILTER_KEYS.myActivity,
  },

  dataHubActivity: {
    label: 'All Data Hub activity',
    value: FILTER_KEYS.dataHubActivity,
  },
}
const CONTACT_ACTIVITY_SORT_SEARCH_OPTIONS = {
  newest: 'desc',
  oldest: 'asc',
}

const CONTACT_ACTIVITY_SORT_SELECT_OPTIONS = [
  { name: 'Newest', value: 'newest' },
  { name: 'Oldest', value: 'oldest' },
]

const DATA_HUB_ACTIVITY = [
  'dit:Interaction', // Interaction
  'dit:ServiceDelivery', // Interaction
  'dit:InvestmentProject',
  'dit:OMISOrder',
  'dit:CompanyReferral',
]

const EXTERNAL_ACTIVITY = [
  'dit:Accounts', // Companies House Accounts
  'dit:Company', // Companies House Company
  'dit:Export', // HMRC Exporter
]

const DATA_HUB_AND_EXTERNAL_ACTIVITY = [
  ...DATA_HUB_ACTIVITY,
  ...EXTERNAL_ACTIVITY,
]

module.exports = {
  CONTACT_ACTIVITY_FEATURE_FLAG,
  FILTER_KEYS,
  FILTER_ITEMS,
  DATA_HUB_ACTIVITY,
  EXTERNAL_ACTIVITY,
  DATA_HUB_AND_EXTERNAL_ACTIVITY,
  CONTACT_ACTIVITY_SORT_SEARCH_OPTIONS,
  CONTACT_ACTIVITY_SORT_SELECT_OPTIONS,
}

@@ -56,16 +56,76 @@
 ivities'
+%0Aconst EVENT_ACTIVITY_FEATURE_FLAG = 'user-event-activities'
 %0A%0Aconst 
@@ -1449,16 +1449,47 @@
 E_FLAG,%0A
+  EVENT_ACTIVITY_FEATURE_FLAG,%0A
   FILTER

add constant for event activities feature flag