import { PersistedStateKey, ImmutablePersistedStateKey } from '../types';

export const PERSISTED_STATE_WHITELIST: PersistedStateKey[] = [
  'tab',
  'account',
  'hitBlocklist',
  'hitDatabase',
  'requesterBlocklist',
  'sortingOption',
  'searchOptions',
  'topticonSettings',
  'watchers',
  'audioSettingsV1',
  'dailyEarningsGoal',
  'notificationSettings'
];

export const IMMUTABLE_PERSISTED_STATE_WHITELIST: ImmutablePersistedStateKey[] = [
  'hitBlocklist',
  'requesterBlocklist',
  'watchers',
  'hitDatabase'
];

import { PersistedStateKey, ImmutablePersistedStateKey } from '../types';

export const PERSISTED_STATE_WHITELIST: PersistedStateKey[] = [
  'tab',
  'account',
  'hitBlocklist',
  'hitDatabase',
  'requesterBlocklist',
  'sortingOption',
  'searchOptions',
  'topticonSettings',
  'watchers',
  'watcherFolders',
  'watcherTreeSettings',
  'audioSettingsV1',
  'dailyEarningsGoal',
  'notificationSettings'
];

export const IMMUTABLE_PERSISTED_STATE_WHITELIST: ImmutablePersistedStateKey[] = [
  'hitBlocklist',
  'requesterBlocklist',
  'watchers',
  'hitDatabase'
];

Add watcherFolders and watcherTreeSettings to PERSISTED_STATE_WHITELIST.
Add watcherFolders and watcherTreeSettings to PERSISTED_STATE_WHITELIST.
