@mcdylanproperenterprise/nodejs-proper-money-types 0.0.38 β 0.0.40
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/enum.ts +11 -1
- package/lists/country.ts +237 -0
- package/lists/currency.ts +1 -1
- package/package.json +1 -1
- package/types.ts +9 -1
package/lists/currency.ts
CHANGED
|
@@ -14,7 +14,7 @@ export const currencyList: {
|
|
|
14
14
|
{ name: "South Korean Won", iso: "KRW", nickname: "β©", flag: "π°π·" },
|
|
15
15
|
{ name: "United States Dollar", iso: "USD", nickname: "US$", flag: "πΊπΈ" },
|
|
16
16
|
{ name: "Euro", iso: "EUR", nickname: "β¬", flag: "πͺπΊ" },
|
|
17
|
-
{ name: "Australian Dollar", iso: "
|
|
17
|
+
{ name: "Australian Dollar", iso: "AUD", flag: "π¦πΊ", nickname: "A$" },
|
|
18
18
|
{ name: "Norwegian Krone", iso: "NOK", nickname: "kr", flag: "π³π΄" },
|
|
19
19
|
{ name: "Brazilian Real", iso: "BRL", nickname: "R$", flag: "π§π·" },
|
|
20
20
|
{ name: "Bulgarian Lev", iso: "BGN", nickname: "Π»Π²", flag: "π§π¬" },
|
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
|
|
6
6
|
export type TJwtTokenObject = {
|
|
7
7
|
userId: string;
|
|
8
|
+
sessionId: string;
|
|
8
9
|
};
|
|
9
10
|
|
|
10
11
|
export type TJwtToken = {
|
|
@@ -116,6 +117,7 @@ export type TGetTransactionQuery = {
|
|
|
116
117
|
endTransactedAt: Date | undefined;
|
|
117
118
|
transactionCategoryId: string | undefined;
|
|
118
119
|
transactionLabelId: string | undefined;
|
|
120
|
+
currency: string | undefined;
|
|
119
121
|
};
|
|
120
122
|
|
|
121
123
|
export type TGetTransactionResponse = {
|
|
@@ -177,7 +179,7 @@ export type TGetTransactionCategoryDashboardResponse = {
|
|
|
177
179
|
}[];
|
|
178
180
|
};
|
|
179
181
|
labels: {
|
|
180
|
-
id: string;
|
|
182
|
+
id: string | null;
|
|
181
183
|
name: string;
|
|
182
184
|
currencies: {
|
|
183
185
|
currency: string;
|
|
@@ -275,6 +277,11 @@ export type TUser = {
|
|
|
275
277
|
lastActiveAt: Date;
|
|
276
278
|
createdAt: Date;
|
|
277
279
|
notificationToken: string | null;
|
|
280
|
+
activeSession: {
|
|
281
|
+
sessionId: string;
|
|
282
|
+
deviceInfo: string | null;
|
|
283
|
+
loggedInAt: Date;
|
|
284
|
+
} | null;
|
|
278
285
|
};
|
|
279
286
|
|
|
280
287
|
export type TSharedUserInfo = {
|
|
@@ -324,6 +331,7 @@ export type TPostVerificationVerifyBody = {
|
|
|
324
331
|
phoneNumber: string;
|
|
325
332
|
oneTimePassword: string;
|
|
326
333
|
oneTimePasswordType: EVerificationOneTimePasswordType;
|
|
334
|
+
deviceInfo?: string;
|
|
327
335
|
};
|
|
328
336
|
|
|
329
337
|
export type TPostVerificationVerifyResponse = TJwtToken;
|