PHP Classes

File: src/data/jobs/selectors.ts

Recommend this page to a friend!
  Classes of Maniruzzaman Akash   WordPress React Plugin Kit   src/data/jobs/selectors.ts   Download  
File: src/data/jobs/selectors.ts
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: WordPress React Plugin Kit
Environment to develop new WordPress plugins
Author: By
Last change:
Date: 1 year ago
Size: 636 bytes
 

Contents

Class file image Download
/** * Internal dependencies. */ import { IJobs } from './interfaces'; const selectors = { getJobs(state: IJobs, filters: object) { const { jobs } = state; return jobs; }, getLoadingJobs(state: IJobs) { const { loadingJobs } = state; return loadingJobs; }, getTotalPage(state: IJobs) { const { totalPage } = state; return totalPage; }, getTotal(state: IJobs) { const { total } = state; return total; }, getFilter(state: IJobs) { const { filters } = state; return filters; }, }; export default selectors;