"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

var _propTypes = _interopRequireDefault(require("prop-types"));

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

var ApiEndpointProp = _propTypes["default"].shape({
  categoryId: _propTypes["default"].string,
  children: _propTypes["default"].arrayOf(PageProp),
  title: _propTypes["default"].string
});

exports.ApiEndpointProp = ApiEndpointProp;