connectfy-shared 0.0.70 → 0.0.71

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.d.cts CHANGED
@@ -696,14 +696,9 @@ interface IBooleanFieldOptions extends IBaseFieldOptions {
696
696
  }
697
697
  type FieldValidatorOptions = IStringFieldOptions | INumberFieldOptions | IEnumFieldOptions | IDateFieldOptions | IArrayFieldOptions | IObjectFieldOptions | IBooleanFieldOptions;
698
698
 
699
- interface ILoggedUser {
700
- user: IUser;
701
- account: IAccount;
702
- settings: {
703
- generalSettings: IGeneralSettings;
704
- notificationSettings: INotificationSettings;
705
- privacySettings: IPrivacySettings;
706
- };
699
+ interface ILoggedUser extends IUser {
700
+ language: LANGUAGE;
701
+ avatar: string | null;
707
702
  }
708
703
  interface IUser {
709
704
  _id: string;
package/dist/index.d.ts CHANGED
@@ -696,14 +696,9 @@ interface IBooleanFieldOptions extends IBaseFieldOptions {
696
696
  }
697
697
  type FieldValidatorOptions = IStringFieldOptions | INumberFieldOptions | IEnumFieldOptions | IDateFieldOptions | IArrayFieldOptions | IObjectFieldOptions | IBooleanFieldOptions;
698
698
 
699
- interface ILoggedUser {
700
- user: IUser;
701
- account: IAccount;
702
- settings: {
703
- generalSettings: IGeneralSettings;
704
- notificationSettings: INotificationSettings;
705
- privacySettings: IPrivacySettings;
706
- };
699
+ interface ILoggedUser extends IUser {
700
+ language: LANGUAGE;
701
+ avatar: string | null;
707
702
  }
708
703
  interface IUser {
709
704
  _id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connectfy-shared",
3
- "version": "0.0.70",
3
+ "version": "0.0.71",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "exports": {