@mydoormot/app-types 1.5.7 → 1.5.8

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.5.6 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.5.7 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
@@ -8,11 +8,11 @@
8
8
  CLI Target: es2021
9
9
  ESM Build start
10
10
  CJS Build start
11
- ESM dist/index.js 5.37 KB
12
- ESM ⚡️ Build success in 246ms
13
11
  CJS dist/index.cjs 6.93 KB
14
- CJS ⚡️ Build success in 246ms
12
+ CJS ⚡️ Build success in 62ms
13
+ ESM dist/index.js 5.37 KB
14
+ ESM ⚡️ Build success in 63ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 1641ms
17
- DTS dist/index.d.ts 14.59 KB
18
- DTS dist/index.d.cts 14.59 KB
16
+ DTS ⚡️ Build success in 621ms
17
+ DTS dist/index.d.ts 14.66 KB
18
+ DTS dist/index.d.cts 14.66 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.5.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Added isManaged flag
8
+
3
9
  ## 1.5.7
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -66,6 +66,7 @@ type User = {
66
66
  accountType?: 'business' | 'personal';
67
67
  hasOnboarded?: boolean;
68
68
  lastActivity?: string;
69
+ isManaged?: boolean;
69
70
  };
70
71
  type UserAddress = {
71
72
  id: string;
@@ -514,6 +515,7 @@ interface Business {
514
515
  registrationCompletedAt: string | NullOrUndefined | Date;
515
516
  mongoId: string;
516
517
  version: number;
518
+ isManaged: boolean | NullOrUndefined;
517
519
  }
518
520
  interface BusinessPg extends Business {
519
521
  pgId: any;
package/dist/index.d.ts CHANGED
@@ -66,6 +66,7 @@ type User = {
66
66
  accountType?: 'business' | 'personal';
67
67
  hasOnboarded?: boolean;
68
68
  lastActivity?: string;
69
+ isManaged?: boolean;
69
70
  };
70
71
  type UserAddress = {
71
72
  id: string;
@@ -514,6 +515,7 @@ interface Business {
514
515
  registrationCompletedAt: string | NullOrUndefined | Date;
515
516
  mongoId: string;
516
517
  version: number;
518
+ isManaged: boolean | NullOrUndefined;
517
519
  }
518
520
  interface BusinessPg extends Business {
519
521
  pgId: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/business.ts CHANGED
@@ -41,6 +41,7 @@ export interface Business {
41
41
  registrationCompletedAt: string | NullOrUndefined | Date;
42
42
  mongoId: string;
43
43
  version: number;
44
+ isManaged: boolean | NullOrUndefined;
44
45
  }
45
46
 
46
47
  export interface BusinessPg extends Business {
package/src/user.ts CHANGED
@@ -39,6 +39,7 @@ export type User = {
39
39
  accountType?: 'business' | 'personal';
40
40
  hasOnboarded?: boolean;
41
41
  lastActivity?: string;
42
+ isManaged?: boolean;
42
43
  };
43
44
 
44
45
  export type UserAddress = {