/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
"use strict";

const general = {
  FREETEXT_FILTER_SEARCH_DELAY: 200,
  CONTENT_SIZE_DECIMALS: 2,
  REQUEST_TIME_DECIMALS: 2,
};

const actionTypes = {
  ADD_TIMING_MARKER: "ADD_TIMING_MARKER",
  CLEAR_TIMING_MARKERS: "CLEAR_TIMING_MARKERS",
  TOGGLE_FILTER_TYPE: "TOGGLE_FILTER_TYPE",
  ENABLE_FILTER_TYPE_ONLY: "ENABLE_FILTER_TYPE_ONLY",
  SET_FILTER_TEXT: "SET_FILTER_TEXT",
  OPEN_SIDEBAR: "OPEN_SIDEBAR",
  TOGGLE_SIDEBAR: "TOGGLE_SIDEBAR",
  UPDATE_REQUESTS: "UPDATE_REQUESTS",
};

module.exports = Object.assign({}, general, actionTypes);
