Split up jamid.ts into multiple files
Change-Id: I792eceb81c033b8f17183de2686af1227982e779
diff --git a/server/src/jamid/jami-signal.ts b/server/src/jamid/jami-signal.ts
new file mode 100644
index 0000000..f76127b
--- /dev/null
+++ b/server/src/jamid/jami-signal.ts
@@ -0,0 +1,52 @@
+/*
+ * Copyright (C) 2022 Savoir-faire Linux Inc.
+ *
+ * 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
+ * <https://www.gnu.org/licenses/>.
+ */
+export enum JamiSignal {
+ // using DRing::ConfigurationSignal;
+ AccountsChanged = 'AccountsChanged',
+ AccountDetailsChanged = 'AccountDetailsChanged',
+ RegistrationStateChanged = 'RegistrationStateChanged',
+ ContactAdded = 'ContactAdded',
+ ContactRemoved = 'ContactRemoved',
+ ExportOnRingEnded = 'ExportOnRingEnded',
+ NameRegistrationEnded = 'NameRegistrationEnded',
+ RegisteredNameFound = 'RegisteredNameFound',
+ VolatileDetailsChanged = 'VolatileDetailsChanged',
+ KnownDevicesChanged = 'KnownDevicesChanged',
+ IncomingAccountMessage = 'IncomingAccountMessage',
+ AccountMessageStatusChanged = 'AccountMessageStatusChanged',
+
+ // using DRing::CallSignal;
+ StateChange = 'StateChange',
+ IncomingMessage = 'IncomingMessage',
+ IncomingCall = 'IncomingCall',
+ IncomingCallWithMedia = 'IncomingCallWithMedia',
+ MediaChangeRequested = 'MediaChangeRequested',
+
+ // using DRing::ConversationSignal;
+ ConversationLoaded = 'ConversationLoaded',
+ MessagesFound = 'MessagesFound',
+ MessageReceived = 'MessageReceived',
+ ConversationProfileUpdated = 'ConversationProfileUpdated',
+ ConversationRequestReceived = 'ConversationRequestReceived',
+ ConversationRequestDeclined = 'ConversationRequestDeclined',
+ ConversationReady = 'ConversationReady',
+ ConversationRemoved = 'ConversationRemoved',
+ ConversationMemberEvent = 'ConversationMemberEvent',
+ OnConversationError = 'OnConversationError',
+ OnConferenceInfosUpdated = 'OnConferenceInfosUpdated',
+}