@mydoormot/app-types 1.7.6 → 1.7.7

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.5 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.7.6 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 56ms
12
+ CJS ⚡️ Build success in 61ms
13
13
  ESM dist/index.js 6.17 KB
14
- ESM ⚡️ Build success in 57ms
14
+ ESM ⚡️ Build success in 61ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 626ms
17
- DTS dist/index.d.ts 17.57 KB
18
- DTS dist/index.d.cts 17.57 KB
16
+ DTS ⚡️ Build success in 646ms
17
+ DTS dist/index.d.ts 17.62 KB
18
+ DTS dist/index.d.cts 17.62 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.7.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified vehicle types
8
+
3
9
  ## 1.7.6
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -243,13 +243,15 @@ declare enum VehicleType {
243
243
  }
244
244
  type Vehicle = {
245
245
  id: string;
246
- user: string;
247
246
  vehicleNumber: string;
248
247
  version: number;
249
248
  createdAt: string;
250
249
  updatedAt: string;
251
250
  vehicleType: VehicleType | `${VehicleType}`;
252
- rider?: string;
251
+ businessId: string;
252
+ shortName?: string;
253
+ riderId?: string;
254
+ userId?: string;
253
255
  };
254
256
  type VehicleWithRider = Vehicle & {
255
257
  rider: Rider | null;
package/dist/index.d.ts CHANGED
@@ -243,13 +243,15 @@ declare enum VehicleType {
243
243
  }
244
244
  type Vehicle = {
245
245
  id: string;
246
- user: string;
247
246
  vehicleNumber: string;
248
247
  version: number;
249
248
  createdAt: string;
250
249
  updatedAt: string;
251
250
  vehicleType: VehicleType | `${VehicleType}`;
252
- rider?: string;
251
+ businessId: string;
252
+ shortName?: string;
253
+ riderId?: string;
254
+ userId?: string;
253
255
  };
254
256
  type VehicleWithRider = Vehicle & {
255
257
  rider: Rider | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.7.6",
3
+ "version": "1.7.7",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/rider.ts CHANGED
@@ -36,13 +36,16 @@ export enum VehicleType {
36
36
 
37
37
  export type Vehicle = {
38
38
  id: string;
39
- user: string;
40
39
  vehicleNumber: string;
41
40
  version: number;
42
41
  createdAt: string;
43
42
  updatedAt: string;
44
43
  vehicleType: VehicleType | `${VehicleType}`;
45
- rider?: string;
44
+ businessId: string;
45
+
46
+ shortName?: string;
47
+ riderId?: string;
48
+ userId?: string;
46
49
  };
47
50
 
48
51
  export type VehicleWithRider = Vehicle & {