import { DEFAULT_ERROR } from '@/constants/errors';
import { ActivePlugins, PluginsList, PluginsState } from './plugins.types';

export const PLUGINS_INITIAL_STATE_ACTIVE_PLUGINS_MOCK: ActivePlugins = {
  data: {},
  pluginsId: [],
};

export const PLUGINS_INITIAL_STATE_LIST_MOCK: PluginsList = {
  data: [],
  loading: 'idle',
  error: DEFAULT_ERROR,
};

export const PLUGINS_INITIAL_STATE_MOCK: PluginsState = {
  list: PLUGINS_INITIAL_STATE_LIST_MOCK,
  activePlugins: PLUGINS_INITIAL_STATE_ACTIVE_PLUGINS_MOCK,
};