@mydoormot/app-types 1.7.33 → 1.7.35

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.32 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.7.35 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
- CJS dist/index.cjs 9.25 KB
12
- CJS ⚡️ Build success in 88ms
13
11
  ESM dist/index.js 7.36 KB
14
- ESM ⚡️ Build success in 89ms
12
+ ESM ⚡️ Build success in 58ms
13
+ CJS dist/index.cjs 9.25 KB
14
+ CJS ⚡️ Build success in 59ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 805ms
17
- DTS dist/index.d.ts 28.28 KB
18
- DTS dist/index.d.cts 28.28 KB
16
+ DTS ⚡️ Build success in 627ms
17
+ DTS dist/index.d.ts 28.38 KB
18
+ DTS dist/index.d.cts 28.38 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.7.35
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified user types
8
+
9
+ ## 1.7.34
10
+
11
+ ### Patch Changes
12
+
13
+ - Added vehicledetails
14
+
3
15
  ## 1.7.33
4
16
 
5
17
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -65,6 +65,8 @@ type User = {
65
65
  version: number;
66
66
  pushTokens?: string[];
67
67
  avatarUrl?: string;
68
+ originalAvatarUrl?: string;
69
+ avatarBlurHash?: string;
68
70
  state?: string;
69
71
  city?: string;
70
72
  googleUserId?: string;
@@ -366,6 +368,7 @@ type Rider = {
366
368
  };
367
369
  type RiderWithUserDetails = Rider & {
368
370
  userDetails?: User;
371
+ vehicleDetails?: Vehicle | null;
369
372
  businessMemberDetails?: BusinessMember;
370
373
  };
371
374
  declare enum RemittanceStatus {
package/dist/index.d.ts CHANGED
@@ -65,6 +65,8 @@ type User = {
65
65
  version: number;
66
66
  pushTokens?: string[];
67
67
  avatarUrl?: string;
68
+ originalAvatarUrl?: string;
69
+ avatarBlurHash?: string;
68
70
  state?: string;
69
71
  city?: string;
70
72
  googleUserId?: string;
@@ -366,6 +368,7 @@ type Rider = {
366
368
  };
367
369
  type RiderWithUserDetails = Rider & {
368
370
  userDetails?: User;
371
+ vehicleDetails?: Vehicle | null;
369
372
  businessMemberDetails?: BusinessMember;
370
373
  };
371
374
  declare enum RemittanceStatus {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.7.33",
3
+ "version": "1.7.35",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/rider.ts CHANGED
@@ -3,6 +3,7 @@ import { BusinessMember } from './business';
3
3
  import { Errand } from './errand';
4
4
  import { State } from './location';
5
5
  import { User } from './user';
6
+ import type { Vehicle } from './vehicle';
6
7
 
7
8
  // Re-export vehicle types for backwards compatibility
8
9
  export type { Vehicle, VehicleWithRider, VehicleLog, VehicleLogWithErrands } from './vehicle';
@@ -36,6 +37,7 @@ export type Rider = {
36
37
 
37
38
  export type RiderWithUserDetails = Rider & {
38
39
  userDetails?: User;
40
+ vehicleDetails?: Vehicle | null;
39
41
  businessMemberDetails?: BusinessMember;
40
42
  };
41
43
 
package/src/user.ts CHANGED
@@ -37,6 +37,8 @@ export type User = {
37
37
  version: number;
38
38
  pushTokens?: string[];
39
39
  avatarUrl?: string;
40
+ originalAvatarUrl?: string;
41
+ avatarBlurHash?: string;
40
42
  state?: string;
41
43
  city?: string;
42
44
  googleUserId?: string;