@mydoormot/app-types 1.7.7 → 1.7.9

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,5 +1,5 @@
1
1
 
2
- > @mydoormot/app-types@1.7.6 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.7.8 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
3
3
  > tsup src/index.ts --format esm,cjs --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,10 +9,10 @@
9
9
  ESM Build start
10
10
  CJS Build start
11
11
  CJS dist/index.cjs 7.84 KB
12
- CJS ⚡️ Build success in 61ms
12
+ CJS ⚡️ Build success in 46ms
13
13
  ESM dist/index.js 6.17 KB
14
- ESM ⚡️ Build success in 61ms
14
+ ESM ⚡️ Build success in 46ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 646ms
17
- DTS dist/index.d.ts 17.62 KB
18
- DTS dist/index.d.cts 17.62 KB
16
+ DTS ⚡️ Build success in 674ms
17
+ DTS dist/index.d.ts 17.77 KB
18
+ DTS dist/index.d.cts 17.77 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.7.9
4
+
5
+ ### Patch Changes
6
+
7
+ - Added timestamps for business member
8
+
9
+ ## 1.7.8
10
+
11
+ ### Patch Changes
12
+
13
+ - Modified business member types
14
+
3
15
  ## 1.7.7
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -613,6 +613,10 @@ interface BusinessMember {
613
613
  role: BusinessRole | `${BusinessRole}`;
614
614
  status: MembershipStatus | `${MembershipStatus}`;
615
615
  invitedBy: string | NullOrUndefined;
616
+ userDetails: User | NullOrUndefined;
617
+ invitedByUserDetails: User | NullOrUndefined;
618
+ createdAt: string;
619
+ updatedAt: string | NullOrUndefined;
616
620
  }
617
621
 
618
622
  interface Customer {
package/dist/index.d.ts CHANGED
@@ -613,6 +613,10 @@ interface BusinessMember {
613
613
  role: BusinessRole | `${BusinessRole}`;
614
614
  status: MembershipStatus | `${MembershipStatus}`;
615
615
  invitedBy: string | NullOrUndefined;
616
+ userDetails: User | NullOrUndefined;
617
+ invitedByUserDetails: User | NullOrUndefined;
618
+ createdAt: string;
619
+ updatedAt: string | NullOrUndefined;
616
620
  }
617
621
 
618
622
  interface Customer {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.7.7",
3
+ "version": "1.7.9",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/business.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { NullOrUndefined } from '.';
1
+ import { NullOrUndefined, User } from '.';
2
2
 
3
3
  export interface Business {
4
4
  id: string;
@@ -88,4 +88,8 @@ export interface BusinessMember {
88
88
  role: BusinessRole | `${BusinessRole}`;
89
89
  status: MembershipStatus | `${MembershipStatus}`;
90
90
  invitedBy: string | NullOrUndefined;
91
+ userDetails: User | NullOrUndefined;
92
+ invitedByUserDetails: User | NullOrUndefined;
93
+ createdAt: string;
94
+ updatedAt: string | NullOrUndefined;
91
95
  }