connectfy-shared 0.0.107 → 0.0.109
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 +12 -7
- package/dist/index.d.cts +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.mjs +11 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -9460,10 +9460,10 @@ __export(index_exports, {
|
|
|
9460
9460
|
FIELD_TYPE: () => FIELD_TYPE,
|
|
9461
9461
|
FIELD_VALIDATOR_REGISTRY: () => FIELD_VALIDATOR_REGISTRY,
|
|
9462
9462
|
FORGOT_PASSWORD_IDENTIFIER_TYPE: () => FORGOT_PASSWORD_IDENTIFIER_TYPE,
|
|
9463
|
-
FRIENDSHIP_STATUS: () => FRIENDSHIP_STATUS,
|
|
9464
9463
|
FieldValidator: () => FieldValidator,
|
|
9465
9464
|
FileOwnerModule: () => FileOwnerModule,
|
|
9466
9465
|
FileUploadTopic: () => FileUploadTopic,
|
|
9466
|
+
FriendshipStatus: () => FriendshipStatus,
|
|
9467
9467
|
GENDER: () => GENDER,
|
|
9468
9468
|
GOOGLE_AUTH_LOGIN_TYPE: () => GOOGLE_AUTH_LOGIN_TYPE,
|
|
9469
9469
|
HttpStatus: () => HttpStatus,
|
|
@@ -9850,11 +9850,12 @@ var LOCAL_STORAGE_KEYS = /* @__PURE__ */ ((LOCAL_STORAGE_KEYS2) => {
|
|
|
9850
9850
|
LOCAL_STORAGE_KEYS2["SIGNUP_FORM"] = "signup_form";
|
|
9851
9851
|
return LOCAL_STORAGE_KEYS2;
|
|
9852
9852
|
})(LOCAL_STORAGE_KEYS || {});
|
|
9853
|
-
var
|
|
9854
|
-
|
|
9855
|
-
|
|
9856
|
-
|
|
9857
|
-
|
|
9853
|
+
var FriendshipStatus = /* @__PURE__ */ ((FriendshipStatus2) => {
|
|
9854
|
+
FriendshipStatus2["Pending"] = "PENDING";
|
|
9855
|
+
FriendshipStatus2["Accepted"] = "ACCEPTED";
|
|
9856
|
+
FriendshipStatus2["Blocked"] = "BLOCKED";
|
|
9857
|
+
return FriendshipStatus2;
|
|
9858
|
+
})(FriendshipStatus || {});
|
|
9858
9859
|
var HttpStatus = /* @__PURE__ */ ((HttpStatus4) => {
|
|
9859
9860
|
HttpStatus4[HttpStatus4["CONTINUE"] = 100] = "CONTINUE";
|
|
9860
9861
|
HttpStatus4[HttpStatus4["SWITCHING_PROTOCOLS"] = 101] = "SWITCHING_PROTOCOLS";
|
|
@@ -9973,6 +9974,10 @@ var COLLECTIONS = {
|
|
|
9973
9974
|
PRIVACY: "privacy_settings",
|
|
9974
9975
|
NOTIFICATION: "notification_settings"
|
|
9975
9976
|
}
|
|
9977
|
+
},
|
|
9978
|
+
RELATIONSHIP: {
|
|
9979
|
+
FRIENDSHIPS: "friendships",
|
|
9980
|
+
BLOCKS_LIST: "blocks_list"
|
|
9976
9981
|
}
|
|
9977
9982
|
};
|
|
9978
9983
|
var EXPIRE_DATES = {
|
|
@@ -11662,10 +11667,10 @@ var BaseRepository = class {
|
|
|
11662
11667
|
FIELD_TYPE,
|
|
11663
11668
|
FIELD_VALIDATOR_REGISTRY,
|
|
11664
11669
|
FORGOT_PASSWORD_IDENTIFIER_TYPE,
|
|
11665
|
-
FRIENDSHIP_STATUS,
|
|
11666
11670
|
FieldValidator,
|
|
11667
11671
|
FileOwnerModule,
|
|
11668
11672
|
FileUploadTopic,
|
|
11673
|
+
FriendshipStatus,
|
|
11669
11674
|
GENDER,
|
|
11670
11675
|
GOOGLE_AUTH_LOGIN_TYPE,
|
|
11671
11676
|
HttpStatus,
|
package/dist/index.d.cts
CHANGED
|
@@ -296,9 +296,10 @@ declare enum LOCAL_STORAGE_KEYS {
|
|
|
296
296
|
OTP_EXPIRES_AT = "otp_expires_at",
|
|
297
297
|
SIGNUP_FORM = "signup_form"
|
|
298
298
|
}
|
|
299
|
-
declare enum
|
|
300
|
-
|
|
301
|
-
|
|
299
|
+
declare enum FriendshipStatus {
|
|
300
|
+
Pending = "PENDING",
|
|
301
|
+
Accepted = "ACCEPTED",
|
|
302
|
+
Blocked = "BLOCKED"
|
|
302
303
|
}
|
|
303
304
|
declare enum HttpStatus {
|
|
304
305
|
CONTINUE = 100,
|
|
@@ -447,6 +448,10 @@ declare const COLLECTIONS: {
|
|
|
447
448
|
NOTIFICATION: string;
|
|
448
449
|
};
|
|
449
450
|
};
|
|
451
|
+
RELATIONSHIP: {
|
|
452
|
+
FRIENDSHIPS: string;
|
|
453
|
+
BLOCKS_LIST: string;
|
|
454
|
+
};
|
|
450
455
|
};
|
|
451
456
|
declare const EXPIRE_DATES: {
|
|
452
457
|
JWT: {
|
|
@@ -803,4 +808,4 @@ declare abstract class BaseRepository<TDocument extends Document, TInterface ext
|
|
|
803
808
|
count(query: Record<string, any>): Promise<number>;
|
|
804
809
|
}
|
|
805
810
|
|
|
806
|
-
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,
|
|
811
|
+
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, 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 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, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PopulateOption, ProfilePhotoUpdateAction, 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, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
|
package/dist/index.d.ts
CHANGED
|
@@ -296,9 +296,10 @@ declare enum LOCAL_STORAGE_KEYS {
|
|
|
296
296
|
OTP_EXPIRES_AT = "otp_expires_at",
|
|
297
297
|
SIGNUP_FORM = "signup_form"
|
|
298
298
|
}
|
|
299
|
-
declare enum
|
|
300
|
-
|
|
301
|
-
|
|
299
|
+
declare enum FriendshipStatus {
|
|
300
|
+
Pending = "PENDING",
|
|
301
|
+
Accepted = "ACCEPTED",
|
|
302
|
+
Blocked = "BLOCKED"
|
|
302
303
|
}
|
|
303
304
|
declare enum HttpStatus {
|
|
304
305
|
CONTINUE = 100,
|
|
@@ -447,6 +448,10 @@ declare const COLLECTIONS: {
|
|
|
447
448
|
NOTIFICATION: string;
|
|
448
449
|
};
|
|
449
450
|
};
|
|
451
|
+
RELATIONSHIP: {
|
|
452
|
+
FRIENDSHIPS: string;
|
|
453
|
+
BLOCKS_LIST: string;
|
|
454
|
+
};
|
|
450
455
|
};
|
|
451
456
|
declare const EXPIRE_DATES: {
|
|
452
457
|
JWT: {
|
|
@@ -803,4 +808,4 @@ declare abstract class BaseRepository<TDocument extends Document, TInterface ext
|
|
|
803
808
|
count(query: Record<string, any>): Promise<number>;
|
|
804
809
|
}
|
|
805
810
|
|
|
806
|
-
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,
|
|
811
|
+
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, 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 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, OS_TYPE, PHONE_NUMBER_ACTION, PRIVACY_SETTINGS_CHOICE, PROVIDER, PopulateOption, ProfilePhotoUpdateAction, 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, encryptPayload, enumTransform, forgotPasswordMessage, getLang, googleSignInMessage, lowerCaseTranform, numberTransform, objectTransform, sendWithContext, signupVerifyMessage, stringTransform, twoFactorVerifyMessage, upperCaseTranform, validationMessage, verifyYourselfMessage };
|
package/dist/index.mjs
CHANGED
|
@@ -9757,11 +9757,12 @@ var LOCAL_STORAGE_KEYS = /* @__PURE__ */ ((LOCAL_STORAGE_KEYS2) => {
|
|
|
9757
9757
|
LOCAL_STORAGE_KEYS2["SIGNUP_FORM"] = "signup_form";
|
|
9758
9758
|
return LOCAL_STORAGE_KEYS2;
|
|
9759
9759
|
})(LOCAL_STORAGE_KEYS || {});
|
|
9760
|
-
var
|
|
9761
|
-
|
|
9762
|
-
|
|
9763
|
-
|
|
9764
|
-
|
|
9760
|
+
var FriendshipStatus = /* @__PURE__ */ ((FriendshipStatus2) => {
|
|
9761
|
+
FriendshipStatus2["Pending"] = "PENDING";
|
|
9762
|
+
FriendshipStatus2["Accepted"] = "ACCEPTED";
|
|
9763
|
+
FriendshipStatus2["Blocked"] = "BLOCKED";
|
|
9764
|
+
return FriendshipStatus2;
|
|
9765
|
+
})(FriendshipStatus || {});
|
|
9765
9766
|
var HttpStatus = /* @__PURE__ */ ((HttpStatus4) => {
|
|
9766
9767
|
HttpStatus4[HttpStatus4["CONTINUE"] = 100] = "CONTINUE";
|
|
9767
9768
|
HttpStatus4[HttpStatus4["SWITCHING_PROTOCOLS"] = 101] = "SWITCHING_PROTOCOLS";
|
|
@@ -9880,6 +9881,10 @@ var COLLECTIONS = {
|
|
|
9880
9881
|
PRIVACY: "privacy_settings",
|
|
9881
9882
|
NOTIFICATION: "notification_settings"
|
|
9882
9883
|
}
|
|
9884
|
+
},
|
|
9885
|
+
RELATIONSHIP: {
|
|
9886
|
+
FRIENDSHIPS: "friendships",
|
|
9887
|
+
BLOCKS_LIST: "blocks_list"
|
|
9883
9888
|
}
|
|
9884
9889
|
};
|
|
9885
9890
|
var EXPIRE_DATES = {
|
|
@@ -11610,10 +11615,10 @@ export {
|
|
|
11610
11615
|
FIELD_TYPE,
|
|
11611
11616
|
FIELD_VALIDATOR_REGISTRY,
|
|
11612
11617
|
FORGOT_PASSWORD_IDENTIFIER_TYPE,
|
|
11613
|
-
FRIENDSHIP_STATUS,
|
|
11614
11618
|
FieldValidator,
|
|
11615
11619
|
FileOwnerModule,
|
|
11616
11620
|
FileUploadTopic,
|
|
11621
|
+
FriendshipStatus,
|
|
11617
11622
|
GENDER,
|
|
11618
11623
|
GOOGLE_AUTH_LOGIN_TYPE,
|
|
11619
11624
|
HttpStatus,
|