From 2a53887abba882bf7b63aeda8dfa55fdb3ab8792 Mon Sep 17 00:00:00 2001 From: Sin-MacBook Date: Mon, 10 Aug 2020 23:44:20 +0200 Subject: clean this up when home --- src/data/constants.js | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 src/data/constants.js (limited to 'src/data/constants.js') diff --git a/src/data/constants.js b/src/data/constants.js new file mode 100644 index 0000000..13a30e8 --- /dev/null +++ b/src/data/constants.js @@ -0,0 +1,55 @@ +module.exports = { + THREAD_STATUS: { + OPEN: 1, + CLOSED: 2, + SUSPENDED: 3 + }, + + THREAD_MESSAGE_TYPE: { + SYSTEM: 1, + CHAT: 2, + FROM_USER: 3, + TO_USER: 4, + LEGACY: 5, + COMMAND: 6 + }, + + ACCIDENTAL_THREAD_MESSAGES: [ + 'ok', + 'okay', + 'thanks', + 'ty', + 'k', + 'kk', + 'thank you', + 'thanx', + 'thnx', + 'thx', + 'tnx', + 'ok thank you', + 'ok thanks', + 'ok ty', + 'ok thanx', + 'ok thnx', + 'ok thx', + 'ok no problem', + 'ok np', + 'okay thank you', + 'okay thanks', + 'okay ty', + 'okay thanx', + 'okay thnx', + 'okay thx', + 'okay no problem', + 'okay np', + 'okey thank you', + 'okey thanks', + 'okey ty', + 'okey thanx', + 'okey thnx', + 'okey thx', + 'okey no problem', + 'okey np', + 'cheers' + ], +}; -- cgit v1.2.3