# Source: types/filter.js

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

    import PropTypes from 'prop-types'
    import {FilterValue} from './filter-value'

    export const Filter = {
        propertyId: PropTypes.string,
        label: PropTypes.string,
        values: PropTypes.arrayOf(PropTypes.shape(FilterValue))
    }

    /**
     * @memberOf module:@mobify/commerce-integrations/dist/types
     * @typedef {Object} Filter
     * @property {String} propertyId The filter's property id. (For example, color or size.)
     * @property {String} label The filter's text used for labels. (For example, the filter color may have a label attribute of "Color".)
     * @property {Array.<module:@mobify/commerce-integrations/dist/types.FilterValue>} values The filter values.
     */