export const notificationsKeys = {
  getChannelsPreferences: () => ['notifications', 'channelsPreferences'],
  getModulesPreferences: () => ['notifications', 'modulesPreferences'],
  getDisabledModules: () => ['notifications', 'disabledModules'],
  getFeedEmailNotificationConfiguration: () => [
    'notifications',
    'feedEmailNotificationConfiguration',
  ],
};

export const notificationCenterKeys = {
  all: () => ['notification-center'],
  notifications: () => [...notificationCenterKeys.all(), 'notifications'],
  list: (unread: boolean) => [
    ...notificationCenterKeys.notifications(),
    unread,
  ],
  paginated: (page: string) => [
    ...notificationCenterKeys.notifications(),
    page,
  ],
  stats: () => [...notificationCenterKeys.notifications(), 'stats'],
};
