connectfy-shared 0.0.123 → 0.0.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +37 -0
- package/dist/index.d.cts +29 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.mjs +34 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -9450,6 +9450,8 @@ __export(index_exports, {
|
|
|
9450
9450
|
CLS_KEYS: () => CLS_KEYS,
|
|
9451
9451
|
COLLECTIONS: () => COLLECTIONS,
|
|
9452
9452
|
COUNTRIES: () => COUNTRIES,
|
|
9453
|
+
ChatParticiantRole: () => ChatParticiantRole,
|
|
9454
|
+
ChatType: () => ChatType,
|
|
9453
9455
|
DATE_FORMAT: () => DATE_FORMAT,
|
|
9454
9456
|
DELETE_REASON: () => DELETE_REASON,
|
|
9455
9457
|
DELETE_REASON_CODE: () => DELETE_REASON_CODE,
|
|
@@ -9473,6 +9475,7 @@ __export(index_exports, {
|
|
|
9473
9475
|
LOCAL_STORAGE_KEYS: () => LOCAL_STORAGE_KEYS,
|
|
9474
9476
|
MICROSERVICE_NAMES: () => MICROSERVICE_NAMES,
|
|
9475
9477
|
MODULE_TO_TOPIC_MAP: () => MODULE_TO_TOPIC_MAP,
|
|
9478
|
+
MessageType: () => MessageType,
|
|
9476
9479
|
NOTIFICATION_CONTENT_MODE: () => NOTIFICATION_CONTENT_MODE,
|
|
9477
9480
|
NOTIFICATION_SOUND_MODE: () => NOTIFICATION_SOUND_MODE,
|
|
9478
9481
|
NotificationChannel: () => NotificationChannel,
|
|
@@ -9993,6 +9996,27 @@ var NotificationResource = /* @__PURE__ */ ((NotificationResource2) => {
|
|
|
9993
9996
|
NotificationResource2["Account"] = "account";
|
|
9994
9997
|
return NotificationResource2;
|
|
9995
9998
|
})(NotificationResource || {});
|
|
9999
|
+
var ChatType = /* @__PURE__ */ ((ChatType2) => {
|
|
10000
|
+
ChatType2["Direct"] = "direct";
|
|
10001
|
+
ChatType2["Group"] = "group";
|
|
10002
|
+
return ChatType2;
|
|
10003
|
+
})(ChatType || {});
|
|
10004
|
+
var ChatParticiantRole = /* @__PURE__ */ ((ChatParticiantRole2) => {
|
|
10005
|
+
ChatParticiantRole2["Admin"] = "admin";
|
|
10006
|
+
ChatParticiantRole2["Owner"] = "owner";
|
|
10007
|
+
ChatParticiantRole2["Member"] = "member";
|
|
10008
|
+
return ChatParticiantRole2;
|
|
10009
|
+
})(ChatParticiantRole || {});
|
|
10010
|
+
var MessageType = /* @__PURE__ */ ((MessageType2) => {
|
|
10011
|
+
MessageType2["Text"] = "text";
|
|
10012
|
+
MessageType2["Image"] = "image";
|
|
10013
|
+
MessageType2["Audio"] = "audio";
|
|
10014
|
+
MessageType2["Video"] = "video";
|
|
10015
|
+
MessageType2["File"] = "file";
|
|
10016
|
+
MessageType2["Call"] = "call";
|
|
10017
|
+
MessageType2["System"] = "system";
|
|
10018
|
+
return MessageType2;
|
|
10019
|
+
})(MessageType || {});
|
|
9996
10020
|
|
|
9997
10021
|
// src/constants/server/constants.ts
|
|
9998
10022
|
var MICROSERVICE_NAMES = {
|
|
@@ -10034,6 +10058,16 @@ var COLLECTIONS = {
|
|
|
10034
10058
|
NOTIFICATION: {
|
|
10035
10059
|
NOTIFICATIONS: "notifications",
|
|
10036
10060
|
DEVICE_TOKENS: "device_tokens"
|
|
10061
|
+
},
|
|
10062
|
+
MESSENGER: {
|
|
10063
|
+
CHAT: {
|
|
10064
|
+
CHATS: "chats",
|
|
10065
|
+
CHAT_PARTICIPANTS: "chat_participants"
|
|
10066
|
+
},
|
|
10067
|
+
MESSAGE: {
|
|
10068
|
+
MESSAGES: "messages",
|
|
10069
|
+
MESSAGE_REACTIONS: "message_reactions"
|
|
10070
|
+
}
|
|
10037
10071
|
}
|
|
10038
10072
|
};
|
|
10039
10073
|
var EXPIRE_DATES = {
|
|
@@ -11753,6 +11787,8 @@ var BaseRepository = class {
|
|
|
11753
11787
|
CLS_KEYS,
|
|
11754
11788
|
COLLECTIONS,
|
|
11755
11789
|
COUNTRIES,
|
|
11790
|
+
ChatParticiantRole,
|
|
11791
|
+
ChatType,
|
|
11756
11792
|
DATE_FORMAT,
|
|
11757
11793
|
DELETE_REASON,
|
|
11758
11794
|
DELETE_REASON_CODE,
|
|
@@ -11776,6 +11812,7 @@ var BaseRepository = class {
|
|
|
11776
11812
|
LOCAL_STORAGE_KEYS,
|
|
11777
11813
|
MICROSERVICE_NAMES,
|
|
11778
11814
|
MODULE_TO_TOPIC_MAP,
|
|
11815
|
+
MessageType,
|
|
11779
11816
|
NOTIFICATION_CONTENT_MODE,
|
|
11780
11817
|
NOTIFICATION_SOUND_MODE,
|
|
11781
11818
|
NotificationChannel,
|
package/dist/index.d.cts
CHANGED
|
@@ -418,6 +418,24 @@ declare enum NotificationResource {
|
|
|
418
418
|
System = "system",
|
|
419
419
|
Account = "account"
|
|
420
420
|
}
|
|
421
|
+
declare enum ChatType {
|
|
422
|
+
Direct = "direct",
|
|
423
|
+
Group = "group"
|
|
424
|
+
}
|
|
425
|
+
declare enum ChatParticiantRole {
|
|
426
|
+
Admin = "admin",
|
|
427
|
+
Owner = "owner",
|
|
428
|
+
Member = "member"
|
|
429
|
+
}
|
|
430
|
+
declare enum MessageType {
|
|
431
|
+
Text = "text",
|
|
432
|
+
Image = "image",
|
|
433
|
+
Audio = "audio",
|
|
434
|
+
Video = "video",
|
|
435
|
+
File = "file",
|
|
436
|
+
Call = "call",
|
|
437
|
+
System = "system"
|
|
438
|
+
}
|
|
421
439
|
|
|
422
440
|
interface ICountry {
|
|
423
441
|
key: string;
|
|
@@ -496,6 +514,16 @@ declare const COLLECTIONS: {
|
|
|
496
514
|
NOTIFICATIONS: string;
|
|
497
515
|
DEVICE_TOKENS: string;
|
|
498
516
|
};
|
|
517
|
+
MESSENGER: {
|
|
518
|
+
CHAT: {
|
|
519
|
+
CHATS: string;
|
|
520
|
+
CHAT_PARTICIPANTS: string;
|
|
521
|
+
};
|
|
522
|
+
MESSAGE: {
|
|
523
|
+
MESSAGES: string;
|
|
524
|
+
MESSAGE_REACTIONS: string;
|
|
525
|
+
};
|
|
526
|
+
};
|
|
499
527
|
};
|
|
500
528
|
declare const EXPIRE_DATES: {
|
|
501
529
|
JWT: {
|
|
@@ -858,4 +886,4 @@ declare abstract class BaseRepository<TDocument extends Document<any, any, any>,
|
|
|
858
886
|
aggregate<R = any>(pipeline: PipelineStage[]): Promise<R[]>;
|
|
859
887
|
}
|
|
860
888
|
|
|
861
|
-
export { AllExceptionsFilter, AvatarFormats, BROWSER_TYPE, BaseException, BaseFindDto, BaseRemoveAllDto, BaseRemoveDto, BaseRepository, CACHE_KEYS, CHECK_UNIQUE_FIELD, CLS_KEYS, COLLECTIONS, COUNTRIES, DATE_FORMAT, DELETE_REASON, DELETE_REASON_CODE, DEVICE_TYPE, EXPIRE_DATES, ExceptionMessages, FIELD_TRANSFORMER_REGISTRY, FIELD_TYPE, FIELD_VALIDATOR_REGISTRY, FORGOT_PASSWORD_IDENTIFIER_TYPE, FieldValidator, type FieldValidatorOptions, FileOwnerModule, FileUploadTopic, FriendshipRequestType, FriendshipStatus, GENDER, GOOGLE_AUTH_LOGIN_TYPE, HttpStatus, type IAccount, type IArrayFieldOptions, type IAvatar, type IBaseFieldOptions, type IBaseRepositoryInterface, type IBaseRepositoryOptions, type IBaseRepositoryRemoveOptions, type IBaseRepositoryUpdateOptions, type IBooleanFieldOptions, type ICountry, IDENTIFIER_TYPE, type IDateFieldOptions, type IDefaultAvatar, type IEmitTcpWithContextClientParams, type IEmitWithContextClientParams, type IEnumFieldOptions, type IFindAllResponse, type IGeneralSettings, type ILoggedUser, type INotificationSettings, type INumberFieldOptions, type IObjectFieldOptions, type IPhoneNumber, type IPrivacySettings, type IRemoveAllResponse, type IResponse, type IReturnedUser, type ISendWithContextClientParams, type IStringFieldOptions, type ITimeZone, type IValidateMessageOptions, LANGUAGE, LOCAL_STORAGE_KEYS, MICROSERVICE_NAMES, MODULE_TO_TOPIC_MAP, NOTIFICATION_CONTENT_MODE, NOTIFICATION_SOUND_MODE, NotificationChannel, NotificationResource, NotificationStatus, NotificationType, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PopulateOption, ProfilePhotoUpdateAction, Push_DELIVERY_STATUS, REDIS_KEYS, REDUCER_PATH, RESOURCE, ROLE, SOCIAL_LINK_PLATFORM, STARTUP_PAGE, TAG_TYPES, THEME, TIME_DIFFERENCE_TYPE, TIME_FORMAT, TOKEN_TYPE, TWO_FACTOR_ACTION, USER_STATUS, VALIDATION_TYPE, accountDeletedMessage, arrayTransform, booleanTransform, changeEmailMessage, commitKafkaOffset, dateTransform, decryptPayload, deleteAccountMessage, emailNotFoundMessage, emitWithContext, emitWithContextTcp, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
|
|
889
|
+
export { AllExceptionsFilter, AvatarFormats, BROWSER_TYPE, BaseException, BaseFindDto, BaseRemoveAllDto, BaseRemoveDto, BaseRepository, CACHE_KEYS, CHECK_UNIQUE_FIELD, CLS_KEYS, COLLECTIONS, COUNTRIES, ChatParticiantRole, ChatType, DATE_FORMAT, DELETE_REASON, DELETE_REASON_CODE, DEVICE_TYPE, EXPIRE_DATES, ExceptionMessages, FIELD_TRANSFORMER_REGISTRY, FIELD_TYPE, FIELD_VALIDATOR_REGISTRY, FORGOT_PASSWORD_IDENTIFIER_TYPE, FieldValidator, type FieldValidatorOptions, FileOwnerModule, FileUploadTopic, FriendshipRequestType, FriendshipStatus, GENDER, GOOGLE_AUTH_LOGIN_TYPE, HttpStatus, type IAccount, type IArrayFieldOptions, type IAvatar, type IBaseFieldOptions, type IBaseRepositoryInterface, type IBaseRepositoryOptions, type IBaseRepositoryRemoveOptions, type IBaseRepositoryUpdateOptions, type IBooleanFieldOptions, type ICountry, IDENTIFIER_TYPE, type IDateFieldOptions, type IDefaultAvatar, type IEmitTcpWithContextClientParams, type IEmitWithContextClientParams, type IEnumFieldOptions, type IFindAllResponse, type IGeneralSettings, type ILoggedUser, type INotificationSettings, type INumberFieldOptions, type IObjectFieldOptions, type IPhoneNumber, type IPrivacySettings, type IRemoveAllResponse, type IResponse, type IReturnedUser, type ISendWithContextClientParams, type IStringFieldOptions, type ITimeZone, type IValidateMessageOptions, LANGUAGE, LOCAL_STORAGE_KEYS, MICROSERVICE_NAMES, MODULE_TO_TOPIC_MAP, MessageType, NOTIFICATION_CONTENT_MODE, NOTIFICATION_SOUND_MODE, NotificationChannel, NotificationResource, NotificationStatus, NotificationType, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PopulateOption, ProfilePhotoUpdateAction, Push_DELIVERY_STATUS, REDIS_KEYS, REDUCER_PATH, RESOURCE, ROLE, SOCIAL_LINK_PLATFORM, STARTUP_PAGE, TAG_TYPES, THEME, TIME_DIFFERENCE_TYPE, TIME_FORMAT, TOKEN_TYPE, TWO_FACTOR_ACTION, USER_STATUS, VALIDATION_TYPE, accountDeletedMessage, arrayTransform, booleanTransform, changeEmailMessage, commitKafkaOffset, dateTransform, decryptPayload, deleteAccountMessage, emailNotFoundMessage, emitWithContext, emitWithContextTcp, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
|
package/dist/index.d.ts
CHANGED
|
@@ -418,6 +418,24 @@ declare enum NotificationResource {
|
|
|
418
418
|
System = "system",
|
|
419
419
|
Account = "account"
|
|
420
420
|
}
|
|
421
|
+
declare enum ChatType {
|
|
422
|
+
Direct = "direct",
|
|
423
|
+
Group = "group"
|
|
424
|
+
}
|
|
425
|
+
declare enum ChatParticiantRole {
|
|
426
|
+
Admin = "admin",
|
|
427
|
+
Owner = "owner",
|
|
428
|
+
Member = "member"
|
|
429
|
+
}
|
|
430
|
+
declare enum MessageType {
|
|
431
|
+
Text = "text",
|
|
432
|
+
Image = "image",
|
|
433
|
+
Audio = "audio",
|
|
434
|
+
Video = "video",
|
|
435
|
+
File = "file",
|
|
436
|
+
Call = "call",
|
|
437
|
+
System = "system"
|
|
438
|
+
}
|
|
421
439
|
|
|
422
440
|
interface ICountry {
|
|
423
441
|
key: string;
|
|
@@ -496,6 +514,16 @@ declare const COLLECTIONS: {
|
|
|
496
514
|
NOTIFICATIONS: string;
|
|
497
515
|
DEVICE_TOKENS: string;
|
|
498
516
|
};
|
|
517
|
+
MESSENGER: {
|
|
518
|
+
CHAT: {
|
|
519
|
+
CHATS: string;
|
|
520
|
+
CHAT_PARTICIPANTS: string;
|
|
521
|
+
};
|
|
522
|
+
MESSAGE: {
|
|
523
|
+
MESSAGES: string;
|
|
524
|
+
MESSAGE_REACTIONS: string;
|
|
525
|
+
};
|
|
526
|
+
};
|
|
499
527
|
};
|
|
500
528
|
declare const EXPIRE_DATES: {
|
|
501
529
|
JWT: {
|
|
@@ -858,4 +886,4 @@ declare abstract class BaseRepository<TDocument extends Document<any, any, any>,
|
|
|
858
886
|
aggregate<R = any>(pipeline: PipelineStage[]): Promise<R[]>;
|
|
859
887
|
}
|
|
860
888
|
|
|
861
|
-
export { AllExceptionsFilter, AvatarFormats, BROWSER_TYPE, BaseException, BaseFindDto, BaseRemoveAllDto, BaseRemoveDto, BaseRepository, CACHE_KEYS, CHECK_UNIQUE_FIELD, CLS_KEYS, COLLECTIONS, COUNTRIES, DATE_FORMAT, DELETE_REASON, DELETE_REASON_CODE, DEVICE_TYPE, EXPIRE_DATES, ExceptionMessages, FIELD_TRANSFORMER_REGISTRY, FIELD_TYPE, FIELD_VALIDATOR_REGISTRY, FORGOT_PASSWORD_IDENTIFIER_TYPE, FieldValidator, type FieldValidatorOptions, FileOwnerModule, FileUploadTopic, FriendshipRequestType, FriendshipStatus, GENDER, GOOGLE_AUTH_LOGIN_TYPE, HttpStatus, type IAccount, type IArrayFieldOptions, type IAvatar, type IBaseFieldOptions, type IBaseRepositoryInterface, type IBaseRepositoryOptions, type IBaseRepositoryRemoveOptions, type IBaseRepositoryUpdateOptions, type IBooleanFieldOptions, type ICountry, IDENTIFIER_TYPE, type IDateFieldOptions, type IDefaultAvatar, type IEmitTcpWithContextClientParams, type IEmitWithContextClientParams, type IEnumFieldOptions, type IFindAllResponse, type IGeneralSettings, type ILoggedUser, type INotificationSettings, type INumberFieldOptions, type IObjectFieldOptions, type IPhoneNumber, type IPrivacySettings, type IRemoveAllResponse, type IResponse, type IReturnedUser, type ISendWithContextClientParams, type IStringFieldOptions, type ITimeZone, type IValidateMessageOptions, LANGUAGE, LOCAL_STORAGE_KEYS, MICROSERVICE_NAMES, MODULE_TO_TOPIC_MAP, NOTIFICATION_CONTENT_MODE, NOTIFICATION_SOUND_MODE, NotificationChannel, NotificationResource, NotificationStatus, NotificationType, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PopulateOption, ProfilePhotoUpdateAction, Push_DELIVERY_STATUS, REDIS_KEYS, REDUCER_PATH, RESOURCE, ROLE, SOCIAL_LINK_PLATFORM, STARTUP_PAGE, TAG_TYPES, THEME, TIME_DIFFERENCE_TYPE, TIME_FORMAT, TOKEN_TYPE, TWO_FACTOR_ACTION, USER_STATUS, VALIDATION_TYPE, accountDeletedMessage, arrayTransform, booleanTransform, changeEmailMessage, commitKafkaOffset, dateTransform, decryptPayload, deleteAccountMessage, emailNotFoundMessage, emitWithContext, emitWithContextTcp, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
|
|
889
|
+
export { AllExceptionsFilter, AvatarFormats, BROWSER_TYPE, BaseException, BaseFindDto, BaseRemoveAllDto, BaseRemoveDto, BaseRepository, CACHE_KEYS, CHECK_UNIQUE_FIELD, CLS_KEYS, COLLECTIONS, COUNTRIES, ChatParticiantRole, ChatType, DATE_FORMAT, DELETE_REASON, DELETE_REASON_CODE, DEVICE_TYPE, EXPIRE_DATES, ExceptionMessages, FIELD_TRANSFORMER_REGISTRY, FIELD_TYPE, FIELD_VALIDATOR_REGISTRY, FORGOT_PASSWORD_IDENTIFIER_TYPE, FieldValidator, type FieldValidatorOptions, FileOwnerModule, FileUploadTopic, FriendshipRequestType, FriendshipStatus, GENDER, GOOGLE_AUTH_LOGIN_TYPE, HttpStatus, type IAccount, type IArrayFieldOptions, type IAvatar, type IBaseFieldOptions, type IBaseRepositoryInterface, type IBaseRepositoryOptions, type IBaseRepositoryRemoveOptions, type IBaseRepositoryUpdateOptions, type IBooleanFieldOptions, type ICountry, IDENTIFIER_TYPE, type IDateFieldOptions, type IDefaultAvatar, type IEmitTcpWithContextClientParams, type IEmitWithContextClientParams, type IEnumFieldOptions, type IFindAllResponse, type IGeneralSettings, type ILoggedUser, type INotificationSettings, type INumberFieldOptions, type IObjectFieldOptions, type IPhoneNumber, type IPrivacySettings, type IRemoveAllResponse, type IResponse, type IReturnedUser, type ISendWithContextClientParams, type IStringFieldOptions, type ITimeZone, type IValidateMessageOptions, LANGUAGE, LOCAL_STORAGE_KEYS, MICROSERVICE_NAMES, MODULE_TO_TOPIC_MAP, MessageType, NOTIFICATION_CONTENT_MODE, NOTIFICATION_SOUND_MODE, NotificationChannel, NotificationResource, NotificationStatus, NotificationType, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PopulateOption, ProfilePhotoUpdateAction, Push_DELIVERY_STATUS, REDIS_KEYS, REDUCER_PATH, RESOURCE, ROLE, SOCIAL_LINK_PLATFORM, STARTUP_PAGE, TAG_TYPES, THEME, TIME_DIFFERENCE_TYPE, TIME_FORMAT, TOKEN_TYPE, TWO_FACTOR_ACTION, USER_STATUS, VALIDATION_TYPE, accountDeletedMessage, arrayTransform, booleanTransform, changeEmailMessage, commitKafkaOffset, dateTransform, decryptPayload, deleteAccountMessage, emailNotFoundMessage, emitWithContext, emitWithContextTcp, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, shouldShowField, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
|
package/dist/index.mjs
CHANGED
|
@@ -9892,6 +9892,27 @@ var NotificationResource = /* @__PURE__ */ ((NotificationResource2) => {
|
|
|
9892
9892
|
NotificationResource2["Account"] = "account";
|
|
9893
9893
|
return NotificationResource2;
|
|
9894
9894
|
})(NotificationResource || {});
|
|
9895
|
+
var ChatType = /* @__PURE__ */ ((ChatType2) => {
|
|
9896
|
+
ChatType2["Direct"] = "direct";
|
|
9897
|
+
ChatType2["Group"] = "group";
|
|
9898
|
+
return ChatType2;
|
|
9899
|
+
})(ChatType || {});
|
|
9900
|
+
var ChatParticiantRole = /* @__PURE__ */ ((ChatParticiantRole2) => {
|
|
9901
|
+
ChatParticiantRole2["Admin"] = "admin";
|
|
9902
|
+
ChatParticiantRole2["Owner"] = "owner";
|
|
9903
|
+
ChatParticiantRole2["Member"] = "member";
|
|
9904
|
+
return ChatParticiantRole2;
|
|
9905
|
+
})(ChatParticiantRole || {});
|
|
9906
|
+
var MessageType = /* @__PURE__ */ ((MessageType2) => {
|
|
9907
|
+
MessageType2["Text"] = "text";
|
|
9908
|
+
MessageType2["Image"] = "image";
|
|
9909
|
+
MessageType2["Audio"] = "audio";
|
|
9910
|
+
MessageType2["Video"] = "video";
|
|
9911
|
+
MessageType2["File"] = "file";
|
|
9912
|
+
MessageType2["Call"] = "call";
|
|
9913
|
+
MessageType2["System"] = "system";
|
|
9914
|
+
return MessageType2;
|
|
9915
|
+
})(MessageType || {});
|
|
9895
9916
|
|
|
9896
9917
|
// src/constants/server/constants.ts
|
|
9897
9918
|
var MICROSERVICE_NAMES = {
|
|
@@ -9933,6 +9954,16 @@ var COLLECTIONS = {
|
|
|
9933
9954
|
NOTIFICATION: {
|
|
9934
9955
|
NOTIFICATIONS: "notifications",
|
|
9935
9956
|
DEVICE_TOKENS: "device_tokens"
|
|
9957
|
+
},
|
|
9958
|
+
MESSENGER: {
|
|
9959
|
+
CHAT: {
|
|
9960
|
+
CHATS: "chats",
|
|
9961
|
+
CHAT_PARTICIPANTS: "chat_participants"
|
|
9962
|
+
},
|
|
9963
|
+
MESSAGE: {
|
|
9964
|
+
MESSAGES: "messages",
|
|
9965
|
+
MESSAGE_REACTIONS: "message_reactions"
|
|
9966
|
+
}
|
|
9936
9967
|
}
|
|
9937
9968
|
};
|
|
9938
9969
|
var EXPIRE_DATES = {
|
|
@@ -11693,6 +11724,8 @@ export {
|
|
|
11693
11724
|
CLS_KEYS,
|
|
11694
11725
|
COLLECTIONS,
|
|
11695
11726
|
COUNTRIES,
|
|
11727
|
+
ChatParticiantRole,
|
|
11728
|
+
ChatType,
|
|
11696
11729
|
DATE_FORMAT,
|
|
11697
11730
|
DELETE_REASON,
|
|
11698
11731
|
DELETE_REASON_CODE,
|
|
@@ -11716,6 +11749,7 @@ export {
|
|
|
11716
11749
|
LOCAL_STORAGE_KEYS,
|
|
11717
11750
|
MICROSERVICE_NAMES,
|
|
11718
11751
|
MODULE_TO_TOPIC_MAP,
|
|
11752
|
+
MessageType,
|
|
11719
11753
|
NOTIFICATION_CONTENT_MODE,
|
|
11720
11754
|
NOTIFICATION_SOUND_MODE,
|
|
11721
11755
|
NotificationChannel,
|