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

const nameSpace = slice.name;

export const usersSelector = (state) => state[nameSpace].users;
export const sitesSelector = (state) => state[nameSpace].sites;
export const usersToShareSelector = (state) => state[nameSpace].usersToShare;
export const messageSelector = (state) => state[nameSpace].message;
export const accessLevelSelector = (state) => state[nameSpace].accessLevel;
export const accessSitesSelector = (state) => state[nameSpace].accessSites;
export const accessUsersSelector = (state) => state[nameSpace].accessUsers;
export const isLoadingSelector = (state) => state[nameSpace].isLoading;
export const isSitesLoadingSelector = (state) => state[nameSpace].isSitesLoading;
export const isAccessUsersLoadingSelector = (state) => state[nameSpace].isAccessUsersLoading;
export const isSharingSelector = (state) => state[nameSpace].isSharing;
export const isOpenSelector = (state) => state[nameSpace].isOpen;
export const videoIdSelector = (state) => state[nameSpace].videoId;
export const sendHubsNotificationSelector = (state) => state[nameSpace].sendHubsNotification;
export const isUsedInTrimSelector = (state) => state[nameSpace].isUsedInTrim;
export const isKeepSharingCheckedInTrimSelector = (state) => state[nameSpace].isKeepSharingCheckedInTrim;
