'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
var CLEAR_RELATED_RECORD_BROWSER_RELATED_CSID = exports.CLEAR_RELATED_RECORD_BROWSER_RELATED_CSID = 'CLEAR_RELATED_RECORD_BROWSER_RELATED_CSID';
var SET_RELATED_RECORD_BROWSER_RELATED_CSID = exports.SET_RELATED_RECORD_BROWSER_RELATED_CSID = 'SET_RELATED_RECORD_BROWSER_RELATED_CSID';

var clearRelatedRecordBrowserRelatedCsid = exports.clearRelatedRecordBrowserRelatedCsid = function clearRelatedRecordBrowserRelatedCsid() {
  return {
    type: CLEAR_RELATED_RECORD_BROWSER_RELATED_CSID
  };
};

var setRelatedRecordBrowserRelatedCsid = exports.setRelatedRecordBrowserRelatedCsid = function setRelatedRecordBrowserRelatedCsid(recordType, relatedCsid) {
  return {
    type: SET_RELATED_RECORD_BROWSER_RELATED_CSID,
    payload: relatedCsid,
    meta: {
      recordType: recordType
    }
  };
};