"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.setRelatedRecordBrowserRelatedCsid = exports.clearRelatedRecordBrowserRelatedCsid = void 0;

var _actionCodes = require("../constants/actionCodes");

const clearRelatedRecordBrowserRelatedCsid = () => ({
  type: _actionCodes.CLEAR_RELATED_RECORD_BROWSER_RELATED_CSID
});

exports.clearRelatedRecordBrowserRelatedCsid = clearRelatedRecordBrowserRelatedCsid;

const setRelatedRecordBrowserRelatedCsid = (recordType, relatedCsid) => ({
  type: _actionCodes.SET_RELATED_RECORD_BROWSER_RELATED_CSID,
  payload: relatedCsid,
  meta: {
    recordType
  }
});

exports.setRelatedRecordBrowserRelatedCsid = setRelatedRecordBrowserRelatedCsid;