'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
const SET_SEARCH_TO_RELATE_KEYWORD = exports.SET_SEARCH_TO_RELATE_KEYWORD = 'SET_SEARCH_TO_RELATE_KEYWORD';
const SET_SEARCH_TO_RELATE_ADVANCED = exports.SET_SEARCH_TO_RELATE_ADVANCED = 'SET_SEARCH_TO_RELATE_ADVANCED';
const SET_SEARCH_TO_RELATE_RECORD_TYPE = exports.SET_SEARCH_TO_RELATE_RECORD_TYPE = 'SET_SEARCH_TO_RELATE_RECORD_TYPE';
const SET_SEARCH_TO_RELATE_VOCABULARY = exports.SET_SEARCH_TO_RELATE_VOCABULARY = 'SET_SEARCH_TO_RELATE_VOCABULARY';

const setSearchToRelateKeyword = exports.setSearchToRelateKeyword = value => ({
  type: SET_SEARCH_TO_RELATE_KEYWORD,
  payload: value
});

const setSearchToRelateAdvanced = exports.setSearchToRelateAdvanced = condition => ({
  type: SET_SEARCH_TO_RELATE_ADVANCED,
  payload: condition
});

const setSearchToRelateRecordType = exports.setSearchToRelateRecordType = recordType => ({
  type: SET_SEARCH_TO_RELATE_RECORD_TYPE,
  payload: recordType
});

const setSearchToRelateVocabulary = exports.setSearchToRelateVocabulary = vocabulary => ({
  type: SET_SEARCH_TO_RELATE_VOCABULARY,
  payload: vocabulary
});