@bondsports/types 2.4.104-a-2 → 2.4.104-a-3

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.
@@ -1,3 +1,4 @@
1
+ import { SimpleFacilityDto } from '../../../facilities/dto/facilities.dto';
1
2
  import { LinkedAccountStatus } from '../../../payment/types/enums/linked-account.enums';
2
3
  import { IBaseLinkedAccount, IFindLinkedAccountsFilters } from '../../../payment/types/interfaces/linked-account.interfaces';
3
4
  /**
@@ -49,14 +50,11 @@ export interface IPayoutAccountFacilityLink {
49
50
  * One grid row per Connect account, with facility ids aggregated across PayoutAccount rows.
50
51
  * All Facilities and unassigned rows expose `facilityIds: []` / `facilities: []` so FE
51
52
  * `canAccessAll` treats them as global-only for editing. `hasOrgDefault` distinguishes the
52
- * sentinel from unassigned. `facilities` carries id+name for display (same shape as employees).
53
+ * sentinel from unassigned. `facilities` carries id+name for display.
53
54
  */
54
55
  export interface IPayoutAccountGridRow extends ILinkedAccountsGridRow {
56
+ facilities: SimpleFacilityDto[];
55
57
  facilityIds: number[];
56
- facilities: {
57
- id: number;
58
- name: string;
59
- }[];
60
58
  hasOrgDefault: boolean;
61
59
  }
62
60
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"payout-account.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/interfaces/payout-account.interfaces.ts"],"names":[],"mappings":";;;AA0HA;;;GAGG;AACH,MAAa,2BAA2B;CAMvC;AAND,kEAMC"}
1
+ {"version":3,"file":"payout-account.interfaces.js","sourceRoot":"","sources":["../../../../../src/types/payout-accounts/types/interfaces/payout-account.interfaces.ts"],"names":[],"mappings":";;;AA2HA;;;GAGG;AACH,MAAa,2BAA2B;CAMvC;AAND,kEAMC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.4.104-a-2",
3
+ "version": "2.4.104-a-3",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {