"use strict";

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

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

var _index = require("./index");

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} StoreSearchResult
 * @property {module:types.Integer} count The number of stores returned.
 * @property {module:types.Integer} start A zero-based index page number.
 * @property {module:types.Integer} total The total number of search hits.
 * @property {Array<module:types.Store>} stores The list of stores returned.
 */
var StoreSearchResult = {
  count: _index.Integer,
  start: _index.Integer,
  total: _index.Integer,
  stores: _propTypes["default"].arrayOf(_propTypes["default"].shape(_index.Store)).isRequired
};
exports.StoreSearchResult = StoreSearchResult;