"use strict";

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

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

var _product = require("./product");

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} ProductList
 * @property {Number} count.
 * @property {Array.<module:types.Product>} data.
 * @property {Number} total.
 */
var ProductList = {
  count: _propTypes["default"].number,
  data: _propTypes["default"].arrayOf(_propTypes["default"].shape(_product.Product)),
  total: _propTypes["default"].number
};
exports.ProductList = ProductList;