@actual-app/api 25.3.0 → 25.4.0-alpha.0
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/@types/app/bundle.api.d.ts +1 -5
- package/@types/loot-core/client/accounts/accountsSlice.d.ts +175 -0
- package/@types/loot-core/client/app/appSlice.d.ts +175 -0
- package/@types/loot-core/client/budgets/budgetsSlice.d.ts +405 -0
- package/@types/loot-core/client/modals/modalsSlice.d.ts +490 -0
- package/@types/loot-core/client/notifications/notificationsSlice.d.ts +47 -0
- package/@types/loot-core/client/platform.d.ts +1 -0
- package/@types/loot-core/client/prefs/prefsSlice.d.ts +178 -0
- package/@types/loot-core/client/queries/queriesSlice.d.ts +692 -0
- package/@types/loot-core/client/redux.d.ts +18546 -0
- package/@types/loot-core/client/store/index.d.ts +133 -0
- package/@types/loot-core/client/users/usersSlice.d.ts +105 -0
- package/@types/loot-core/mocks/index.d.ts +5 -2
- package/@types/loot-core/platform/client/fetch/index.d.ts +1 -10
- package/@types/loot-core/platform/client/undo/index.d.ts +19 -31
- package/@types/loot-core/platform/exceptions/index.d.ts +2 -5
- package/@types/loot-core/platform/server/asyncStorage/index.d.ts +5 -5
- package/@types/loot-core/platform/server/connection/index.d.ts +0 -3
- package/@types/loot-core/platform/server/fetch/index.d.ts +1 -4
- package/@types/loot-core/platform/server/indexeddb/index.d.ts +15 -24
- package/@types/loot-core/platform/server/log/index.d.ts +4 -6
- package/@types/loot-core/server/accounts/app.d.ts +19 -5
- package/@types/loot-core/server/accounts/link.d.ts +6 -1
- package/@types/loot-core/server/admin/app.d.ts +54 -1
- package/@types/loot-core/server/api-models.d.ts +24 -32
- package/@types/loot-core/server/aql/exec.d.ts +1 -1
- package/@types/loot-core/server/aql/schema/executors.d.ts +2 -0
- package/@types/loot-core/server/aql/schema/index.d.ts +9 -0
- package/@types/loot-core/server/auth/app.d.ts +142 -0
- package/@types/loot-core/server/budget/actions.d.ts +6 -5
- package/@types/loot-core/server/budget/app.d.ts +103 -2
- package/@types/loot-core/server/budget/base.d.ts +1 -1
- package/@types/loot-core/server/budget/cleanup-template.d.ts +1 -1
- package/@types/loot-core/server/budget/goaltemplates.d.ts +1 -1
- package/@types/loot-core/server/budget/statements.d.ts +2 -2
- package/@types/loot-core/server/budget/template-notes.d.ts +1 -1
- package/@types/loot-core/server/budget/types/templates.d.ts +2 -1
- package/@types/loot-core/server/budgetfiles/app.d.ts +139 -0
- package/@types/loot-core/server/cloud-storage.d.ts +3 -3
- package/@types/loot-core/server/dashboard/app.d.ts +35 -1
- package/@types/loot-core/server/db/index.d.ts +38 -31
- package/@types/loot-core/server/db/sort.d.ts +1 -1
- package/@types/loot-core/server/encryption/app.d.ts +40 -0
- package/@types/loot-core/server/{encryption-internals.d.ts → encryption/encryption-internals.d.ts} +5 -5
- package/@types/loot-core/server/{encryption.d.ts → encryption/index.d.ts} +3 -3
- package/@types/loot-core/server/errors.d.ts +4 -0
- package/@types/loot-core/server/filters/app.d.ts +10 -1
- package/@types/loot-core/server/importers/index.d.ts +1 -2
- package/@types/loot-core/server/main-app.d.ts +1 -1
- package/@types/loot-core/server/models.d.ts +24 -23
- package/@types/loot-core/server/notes/app.d.ts +6 -1
- package/@types/loot-core/server/payees/app.d.ts +48 -0
- package/@types/loot-core/server/preferences/app.d.ts +1 -10
- package/@types/loot-core/server/reports/app.d.ts +9 -1
- package/@types/loot-core/server/rules/app.d.ts +50 -1
- package/@types/loot-core/server/schedules/app.d.ts +25 -2
- package/@types/loot-core/server/schedules/find-schedules.d.ts +1 -1
- package/@types/loot-core/server/server-config.d.ts +1 -0
- package/@types/loot-core/server/sheet.d.ts +1 -1
- package/@types/loot-core/server/spreadsheet/app.d.ts +38 -0
- package/@types/loot-core/server/spreadsheet/graph-data-structure.d.ts +4 -4
- package/@types/loot-core/server/spreadsheet/spreadsheet.d.ts +12 -4
- package/@types/loot-core/server/sync/app.d.ts +38 -0
- package/@types/loot-core/server/sync/make-test-message.d.ts +1 -1
- package/@types/loot-core/server/tools/app.d.ts +13 -1
- package/@types/loot-core/server/transactions/app.d.ts +1 -1
- package/@types/loot-core/server/transactions/import/parse-file.d.ts +1 -0
- package/@types/loot-core/server/transactions/transaction-rules.d.ts +5 -4
- package/@types/loot-core/server/undo.d.ts +1 -1
- package/@types/loot-core/shared/async.d.ts +4 -3
- package/@types/loot-core/shared/errors.d.ts +4 -4
- package/@types/loot-core/shared/locale.d.ts +1 -0
- package/@types/loot-core/shared/months.d.ts +2 -2
- package/@types/loot-core/shared/schedules.d.ts +5 -3
- package/@types/loot-core/shared/util.d.ts +4 -1
- package/@types/loot-core/types/handlers.d.ts +22 -10
- package/@types/loot-core/types/models/account.d.ts +2 -1
- package/@types/loot-core/types/models/bank-sync.d.ts +1 -1
- package/@types/loot-core/types/models/category-group.d.ts +2 -6
- package/@types/loot-core/types/models/category.d.ts +1 -1
- package/@types/loot-core/types/models/index.d.ts +5 -1
- package/@types/loot-core/types/models/openid.d.ts +2 -1
- package/@types/loot-core/types/models/payee.d.ts +2 -2
- package/@types/loot-core/types/models/pluggyai.d.ts +18 -0
- package/@types/loot-core/types/models/user-access.d.ts +10 -0
- package/@types/loot-core/types/models/user.d.ts +17 -18
- package/@types/loot-core/types/prefs.d.ts +9 -1
- package/@types/loot-core/types/server-events.d.ts +1 -1
- package/@types/loot-core/types/server-handlers.d.ts +2 -276
- package/@types/loot-core/types/util.d.ts +7 -0
- package/dist/app/bundle.api.js +17509 -67076
- package/dist/index.js +17 -7
- package/dist/jest.config.js +0 -2
- package/dist/methods.js +17 -7
- package/dist/migrations/1740506588539_add_last_reconciled_at.sql +5 -0
- package/dist/package.json +8 -8
- package/dist/validateNodeVersion.js +17 -7
- package/package.json +8 -8
- package/@types/loot-core/client/constants.d.ts +0 -21
- package/@types/loot-core/client/state-types/budgets.d.ts +0 -36
- package/@types/loot-core/client/state-types/index.d.ts +0 -27
- package/@types/loot-core/client/state-types/modals.d.ts +0 -392
- package/@types/loot-core/client/state-types/notifications.d.ts +0 -57
- package/@types/loot-core/client/state-types/prefs.d.ts +0 -40
- package/@types/loot-core/client/state-types/user.d.ts +0 -13
- package/@types/loot-core/server/admin/types/handlers.d.ts +0 -43
- package/@types/loot-core/server/budget/types/handlers.d.ts +0 -91
- package/@types/loot-core/server/dashboard/types/handlers.d.ts +0 -24
- package/@types/loot-core/server/encryption-internals.web.d.ts +0 -23
- package/@types/loot-core/server/encryption.test.d.ts +0 -1
- package/@types/loot-core/server/filters/types/handlers.d.ts +0 -7
- package/@types/loot-core/server/notes/types/handlers.d.ts +0 -3
- package/@types/loot-core/server/reports/types/handlers.d.ts +0 -6
- package/@types/loot-core/server/rules/types/handlers.d.ts +0 -40
- package/@types/loot-core/server/schedules/types/handlers.d.ts +0 -31
- package/@types/loot-core/server/tools/types/handlers.d.ts +0 -11
- package/@types/loot-core/types/models/userAccess.d.ts +0 -9
- package/@types/methods.test.d.ts +0 -1
- package/dist/methods.test.js +0 -541
- /package/@types/loot-core/server/{backups.test.d.ts → api.test.d.ts} +0 -0
- /package/@types/loot-core/server/{backups.d.ts → budgetfiles/backups.d.ts} +0 -0
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
export = __webpack_exports__;
|
|
2
|
-
|
|
3
|
-
/******/
|
|
4
|
-
/************************************************************************/
|
|
5
|
-
/******/
|
|
6
|
-
/******/ /******/ /******/ /******/ declare var __webpack_exports__: any;
|
|
2
|
+
declare var __webpack_exports__: any;
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { type SyncServerGoCardlessAccount, type AccountEntity, type SyncServerSimpleFinAccount, type SyncServerPluggyAiAccount } from '../../types/models';
|
|
2
|
+
import { type AppDispatch } from '../store';
|
|
3
|
+
type AccountState = {
|
|
4
|
+
failedAccounts: {
|
|
5
|
+
[key: AccountEntity['id']]: {
|
|
6
|
+
type: string;
|
|
7
|
+
code: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
accountsSyncing: Array<AccountEntity['id']>;
|
|
11
|
+
};
|
|
12
|
+
type SetAccountsSyncingPayload = {
|
|
13
|
+
ids: Array<AccountEntity['id']>;
|
|
14
|
+
};
|
|
15
|
+
type MarkAccountFailedPayload = {
|
|
16
|
+
id: AccountEntity['id'];
|
|
17
|
+
errorType: string;
|
|
18
|
+
errorCode: string;
|
|
19
|
+
};
|
|
20
|
+
type MarkAccountSuccessPayload = {
|
|
21
|
+
id: AccountEntity['id'];
|
|
22
|
+
};
|
|
23
|
+
type UnlinkAccountPayload = {
|
|
24
|
+
id: AccountEntity['id'];
|
|
25
|
+
};
|
|
26
|
+
export declare const unlinkAccount: import("@reduxjs/toolkit").AsyncThunk<void, UnlinkAccountPayload, {
|
|
27
|
+
state: import("../store").RootState;
|
|
28
|
+
dispatch: AppDispatch;
|
|
29
|
+
extra?: unknown;
|
|
30
|
+
rejectValue?: unknown;
|
|
31
|
+
serializedErrorType?: unknown;
|
|
32
|
+
pendingMeta?: unknown;
|
|
33
|
+
fulfilledMeta?: unknown;
|
|
34
|
+
rejectedMeta?: unknown;
|
|
35
|
+
}>;
|
|
36
|
+
type LinkAccountPayload = {
|
|
37
|
+
requisitionId: string;
|
|
38
|
+
account: SyncServerGoCardlessAccount;
|
|
39
|
+
upgradingId?: AccountEntity['id'] | undefined;
|
|
40
|
+
offBudget?: boolean | undefined;
|
|
41
|
+
};
|
|
42
|
+
export declare const linkAccount: import("@reduxjs/toolkit").AsyncThunk<void, LinkAccountPayload, {
|
|
43
|
+
state: import("../store").RootState;
|
|
44
|
+
dispatch: AppDispatch;
|
|
45
|
+
extra?: unknown;
|
|
46
|
+
rejectValue?: unknown;
|
|
47
|
+
serializedErrorType?: unknown;
|
|
48
|
+
pendingMeta?: unknown;
|
|
49
|
+
fulfilledMeta?: unknown;
|
|
50
|
+
rejectedMeta?: unknown;
|
|
51
|
+
}>;
|
|
52
|
+
type LinkAccountSimpleFinPayload = {
|
|
53
|
+
externalAccount: SyncServerSimpleFinAccount;
|
|
54
|
+
upgradingId?: AccountEntity['id'] | undefined;
|
|
55
|
+
offBudget?: boolean | undefined;
|
|
56
|
+
};
|
|
57
|
+
export declare const linkAccountSimpleFin: import("@reduxjs/toolkit").AsyncThunk<void, LinkAccountSimpleFinPayload, {
|
|
58
|
+
state: import("../store").RootState;
|
|
59
|
+
dispatch: AppDispatch;
|
|
60
|
+
extra?: unknown;
|
|
61
|
+
rejectValue?: unknown;
|
|
62
|
+
serializedErrorType?: unknown;
|
|
63
|
+
pendingMeta?: unknown;
|
|
64
|
+
fulfilledMeta?: unknown;
|
|
65
|
+
rejectedMeta?: unknown;
|
|
66
|
+
}>;
|
|
67
|
+
type LinkAccountPluggyAiPayload = {
|
|
68
|
+
externalAccount: SyncServerPluggyAiAccount;
|
|
69
|
+
upgradingId?: AccountEntity['id'];
|
|
70
|
+
offBudget?: boolean;
|
|
71
|
+
};
|
|
72
|
+
export declare const linkAccountPluggyAi: import("@reduxjs/toolkit").AsyncThunk<void, LinkAccountPluggyAiPayload, {
|
|
73
|
+
state: import("../store").RootState;
|
|
74
|
+
dispatch: AppDispatch;
|
|
75
|
+
extra?: unknown;
|
|
76
|
+
rejectValue?: unknown;
|
|
77
|
+
serializedErrorType?: unknown;
|
|
78
|
+
pendingMeta?: unknown;
|
|
79
|
+
fulfilledMeta?: unknown;
|
|
80
|
+
rejectedMeta?: unknown;
|
|
81
|
+
}>;
|
|
82
|
+
type SyncAccountsPayload = {
|
|
83
|
+
id?: AccountEntity['id'] | undefined;
|
|
84
|
+
};
|
|
85
|
+
export declare const syncAccounts: import("@reduxjs/toolkit").AsyncThunk<boolean, SyncAccountsPayload, {
|
|
86
|
+
state: import("../store").RootState;
|
|
87
|
+
dispatch: AppDispatch;
|
|
88
|
+
extra?: unknown;
|
|
89
|
+
rejectValue?: unknown;
|
|
90
|
+
serializedErrorType?: unknown;
|
|
91
|
+
pendingMeta?: unknown;
|
|
92
|
+
fulfilledMeta?: unknown;
|
|
93
|
+
rejectedMeta?: unknown;
|
|
94
|
+
}>;
|
|
95
|
+
type MoveAccountPayload = {
|
|
96
|
+
id: AccountEntity['id'];
|
|
97
|
+
targetId: AccountEntity['id'] | null;
|
|
98
|
+
};
|
|
99
|
+
export declare const moveAccount: import("@reduxjs/toolkit").AsyncThunk<void, MoveAccountPayload, {
|
|
100
|
+
state: import("../store").RootState;
|
|
101
|
+
dispatch: AppDispatch;
|
|
102
|
+
extra?: unknown;
|
|
103
|
+
rejectValue?: unknown;
|
|
104
|
+
serializedErrorType?: unknown;
|
|
105
|
+
pendingMeta?: unknown;
|
|
106
|
+
fulfilledMeta?: unknown;
|
|
107
|
+
rejectedMeta?: unknown;
|
|
108
|
+
}>;
|
|
109
|
+
export declare const name: "account", reducer: import("redux").Reducer<AccountState>, getInitialState: () => AccountState;
|
|
110
|
+
export declare const actions: {
|
|
111
|
+
linkAccount: import("@reduxjs/toolkit").AsyncThunk<void, LinkAccountPayload, {
|
|
112
|
+
state: import("../store").RootState;
|
|
113
|
+
dispatch: AppDispatch;
|
|
114
|
+
extra?: unknown;
|
|
115
|
+
rejectValue?: unknown;
|
|
116
|
+
serializedErrorType?: unknown;
|
|
117
|
+
pendingMeta?: unknown;
|
|
118
|
+
fulfilledMeta?: unknown;
|
|
119
|
+
rejectedMeta?: unknown;
|
|
120
|
+
}>;
|
|
121
|
+
linkAccountSimpleFin: import("@reduxjs/toolkit").AsyncThunk<void, LinkAccountSimpleFinPayload, {
|
|
122
|
+
state: import("../store").RootState;
|
|
123
|
+
dispatch: AppDispatch;
|
|
124
|
+
extra?: unknown;
|
|
125
|
+
rejectValue?: unknown;
|
|
126
|
+
serializedErrorType?: unknown;
|
|
127
|
+
pendingMeta?: unknown;
|
|
128
|
+
fulfilledMeta?: unknown;
|
|
129
|
+
rejectedMeta?: unknown;
|
|
130
|
+
}>;
|
|
131
|
+
linkAccountPluggyAi: import("@reduxjs/toolkit").AsyncThunk<void, LinkAccountPluggyAiPayload, {
|
|
132
|
+
state: import("../store").RootState;
|
|
133
|
+
dispatch: AppDispatch;
|
|
134
|
+
extra?: unknown;
|
|
135
|
+
rejectValue?: unknown;
|
|
136
|
+
serializedErrorType?: unknown;
|
|
137
|
+
pendingMeta?: unknown;
|
|
138
|
+
fulfilledMeta?: unknown;
|
|
139
|
+
rejectedMeta?: unknown;
|
|
140
|
+
}>;
|
|
141
|
+
moveAccount: import("@reduxjs/toolkit").AsyncThunk<void, MoveAccountPayload, {
|
|
142
|
+
state: import("../store").RootState;
|
|
143
|
+
dispatch: AppDispatch;
|
|
144
|
+
extra?: unknown;
|
|
145
|
+
rejectValue?: unknown;
|
|
146
|
+
serializedErrorType?: unknown;
|
|
147
|
+
pendingMeta?: unknown;
|
|
148
|
+
fulfilledMeta?: unknown;
|
|
149
|
+
rejectedMeta?: unknown;
|
|
150
|
+
}>;
|
|
151
|
+
unlinkAccount: import("@reduxjs/toolkit").AsyncThunk<void, UnlinkAccountPayload, {
|
|
152
|
+
state: import("../store").RootState;
|
|
153
|
+
dispatch: AppDispatch;
|
|
154
|
+
extra?: unknown;
|
|
155
|
+
rejectValue?: unknown;
|
|
156
|
+
serializedErrorType?: unknown;
|
|
157
|
+
pendingMeta?: unknown;
|
|
158
|
+
fulfilledMeta?: unknown;
|
|
159
|
+
rejectedMeta?: unknown;
|
|
160
|
+
}>;
|
|
161
|
+
syncAccounts: import("@reduxjs/toolkit").AsyncThunk<boolean, SyncAccountsPayload, {
|
|
162
|
+
state: import("../store").RootState;
|
|
163
|
+
dispatch: AppDispatch;
|
|
164
|
+
extra?: unknown;
|
|
165
|
+
rejectValue?: unknown;
|
|
166
|
+
serializedErrorType?: unknown;
|
|
167
|
+
pendingMeta?: unknown;
|
|
168
|
+
fulfilledMeta?: unknown;
|
|
169
|
+
rejectedMeta?: unknown;
|
|
170
|
+
}>;
|
|
171
|
+
setAccountsSyncing: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<SetAccountsSyncingPayload, "account/setAccountsSyncing">;
|
|
172
|
+
markAccountFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<MarkAccountFailedPayload, "account/markAccountFailed">;
|
|
173
|
+
markAccountSuccess: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<MarkAccountSuccessPayload, "account/markAccountSuccess">;
|
|
174
|
+
};
|
|
175
|
+
export {};
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { type PayloadAction } from '@reduxjs/toolkit';
|
|
2
|
+
import { type AccountEntity } from '../../types/models';
|
|
3
|
+
type AppState = {
|
|
4
|
+
loadingText: string | null;
|
|
5
|
+
updateInfo: {
|
|
6
|
+
version: string;
|
|
7
|
+
releaseDate: string;
|
|
8
|
+
releaseNotes: string;
|
|
9
|
+
} | null;
|
|
10
|
+
showUpdateNotification: boolean;
|
|
11
|
+
managerHasInitialized: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare const resetApp: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"app/resetApp">;
|
|
14
|
+
export declare const updateApp: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
15
|
+
state: import("../store").RootState;
|
|
16
|
+
dispatch: import("../store").AppDispatch;
|
|
17
|
+
extra?: unknown;
|
|
18
|
+
rejectValue?: unknown;
|
|
19
|
+
serializedErrorType?: unknown;
|
|
20
|
+
pendingMeta?: unknown;
|
|
21
|
+
fulfilledMeta?: unknown;
|
|
22
|
+
rejectedMeta?: unknown;
|
|
23
|
+
}>;
|
|
24
|
+
export declare const resetSync: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
25
|
+
state: import("../store").RootState;
|
|
26
|
+
dispatch: import("../store").AppDispatch;
|
|
27
|
+
extra?: unknown;
|
|
28
|
+
rejectValue?: unknown;
|
|
29
|
+
serializedErrorType?: unknown;
|
|
30
|
+
pendingMeta?: unknown;
|
|
31
|
+
fulfilledMeta?: unknown;
|
|
32
|
+
rejectedMeta?: unknown;
|
|
33
|
+
}>;
|
|
34
|
+
export declare const sync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
35
|
+
error: {
|
|
36
|
+
message: string;
|
|
37
|
+
reason: string;
|
|
38
|
+
meta: unknown;
|
|
39
|
+
};
|
|
40
|
+
} | {
|
|
41
|
+
error?: undefined;
|
|
42
|
+
}, void, {
|
|
43
|
+
state: import("../store").RootState;
|
|
44
|
+
dispatch: import("../store").AppDispatch;
|
|
45
|
+
extra?: unknown;
|
|
46
|
+
rejectValue?: unknown;
|
|
47
|
+
serializedErrorType?: unknown;
|
|
48
|
+
pendingMeta?: unknown;
|
|
49
|
+
fulfilledMeta?: unknown;
|
|
50
|
+
rejectedMeta?: unknown;
|
|
51
|
+
}>;
|
|
52
|
+
type SyncAndDownloadPayload = {
|
|
53
|
+
accountId?: AccountEntity['id'] | string;
|
|
54
|
+
};
|
|
55
|
+
export declare const syncAndDownload: import("@reduxjs/toolkit").AsyncThunk<true | {
|
|
56
|
+
error: {
|
|
57
|
+
message: string;
|
|
58
|
+
reason: string;
|
|
59
|
+
meta: unknown;
|
|
60
|
+
};
|
|
61
|
+
hasUpdated?: undefined;
|
|
62
|
+
} | {
|
|
63
|
+
hasUpdated: PayloadAction<boolean, string, {
|
|
64
|
+
arg: {
|
|
65
|
+
id?: AccountEntity["id"] | undefined;
|
|
66
|
+
};
|
|
67
|
+
requestId: string;
|
|
68
|
+
requestStatus: "fulfilled";
|
|
69
|
+
}, never> | PayloadAction<unknown, string, {
|
|
70
|
+
arg: {
|
|
71
|
+
id?: AccountEntity["id"] | undefined;
|
|
72
|
+
};
|
|
73
|
+
requestId: string;
|
|
74
|
+
requestStatus: "rejected";
|
|
75
|
+
aborted: boolean;
|
|
76
|
+
condition: boolean;
|
|
77
|
+
} & ({
|
|
78
|
+
rejectedWithValue: true;
|
|
79
|
+
} | ({
|
|
80
|
+
rejectedWithValue: false;
|
|
81
|
+
} & {})), import("@reduxjs/toolkit").SerializedError>;
|
|
82
|
+
error?: undefined;
|
|
83
|
+
}, SyncAndDownloadPayload, {
|
|
84
|
+
state: import("../store").RootState;
|
|
85
|
+
dispatch: import("../store").AppDispatch;
|
|
86
|
+
extra?: unknown;
|
|
87
|
+
rejectValue?: unknown;
|
|
88
|
+
serializedErrorType?: unknown;
|
|
89
|
+
pendingMeta?: unknown;
|
|
90
|
+
fulfilledMeta?: unknown;
|
|
91
|
+
rejectedMeta?: unknown;
|
|
92
|
+
}>;
|
|
93
|
+
export declare const name: "app", reducer: import("redux").Reducer<AppState>, getInitialState: () => AppState;
|
|
94
|
+
export declare const actions: {
|
|
95
|
+
resetApp: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"app/resetApp">;
|
|
96
|
+
updateApp: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
97
|
+
state: import("../store").RootState;
|
|
98
|
+
dispatch: import("../store").AppDispatch;
|
|
99
|
+
extra?: unknown;
|
|
100
|
+
rejectValue?: unknown;
|
|
101
|
+
serializedErrorType?: unknown;
|
|
102
|
+
pendingMeta?: unknown;
|
|
103
|
+
fulfilledMeta?: unknown;
|
|
104
|
+
rejectedMeta?: unknown;
|
|
105
|
+
}>;
|
|
106
|
+
resetSync: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
107
|
+
state: import("../store").RootState;
|
|
108
|
+
dispatch: import("../store").AppDispatch;
|
|
109
|
+
extra?: unknown;
|
|
110
|
+
rejectValue?: unknown;
|
|
111
|
+
serializedErrorType?: unknown;
|
|
112
|
+
pendingMeta?: unknown;
|
|
113
|
+
fulfilledMeta?: unknown;
|
|
114
|
+
rejectedMeta?: unknown;
|
|
115
|
+
}>;
|
|
116
|
+
sync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
117
|
+
error: {
|
|
118
|
+
message: string;
|
|
119
|
+
reason: string;
|
|
120
|
+
meta: unknown;
|
|
121
|
+
};
|
|
122
|
+
} | {
|
|
123
|
+
error?: undefined;
|
|
124
|
+
}, void, {
|
|
125
|
+
state: import("../store").RootState;
|
|
126
|
+
dispatch: import("../store").AppDispatch;
|
|
127
|
+
extra?: unknown;
|
|
128
|
+
rejectValue?: unknown;
|
|
129
|
+
serializedErrorType?: unknown;
|
|
130
|
+
pendingMeta?: unknown;
|
|
131
|
+
fulfilledMeta?: unknown;
|
|
132
|
+
rejectedMeta?: unknown;
|
|
133
|
+
}>;
|
|
134
|
+
syncAndDownload: import("@reduxjs/toolkit").AsyncThunk<true | {
|
|
135
|
+
error: {
|
|
136
|
+
message: string;
|
|
137
|
+
reason: string;
|
|
138
|
+
meta: unknown;
|
|
139
|
+
};
|
|
140
|
+
hasUpdated?: undefined;
|
|
141
|
+
} | {
|
|
142
|
+
hasUpdated: PayloadAction<boolean, string, {
|
|
143
|
+
arg: {
|
|
144
|
+
id?: AccountEntity["id"] | undefined;
|
|
145
|
+
};
|
|
146
|
+
requestId: string;
|
|
147
|
+
requestStatus: "fulfilled";
|
|
148
|
+
}, never> | PayloadAction<unknown, string, {
|
|
149
|
+
arg: {
|
|
150
|
+
id?: AccountEntity["id"] | undefined;
|
|
151
|
+
};
|
|
152
|
+
requestId: string;
|
|
153
|
+
requestStatus: "rejected";
|
|
154
|
+
aborted: boolean;
|
|
155
|
+
condition: boolean;
|
|
156
|
+
} & ({
|
|
157
|
+
rejectedWithValue: true;
|
|
158
|
+
} | ({
|
|
159
|
+
rejectedWithValue: false;
|
|
160
|
+
} & {})), import("@reduxjs/toolkit").SerializedError>;
|
|
161
|
+
error?: undefined;
|
|
162
|
+
}, SyncAndDownloadPayload, {
|
|
163
|
+
state: import("../store").RootState;
|
|
164
|
+
dispatch: import("../store").AppDispatch;
|
|
165
|
+
extra?: unknown;
|
|
166
|
+
rejectValue?: unknown;
|
|
167
|
+
serializedErrorType?: unknown;
|
|
168
|
+
pendingMeta?: unknown;
|
|
169
|
+
fulfilledMeta?: unknown;
|
|
170
|
+
rejectedMeta?: unknown;
|
|
171
|
+
}>;
|
|
172
|
+
setAppState: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<(Pick<AppState, "loadingText"> & Partial<AppState>) | (Pick<AppState, "updateInfo"> & Partial<AppState>) | (Pick<AppState, "showUpdateNotification"> & Partial<AppState>) | (Pick<AppState, "managerHasInitialized"> & Partial<AppState>), "app/setAppState">;
|
|
173
|
+
};
|
|
174
|
+
export declare const setAppState: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<(Pick<AppState, "loadingText"> & Partial<AppState>) | (Pick<AppState, "updateInfo"> & Partial<AppState>) | (Pick<AppState, "showUpdateNotification"> & Partial<AppState>) | (Pick<AppState, "managerHasInitialized"> & Partial<AppState>), "app/setAppState">;
|
|
175
|
+
export {};
|