@mydoormot/app-types 2.2.1 → 2.2.2

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,18 +1,18 @@
1
-
2
- > @mydoormot/app-types@2.2.0 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
3
- > tsup src/index.ts --format esm,cjs --dts
4
-
5
- CLI Building entry: src/index.ts
6
- CLI Using tsconfig: tsconfig.json
7
- CLI tsup v7.3.0
8
- CLI Target: es2021
9
- ESM Build start
10
- CJS Build start
11
- CJS dist/index.cjs 18.21 KB
12
- CJS ⚡️ Build success in 51ms
13
- ESM dist/index.js 15.13 KB
14
- ESM ⚡️ Build success in 51ms
15
- DTS Build start
16
- DTS ⚡️ Build success in 646ms
17
- DTS dist/index.d.ts 58.74 KB
18
- DTS dist/index.d.cts 58.74 KB
1
+
2
+ > @mydoormot/app-types@2.2.1 build /Users/chuksben/Desktop/projects/microservices/mydoormot/packages/app-types
3
+ > tsup src/index.ts --format esm,cjs --dts
4
+
5
+ CLI Building entry: src/index.ts
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v7.3.0
8
+ CLI Target: es2021
9
+ ESM Build start
10
+ CJS Build start
11
+ ESM dist/index.js 15.13 KB
12
+ ESM ⚡️ Build success in 42ms
13
+ CJS dist/index.cjs 18.21 KB
14
+ CJS ⚡️ Build success in 43ms
15
+ DTS Build start
16
+ DTS ⚡️ Build success in 699ms
17
+ DTS dist/index.d.ts 58.82 KB
18
+ DTS dist/index.d.cts 58.82 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @mydoormot/app-types
2
2
 
3
+ ## 2.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated tracker vehicle type
8
+
3
9
  ## 2.2.1
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -1882,6 +1882,8 @@ type Tracker = {
1882
1882
  type?: TrackerType;
1883
1883
  /** Unset means unassigned. A vehicle has at most one tracker. */
1884
1884
  vehicleId?: string;
1885
+ /** The assigned vehicle, on list and assign. */
1886
+ vehicleDetails?: Vehicle;
1885
1887
  location?: GeoPoint;
1886
1888
  lastPosition?: TrackerPosition;
1887
1889
  lastSeenAt?: string;
package/dist/index.d.ts CHANGED
@@ -1882,6 +1882,8 @@ type Tracker = {
1882
1882
  type?: TrackerType;
1883
1883
  /** Unset means unassigned. A vehicle has at most one tracker. */
1884
1884
  vehicleId?: string;
1885
+ /** The assigned vehicle, on list and assign. */
1886
+ vehicleDetails?: Vehicle;
1885
1887
  location?: GeoPoint;
1886
1888
  lastPosition?: TrackerPosition;
1887
1889
  lastSeenAt?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mydoormot/app-types",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
package/src/tracker.ts CHANGED
@@ -1,3 +1,5 @@
1
+ import { Vehicle } from './vehicle';
2
+
1
3
  /** GeoJSON Point. `coordinates` is `[longitude, latitude]`. */
2
4
  export type GeoPoint = {
3
5
  type: 'Point';
@@ -53,6 +55,8 @@ export type Tracker = {
53
55
  type?: TrackerType;
54
56
  /** Unset means unassigned. A vehicle has at most one tracker. */
55
57
  vehicleId?: string;
58
+ /** The assigned vehicle, on list and assign. */
59
+ vehicleDetails?: Vehicle;
56
60
  location?: GeoPoint;
57
61
  lastPosition?: TrackerPosition;
58
62
  lastSeenAt?: string;