Source: app/util/proptypes/apiEntities/recipe.js

import PropTypes from 'prop-types';
import imageShape from './image';

/** @module */

/**
 * Reusable object to use in `propTypes` for a `recipe` prop.
 * @type {Object}
 * @category templating
 */
const recipeShape = {
  characteristics: PropTypes.number,
  servings: PropTypes.number,
  syns: PropTypes.number,
  totalTime: PropTypes.number,
  link: PropTypes.string,
  title: PropTypes.string,
  image: PropTypes.shape(imageShape),
  synsType: PropTypes.string,
};

export default recipeShape;