"use strict";

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

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.TutorialProp = exports.TutorialStepProp = exports.StepSnippetProp = exports.EndpointProp = exports.CodeOptionProp = void 0;

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

var CodeOptionProp = _propTypes["default"].shape({
  code: _propTypes["default"].string,
  highlightedSyntax: _propTypes["default"].string,
  language: _propTypes["default"].string,
  name: _propTypes["default"].string
});

exports.CodeOptionProp = CodeOptionProp;

var EndpointProp = _propTypes["default"].shape({
  method: _propTypes["default"].string,
  page: _propTypes["default"].string,
  slug: _propTypes["default"].string,
  title: _propTypes["default"].string
});

exports.EndpointProp = EndpointProp;

var StepSnippetProp = _propTypes["default"].shape({
  codeOptions: _propTypes["default"].arrayOf(CodeOptionProp),
  endpoint: EndpointProp
});

exports.StepSnippetProp = StepSnippetProp;

var TutorialStepProp = _propTypes["default"].shape({
  body: _propTypes["default"].string,
  isOpen: _propTypes["default"].bool,
  lineNumbers: _propTypes["default"].arrayOf(_propTypes["default"].string),
  title: _propTypes["default"].string
});

exports.TutorialStepProp = TutorialStepProp;

var TutorialProp = _propTypes["default"].shape({
  _id: _propTypes["default"].string,
  backgroundColor: _propTypes["default"].string,
  className: _propTypes["default"].string,
  description: _propTypes["default"].string,
  emoji: _propTypes["default"].string,
  hero: _propTypes["default"].bool,
  published: _propTypes["default"].bool,
  referenceDisplay: _propTypes["default"].arrayOf(_propTypes["default"].string),
  response: _propTypes["default"].string,
  slug: _propTypes["default"].string,
  snippet: StepSnippetProp,
  stepCount: _propTypes["default"].number,
  steps: _propTypes["default"].arrayOf(TutorialStepProp),
  title: _propTypes["default"].string,
  version: _propTypes["default"].string
});

exports.TutorialProp = TutorialProp;