summaryrefslogtreecommitdiff
path: root/devtools/client/netmonitor/constants.js
blob: 1605496a5a036126c16926c5031e7fd613a3834d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* 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);