@mx-cartographer/experiences 3.9.0-alpha.al1 → 3.9.0-alpha.j1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -0
- package/dist/accounts/ConnectMiniWidget.d.ts +6 -2
- package/dist/accounts/components/ConnectMiniWidgetCard.d.ts +5 -0
- package/dist/common/components/charts/LineChart.d.ts +0 -1
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/context/hooks.d.ts +0 -1
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/stores/GlobalStore.d.ts +0 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.es.js +2493 -2570
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
- package/dist/networth/NetWorthWidget.d.ts +0 -5
- package/dist/networth/api/NetWorthApi.d.ts +0 -9
- package/dist/networth/components/NetWorthChart.d.ts +0 -7
- package/dist/networth/components/NetWorthList.d.ts +0 -7
- package/dist/networth/components/NetWorthRow.d.ts +0 -6
- package/dist/networth/index.d.ts +0 -3
- package/dist/networth/stores/NetWorthStore.d.ts +0 -15
- package/dist/networth/types/NetWorth.d.ts +0 -37
- package/dist/networth/utils/NetWorth.d.ts +0 -3
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@mx-cartographer/experiences",
|
3
|
-
"version": "3.9.0-alpha.
|
3
|
+
"version": "3.9.0-alpha.j1",
|
4
4
|
"description": "Library containing experience widgets",
|
5
5
|
"main": "dist/index.es.js",
|
6
6
|
"types": "dist/index.d.ts",
|
@@ -122,4 +122,4 @@
|
|
122
122
|
"README.md"
|
123
123
|
],
|
124
124
|
"packageManager": "yarn@4.4.1"
|
125
|
-
}
|
125
|
+
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { Fetch } from '../../common';
|
2
|
-
|
3
|
-
export declare class NetWorthApi {
|
4
|
-
fetchInstance: Fetch;
|
5
|
-
constructor(endpoint: string, token: string);
|
6
|
-
getAccounts: () => Promise<any>;
|
7
|
-
getMembers: () => Promise<any>;
|
8
|
-
getMonthlyAccountBalances: (guid: string) => Promise<any>;
|
9
|
-
}
|
package/dist/networth/index.d.ts
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
import { GlobalStore } from '../../common';
|
2
|
-
import { NetWorthApi } from '../api/NetWorthApi';
|
3
|
-
import { NetWorth, NetWorthData, xyData } from '../types/NetWorth';
|
4
|
-
|
5
|
-
export declare class NetWorthStore {
|
6
|
-
api: NetWorthApi;
|
7
|
-
globalStore: GlobalStore;
|
8
|
-
netWorthData: NetWorthData;
|
9
|
-
netWorthChartData: xyData[];
|
10
|
-
netWorthMonthlyList: NetWorth[];
|
11
|
-
constructor(globalStore: GlobalStore);
|
12
|
-
initialize: (endpoint: string, token: string) => void;
|
13
|
-
loadNetWorthData: () => Promise<void>;
|
14
|
-
_flattenBalances: (balances: any, balance: any) => any[];
|
15
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { Account } from '../../common';
|
2
|
-
|
3
|
-
export type MonthlyAccountBalance = {
|
4
|
-
account_guid: string;
|
5
|
-
balance: number;
|
6
|
-
credit_transaction_total: number;
|
7
|
-
debit_transaction_total: number;
|
8
|
-
id: string;
|
9
|
-
month: number;
|
10
|
-
transaction_total: number;
|
11
|
-
user_guid: string;
|
12
|
-
year: number;
|
13
|
-
year_month: number;
|
14
|
-
};
|
15
|
-
type MonthlyAccountBalances = {
|
16
|
-
change: number;
|
17
|
-
guid: string;
|
18
|
-
name: string;
|
19
|
-
type: number;
|
20
|
-
value: number;
|
21
|
-
};
|
22
|
-
export type NetWorth = {
|
23
|
-
id: number;
|
24
|
-
accounts: MonthlyAccountBalances[];
|
25
|
-
x: number;
|
26
|
-
y: number;
|
27
|
-
change: number;
|
28
|
-
};
|
29
|
-
export type xyData = {
|
30
|
-
x: string;
|
31
|
-
y: number;
|
32
|
-
};
|
33
|
-
export type NetWorthData = {
|
34
|
-
accounts: Account[];
|
35
|
-
monthlyAccountBalances: MonthlyAccountBalance[];
|
36
|
-
};
|
37
|
-
export {};
|