summaryrefslogtreecommitdiffstats
path: root/devtools/client/netmonitor/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/netmonitor/constants.js')
-rw-r--r--devtools/client/netmonitor/constants.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/devtools/client/netmonitor/constants.js b/devtools/client/netmonitor/constants.js
new file mode 100644
index 000000000..a540d74b2
--- /dev/null
+++ b/devtools/client/netmonitor/constants.js
@@ -0,0 +1,19 @@
+/* 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,
+};
+
+const actionTypes = {
+ TOGGLE_FILTER_TYPE: "TOGGLE_FILTER_TYPE",
+ ENABLE_FILTER_TYPE_ONLY: "ENABLE_FILTER_TYPE_ONLY",
+ TOGGLE_SIDEBAR: "TOGGLE_SIDEBAR",
+ SHOW_SIDEBAR: "SHOW_SIDEBAR",
+ DISABLE_TOGGLE_BUTTON: "DISABLE_TOGGLE_BUTTON",
+ SET_FILTER_TEXT: "SET_FILTER_TEXT",
+};
+
+module.exports = Object.assign({}, general, actionTypes);