@mcdylanproperenterprise/nodejs-proper-money-types 0.0.36 → 0.0.38

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/types.ts +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcdylanproperenterprise/nodejs-proper-money-types",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "description": "",
5
5
  "main": "",
6
6
  "types": "index.d.ts",
package/types.ts CHANGED
@@ -22,6 +22,10 @@ export type TTransaction = {
22
22
  transactionLabels: TTransactionLabel[] | null;
23
23
  currency: string;
24
24
  amount: number;
25
+ exchangeCurrency: {
26
+ currency: string;
27
+ amount: number;
28
+ } | null;
25
29
  imagePath: string | null;
26
30
  note: string | null;
27
31
  isDeleted: boolean;
@@ -75,6 +79,10 @@ export type TPostTransactionCreateBody = {
75
79
  transactionLabelIds: string[];
76
80
  currency: string;
77
81
  amount: number;
82
+ exchangeCurrency: {
83
+ currency: string;
84
+ amount: number;
85
+ } | null;
78
86
  imagePath: string | null;
79
87
  note: string | null;
80
88
  transactedAt: Date;
@@ -86,6 +94,10 @@ export type TPostTransactionUpdateBody = {
86
94
  transactionLabelIds: string[];
87
95
  currency: string;
88
96
  amount: number;
97
+ exchangeCurrency: {
98
+ currency: string;
99
+ amount: number;
100
+ } | null;
89
101
  imagePath: string | null;
90
102
  note: string | null;
91
103
  transactedAt: Date;
@@ -273,6 +285,7 @@ export type TSharedUserInfo = {
273
285
  phoneNumber: string | null;
274
286
  displayName: string;
275
287
  notificationToken: string | null;
288
+ currency: string;
276
289
  } | null;
277
290
 
278
291
  export type TGetUserDetailResponse = TUser;