@zeniai/client-epic-state 5.1.92-betaRD4 → 5.1.92-betaRD6
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.
|
@@ -194,7 +194,7 @@ export function getExpenseAutomationJESchedulesView(state) {
|
|
|
194
194
|
const accruedSchedules = [];
|
|
195
195
|
const oneTimeAccruals = [];
|
|
196
196
|
const { accountState, accountListState, classState, classListState, expenseAutomationJESchedulesViewState, expenseAutomationViewState, monthEndCloseChecksState, monthEndCloseChecksViewState, } = state;
|
|
197
|
-
const { jeScheduleTransactionKeysByPeriodAndTab, jeScheduleAccruedKeysByPeriodAndTab, jeScheduleOneTimeAccrualKeysByPeriodAndTab, failedJeScheduleTransactionKeysByPeriodAndTab, jeScheduleLocalDataById, postStatusById, ignoreStatusById, uiState, error, fetchState, refreshStatus, newSchedule, } = expenseAutomationJESchedulesViewState;
|
|
197
|
+
const { jeScheduleTransactionKeysByPeriodAndTab, jeScheduleAccruedKeysByPeriodAndTab, jeScheduleOneTimeAccrualKeysByPeriodAndTab, failedJeScheduleTransactionKeysByPeriodAndTab, jeScheduleLocalDataById, postStatusById, ignoreStatusById, revertStatusById, uiState, error, fetchState, refreshStatus, newSchedule, } = expenseAutomationJESchedulesViewState;
|
|
198
198
|
const accountSettingsView = getJEAccountSettingsView(state);
|
|
199
199
|
const newScheduleView = newSchedule.selectedDetailScheduleType === 'fixed_assets' ||
|
|
200
200
|
newSchedule.selectedDetailScheduleType === 'prepaid_expenses'
|
|
@@ -408,6 +408,7 @@ export function getExpenseAutomationJESchedulesView(state) {
|
|
|
408
408
|
newScheduleView,
|
|
409
409
|
postStatusById: postStatusById,
|
|
410
410
|
ignoreStatusById: ignoreStatusById,
|
|
411
|
+
revertStatusById: revertStatusById,
|
|
411
412
|
fetchState: reducedFetchStatus.fetchState,
|
|
412
413
|
jeScheduleLocalDataById: jeScheduleLocalDataById,
|
|
413
414
|
uiState: uiState,
|
|
@@ -53,6 +53,7 @@ export interface ExpenseAutomationJESchedulesViewSelector extends SelectorView {
|
|
|
53
53
|
postStatusById: Record<ID, FetchStateAndError>;
|
|
54
54
|
refreshStatus: FetchStateAndError;
|
|
55
55
|
resolveSchedules: JEScheduledTransactionWithFailedEntries[];
|
|
56
|
+
revertStatusById: Record<JEScheduleTransactionKey, FetchStateAndError>;
|
|
56
57
|
scheduleCountsByTab: Partial<Record<JEPageTab, number>>;
|
|
57
58
|
uiState: JESchedulesViewUIState;
|
|
58
59
|
uncategorizedAccounts: UncategorizedAccounts;
|
|
@@ -209,7 +209,7 @@ function getExpenseAutomationJESchedulesView(state) {
|
|
|
209
209
|
const accruedSchedules = [];
|
|
210
210
|
const oneTimeAccruals = [];
|
|
211
211
|
const { accountState, accountListState, classState, classListState, expenseAutomationJESchedulesViewState, expenseAutomationViewState, monthEndCloseChecksState, monthEndCloseChecksViewState, } = state;
|
|
212
|
-
const { jeScheduleTransactionKeysByPeriodAndTab, jeScheduleAccruedKeysByPeriodAndTab, jeScheduleOneTimeAccrualKeysByPeriodAndTab, failedJeScheduleTransactionKeysByPeriodAndTab, jeScheduleLocalDataById, postStatusById, ignoreStatusById, uiState, error, fetchState, refreshStatus, newSchedule, } = expenseAutomationJESchedulesViewState;
|
|
212
|
+
const { jeScheduleTransactionKeysByPeriodAndTab, jeScheduleAccruedKeysByPeriodAndTab, jeScheduleOneTimeAccrualKeysByPeriodAndTab, failedJeScheduleTransactionKeysByPeriodAndTab, jeScheduleLocalDataById, postStatusById, ignoreStatusById, revertStatusById, uiState, error, fetchState, refreshStatus, newSchedule, } = expenseAutomationJESchedulesViewState;
|
|
213
213
|
const accountSettingsView = (0, jeAccountSettingsViewSelector_1.getJEAccountSettingsView)(state);
|
|
214
214
|
const newScheduleView = newSchedule.selectedDetailScheduleType === 'fixed_assets' ||
|
|
215
215
|
newSchedule.selectedDetailScheduleType === 'prepaid_expenses'
|
|
@@ -423,6 +423,7 @@ function getExpenseAutomationJESchedulesView(state) {
|
|
|
423
423
|
newScheduleView,
|
|
424
424
|
postStatusById: postStatusById,
|
|
425
425
|
ignoreStatusById: ignoreStatusById,
|
|
426
|
+
revertStatusById: revertStatusById,
|
|
426
427
|
fetchState: reducedFetchStatus.fetchState,
|
|
427
428
|
jeScheduleLocalDataById: jeScheduleLocalDataById,
|
|
428
429
|
uiState: uiState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.1.92-
|
|
3
|
+
"version": "5.1.92-betaRD6",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|