Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-10-16 17:07:47 +0300
committerJoas Schilling <coding@schilljs.com>2019-10-17 10:21:13 +0300
commit53a22d9f4937cfc7436f156e93419be539f22255 (patch)
treea76d336f92b0661cc2005ee4cafb2abd484b6b47 /src/constants.js
parentbb257851ffa294a4febc32822dceeb7c136f5874 (diff)
Define all constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src/constants.js')
-rw-r--r--src/constants.js64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/constants.js b/src/constants.js
new file mode 100644
index 000000000..519e52d7f
--- /dev/null
+++ b/src/constants.js
@@ -0,0 +1,64 @@
+/**
+ * @copyright Copyright (c) 2019 Joas Schilling <coding@schilljs.com>
+ *
+ * @license GNU AGPL version 3 or any later version
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+export const Conversation = {
+ StartCall: {
+ EVERYONE: 0,
+ USERS: 1,
+ MODERATORS: 2
+ },
+ State: {
+ READ_WRITE: 0,
+ READ_ONLY: 1
+ },
+ Type: {
+ ONE_TO_ONE: 1,
+ GROUP: 2,
+ PUBLIC: 3,
+ CHANGELOG: 4
+ }
+}
+export const Participant = {
+ CallFlag: {
+ DISCONNECTED: 0,
+ IN_CALL: 1,
+ WITH_AUDIO: 2,
+ WITH_VIDEO: 4
+ },
+ Notify: {
+ DEFAULT: 0,
+ ALWAYS: 1,
+ MENTION: 2,
+ NEVER: 3
+ },
+ Type: {
+ OWNER: 1,
+ MODERATOR: 2,
+ USER: 3,
+ GUEST: 4,
+ USER_SELF_JOINED: 5,
+ GUEST_MODERATOR: 6
+ }
+}
+export const Webinar = {
+ Lobby: {
+ NONE: 0,
+ NON_MODERATORS: 1
+ }
+}