"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.registerRoute = registerRoute;
exports.setEditorCanvasContainerView = void 0;
exports.unregisterRoute = unregisterRoute;
/**
 * Action that switches the editor canvas container view.
 *
 * @param {?string} view Editor canvas container view.
 */
const setEditorCanvasContainerView = view => ({
  dispatch
}) => {
  dispatch({
    type: 'SET_EDITOR_CANVAS_CONTAINER_VIEW',
    view
  });
};
exports.setEditorCanvasContainerView = setEditorCanvasContainerView;
function registerRoute(route) {
  return {
    type: 'REGISTER_ROUTE',
    route
  };
}
function unregisterRoute(name) {
  return {
    type: 'UNREGISTER_ROUTE',
    name
  };
}
//# sourceMappingURL=private-actions.js.map