import PropTypes from 'prop-types';
import weightLossAwardShape from './weightLossAwardShape';
/** @module */
/**
* Reusable object to use in `propTypes` for a `Award` prop.
* @type {Object}
*/
const awardShape = {
id: PropTypes.string,
achievedDateUTC: PropTypes.string,
type: PropTypes.shape({
id: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
name: PropTypes.string,
weightLossAward: PropTypes.shape(weightLossAwardShape),
}),
targetWeight: PropTypes.number,
weighInId: PropTypes.string,
};
export default awardShape;