Home Identifier Source Repository

lib/stores/CustomersStore.js

"use strict";

import Actions       from "../utilities/Actions";
import APIDispatcher from "../dispatcher/APIDispatcher";
import CountableStore     from "./CountableStore";

/**
 * The customers store
 *
 * @extends {CountableStore}
 */
class CustomersStore extends CountableStore {
  /**
   * Sets the the dispatcher and appropriate actions for customers
   *
   * @param {APIDispatcher} dispatcher - The dispatcher to register with
   */
  constructor(dispatcher) {
    super(dispatcher, new Actions("customers"));
  }
}

/** @ignore */
export default new CustomersStore(APIDispatcher);