connectfy-shared 0.0.108 → 0.0.110
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 +15 -7
- package/dist/index.d.cts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.mjs +14 -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";
|
|
@@ -11085,6 +11086,7 @@ var PopulateOption = class {
|
|
|
11085
11086
|
path;
|
|
11086
11087
|
select;
|
|
11087
11088
|
collection;
|
|
11089
|
+
match;
|
|
11088
11090
|
};
|
|
11089
11091
|
__decorateClass([
|
|
11090
11092
|
FieldValidator({
|
|
@@ -11104,6 +11106,12 @@ __decorateClass([
|
|
|
11104
11106
|
isOptional: true
|
|
11105
11107
|
})
|
|
11106
11108
|
], PopulateOption.prototype, "collection", 2);
|
|
11109
|
+
__decorateClass([
|
|
11110
|
+
FieldValidator({
|
|
11111
|
+
type: "object" /* OBJECT */,
|
|
11112
|
+
isOptional: true
|
|
11113
|
+
})
|
|
11114
|
+
], PopulateOption.prototype, "match", 2);
|
|
11107
11115
|
|
|
11108
11116
|
// src/dto/server/base.find.dto.ts
|
|
11109
11117
|
var BaseFindDto = class {
|
|
@@ -11666,10 +11674,10 @@ var BaseRepository = class {
|
|
|
11666
11674
|
FIELD_TYPE,
|
|
11667
11675
|
FIELD_VALIDATOR_REGISTRY,
|
|
11668
11676
|
FORGOT_PASSWORD_IDENTIFIER_TYPE,
|
|
11669
|
-
FRIENDSHIP_STATUS,
|
|
11670
11677
|
FieldValidator,
|
|
11671
11678
|
FileOwnerModule,
|
|
11672
11679
|
FileUploadTopic,
|
|
11680
|
+
FriendshipStatus,
|
|
11673
11681
|
GENDER,
|
|
11674
11682
|
GOOGLE_AUTH_LOGIN_TYPE,
|
|
11675
11683
|
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,
|
|
@@ -551,6 +552,7 @@ declare class PopulateOption {
|
|
|
551
552
|
path?: string;
|
|
552
553
|
select?: string;
|
|
553
554
|
collection?: string;
|
|
555
|
+
match?: Record<string, any>;
|
|
554
556
|
}
|
|
555
557
|
|
|
556
558
|
declare class BaseFindDto {
|
|
@@ -807,4 +809,4 @@ declare abstract class BaseRepository<TDocument extends Document, TInterface ext
|
|
|
807
809
|
count(query: Record<string, any>): Promise<number>;
|
|
808
810
|
}
|
|
809
811
|
|
|
810
|
-
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,
|
|
812
|
+
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,
|
|
@@ -551,6 +552,7 @@ declare class PopulateOption {
|
|
|
551
552
|
path?: string;
|
|
552
553
|
select?: string;
|
|
553
554
|
collection?: string;
|
|
555
|
+
match?: Record<string, any>;
|
|
554
556
|
}
|
|
555
557
|
|
|
556
558
|
declare class BaseFindDto {
|
|
@@ -807,4 +809,4 @@ declare abstract class BaseRepository<TDocument extends Document, TInterface ext
|
|
|
807
809
|
count(query: Record<string, any>): Promise<number>;
|
|
808
810
|
}
|
|
809
811
|
|
|
810
|
-
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,
|
|
812
|
+
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";
|
|
@@ -11034,6 +11035,7 @@ var PopulateOption = class {
|
|
|
11034
11035
|
path;
|
|
11035
11036
|
select;
|
|
11036
11037
|
collection;
|
|
11038
|
+
match;
|
|
11037
11039
|
};
|
|
11038
11040
|
__decorateClass([
|
|
11039
11041
|
FieldValidator({
|
|
@@ -11053,6 +11055,12 @@ __decorateClass([
|
|
|
11053
11055
|
isOptional: true
|
|
11054
11056
|
})
|
|
11055
11057
|
], PopulateOption.prototype, "collection", 2);
|
|
11058
|
+
__decorateClass([
|
|
11059
|
+
FieldValidator({
|
|
11060
|
+
type: "object" /* OBJECT */,
|
|
11061
|
+
isOptional: true
|
|
11062
|
+
})
|
|
11063
|
+
], PopulateOption.prototype, "match", 2);
|
|
11056
11064
|
|
|
11057
11065
|
// src/dto/server/base.find.dto.ts
|
|
11058
11066
|
var BaseFindDto = class {
|
|
@@ -11614,10 +11622,10 @@ export {
|
|
|
11614
11622
|
FIELD_TYPE,
|
|
11615
11623
|
FIELD_VALIDATOR_REGISTRY,
|
|
11616
11624
|
FORGOT_PASSWORD_IDENTIFIER_TYPE,
|
|
11617
|
-
FRIENDSHIP_STATUS,
|
|
11618
11625
|
FieldValidator,
|
|
11619
11626
|
FileOwnerModule,
|
|
11620
11627
|
FileUploadTopic,
|
|
11628
|
+
FriendshipStatus,
|
|
11621
11629
|
GENDER,
|
|
11622
11630
|
GOOGLE_AUTH_LOGIN_TYPE,
|
|
11623
11631
|
HttpStatus,
|