@mx-cartographer/experiences 3.5.0-alpha.al7 → 3.5.0-alpha.al8
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/accounts/stores/AccountStore.d.ts +1 -7
- package/dist/common/context/hooks.d.ts +1 -0
- package/dist/common/stores/ConnectStore.d.ts +13 -0
- package/dist/common/stores/GlobalStore.d.ts +2 -0
- package/dist/index.es.js +1835 -1860
- package/dist/index.es.js.map +1 -1
- package/dist/transactions/index.d.ts +0 -1
- package/dist/transactions/stores/TransactionStore.d.ts +1 -7
- package/package.json +1 -1
- package/dist/transactions/components/transactionwidget/ConnectAccountDrawer.d.ts +0 -9
- /package/dist/{accounts → common}/components/ConnectDrawer.d.ts +0 -0
- /package/dist/{accounts → common}/constants/Connect.d.ts +0 -0
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Account, GlobalStore, Institution, Member } from '../../common';
|
|
2
2
|
import { AccountApi } from '../api/AccountApi';
|
|
3
3
|
import { UiStore } from './UiStore';
|
|
4
4
|
|
|
5
5
|
export declare class AccountStore {
|
|
6
6
|
api: AccountApi;
|
|
7
|
-
widgetApi: WidgetApi;
|
|
8
7
|
globalStore: GlobalStore;
|
|
9
8
|
accounts: Account[];
|
|
10
9
|
institutions: Institution[];
|
|
@@ -19,11 +18,6 @@ export declare class AccountStore {
|
|
|
19
18
|
loadAccounts: () => Promise<void>;
|
|
20
19
|
loadInstitutions: () => Promise<void>;
|
|
21
20
|
loadMembers: () => Promise<void>;
|
|
22
|
-
loadWidget: ({ widget, mode, ...rest }: {
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
widget?: string | undefined;
|
|
25
|
-
mode?: string | undefined;
|
|
26
|
-
}) => Promise<any>;
|
|
27
21
|
mergeAccounts: (accountGuids: string[]) => Promise<void>;
|
|
28
22
|
sortAccounts: (accounts?: Account[]) => Account[];
|
|
29
23
|
refreshAccounts: () => Promise<void>;
|
|
@@ -3,6 +3,7 @@ export declare const useAccountStore: () => import('../..').AccountStore;
|
|
|
3
3
|
export declare const useBudgetsStore: () => import('../../budgets/store/BudgetsStore').BudgetsStore;
|
|
4
4
|
export declare const useCashflowStore: () => import('../..').CashflowStore;
|
|
5
5
|
export declare const useCategoryStore: () => import('../..').CategoryStore;
|
|
6
|
+
export declare const useConnectStore: () => import('../stores/ConnectStore').ConnectStore;
|
|
6
7
|
export declare const useGlobalStore: () => import('..').GlobalStore;
|
|
7
8
|
export declare const useGlobalUiStore: () => import('../stores/GlobalUiStore').GlobalUiStore;
|
|
8
9
|
export declare const useGlobalCopyStore: () => import('..').GlobalCopy;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { WidgetApi, GlobalStore } from '../../common';
|
|
2
|
+
|
|
3
|
+
export declare class ConnectStore {
|
|
4
|
+
widgetApi: WidgetApi;
|
|
5
|
+
globalStore: GlobalStore;
|
|
6
|
+
constructor(globalStore: GlobalStore);
|
|
7
|
+
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
8
|
+
loadWidget: ({ widget, mode, ...rest }: {
|
|
9
|
+
[x: string]: any;
|
|
10
|
+
widget?: string | undefined;
|
|
11
|
+
mode?: string | undefined;
|
|
12
|
+
}) => Promise<any>;
|
|
13
|
+
}
|
|
@@ -3,6 +3,7 @@ import { BeatStore } from '../../insights/store/BeatStore';
|
|
|
3
3
|
import { BudgetsStore } from '../../budgets/store/BudgetsStore';
|
|
4
4
|
import { CashflowStore } from '../../cashflow';
|
|
5
5
|
import { CategoryStore } from '../../categories';
|
|
6
|
+
import { ConnectStore } from './ConnectStore';
|
|
6
7
|
import { GlobalUiStore } from './GlobalUiStore';
|
|
7
8
|
import { MerchantStore } from '../../merchants';
|
|
8
9
|
import { NotificationStore } from '../../notifications';
|
|
@@ -17,6 +18,7 @@ export declare class GlobalStore {
|
|
|
17
18
|
budgetsStore: BudgetsStore;
|
|
18
19
|
cashflowStore: CashflowStore;
|
|
19
20
|
categoryStore: CategoryStore;
|
|
21
|
+
connectStore: ConnectStore;
|
|
20
22
|
copyStore: GlobalCopyStore;
|
|
21
23
|
merchantStore: MerchantStore;
|
|
22
24
|
notificationStore: NotificationStore;
|