@mx-cartographer/experiences 6.26.0-alpha.sms4 → 6.26.0-alpha.sms5
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.
|
@@ -9,7 +9,7 @@ export declare class AccountStore {
|
|
|
9
9
|
members: Member[];
|
|
10
10
|
uiStore: UiStore;
|
|
11
11
|
constructor(globalStore: GlobalStore);
|
|
12
|
-
loadAccountData: ({ accounts, institutions, }
|
|
12
|
+
loadAccountData: ({ accounts, institutions, }?: {
|
|
13
13
|
accounts?: Account[];
|
|
14
14
|
institutions?: Institution[];
|
|
15
15
|
}) => Promise<void>;
|
|
@@ -65,6 +65,6 @@ export declare class GlobalStore {
|
|
|
65
65
|
globalUiStore: GlobalUiStore;
|
|
66
66
|
constructor(appConfig?: AppConfig, endpoint?: string);
|
|
67
67
|
get isInitialized(): boolean;
|
|
68
|
-
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }
|
|
68
|
+
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }?: LoadDataProps) => Promise<void>;
|
|
69
69
|
}
|
|
70
70
|
export {};
|
package/dist/index.es.js
CHANGED
|
@@ -24575,7 +24575,7 @@ class _4 {
|
|
|
24575
24575
|
transactionRules: s,
|
|
24576
24576
|
transactions: c,
|
|
24577
24577
|
userFeatures: d
|
|
24578
|
-
}) => {
|
|
24578
|
+
} = {}) => {
|
|
24579
24579
|
await Promise.all([
|
|
24580
24580
|
// Load copy, config and quser data
|
|
24581
24581
|
this.copyStore.loadCopy(),
|
|
@@ -25963,7 +25963,7 @@ class hb {
|
|
|
25963
25963
|
loadAccountData = async ({
|
|
25964
25964
|
accounts: n,
|
|
25965
25965
|
institutions: i
|
|
25966
|
-
}) => {
|
|
25966
|
+
} = {}) => {
|
|
25967
25967
|
await Promise.all([this.loadAccounts(n), this.loadInstitutions(i)]);
|
|
25968
25968
|
};
|
|
25969
25969
|
get cashAccounts() {
|
|
@@ -26059,7 +26059,7 @@ class hb {
|
|
|
26059
26059
|
await this.loadMembers();
|
|
26060
26060
|
try {
|
|
26061
26061
|
const i = n || await this.api.getAccounts();
|
|
26062
|
-
Q(() => {
|
|
26062
|
+
console.log("accountsOverride2", n), Q(() => {
|
|
26063
26063
|
this.accounts = this.sortAccounts(this.augmentAccounts(i));
|
|
26064
26064
|
});
|
|
26065
26065
|
} catch (i) {
|