"use strict";

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

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

var _order = require("./order");

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

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/* Copyright (c) 2018 Mobify Research & Development Inc. All rights reserved. */

/* * *  *  * *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  * */

/**
 * @memberOf module:types
 * @typedef {Object} OrderList
 * @property {Number} count.
 * @property {Array.<module:types.Product>} data.
 * @property {Number} total.
 */
var OrderList = {
  count: _propTypes["default"].number,
  data: _propTypes["default"].arrayOf(_propTypes["default"].shape(_order.Order)),
  total: _propTypes["default"].number
};
exports.OrderList = OrderList;