@accounter/server 0.0.8-alpha-20251104081410-ad15de052a742b1353c38e22ebbcae3e9e0b4d90 → 0.0.8-alpha-20251104115901-2a484be84dde31c9a4be251038269ba4823b6dc9
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 +27 -5
- package/dist/green-invoice-graphql/src/mesh-artifacts/index.d.ts +5 -5
- package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoice/schemaWithAnnotations.js +3 -3
- package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoice/schemaWithAnnotations.js.map +1 -1
- package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoice/types.d.ts +3 -3
- package/dist/server/src/__generated__/types.d.ts +11 -4
- package/dist/server/src/__generated__/types.js.map +1 -1
- package/dist/server/src/modules/app-providers/green-invoice-client.d.ts +1 -1
- package/dist/server/src/modules/charges-matcher/__generated__/types.d.ts +3 -1
- package/dist/server/src/modules/charges-matcher/__generated__/types.js.map +1 -1
- package/dist/server/src/modules/charges-matcher/__tests__/auto-match-integration.test.js +0 -1
- package/dist/server/src/modules/charges-matcher/__tests__/auto-match-integration.test.js.map +1 -1
- package/dist/server/src/modules/charges-matcher/__tests__/test-helpers.d.ts +2 -2
- package/dist/server/src/modules/charges-matcher/__tests__/test-helpers.js.map +1 -1
- package/dist/server/src/modules/charges-matcher/providers/auto-match.provider.js +10 -1
- package/dist/server/src/modules/charges-matcher/providers/auto-match.provider.js.map +1 -1
- package/dist/server/src/modules/charges-matcher/providers/charges-matcher.provider.js +22 -10
- package/dist/server/src/modules/charges-matcher/providers/charges-matcher.provider.js.map +1 -1
- package/dist/server/src/modules/charges-matcher/resolvers/index.js +4 -0
- package/dist/server/src/modules/charges-matcher/resolvers/index.js.map +1 -1
- package/dist/server/src/modules/charges-matcher/typeDefs/charges-matcher.graphql.js +1 -0
- package/dist/server/src/modules/charges-matcher/typeDefs/charges-matcher.graphql.js.map +1 -1
- package/dist/server/src/modules/charges-matcher/types.d.ts +5 -3
- package/dist/server/src/modules/charges-matcher/types.js +1 -1
- package/dist/server/src/modules/charges-matcher/types.js.map +1 -1
- package/package.json +1 -1
- package/src/__generated__/types.ts +7 -4
- package/src/modules/charges-matcher/__generated__/types.ts +3 -1
- package/src/modules/charges-matcher/__tests__/auto-match-integration.test.ts +0 -1
- package/src/modules/charges-matcher/__tests__/test-helpers.ts +3 -3
- package/src/modules/charges-matcher/providers/auto-match.provider.ts +11 -1
- package/src/modules/charges-matcher/providers/charges-matcher.provider.ts +63 -46
- package/src/modules/charges-matcher/resolvers/index.ts +5 -0
- package/src/modules/charges-matcher/typeDefs/charges-matcher.graphql.ts +1 -0
- package/src/modules/charges-matcher/types.ts +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @accounter/server
|
|
2
2
|
|
|
3
|
-
## 0.0.8-alpha-
|
|
3
|
+
## 0.0.8-alpha-20251104115901-2a484be84dde31c9a4be251038269ba4823b6dc9
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
@@ -378,6 +378,28 @@
|
|
|
378
378
|
- **Alternative Polling Mechanism**: Provided a documented fallback polling approach for scenarios
|
|
379
379
|
where Pub/Sub integration might be overly complex or not feasible.
|
|
380
380
|
|
|
381
|
+
- [#2661](https://github.com/Urigo/accounter-fullstack/pull/2661)
|
|
382
|
+
[`b2e10ef`](https://github.com/Urigo/accounter-fullstack/commit/b2e10effa3975d13ba6d0d3813004ba69d31f373)
|
|
383
|
+
Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **New Charge Matching UI**: A
|
|
384
|
+
comprehensive frontend has been introduced for displaying and interacting with charge matches,
|
|
385
|
+
including dedicated cell components for various data types like business, date, tags, tax
|
|
386
|
+
category, and charge type.
|
|
387
|
+
- **Charge Matches Table Implementation**: A new `ChargeMatchesTable` component has been
|
|
388
|
+
implemented using `@tanstack/react-table`, featuring sorting, column visibility, and integration
|
|
389
|
+
with a `MergeChargesButton`.
|
|
390
|
+
- **Integration with Extended Charge Info**: The new charge matches table is now conditionally
|
|
391
|
+
displayed within the `ChargeExtendedInfo` component, appearing when a charge is missing
|
|
392
|
+
accounting documents or transactions.
|
|
393
|
+
- **GraphQL Schema and Resolver Updates**: The `ChargeMatch` GraphQL type has been extended to
|
|
394
|
+
include the full `Charge` object, and a corresponding resolver was added on the backend to fetch
|
|
395
|
+
this related charge data.
|
|
396
|
+
- **Reusable UI Components**: New generic `DataTableColumnHeader` and `Score` components were
|
|
397
|
+
developed to standardize table headers and score visualizations across the application,
|
|
398
|
+
promoting consistency and reusability.
|
|
399
|
+
- **Improved Merge Charges UX**: The `MergeChargesButton` now requires at least two charges to be
|
|
400
|
+
selected for merging and utilizes a more modern Shadcn `Dialog` component with tooltips for
|
|
401
|
+
better user guidance and clarity.
|
|
402
|
+
|
|
381
403
|
- [#2548](https://github.com/Urigo/accounter-fullstack/pull/2548)
|
|
382
404
|
[`d72901a`](https://github.com/Urigo/accounter-fullstack/commit/d72901adb3b1dcc3e1e88fc797d8097f49f00cc5)
|
|
383
405
|
Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **Intent**: This pull request aims to
|
|
@@ -629,10 +651,10 @@
|
|
|
629
651
|
[`65e3c7f`](https://github.com/Urigo/accounter-fullstack/commit/65e3c7f01993eb4f41244a40feefefa08b31a4e6),
|
|
630
652
|
[`7a898a0`](https://github.com/Urigo/accounter-fullstack/commit/7a898a0ff1ee15420ab2532370a1d2f618cc86ab),
|
|
631
653
|
[`15ed6f9`](https://github.com/Urigo/accounter-fullstack/commit/15ed6f982a5d288a1159ccd069fca14b35801a18)]:
|
|
632
|
-
- @accounter/green-invoice-graphql@0.8.2-alpha-
|
|
633
|
-
- @accounter/pcn874-generator@0.6.3-alpha-
|
|
634
|
-
- @accounter/shaam-uniform-format-generator@0.2.2-alpha-
|
|
635
|
-
- @accounter/shaam6111-generator@0.1.4-alpha-
|
|
654
|
+
- @accounter/green-invoice-graphql@0.8.2-alpha-20251104115901-2a484be84dde31c9a4be251038269ba4823b6dc9
|
|
655
|
+
- @accounter/pcn874-generator@0.6.3-alpha-20251104115901-2a484be84dde31c9a4be251038269ba4823b6dc9
|
|
656
|
+
- @accounter/shaam-uniform-format-generator@0.2.2-alpha-20251104115901-2a484be84dde31c9a4be251038269ba4823b6dc9
|
|
657
|
+
- @accounter/shaam6111-generator@0.1.4-alpha-20251104115901-2a484be84dde31c9a4be251038269ba4823b6dc9
|
|
636
658
|
|
|
637
659
|
## 0.0.7
|
|
638
660
|
|
|
@@ -4,8 +4,8 @@ import type { GetMeshOptions } from '@graphql-mesh/runtime';
|
|
|
4
4
|
import type { YamlConfig } from '@graphql-mesh/types';
|
|
5
5
|
import { MeshHTTPHandler } from '@graphql-mesh/http';
|
|
6
6
|
import { type ExecuteMeshFn, type SubscribeMeshFn, type MeshContext as BaseMeshContext, type MeshInstance } from '@graphql-mesh/runtime';
|
|
7
|
-
import type { GreenInvoiceTypes } from './sources/GreenInvoice/types';
|
|
8
7
|
import type { GreenInvoiceNewTypes } from './sources/GreenInvoiceNew/types';
|
|
8
|
+
import type { GreenInvoiceTypes } from './sources/GreenInvoice/types';
|
|
9
9
|
export type Maybe<T> = T | null;
|
|
10
10
|
export type InputMaybe<T> = Maybe<T>;
|
|
11
11
|
export type Exact<T extends {
|
|
@@ -221,7 +221,7 @@ export type _DOLLAR_defs_Document = {
|
|
|
221
221
|
currencyRate: Scalars['NonNegativeFloat']['output'];
|
|
222
222
|
data: _DOLLAR_defs_DocumentData;
|
|
223
223
|
/** Document's description */
|
|
224
|
-
description: Scalars['
|
|
224
|
+
description: Scalars['String']['output'];
|
|
225
225
|
/** Document reference date */
|
|
226
226
|
documentDate: Scalars['Date']['output'];
|
|
227
227
|
downloaded: Scalars['Boolean']['output'];
|
|
@@ -467,7 +467,7 @@ export type _DOLLAR_defs_ErrorResponse = {
|
|
|
467
467
|
};
|
|
468
468
|
export type _DOLLAR_defs_DocumentInputNew_Input = {
|
|
469
469
|
/** Document's description */
|
|
470
|
-
description?: InputMaybe<Scalars['
|
|
470
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
471
471
|
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
472
472
|
/** Texts appearing in footer */
|
|
473
473
|
footer?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -921,7 +921,7 @@ export type _DOLLAR_defs_AddedDocument = {
|
|
|
921
921
|
/** Add a document to the current business */
|
|
922
922
|
export type _DOLLAR_defs_addDocumentRequest_Input = {
|
|
923
923
|
/** Document's description */
|
|
924
|
-
description?: InputMaybe<Scalars['
|
|
924
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
925
925
|
remarks?: InputMaybe<Scalars['String']['input']>;
|
|
926
926
|
/** Texts appearing in footer */
|
|
927
927
|
footer?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1708,7 +1708,7 @@ export type _DOLLAR_defs_DocumentResolvers<ContextType = MeshContext, ParentType
|
|
|
1708
1708
|
currency?: Resolver<ResolversTypes['_DOLLAR_defs_Currency'], ParentType, ContextType>;
|
|
1709
1709
|
currencyRate?: Resolver<ResolversTypes['NonNegativeFloat'], ParentType, ContextType>;
|
|
1710
1710
|
data?: Resolver<ResolversTypes['_DOLLAR_defs_DocumentData'], ParentType, ContextType>;
|
|
1711
|
-
description?: Resolver<ResolversTypes['
|
|
1711
|
+
description?: Resolver<ResolversTypes['String'], ParentType, ContextType>;
|
|
1712
1712
|
documentDate?: Resolver<ResolversTypes['Date'], ParentType, ContextType>;
|
|
1713
1713
|
downloaded?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1714
1714
|
footer?: Resolver<Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
package/dist/green-invoice-graphql/src/mesh-artifacts/sources/GreenInvoice/schemaWithAnnotations.js
CHANGED
|
@@ -1677,7 +1677,7 @@ const schemaAST = {
|
|
|
1677
1677
|
"kind": "NamedType",
|
|
1678
1678
|
"name": {
|
|
1679
1679
|
"kind": "Name",
|
|
1680
|
-
"value": "
|
|
1680
|
+
"value": "String"
|
|
1681
1681
|
}
|
|
1682
1682
|
}
|
|
1683
1683
|
},
|
|
@@ -9853,7 +9853,7 @@ const schemaAST = {
|
|
|
9853
9853
|
"kind": "NamedType",
|
|
9854
9854
|
"name": {
|
|
9855
9855
|
"kind": "Name",
|
|
9856
|
-
"value": "
|
|
9856
|
+
"value": "String"
|
|
9857
9857
|
}
|
|
9858
9858
|
},
|
|
9859
9859
|
"directives": []
|
|
@@ -20015,7 +20015,7 @@ const schemaAST = {
|
|
|
20015
20015
|
"kind": "NamedType",
|
|
20016
20016
|
"name": {
|
|
20017
20017
|
"kind": "Name",
|
|
20018
|
-
"value": "
|
|
20018
|
+
"value": "String"
|
|
20019
20019
|
}
|
|
20020
20020
|
},
|
|
20021
20021
|
"directives": []
|