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

const nameSpace = slice.name;

export const activeModuleSelector = (state) => state[nameSpace].activeModule;
// export const selectedVideoSelector = (state) => state[VideoDetailsNameSpace].selectedVideo;
export const selectedVideoSelector = (state) => state[nameSpace].selectedVideo;
export const shouldShowWarnEditConfirmSelector = (state) => state[nameSpace].shouldShowWarnEditConfirm;
export const updatedBySelector = (state) => state[nameSpace].updatedBy;
export const updatedAtSelector = (state) => state[nameSpace].updatedAt;

export const prevVideoIdInQuerySelector = (state) => state[nameSpace].prevVideoIdInQuery;
export const selectedVideoIdSelector = (state) => state[nameSpace].selectedVideoId;
