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

const nameSpace = slice.name;

export const isUserShareModeSelector = (state) => state[nameSpace].isUserShareMode;
export const usersSelector = (state) => state[nameSpace].users;
export const userOptionsSelector = (state) => state[nameSpace].userOptions;
export const messageSelector = (state) => state[nameSpace].message;

export const accessLevelSelector = (state) => state[nameSpace].accessLevel;
export const hubsSelector = (state) => state[nameSpace].hubs;
export const hubOptionsSelector = (state) => state[nameSpace].hubOptions;
export const sendHubsNotificationSelector = (state) => state[nameSpace].sendHubsNotification;
