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

const nameSpace = slice.name;

export const templatesSelector = (state) => state[nameSpace].templates;
export const totalCountSelector = (state) => state[nameSpace].totalCount;
export const pageSelector = (state) => state[nameSpace].page;
export const pageSizeSelector = (state) => state[nameSpace].pageSize;
export const searchTextSelector = (state) => state[nameSpace].searchText;
export const searchInSelector = (state) => state[nameSpace].searchIn;
export const sortBySelector = (state) => state[nameSpace].sortBy;
export const sortOrderSelector = (state) => state[nameSpace].sortOrder;
export const formTemplateCategoryIdSelector = (state) => state[nameSpace].formTemplateCategoryId;
export const formTemplateCategoryOptionsSelector = (state) => state[nameSpace].formTemplateCategoryOptions;
