import { slice } from '../slices';

const nameSpace = slice.name;

export const runContextSelector = (state) => state[nameSpace].runContext;
export const ccFilesSelector = (state) => state[nameSpace].ccFiles;
export const languagesSelector = (state) => state[nameSpace].languages;
export const totalSegmentsSelector = (state) => state[nameSpace].totalSegments;
export const autoTranslateLanguagesSelector = (state) => state[nameSpace].autoTranslateLanguages;
export const isShowAutoTranslateInfoDialogSelector = (state) => state[nameSpace].isShowAutoTranslateInfoDialog;

export const checkCcFileStateMonitoringIsActiveSelector = (state) =>
  state[nameSpace].checkCcFileStateMonitoringIsActive;
