'use strict';

exports.__esModule = true;
exports.ApiEndpointProp = undefined;

var _propTypes = require('prop-types');

var _propTypes2 = _interopRequireDefault(_propTypes);

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var PageProp = _propTypes2.default.shape({
  _id: _propTypes2.default.string,
  api: _propTypes2.default.shape({
    apiSetting: _propTypes2.default.string,
    method: _propTypes2.default.string
  }),
  path: _propTypes2.default.string,
  slug: _propTypes2.default.string,
  title: _propTypes2.default.string,
  type: _propTypes2.default.string
});

var ApiEndpointProp = _propTypes2.default.shape({
  categoryId: _propTypes2.default.string,
  children: _propTypes2.default.arrayOf(PageProp),
  title: _propTypes2.default.string
});

exports.ApiEndpointProp = ApiEndpointProp;