@accounter/server 0.0.9-alpha-20251210183329-56101df40474d77f65c7aabaf43dbd05e7c65bb0 → 0.0.9-alpha-20251210183522-3f6d1965667d05308b9ebddd784f4937b36d594c

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @accounter/server
2
2
 
3
- ## 0.0.9-alpha-20251210183329-56101df40474d77f65c7aabaf43dbd05e7c65bb0
3
+ ## 0.0.9-alpha-20251210183522-3f6d1965667d05308b9ebddd784f4937b36d594c
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -122,6 +122,23 @@
122
122
  utilize the `businessId` when constructing links to business detail pages, resolving the issue
123
123
  of incorrect navigation.
124
124
 
125
+ - [#2806](https://github.com/Urigo/accounter-fullstack/pull/2806)
126
+ [`3f6d196`](https://github.com/Urigo/accounter-fullstack/commit/3f6d1965667d05308b9ebddd784f4937b36d594c)
127
+ Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **Fixture Type Independence**: The test
128
+ fixture types (for businesses, tax categories, and financial accounts) have been decoupled from
129
+ the `pgtyped`-generated database types. This enhances test independence and flexibility, allowing
130
+ fixtures to define their own minimal interfaces.
131
+ - **Standardized Naming Convention**: The `createBusiness` and `createTaxCategory` factories now
132
+ use a generic `name` field for display purposes, replacing the more specific `hebrewName` and
133
+ `hashavshevetName` fields. The original specific fields are retained as optional/nullable.
134
+ - **Intelligent Name Defaulting**: New logic has been implemented in the `createBusiness` and
135
+ `createTaxCategory` factories to intelligently default the `name` field. If a `name` is not
136
+ explicitly provided, it will fall back to the `id` of the entity, ensuring a meaningful display
137
+ name in test scenarios.
138
+ - **Updated Fixture Usage and Tests**: All existing test files and fixture scenarios have been
139
+ updated to reflect the new `name` field and type definitions. This includes updates to factory
140
+ calls, test assertions, and the `fixture-loader`'s database insertion logic.
141
+
125
142
  - [#2802](https://github.com/Urigo/accounter-fullstack/pull/2802)
126
143
  [`f37d6fd`](https://github.com/Urigo/accounter-fullstack/commit/f37d6fd3f3721663609840177c8fc077fda0c8b0)
127
144
  Thanks [@gilgardosh](https://github.com/gilgardosh)! - - **Centralized Test Database Management**:
@@ -287,10 +304,10 @@
287
304
  [`ef68321`](https://github.com/Urigo/accounter-fullstack/commit/ef68321608d60a7208e82a2c413f27beb502e3cc),
288
305
  [`ef68321`](https://github.com/Urigo/accounter-fullstack/commit/ef68321608d60a7208e82a2c413f27beb502e3cc),
289
306
  [`c7d6f21`](https://github.com/Urigo/accounter-fullstack/commit/c7d6f21ed62658159b1323334501daca03c8d3e5)]:
290
- - @accounter/green-invoice-graphql@0.8.3-alpha-20251210183329-56101df40474d77f65c7aabaf43dbd05e7c65bb0
291
- - @accounter/pcn874-generator@0.6.4-alpha-20251210183329-56101df40474d77f65c7aabaf43dbd05e7c65bb0
292
- - @accounter/shaam-uniform-format-generator@0.2.3-alpha-20251210183329-56101df40474d77f65c7aabaf43dbd05e7c65bb0
293
- - @accounter/shaam6111-generator@0.1.5-alpha-20251210183329-56101df40474d77f65c7aabaf43dbd05e7c65bb0
307
+ - @accounter/green-invoice-graphql@0.8.3-alpha-20251210183522-3f6d1965667d05308b9ebddd784f4937b36d594c
308
+ - @accounter/pcn874-generator@0.6.4-alpha-20251210183522-3f6d1965667d05308b9ebddd784f4937b36d594c
309
+ - @accounter/shaam-uniform-format-generator@0.2.3-alpha-20251210183522-3f6d1965667d05308b9ebddd784f4937b36d594c
310
+ - @accounter/shaam6111-generator@0.1.5-alpha-20251210183522-3f6d1965667d05308b9ebddd784f4937b36d594c
294
311
 
295
312
  ## 0.0.8
296
313
 
@@ -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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@accounter/server",
3
- "version": "0.0.9-alpha-20251210183329-56101df40474d77f65c7aabaf43dbd05e7c65bb0",
3
+ "version": "0.0.9-alpha-20251210183522-3f6d1965667d05308b9ebddd784f4937b36d594c",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "license": "MIT",