@accounter/client 0.0.7-alpha-20250918074155-11e13b936e7ade13c8c711762b598f32497843e4 → 0.0.7-alpha-20250918202733-65742d1d836c44cec37f4b4436ad212822877835
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/CHANGELOG.md +30 -1
- package/dist/assets/{index-BRRX0BBT.js → index-I9b8XzUV.js} +258 -258
- package/dist/assets/{index.es-X3GYTYe1.js → index.es-BQ48ZvsK.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/src/components/common/modals/similar-transactions-modal.tsx +9 -11
- package/src/gql/gql.ts +6 -0
- package/src/gql/graphql.ts +29 -0
- package/src/hooks/use-update-transactions.ts +79 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @accounter/client
|
|
2
2
|
|
|
3
|
-
## 0.0.7-alpha-
|
|
3
|
+
## 0.0.7-alpha-20250918202733-65742d1d836c44cec37f4b4436ad212822877835
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -246,6 +246,19 @@
|
|
|
246
246
|
[`react-day-picker@9.10.0` ↗︎](https://www.npmjs.com/package/react-day-picker/v/9.10.0) (from
|
|
247
247
|
`9.9.0`, in `dependencies`)
|
|
248
248
|
|
|
249
|
+
- [#2511](https://github.com/Urigo/accounter-fullstack/pull/2511)
|
|
250
|
+
[`a4b5489`](https://github.com/Urigo/accounter-fullstack/commit/a4b5489f66b89942713c31d55372dba85d632774)
|
|
251
|
+
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
|
|
252
|
+
- Updated dependency
|
|
253
|
+
[`@tanstack/react-query@5.89.0` ↗︎](https://www.npmjs.com/package/@tanstack/react-query/v/5.89.0)
|
|
254
|
+
(from `5.87.4`, in `dependencies`)
|
|
255
|
+
|
|
256
|
+
- [#2512](https://github.com/Urigo/accounter-fullstack/pull/2512)
|
|
257
|
+
[`590823c`](https://github.com/Urigo/accounter-fullstack/commit/590823cf7105b018a3127abc2343ac714f2845ac)
|
|
258
|
+
Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates:
|
|
259
|
+
- Updated dependency [`zod@4.1.9` ↗︎](https://www.npmjs.com/package/zod/v/4.1.9) (from `4.1.8`,
|
|
260
|
+
in `dependencies`)
|
|
261
|
+
|
|
249
262
|
- [#2466](https://github.com/Urigo/accounter-fullstack/pull/2466)
|
|
250
263
|
[`afdc9bf`](https://github.com/Urigo/accounter-fullstack/commit/afdc9bf6def07a69893c8087f8635b3e86570bdf)
|
|
251
264
|
Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **Improved 404 Handling**: A dedicated
|
|
@@ -263,6 +276,22 @@
|
|
|
263
276
|
within the `urql` provider's authentication error checks, making the code more resilient to
|
|
264
277
|
unexpected error structures.
|
|
265
278
|
|
|
279
|
+
- [#2510](https://github.com/Urigo/accounter-fullstack/pull/2510)
|
|
280
|
+
[`40bf4ab`](https://github.com/Urigo/accounter-fullstack/commit/40bf4abfec0c323fdfd4170980e99d42667a3457)
|
|
281
|
+
Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **Batch Transaction Update API**:
|
|
282
|
+
Introduced a new GraphQL mutation, `updateTransactions`, allowing multiple transactions to be
|
|
283
|
+
updated in a single API call. This mutation accepts an array of transaction IDs and the fields to
|
|
284
|
+
update.
|
|
285
|
+
- **Client-Side Hook for Batch Updates**: A new React hook, `useUpdateTransactions`, has been
|
|
286
|
+
added to facilitate client-side consumption of the batch update functionality, complete with
|
|
287
|
+
loading, success, and error state notifications.
|
|
288
|
+
- **Backend Logic for Batch Updates**: Implemented a new SQL query and a corresponding provider
|
|
289
|
+
method to efficiently handle batch updates on the `transactions` table. The existing single
|
|
290
|
+
transaction update method was refactored to utilize this new batch mechanism.
|
|
291
|
+
- **UI Integration**: The `similar-transactions-modal` component was updated to leverage the new
|
|
292
|
+
`useUpdateTransactions` hook, enabling users to approve and update multiple similar transactions
|
|
293
|
+
with a single action, improving user experience and reducing server load.
|
|
294
|
+
|
|
266
295
|
## 0.0.6
|
|
267
296
|
|
|
268
297
|
### Patch Changes
|