@mydoormot/app-types 1.7.5 → 1.7.6

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.4 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
2
+ > @mydoormot/app-types@1.7.5 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 6.17 KB
12
- ESM ⚡️ Build success in 510ms
13
11
  CJS dist/index.cjs 7.84 KB
14
- CJS ⚡️ Build success in 510ms
12
+ CJS ⚡️ Build success in 56ms
13
+ ESM dist/index.js 6.17 KB
14
+ ESM ⚡️ Build success in 57ms
15
15
  DTS Build start
16
- DTS ⚡️ Build success in 2785ms
17
- DTS dist/index.d.ts 17.61 KB
18
- DTS dist/index.d.cts 17.61 KB
16
+ DTS ⚡️ Build success in 626ms
17
+ DTS dist/index.d.ts 17.57 KB
18
+ DTS dist/index.d.cts 17.57 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 1.7.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Modified vehicle schema
8
+
3
9
  ## 1.7.5
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -218,12 +218,11 @@ interface InvoiceItem {
218
218
 
219
219
  type Rider = {
220
220
  id: string;
221
- user: string | User;
222
- city: string | City;
221
+ userId: string;
222
+ vehicleId: string;
223
223
  currLocation: {
224
224
  coordinates: number[];
225
225
  };
226
- vehicle: string | Vehicle;
227
226
  vehicleNumber: string;
228
227
  verified: boolean;
229
228
  active: boolean;
package/dist/index.d.ts CHANGED
@@ -218,12 +218,11 @@ interface InvoiceItem {
218
218
 
219
219
  type Rider = {
220
220
  id: string;
221
- user: string | User;
222
- city: string | City;
221
+ userId: string;
222
+ vehicleId: string;
223
223
  currLocation: {
224
224
  coordinates: number[];
225
225
  };
226
- vehicle: string | Vehicle;
227
226
  vehicleNumber: string;
228
227
  verified: boolean;
229
228
  active: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "1.7.5",
3
+ "version": "1.7.6",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/rider.ts CHANGED
@@ -5,12 +5,14 @@ import { User } from './user';
5
5
 
6
6
  export type Rider = {
7
7
  id: string;
8
- user: string | User;
9
- city: string | City;
8
+ userId: string;
9
+ vehicleId: string;
10
+
11
+ // city: string | City;
10
12
  currLocation: {
11
13
  coordinates: number[];
12
14
  };
13
- vehicle: string | Vehicle;
15
+ // vehicle: string | Vehicle;
14
16
  vehicleNumber: string;
15
17
  verified: boolean;
16
18
  active: boolean;