@mcdylanproperenterprise/nodejs-proper-money-types 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/user.ts +2 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcdylanproperenterprise/nodejs-proper-money-types",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
package/user.ts CHANGED
@@ -39,7 +39,7 @@ export const memberFeaturePremium: TMemberFeature = {
39
39
  export type TSharedUserInfo = {
40
40
  _id: string;
41
41
  id: string;
42
- profileImageAsset: TProfileImageAsset;
42
+ profileImage: string;
43
43
  emailAddress: string | null;
44
44
  phoneNumber: string | null;
45
45
  displayName: string;
@@ -74,7 +74,7 @@ export type TSSOfacebook = {
74
74
  export type TUser = {
75
75
  _id: string;
76
76
  phoneNumber: string;
77
- profileImageAsset: TProfileImageAsset;
77
+ profileImage: string;
78
78
  displayName: string;
79
79
  language: string;
80
80
  currency: string;
@@ -88,11 +88,6 @@ export type TUser = {
88
88
  notificationToken: string | null;
89
89
  };
90
90
 
91
- export type TProfileImageAsset = {
92
- emoji: string;
93
- backgroundColor: string;
94
- };
95
-
96
91
  export type TUserGetInfoResponse = TUser;
97
92
 
98
93
  export type TUserContinueWithGoogleBody = {
@@ -123,8 +118,6 @@ export type TUserRegisterNotificationBody = {
123
118
  notificationToken: string;
124
119
  };
125
120
 
126
- export type TUserUpdateUserProfileAssetBody = TProfileImageAsset;
127
-
128
121
  export type TUserUpdateUserDisplayNameBody = {
129
122
  displayName: string;
130
123
  };
@@ -137,11 +130,6 @@ export type TUserUpdateUserCurrencyBody = {
137
130
  currency: string;
138
131
  };
139
132
 
140
- export type TUserGetProfileImageAssetsResponse = {
141
- emojis: string[];
142
- backgroundColors: string[];
143
- };
144
-
145
133
  export type TUserResetPasswordBody = {
146
134
  deviceUniqueId: string;
147
135
  emailAddress?: string;